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_ob__OBFrame swig_types[9]
658 #define SWIGTYPE_p_otk__OtkWidget__OtkWidgetList swig_types[10]
659 #define SWIGTYPE_p_ob__EventData swig_types[11]
660 #define SWIGTYPE_p_bool swig_types[12]
661 #define SWIGTYPE_p_otk__OBDisplay swig_types[13]
662 #define SWIGTYPE_p_Display swig_types[14]
663 #define SWIGTYPE_p_p_XColor swig_types[15]
664 #define SWIGTYPE_p_ob__Cursors swig_types[16]
665 #define SWIGTYPE_p_XReparentEvent swig_types[17]
666 #define SWIGTYPE_p_otk__BPen swig_types[18]
667 #define SWIGTYPE_p_otk__BImageControl swig_types[19]
668 #define SWIGTYPE_p_otk__OtkButton swig_types[20]
669 #define SWIGTYPE_p_otk__Rect swig_types[21]
670 #define SWIGTYPE_p_ob__MwmHints swig_types[22]
671 #define SWIGTYPE_p_otk__Style swig_types[23]
672 #define SWIGTYPE_p_XSelectionClearEvent swig_types[24]
673 #define SWIGTYPE_p_Visual swig_types[25]
674 #define SWIGTYPE_p_timeval swig_types[26]
675 #define SWIGTYPE_p_ob__OBActions swig_types[27]
676 #define SWIGTYPE_p_int swig_types[28]
677 #define SWIGTYPE_p_otk__Strut swig_types[29]
678 #define SWIGTYPE_p_otk__OtkApplication swig_types[30]
679 #define SWIGTYPE_p_XRectangle swig_types[31]
680 #define SWIGTYPE_p_otk__OtkFocusWidget swig_types[32]
681 #define SWIGTYPE_p_otk__OtkWidget swig_types[33]
682 #define SWIGTYPE_p_PyObject swig_types[34]
683 #define SWIGTYPE_p_XGravityEvent swig_types[35]
684 #define SWIGTYPE_p_XVisibilityEvent swig_types[36]
685 #define SWIGTYPE_p_XPropertyEvent swig_types[37]
686 #define SWIGTYPE_p_ob__OBScreen swig_types[38]
687 #define SWIGTYPE_p_otk__BGCCacheContext swig_types[39]
688 #define SWIGTYPE_p_XCreateWindowEvent swig_types[40]
689 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[41]
690 #define SWIGTYPE_p_XCirculateEvent swig_types[42]
691 #define SWIGTYPE_p_XConfigureEvent swig_types[43]
692 #define SWIGTYPE_p_otk__OBProperty swig_types[44]
693 #define SWIGTYPE_p_long swig_types[45]
694 #define SWIGTYPE_p_XTextProperty swig_types[46]
695 #define SWIGTYPE_p_otk__OtkEventHandler swig_types[47]
696 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[48]
697 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[49]
698 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[50]
699 #define SWIGTYPE_p_XMapRequestEvent swig_types[51]
700 #define SWIGTYPE_p_XResizeRequestEvent swig_types[52]
701 #define SWIGTYPE_otk__OBTimeoutHandler swig_types[53]
702 #define SWIGTYPE_p_XftDraw swig_types[54]
703 #define SWIGTYPE_p_otk__ScreenInfo swig_types[55]
704 #define SWIGTYPE_p_otk__OtkFocusLabel swig_types[56]
705 #define SWIGTYPE_p_otk__BTexture swig_types[57]
706 #define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[58]
707 #define SWIGTYPE_p_otk__BFont swig_types[59]
708 #define SWIGTYPE_p_otk__Point swig_types[60]
709 #define SWIGTYPE_p_p_char swig_types[61]
710 #define SWIGTYPE_p_ob__MouseData swig_types[62]
711 #define SWIGTYPE_p_XSelectionEvent swig_types[63]
712 #define SWIGTYPE_p_XMotionEvent swig_types[64]
713 #define SWIGTYPE_p_XButtonEvent swig_types[65]
714 #define SWIGTYPE_p_GC swig_types[66]
715 #define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[67]
716 #define SWIGTYPE_p_otk__OtkAppWidget swig_types[68]
717 #define SWIGTYPE_p_ob__OBWidget swig_types[69]
718 #define SWIGTYPE_p_XKeyEvent swig_types[70]
719 #define SWIGTYPE_p_unsigned_long swig_types[71]
720 #define SWIGTYPE_p_XEvent swig_types[72]
721 #define SWIGTYPE_p_p_unsigned_long swig_types[73]
722 #define SWIGTYPE_p_std__string swig_types[74]
723 #define SWIGTYPE_p_XCrossingEvent swig_types[75]
724 #define SWIGTYPE_p_XMappingEvent swig_types[76]
725 #define SWIGTYPE_p_ob__OBBindings swig_types[77]
726 #define SWIGTYPE_p_ob__OBClient swig_types[78]
727 #define SWIGTYPE_p_otk__BGCCacheItem swig_types[79]
728 #define SWIGTYPE_p_p_unsigned_int swig_types[80]
729 #define SWIGTYPE_p_unsigned_int swig_types[81]
730 #define SWIGTYPE_p_p_unsigned_char swig_types[82]
731 #define SWIGTYPE_p_XClientMessageEvent swig_types[83]
732 #define SWIGTYPE_p_XFocusChangeEvent swig_types[84]
733 #define SWIGTYPE_p_XExposeEvent swig_types[85]
734 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[86]
735 #define SWIGTYPE_p_XNoExposeEvent swig_types[87]
736 #define SWIGTYPE_p_ob__KeyData swig_types[88]
737 #define SWIGTYPE_p_ob__Openbox swig_types[89]
738 #define SWIGTYPE_p_XMapEvent swig_types[90]
739 #define SWIGTYPE_p_XUnmapEvent swig_types[91]
740 #define SWIGTYPE_p_XColormapEvent swig_types[92]
741 static swig_type_info *swig_types[94];
743 /* -------- TYPES TABLE (END) -------- */
746 /*-----------------------------------------------
747 @(target):= _openbox.so
748 ------------------------------------------------*/
749 #define SWIG_init init_openbox
751 #define SWIG_name "_openbox"
754 # include "../config.h"
757 #include "openbox.hh"
760 #include "bindings.hh"
761 #include "actions.hh"
763 #include "otk/display.hh"
766 #define SWIG_MemoryError 1
767 #define SWIG_IOError 2
768 #define SWIG_RuntimeError 3
769 #define SWIG_IndexError 4
770 #define SWIG_TypeError 5
771 #define SWIG_DivisionByZero 6
772 #define SWIG_OverflowError 7
773 #define SWIG_SyntaxError 8
774 #define SWIG_ValueError 9
775 #define SWIG_SystemError 10
776 #define SWIG_UnknownError 99
779 static void _SWIG_exception(int code, const char *msg) {
781 case SWIG_MemoryError:
782 PyErr_SetString(PyExc_MemoryError,msg);
785 PyErr_SetString(PyExc_IOError,msg);
787 case SWIG_RuntimeError:
788 PyErr_SetString(PyExc_RuntimeError,msg);
790 case SWIG_IndexError:
791 PyErr_SetString(PyExc_IndexError,msg);
794 PyErr_SetString(PyExc_TypeError,msg);
796 case SWIG_DivisionByZero:
797 PyErr_SetString(PyExc_ZeroDivisionError,msg);
799 case SWIG_OverflowError:
800 PyErr_SetString(PyExc_OverflowError,msg);
802 case SWIG_SyntaxError:
803 PyErr_SetString(PyExc_SyntaxError,msg);
805 case SWIG_ValueError:
806 PyErr_SetString(PyExc_ValueError,msg);
808 case SWIG_SystemError:
809 PyErr_SetString(PyExc_SystemError,msg);
812 PyErr_SetString(PyExc_RuntimeError,msg);
817 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
825 static PyObject* SwigInt_FromBool(bool b) {
826 return PyInt_FromLong(b ? 1L : 0L);
828 static double SwigNumber_Check(PyObject* o) {
829 return PyFloat_Check(o) || PyInt_Check(o);
831 static double SwigNumber_AsDouble(PyObject* o) {
832 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
834 static PyObject* SwigString_FromString(const std::string& s) {
835 return PyString_FromString(s.c_str());
837 static std::string SwigString_AsString(PyObject* o) {
838 return std::string(PyString_AsString(o));
847 ob::Openbox *Openbox_instance() { return ob::Openbox::instance; }
851 void python_callback(PyObject *func, MouseData *data)
856 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
857 SWIGTYPE_p_ob__MouseData,
861 result = PyEval_CallObject(func, arglist);
862 if (!result || PyErr_Occurred()) {
863 // an exception occured in the script, display it
871 void python_callback(PyObject *func, EventData *data)
876 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
877 SWIGTYPE_p_ob__EventData,
881 result = PyEval_CallObject(func, arglist);
882 if (!result || PyErr_Occurred()) {
883 // an exception occured in the script, display it
891 void python_callback(PyObject *func, KeyData *data)
896 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
897 SWIGTYPE_p_ob__KeyData,
901 result = PyEval_CallObject(func, arglist);
902 if (!result || PyErr_Occurred()) {
903 // an exception occured in the script, display it
918 # include "../config.h"
921 #include "application.hh"
922 #include "appwidget.hh"
923 #include "assassin.hh"
926 #include "configuration.hh"
927 #include "display.hh"
928 #include "eventdispatcher.hh"
929 #include "eventhandler.hh"
930 #include "focuslabel.hh"
931 #include "focuswidget.hh"
933 #include "gccache.hh"
937 #include "property.hh"
939 #include "screeninfo.hh"
942 #include "texture.hh"
944 #include "timerqueue.hh"
945 #include "timerqueuemanager.hh"
950 static Display *OBDisplay_display() { return otk::OBDisplay::display; }
952 ob::OBClient *ob_OBScreen_client(ob::OBScreen *self,int i){
953 if (i >= (int)self->clients.size())
955 ob::OBClient::List::iterator it = self->clients.begin();
959 int ob_OBScreen_clientCount(ob::OBScreen const *self){
960 return (int) self->clients.size();
965 static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
969 if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
970 result = (ob::Openbox *)Openbox_instance();
972 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
979 static PyObject *_wrap_OBDisplay_display(PyObject *self, PyObject *args) {
983 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_display")) goto fail;
984 result = (Display *)OBDisplay_display();
986 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
993 static PyObject *_wrap_new_OtkEventDispatcher(PyObject *self, PyObject *args) {
995 otk::OtkEventDispatcher *result;
997 if(!PyArg_ParseTuple(args,(char *)":new_OtkEventDispatcher")) goto fail;
998 result = (otk::OtkEventDispatcher *)new otk::OtkEventDispatcher();
1000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 1);
1007 static PyObject *_wrap_delete_OtkEventDispatcher(PyObject *self, PyObject *args) {
1008 PyObject *resultobj;
1009 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1010 PyObject * obj0 = 0 ;
1012 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventDispatcher",&obj0)) goto fail;
1013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1016 Py_INCREF(Py_None); resultobj = Py_None;
1023 static PyObject *_wrap_OtkEventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
1024 PyObject *resultobj;
1025 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1026 PyObject * obj0 = 0 ;
1028 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_clearAllHandlers",&obj0)) goto fail;
1029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1030 (arg1)->clearAllHandlers();
1032 Py_INCREF(Py_None); resultobj = Py_None;
1039 static PyObject *_wrap_OtkEventDispatcher_registerHandler(PyObject *self, PyObject *args) {
1040 PyObject *resultobj;
1041 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1043 otk::OtkEventHandler *arg3 = (otk::OtkEventHandler *) 0 ;
1044 PyObject * obj0 = 0 ;
1045 PyObject * obj1 = 0 ;
1046 PyObject * obj2 = 0 ;
1048 if(!PyArg_ParseTuple(args,(char *)"OOO:OtkEventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
1049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1050 arg2 = (Window) PyInt_AsLong(obj1);
1051 if (PyErr_Occurred()) SWIG_fail;
1052 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1053 (arg1)->registerHandler(arg2,arg3);
1055 Py_INCREF(Py_None); resultobj = Py_None;
1062 static PyObject *_wrap_OtkEventDispatcher_clearHandler(PyObject *self, PyObject *args) {
1063 PyObject *resultobj;
1064 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1066 PyObject * obj0 = 0 ;
1067 PyObject * obj1 = 0 ;
1069 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
1070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1071 arg2 = (Window) PyInt_AsLong(obj1);
1072 if (PyErr_Occurred()) SWIG_fail;
1073 (arg1)->clearHandler(arg2);
1075 Py_INCREF(Py_None); resultobj = Py_None;
1082 static PyObject *_wrap_OtkEventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
1083 PyObject *resultobj;
1084 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1085 PyObject * obj0 = 0 ;
1087 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_dispatchEvents",&obj0)) goto fail;
1088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1089 (arg1)->dispatchEvents();
1091 Py_INCREF(Py_None); resultobj = Py_None;
1098 static PyObject *_wrap_OtkEventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
1099 PyObject *resultobj;
1100 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1101 otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
1102 PyObject * obj0 = 0 ;
1103 PyObject * obj1 = 0 ;
1105 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
1106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1108 (arg1)->setFallbackHandler(arg2);
1110 Py_INCREF(Py_None); resultobj = Py_None;
1117 static PyObject *_wrap_OtkEventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
1118 PyObject *resultobj;
1119 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1120 otk::OtkEventHandler *result;
1121 PyObject * obj0 = 0 ;
1123 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getFallbackHandler",&obj0)) goto fail;
1124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1125 result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getFallbackHandler();
1127 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1134 static PyObject *_wrap_OtkEventDispatcher_setMasterHandler(PyObject *self, PyObject *args) {
1135 PyObject *resultobj;
1136 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1137 otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
1138 PyObject * obj0 = 0 ;
1139 PyObject * obj1 = 0 ;
1141 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
1142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1144 (arg1)->setMasterHandler(arg2);
1146 Py_INCREF(Py_None); resultobj = Py_None;
1153 static PyObject *_wrap_OtkEventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
1154 PyObject *resultobj;
1155 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1156 otk::OtkEventHandler *result;
1157 PyObject * obj0 = 0 ;
1159 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getMasterHandler",&obj0)) goto fail;
1160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1161 result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getMasterHandler();
1163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1170 static PyObject *_wrap_OtkEventDispatcher_findHandler(PyObject *self, PyObject *args) {
1171 PyObject *resultobj;
1172 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1174 otk::OtkEventHandler *result;
1175 PyObject * obj0 = 0 ;
1176 PyObject * obj1 = 0 ;
1178 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_findHandler",&obj0,&obj1)) goto fail;
1179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1180 arg2 = (Window) PyInt_AsLong(obj1);
1181 if (PyErr_Occurred()) SWIG_fail;
1182 result = (otk::OtkEventHandler *)(arg1)->findHandler(arg2);
1184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1191 static PyObject *_wrap_OtkEventDispatcher_lastTime(PyObject *self, PyObject *args) {
1192 PyObject *resultobj;
1193 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1195 PyObject * obj0 = 0 ;
1197 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_lastTime",&obj0)) goto fail;
1198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1199 result = (Time)((otk::OtkEventDispatcher const *)arg1)->lastTime();
1201 resultobj = PyInt_FromLong((long)result);
1208 static PyObject * OtkEventDispatcher_swigregister(PyObject *self, PyObject *args) {
1210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1211 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventDispatcher, obj);
1213 return Py_BuildValue((char *)"");
1215 static PyObject *_wrap_OtkEventHandler_handle(PyObject *self, PyObject *args) {
1216 PyObject *resultobj;
1217 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1219 PyObject * obj0 = 0 ;
1220 PyObject * obj1 = 0 ;
1222 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_handle",&obj0,&obj1)) goto fail;
1223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1228 (arg1)->handle((XEvent const &)*arg2);
1230 Py_INCREF(Py_None); resultobj = Py_None;
1237 static PyObject *_wrap_OtkEventHandler_keyPressHandler(PyObject *self, PyObject *args) {
1238 PyObject *resultobj;
1239 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1240 XKeyEvent *arg2 = 0 ;
1241 PyObject * obj0 = 0 ;
1242 PyObject * obj1 = 0 ;
1244 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
1245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1248 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1250 (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
1252 Py_INCREF(Py_None); resultobj = Py_None;
1259 static PyObject *_wrap_OtkEventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
1260 PyObject *resultobj;
1261 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1262 XKeyEvent *arg2 = 0 ;
1263 PyObject * obj0 = 0 ;
1264 PyObject * obj1 = 0 ;
1266 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
1267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1272 (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
1274 Py_INCREF(Py_None); resultobj = Py_None;
1281 static PyObject *_wrap_OtkEventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
1282 PyObject *resultobj;
1283 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1284 XButtonEvent *arg2 = 0 ;
1285 PyObject * obj0 = 0 ;
1286 PyObject * obj1 = 0 ;
1288 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
1289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1290 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1292 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1294 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
1296 Py_INCREF(Py_None); resultobj = Py_None;
1303 static PyObject *_wrap_OtkEventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
1304 PyObject *resultobj;
1305 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1306 XButtonEvent *arg2 = 0 ;
1307 PyObject * obj0 = 0 ;
1308 PyObject * obj1 = 0 ;
1310 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
1311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1312 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1314 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1316 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
1318 Py_INCREF(Py_None); resultobj = Py_None;
1325 static PyObject *_wrap_OtkEventHandler_motionHandler(PyObject *self, PyObject *args) {
1326 PyObject *resultobj;
1327 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1328 XMotionEvent *arg2 = 0 ;
1329 PyObject * obj0 = 0 ;
1330 PyObject * obj1 = 0 ;
1332 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_motionHandler",&obj0,&obj1)) goto fail;
1333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1338 (arg1)->motionHandler((XMotionEvent const &)*arg2);
1340 Py_INCREF(Py_None); resultobj = Py_None;
1347 static PyObject *_wrap_OtkEventHandler_enterHandler(PyObject *self, PyObject *args) {
1348 PyObject *resultobj;
1349 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1350 XCrossingEvent *arg2 = 0 ;
1351 PyObject * obj0 = 0 ;
1352 PyObject * obj1 = 0 ;
1354 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_enterHandler",&obj0,&obj1)) goto fail;
1355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1360 (arg1)->enterHandler((XCrossingEvent const &)*arg2);
1362 Py_INCREF(Py_None); resultobj = Py_None;
1369 static PyObject *_wrap_OtkEventHandler_leaveHandler(PyObject *self, PyObject *args) {
1370 PyObject *resultobj;
1371 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1372 XCrossingEvent *arg2 = 0 ;
1373 PyObject * obj0 = 0 ;
1374 PyObject * obj1 = 0 ;
1376 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_leaveHandler",&obj0,&obj1)) goto fail;
1377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1382 (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
1384 Py_INCREF(Py_None); resultobj = Py_None;
1391 static PyObject *_wrap_OtkEventHandler_focusHandler(PyObject *self, PyObject *args) {
1392 PyObject *resultobj;
1393 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1394 XFocusChangeEvent *arg2 = 0 ;
1395 PyObject * obj0 = 0 ;
1396 PyObject * obj1 = 0 ;
1398 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_focusHandler",&obj0,&obj1)) goto fail;
1399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1402 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1404 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
1406 Py_INCREF(Py_None); resultobj = Py_None;
1413 static PyObject *_wrap_OtkEventHandler_unfocusHandler(PyObject *self, PyObject *args) {
1414 PyObject *resultobj;
1415 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1416 XFocusChangeEvent *arg2 = 0 ;
1417 PyObject * obj0 = 0 ;
1418 PyObject * obj1 = 0 ;
1420 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
1421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1424 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1426 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
1428 Py_INCREF(Py_None); resultobj = Py_None;
1435 static PyObject *_wrap_OtkEventHandler_exposeHandler(PyObject *self, PyObject *args) {
1436 PyObject *resultobj;
1437 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1438 XExposeEvent *arg2 = 0 ;
1439 PyObject * obj0 = 0 ;
1440 PyObject * obj1 = 0 ;
1442 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_exposeHandler",&obj0,&obj1)) goto fail;
1443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1446 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1448 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
1450 Py_INCREF(Py_None); resultobj = Py_None;
1457 static PyObject *_wrap_OtkEventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
1458 PyObject *resultobj;
1459 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1460 XGraphicsExposeEvent *arg2 = 0 ;
1461 PyObject * obj0 = 0 ;
1462 PyObject * obj1 = 0 ;
1464 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
1465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1466 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1470 (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
1472 Py_INCREF(Py_None); resultobj = Py_None;
1479 static PyObject *_wrap_OtkEventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
1480 PyObject *resultobj;
1481 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1482 XNoExposeEvent *arg2 = 0 ;
1483 PyObject * obj0 = 0 ;
1484 PyObject * obj1 = 0 ;
1486 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
1487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1488 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1490 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1492 (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
1494 Py_INCREF(Py_None); resultobj = Py_None;
1501 static PyObject *_wrap_OtkEventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
1502 PyObject *resultobj;
1503 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1504 XCirculateRequestEvent *arg2 = 0 ;
1505 PyObject * obj0 = 0 ;
1506 PyObject * obj1 = 0 ;
1508 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
1509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1512 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1514 (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
1516 Py_INCREF(Py_None); resultobj = Py_None;
1523 static PyObject *_wrap_OtkEventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
1524 PyObject *resultobj;
1525 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1526 XConfigureRequestEvent *arg2 = 0 ;
1527 PyObject * obj0 = 0 ;
1528 PyObject * obj1 = 0 ;
1530 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
1531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1534 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1536 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
1538 Py_INCREF(Py_None); resultobj = Py_None;
1545 static PyObject *_wrap_OtkEventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
1546 PyObject *resultobj;
1547 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1548 XMapRequestEvent *arg2 = 0 ;
1549 PyObject * obj0 = 0 ;
1550 PyObject * obj1 = 0 ;
1552 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
1553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1554 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1556 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1558 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
1560 Py_INCREF(Py_None); resultobj = Py_None;
1567 static PyObject *_wrap_OtkEventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
1568 PyObject *resultobj;
1569 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1570 XResizeRequestEvent *arg2 = 0 ;
1571 PyObject * obj0 = 0 ;
1572 PyObject * obj1 = 0 ;
1574 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
1575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1578 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1580 (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
1582 Py_INCREF(Py_None); resultobj = Py_None;
1589 static PyObject *_wrap_OtkEventHandler_circulateHandler(PyObject *self, PyObject *args) {
1590 PyObject *resultobj;
1591 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1592 XCirculateEvent *arg2 = 0 ;
1593 PyObject * obj0 = 0 ;
1594 PyObject * obj1 = 0 ;
1596 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateHandler",&obj0,&obj1)) goto fail;
1597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1600 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1602 (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
1604 Py_INCREF(Py_None); resultobj = Py_None;
1611 static PyObject *_wrap_OtkEventHandler_configureHandler(PyObject *self, PyObject *args) {
1612 PyObject *resultobj;
1613 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1614 XConfigureEvent *arg2 = 0 ;
1615 PyObject * obj0 = 0 ;
1616 PyObject * obj1 = 0 ;
1618 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureHandler",&obj0,&obj1)) goto fail;
1619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1624 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
1626 Py_INCREF(Py_None); resultobj = Py_None;
1633 static PyObject *_wrap_OtkEventHandler_createHandler(PyObject *self, PyObject *args) {
1634 PyObject *resultobj;
1635 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1636 XCreateWindowEvent *arg2 = 0 ;
1637 PyObject * obj0 = 0 ;
1638 PyObject * obj1 = 0 ;
1640 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_createHandler",&obj0,&obj1)) goto fail;
1641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1644 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1646 (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
1648 Py_INCREF(Py_None); resultobj = Py_None;
1655 static PyObject *_wrap_OtkEventHandler_destroyHandler(PyObject *self, PyObject *args) {
1656 PyObject *resultobj;
1657 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1658 XDestroyWindowEvent *arg2 = 0 ;
1659 PyObject * obj0 = 0 ;
1660 PyObject * obj1 = 0 ;
1662 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_destroyHandler",&obj0,&obj1)) goto fail;
1663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1664 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1666 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1668 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
1670 Py_INCREF(Py_None); resultobj = Py_None;
1677 static PyObject *_wrap_OtkEventHandler_gravityHandler(PyObject *self, PyObject *args) {
1678 PyObject *resultobj;
1679 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1680 XGravityEvent *arg2 = 0 ;
1681 PyObject * obj0 = 0 ;
1682 PyObject * obj1 = 0 ;
1684 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_gravityHandler",&obj0,&obj1)) goto fail;
1685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1688 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1690 (arg1)->gravityHandler((XGravityEvent const &)*arg2);
1692 Py_INCREF(Py_None); resultobj = Py_None;
1699 static PyObject *_wrap_OtkEventHandler_mapHandler(PyObject *self, PyObject *args) {
1700 PyObject *resultobj;
1701 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1702 XMapEvent *arg2 = 0 ;
1703 PyObject * obj0 = 0 ;
1704 PyObject * obj1 = 0 ;
1706 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapHandler",&obj0,&obj1)) goto fail;
1707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1712 (arg1)->mapHandler((XMapEvent const &)*arg2);
1714 Py_INCREF(Py_None); resultobj = Py_None;
1721 static PyObject *_wrap_OtkEventHandler_mappingHandler(PyObject *self, PyObject *args) {
1722 PyObject *resultobj;
1723 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1724 XMappingEvent *arg2 = 0 ;
1725 PyObject * obj0 = 0 ;
1726 PyObject * obj1 = 0 ;
1728 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mappingHandler",&obj0,&obj1)) goto fail;
1729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1732 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1734 (arg1)->mappingHandler((XMappingEvent const &)*arg2);
1736 Py_INCREF(Py_None); resultobj = Py_None;
1743 static PyObject *_wrap_OtkEventHandler_reparentHandler(PyObject *self, PyObject *args) {
1744 PyObject *resultobj;
1745 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1746 XReparentEvent *arg2 = 0 ;
1747 PyObject * obj0 = 0 ;
1748 PyObject * obj1 = 0 ;
1750 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_reparentHandler",&obj0,&obj1)) goto fail;
1751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1752 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1756 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
1758 Py_INCREF(Py_None); resultobj = Py_None;
1765 static PyObject *_wrap_OtkEventHandler_unmapHandler(PyObject *self, PyObject *args) {
1766 PyObject *resultobj;
1767 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1768 XUnmapEvent *arg2 = 0 ;
1769 PyObject * obj0 = 0 ;
1770 PyObject * obj1 = 0 ;
1772 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unmapHandler",&obj0,&obj1)) goto fail;
1773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1774 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1776 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1778 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
1780 Py_INCREF(Py_None); resultobj = Py_None;
1787 static PyObject *_wrap_OtkEventHandler_visibilityHandler(PyObject *self, PyObject *args) {
1788 PyObject *resultobj;
1789 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1790 XVisibilityEvent *arg2 = 0 ;
1791 PyObject * obj0 = 0 ;
1792 PyObject * obj1 = 0 ;
1794 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
1795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1800 (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
1802 Py_INCREF(Py_None); resultobj = Py_None;
1809 static PyObject *_wrap_OtkEventHandler_colorMapHandler(PyObject *self, PyObject *args) {
1810 PyObject *resultobj;
1811 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1812 XColormapEvent *arg2 = 0 ;
1813 PyObject * obj0 = 0 ;
1814 PyObject * obj1 = 0 ;
1816 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
1817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1818 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1822 (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
1824 Py_INCREF(Py_None); resultobj = Py_None;
1831 static PyObject *_wrap_OtkEventHandler_propertyHandler(PyObject *self, PyObject *args) {
1832 PyObject *resultobj;
1833 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1834 XPropertyEvent *arg2 = 0 ;
1835 PyObject * obj0 = 0 ;
1836 PyObject * obj1 = 0 ;
1838 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_propertyHandler",&obj0,&obj1)) goto fail;
1839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1840 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1842 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1844 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
1846 Py_INCREF(Py_None); resultobj = Py_None;
1853 static PyObject *_wrap_OtkEventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
1854 PyObject *resultobj;
1855 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1856 XSelectionClearEvent *arg2 = 0 ;
1857 PyObject * obj0 = 0 ;
1858 PyObject * obj1 = 0 ;
1860 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
1861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1864 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1866 (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
1868 Py_INCREF(Py_None); resultobj = Py_None;
1875 static PyObject *_wrap_OtkEventHandler_selectionHandler(PyObject *self, PyObject *args) {
1876 PyObject *resultobj;
1877 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1878 XSelectionEvent *arg2 = 0 ;
1879 PyObject * obj0 = 0 ;
1880 PyObject * obj1 = 0 ;
1882 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionHandler",&obj0,&obj1)) goto fail;
1883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1888 (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
1890 Py_INCREF(Py_None); resultobj = Py_None;
1897 static PyObject *_wrap_OtkEventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
1898 PyObject *resultobj;
1899 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1900 XSelectionRequestEvent *arg2 = 0 ;
1901 PyObject * obj0 = 0 ;
1902 PyObject * obj1 = 0 ;
1904 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
1905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1906 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1908 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1910 (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
1912 Py_INCREF(Py_None); resultobj = Py_None;
1919 static PyObject *_wrap_OtkEventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
1920 PyObject *resultobj;
1921 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1922 XClientMessageEvent *arg2 = 0 ;
1923 PyObject * obj0 = 0 ;
1924 PyObject * obj1 = 0 ;
1926 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
1927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1928 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1930 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1932 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
1934 Py_INCREF(Py_None); resultobj = Py_None;
1941 static PyObject *_wrap_delete_OtkEventHandler(PyObject *self, PyObject *args) {
1942 PyObject *resultobj;
1943 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1944 PyObject * obj0 = 0 ;
1946 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventHandler",&obj0)) goto fail;
1947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1950 Py_INCREF(Py_None); resultobj = Py_None;
1957 static PyObject * OtkEventHandler_swigregister(PyObject *self, PyObject *args) {
1959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1960 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventHandler, obj);
1962 return Py_BuildValue((char *)"");
1964 static PyObject *_wrap_new_OtkWidget__SWIG_0(PyObject *self, PyObject *args) {
1965 PyObject *resultobj;
1966 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1967 int arg2 = (int) otk::OtkWidget::Horizontal ;
1968 otk::OtkWidget *result;
1969 PyObject * obj0 = 0 ;
1971 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkWidget",&obj0,&arg2)) goto fail;
1972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1973 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,(otk::OtkWidget::Direction )arg2);
1975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1982 static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) {
1983 PyObject *resultobj;
1984 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1985 otk::Style *arg2 = (otk::Style *) 0 ;
1986 int arg3 = (int) otk::OtkWidget::Horizontal ;
1987 Cursor arg4 = (Cursor) 0 ;
1988 int arg5 = (int) 1 ;
1989 bool arg6 = (bool) false ;
1990 otk::OtkWidget *result;
1991 PyObject * obj0 = 0 ;
1992 PyObject * obj1 = 0 ;
1993 PyObject * obj3 = 0 ;
1994 PyObject * obj5 = 0 ;
1996 if(!PyArg_ParseTuple(args,(char *)"OO|iOiO:new_OtkWidget",&obj0,&obj1,&arg3,&obj3,&arg5,&obj5)) goto fail;
1997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2000 arg4 = (Cursor) PyInt_AsLong(obj3);
2001 if (PyErr_Occurred()) SWIG_fail;
2004 arg6 = (bool) PyInt_AsLong(obj5);
2005 if (PyErr_Occurred()) SWIG_fail;
2007 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5,arg6);
2009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
2016 static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) {
2021 argc = PyObject_Length(args);
2022 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
2023 argv[ii] = PyTuple_GetItem(args,ii);
2025 if ((argc >= 1) && (argc <= 2)) {
2029 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2038 return _wrap_new_OtkWidget__SWIG_0(self,args);
2041 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2044 return _wrap_new_OtkWidget__SWIG_0(self,args);
2048 if ((argc >= 2) && (argc <= 6)) {
2052 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkEventDispatcher, 0) == -1) {
2062 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Style, 0) == -1) {
2071 return _wrap_new_OtkWidget__SWIG_1(self,args);
2074 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2078 return _wrap_new_OtkWidget__SWIG_1(self,args);
2081 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2085 return _wrap_new_OtkWidget__SWIG_1(self,args);
2088 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2092 return _wrap_new_OtkWidget__SWIG_1(self,args);
2095 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
2098 return _wrap_new_OtkWidget__SWIG_1(self,args);
2107 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_OtkWidget'");
2112 static PyObject *_wrap_delete_OtkWidget(PyObject *self, PyObject *args) {
2113 PyObject *resultobj;
2114 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2115 PyObject * obj0 = 0 ;
2117 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkWidget",&obj0)) goto fail;
2118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2121 Py_INCREF(Py_None); resultobj = Py_None;
2128 static PyObject *_wrap_OtkWidget_update(PyObject *self, PyObject *args) {
2129 PyObject *resultobj;
2130 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2131 PyObject * obj0 = 0 ;
2133 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_update",&obj0)) goto fail;
2134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2137 Py_INCREF(Py_None); resultobj = Py_None;
2144 static PyObject *_wrap_OtkWidget_exposeHandler(PyObject *self, PyObject *args) {
2145 PyObject *resultobj;
2146 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2147 XExposeEvent *arg2 = 0 ;
2148 PyObject * obj0 = 0 ;
2149 PyObject * obj1 = 0 ;
2151 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_exposeHandler",&obj0,&obj1)) goto fail;
2152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2157 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
2159 Py_INCREF(Py_None); resultobj = Py_None;
2166 static PyObject *_wrap_OtkWidget_configureHandler(PyObject *self, PyObject *args) {
2167 PyObject *resultobj;
2168 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2169 XConfigureEvent *arg2 = 0 ;
2170 PyObject * obj0 = 0 ;
2171 PyObject * obj1 = 0 ;
2173 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_configureHandler",&obj0,&obj1)) goto fail;
2174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2175 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2177 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2179 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
2181 Py_INCREF(Py_None); resultobj = Py_None;
2188 static PyObject *_wrap_OtkWidget_window(PyObject *self, PyObject *args) {
2189 PyObject *resultobj;
2190 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2192 PyObject * obj0 = 0 ;
2194 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_window",&obj0)) goto fail;
2195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2196 result = (Window)((otk::OtkWidget const *)arg1)->window();
2198 resultobj = PyInt_FromLong((long)result);
2205 static PyObject *_wrap_OtkWidget_parent(PyObject *self, PyObject *args) {
2206 PyObject *resultobj;
2207 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2208 otk::OtkWidget *result;
2209 PyObject * obj0 = 0 ;
2211 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_parent",&obj0)) goto fail;
2212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2213 result = (otk::OtkWidget *)((otk::OtkWidget const *)arg1)->parent();
2215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 0);
2222 static PyObject *_wrap_OtkWidget_children(PyObject *self, PyObject *args) {
2223 PyObject *resultobj;
2224 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2225 otk::OtkWidget::OtkWidgetList *result;
2226 PyObject * obj0 = 0 ;
2228 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_children",&obj0)) goto fail;
2229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2231 otk::OtkWidget::OtkWidgetList const &_result_ref = ((otk::OtkWidget const *)arg1)->children();
2232 result = (otk::OtkWidget::OtkWidgetList *) &_result_ref;
2235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget__OtkWidgetList, 0);
2242 static PyObject *_wrap_OtkWidget_screen(PyObject *self, PyObject *args) {
2243 PyObject *resultobj;
2244 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2245 unsigned int result;
2246 PyObject * obj0 = 0 ;
2248 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_screen",&obj0)) goto fail;
2249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2250 result = (unsigned int)((otk::OtkWidget const *)arg1)->screen();
2252 resultobj = PyInt_FromLong((long)result);
2259 static PyObject *_wrap_OtkWidget_rect(PyObject *self, PyObject *args) {
2260 PyObject *resultobj;
2261 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2263 PyObject * obj0 = 0 ;
2265 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_rect",&obj0)) goto fail;
2266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2268 otk::Rect const &_result_ref = ((otk::OtkWidget const *)arg1)->rect();
2269 result = (otk::Rect *) &_result_ref;
2272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
2279 static PyObject *_wrap_OtkWidget_move__SWIG_0(PyObject *self, PyObject *args) {
2280 PyObject *resultobj;
2281 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2282 otk::Point *arg2 = 0 ;
2283 PyObject * obj0 = 0 ;
2284 PyObject * obj1 = 0 ;
2286 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_move",&obj0,&obj1)) goto fail;
2287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2288 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2290 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2292 (arg1)->move((otk::Point const &)*arg2);
2294 Py_INCREF(Py_None); resultobj = Py_None;
2301 static PyObject *_wrap_OtkWidget_move__SWIG_1(PyObject *self, PyObject *args) {
2302 PyObject *resultobj;
2303 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2306 PyObject * obj0 = 0 ;
2308 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_move",&obj0,&arg2,&arg3)) goto fail;
2309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2310 (arg1)->move(arg2,arg3);
2312 Py_INCREF(Py_None); resultobj = Py_None;
2319 static PyObject *_wrap_OtkWidget_move(PyObject *self, PyObject *args) {
2324 argc = PyObject_Length(args);
2325 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2326 argv[ii] = PyTuple_GetItem(args,ii);
2332 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2342 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2350 return _wrap_OtkWidget_move__SWIG_0(self,args);
2358 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2367 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2371 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2374 return _wrap_OtkWidget_move__SWIG_1(self,args);
2380 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_move'");
2385 static PyObject *_wrap_OtkWidget_setWidth(PyObject *self, PyObject *args) {
2386 PyObject *resultobj;
2387 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2389 PyObject * obj0 = 0 ;
2391 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setWidth",&obj0,&arg2)) goto fail;
2392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2393 (arg1)->setWidth(arg2);
2395 Py_INCREF(Py_None); resultobj = Py_None;
2402 static PyObject *_wrap_OtkWidget_setHeight(PyObject *self, PyObject *args) {
2403 PyObject *resultobj;
2404 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2406 PyObject * obj0 = 0 ;
2408 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setHeight",&obj0,&arg2)) goto fail;
2409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2410 (arg1)->setHeight(arg2);
2412 Py_INCREF(Py_None); resultobj = Py_None;
2419 static PyObject *_wrap_OtkWidget_width(PyObject *self, PyObject *args) {
2420 PyObject *resultobj;
2421 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2423 PyObject * obj0 = 0 ;
2425 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_width",&obj0)) goto fail;
2426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2427 result = (int)((otk::OtkWidget const *)arg1)->width();
2429 resultobj = PyInt_FromLong((long)result);
2436 static PyObject *_wrap_OtkWidget_height(PyObject *self, PyObject *args) {
2437 PyObject *resultobj;
2438 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2440 PyObject * obj0 = 0 ;
2442 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_height",&obj0)) goto fail;
2443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2444 result = (int)((otk::OtkWidget const *)arg1)->height();
2446 resultobj = PyInt_FromLong((long)result);
2453 static PyObject *_wrap_OtkWidget_resize__SWIG_0(PyObject *self, PyObject *args) {
2454 PyObject *resultobj;
2455 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2456 otk::Point *arg2 = 0 ;
2457 PyObject * obj0 = 0 ;
2458 PyObject * obj1 = 0 ;
2460 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_resize",&obj0,&obj1)) goto fail;
2461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2464 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2466 (arg1)->resize((otk::Point const &)*arg2);
2468 Py_INCREF(Py_None); resultobj = Py_None;
2475 static PyObject *_wrap_OtkWidget_resize__SWIG_1(PyObject *self, PyObject *args) {
2476 PyObject *resultobj;
2477 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2480 PyObject * obj0 = 0 ;
2482 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_resize",&obj0,&arg2,&arg3)) goto fail;
2483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2484 (arg1)->resize(arg2,arg3);
2486 Py_INCREF(Py_None); resultobj = Py_None;
2493 static PyObject *_wrap_OtkWidget_resize(PyObject *self, PyObject *args) {
2498 argc = PyObject_Length(args);
2499 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2500 argv[ii] = PyTuple_GetItem(args,ii);
2506 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2516 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2524 return _wrap_OtkWidget_resize__SWIG_0(self,args);
2532 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2541 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2545 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2548 return _wrap_OtkWidget_resize__SWIG_1(self,args);
2554 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_resize'");
2559 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_0(PyObject *self, PyObject *args) {
2560 PyObject *resultobj;
2561 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2562 otk::Rect *arg2 = 0 ;
2563 PyObject * obj0 = 0 ;
2564 PyObject * obj1 = 0 ;
2566 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setGeometry",&obj0,&obj1)) goto fail;
2567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2570 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2572 (arg1)->setGeometry((otk::Rect const &)*arg2);
2574 Py_INCREF(Py_None); resultobj = Py_None;
2581 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_1(PyObject *self, PyObject *args) {
2582 PyObject *resultobj;
2583 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2584 otk::Point *arg2 = 0 ;
2587 PyObject * obj0 = 0 ;
2588 PyObject * obj1 = 0 ;
2590 if(!PyArg_ParseTuple(args,(char *)"OOii:OtkWidget_setGeometry",&obj0,&obj1,&arg3,&arg4)) goto fail;
2591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2596 (arg1)->setGeometry((otk::Point const &)*arg2,arg3,arg4);
2598 Py_INCREF(Py_None); resultobj = Py_None;
2605 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_2(PyObject *self, PyObject *args) {
2606 PyObject *resultobj;
2607 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2612 PyObject * obj0 = 0 ;
2614 if(!PyArg_ParseTuple(args,(char *)"Oiiii:OtkWidget_setGeometry",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2616 (arg1)->setGeometry(arg2,arg3,arg4,arg5);
2618 Py_INCREF(Py_None); resultobj = Py_None;
2625 static PyObject *_wrap_OtkWidget_setGeometry(PyObject *self, PyObject *args) {
2630 argc = PyObject_Length(args);
2631 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2632 argv[ii] = PyTuple_GetItem(args,ii);
2638 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2648 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2656 return _wrap_OtkWidget_setGeometry__SWIG_0(self,args);
2664 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2674 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2683 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2687 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2690 return _wrap_OtkWidget_setGeometry__SWIG_1(self,args);
2700 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2709 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2713 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2717 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2721 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2724 return _wrap_OtkWidget_setGeometry__SWIG_2(self,args);
2732 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_setGeometry'");
2737 static PyObject *_wrap_OtkWidget_isVisible(PyObject *self, PyObject *args) {
2738 PyObject *resultobj;
2739 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2741 PyObject * obj0 = 0 ;
2743 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isVisible",&obj0)) goto fail;
2744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2745 result = (bool)((otk::OtkWidget const *)arg1)->isVisible();
2747 resultobj = PyInt_FromLong((long)result);
2754 static PyObject *_wrap_OtkWidget_show(PyObject *self, PyObject *args) {
2755 PyObject *resultobj;
2756 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2757 bool arg2 = (bool) false ;
2758 PyObject * obj0 = 0 ;
2759 PyObject * obj1 = 0 ;
2761 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_show",&obj0,&obj1)) goto fail;
2762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2764 arg2 = (bool) PyInt_AsLong(obj1);
2765 if (PyErr_Occurred()) SWIG_fail;
2769 Py_INCREF(Py_None); resultobj = Py_None;
2776 static PyObject *_wrap_OtkWidget_hide(PyObject *self, PyObject *args) {
2777 PyObject *resultobj;
2778 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2779 bool arg2 = (bool) false ;
2780 PyObject * obj0 = 0 ;
2781 PyObject * obj1 = 0 ;
2783 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_hide",&obj0,&obj1)) goto fail;
2784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2786 arg2 = (bool) PyInt_AsLong(obj1);
2787 if (PyErr_Occurred()) SWIG_fail;
2791 Py_INCREF(Py_None); resultobj = Py_None;
2798 static PyObject *_wrap_OtkWidget_isFocused(PyObject *self, PyObject *args) {
2799 PyObject *resultobj;
2800 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2802 PyObject * obj0 = 0 ;
2804 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isFocused",&obj0)) goto fail;
2805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2806 result = (bool)((otk::OtkWidget const *)arg1)->isFocused();
2808 resultobj = PyInt_FromLong((long)result);
2815 static PyObject *_wrap_OtkWidget_focus(PyObject *self, PyObject *args) {
2816 PyObject *resultobj;
2817 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2818 PyObject * obj0 = 0 ;
2820 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_focus",&obj0)) goto fail;
2821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2824 Py_INCREF(Py_None); resultobj = Py_None;
2831 static PyObject *_wrap_OtkWidget_unfocus(PyObject *self, PyObject *args) {
2832 PyObject *resultobj;
2833 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2834 PyObject * obj0 = 0 ;
2836 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unfocus",&obj0)) goto fail;
2837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2840 Py_INCREF(Py_None); resultobj = Py_None;
2847 static PyObject *_wrap_OtkWidget_hasGrabbedMouse(PyObject *self, PyObject *args) {
2848 PyObject *resultobj;
2849 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2851 PyObject * obj0 = 0 ;
2853 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedMouse",&obj0)) goto fail;
2854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2855 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedMouse();
2857 resultobj = PyInt_FromLong((long)result);
2864 static PyObject *_wrap_OtkWidget_grabMouse(PyObject *self, PyObject *args) {
2865 PyObject *resultobj;
2866 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2868 PyObject * obj0 = 0 ;
2870 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabMouse",&obj0)) goto fail;
2871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2872 result = (bool)(arg1)->grabMouse();
2874 resultobj = PyInt_FromLong((long)result);
2881 static PyObject *_wrap_OtkWidget_ungrabMouse(PyObject *self, PyObject *args) {
2882 PyObject *resultobj;
2883 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2884 PyObject * obj0 = 0 ;
2886 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabMouse",&obj0)) goto fail;
2887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2888 (arg1)->ungrabMouse();
2890 Py_INCREF(Py_None); resultobj = Py_None;
2897 static PyObject *_wrap_OtkWidget_hasGrabbedKeyboard(PyObject *self, PyObject *args) {
2898 PyObject *resultobj;
2899 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2901 PyObject * obj0 = 0 ;
2903 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedKeyboard",&obj0)) goto fail;
2904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2905 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedKeyboard();
2907 resultobj = PyInt_FromLong((long)result);
2914 static PyObject *_wrap_OtkWidget_grabKeyboard(PyObject *self, PyObject *args) {
2915 PyObject *resultobj;
2916 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2918 PyObject * obj0 = 0 ;
2920 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabKeyboard",&obj0)) goto fail;
2921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2922 result = (bool)(arg1)->grabKeyboard();
2924 resultobj = PyInt_FromLong((long)result);
2931 static PyObject *_wrap_OtkWidget_ungrabKeyboard(PyObject *self, PyObject *args) {
2932 PyObject *resultobj;
2933 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2934 PyObject * obj0 = 0 ;
2936 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabKeyboard",&obj0)) goto fail;
2937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2938 (arg1)->ungrabKeyboard();
2940 Py_INCREF(Py_None); resultobj = Py_None;
2947 static PyObject *_wrap_OtkWidget_texture(PyObject *self, PyObject *args) {
2948 PyObject *resultobj;
2949 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2950 otk::BTexture *result;
2951 PyObject * obj0 = 0 ;
2953 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_texture",&obj0)) goto fail;
2954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2955 result = (otk::BTexture *)((otk::OtkWidget const *)arg1)->texture();
2957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
2964 static PyObject *_wrap_OtkWidget_setTexture(PyObject *self, PyObject *args) {
2965 PyObject *resultobj;
2966 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2967 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
2968 PyObject * obj0 = 0 ;
2969 PyObject * obj1 = 0 ;
2971 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setTexture",&obj0,&obj1)) goto fail;
2972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2974 (arg1)->setTexture(arg2);
2976 Py_INCREF(Py_None); resultobj = Py_None;
2983 static PyObject *_wrap_OtkWidget_borderColor(PyObject *self, PyObject *args) {
2984 PyObject *resultobj;
2985 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2986 otk::BColor *result;
2987 PyObject * obj0 = 0 ;
2989 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderColor",&obj0)) goto fail;
2990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2991 result = (otk::BColor *)((otk::OtkWidget const *)arg1)->borderColor();
2993 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
3000 static PyObject *_wrap_OtkWidget_setBorderColor(PyObject *self, PyObject *args) {
3001 PyObject *resultobj;
3002 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3003 otk::BColor *arg2 = (otk::BColor *) 0 ;
3004 PyObject * obj0 = 0 ;
3005 PyObject * obj1 = 0 ;
3007 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setBorderColor",&obj0,&obj1)) goto fail;
3008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3010 (arg1)->setBorderColor((otk::BColor const *)arg2);
3012 Py_INCREF(Py_None); resultobj = Py_None;
3019 static PyObject *_wrap_OtkWidget_borderWidth(PyObject *self, PyObject *args) {
3020 PyObject *resultobj;
3021 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3023 PyObject * obj0 = 0 ;
3025 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderWidth",&obj0)) goto fail;
3026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3027 result = (int)((otk::OtkWidget const *)arg1)->borderWidth();
3029 resultobj = PyInt_FromLong((long)result);
3036 static PyObject *_wrap_OtkWidget_setBorderWidth(PyObject *self, PyObject *args) {
3037 PyObject *resultobj;
3038 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3040 PyObject * obj0 = 0 ;
3042 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBorderWidth",&obj0,&arg2)) goto fail;
3043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3044 (arg1)->setBorderWidth(arg2);
3046 Py_INCREF(Py_None); resultobj = Py_None;
3053 static PyObject *_wrap_OtkWidget_addChild(PyObject *self, PyObject *args) {
3054 PyObject *resultobj;
3055 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3056 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
3057 bool arg3 = (bool) false ;
3058 PyObject * obj0 = 0 ;
3059 PyObject * obj1 = 0 ;
3060 PyObject * obj2 = 0 ;
3062 if(!PyArg_ParseTuple(args,(char *)"OO|O:OtkWidget_addChild",&obj0,&obj1,&obj2)) goto fail;
3063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3066 arg3 = (bool) PyInt_AsLong(obj2);
3067 if (PyErr_Occurred()) SWIG_fail;
3069 (arg1)->addChild(arg2,arg3);
3071 Py_INCREF(Py_None); resultobj = Py_None;
3078 static PyObject *_wrap_OtkWidget_removeChild(PyObject *self, PyObject *args) {
3079 PyObject *resultobj;
3080 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3081 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
3082 PyObject * obj0 = 0 ;
3083 PyObject * obj1 = 0 ;
3085 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_removeChild",&obj0,&obj1)) goto fail;
3086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3088 (arg1)->removeChild(arg2);
3090 Py_INCREF(Py_None); resultobj = Py_None;
3097 static PyObject *_wrap_OtkWidget_isStretchableHorz(PyObject *self, PyObject *args) {
3098 PyObject *resultobj;
3099 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3101 PyObject * obj0 = 0 ;
3103 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableHorz",&obj0)) goto fail;
3104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3105 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableHorz();
3107 resultobj = PyInt_FromLong((long)result);
3114 static PyObject *_wrap_OtkWidget_setStretchableHorz(PyObject *self, PyObject *args) {
3115 PyObject *resultobj;
3116 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3117 bool arg2 = (bool) true ;
3118 PyObject * obj0 = 0 ;
3119 PyObject * obj1 = 0 ;
3121 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableHorz",&obj0,&obj1)) goto fail;
3122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3124 arg2 = (bool) PyInt_AsLong(obj1);
3125 if (PyErr_Occurred()) SWIG_fail;
3127 (arg1)->setStretchableHorz(arg2);
3129 Py_INCREF(Py_None); resultobj = Py_None;
3136 static PyObject *_wrap_OtkWidget_isStretchableVert(PyObject *self, PyObject *args) {
3137 PyObject *resultobj;
3138 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3140 PyObject * obj0 = 0 ;
3142 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableVert",&obj0)) goto fail;
3143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3144 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableVert();
3146 resultobj = PyInt_FromLong((long)result);
3153 static PyObject *_wrap_OtkWidget_setStretchableVert(PyObject *self, PyObject *args) {
3154 PyObject *resultobj;
3155 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3156 bool arg2 = (bool) true ;
3157 PyObject * obj0 = 0 ;
3158 PyObject * obj1 = 0 ;
3160 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableVert",&obj0,&obj1)) goto fail;
3161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 arg2 = (bool) PyInt_AsLong(obj1);
3164 if (PyErr_Occurred()) SWIG_fail;
3166 (arg1)->setStretchableVert(arg2);
3168 Py_INCREF(Py_None); resultobj = Py_None;
3175 static PyObject *_wrap_OtkWidget_cursor(PyObject *self, PyObject *args) {
3176 PyObject *resultobj;
3177 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3179 PyObject * obj0 = 0 ;
3181 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_cursor",&obj0)) goto fail;
3182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3183 result = (Cursor)((otk::OtkWidget const *)arg1)->cursor();
3185 resultobj = PyInt_FromLong((long)result);
3192 static PyObject *_wrap_OtkWidget_setCursor(PyObject *self, PyObject *args) {
3193 PyObject *resultobj;
3194 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3196 PyObject * obj0 = 0 ;
3197 PyObject * obj1 = 0 ;
3199 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setCursor",&obj0,&obj1)) goto fail;
3200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3201 arg2 = (Cursor) PyInt_AsLong(obj1);
3202 if (PyErr_Occurred()) SWIG_fail;
3203 (arg1)->setCursor(arg2);
3205 Py_INCREF(Py_None); resultobj = Py_None;
3212 static PyObject *_wrap_OtkWidget_bevelWidth(PyObject *self, PyObject *args) {
3213 PyObject *resultobj;
3214 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3216 PyObject * obj0 = 0 ;
3218 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_bevelWidth",&obj0)) goto fail;
3219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3220 result = (int)((otk::OtkWidget const *)arg1)->bevelWidth();
3222 resultobj = PyInt_FromLong((long)result);
3229 static PyObject *_wrap_OtkWidget_setBevelWidth(PyObject *self, PyObject *args) {
3230 PyObject *resultobj;
3231 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3233 PyObject * obj0 = 0 ;
3235 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBevelWidth",&obj0,&arg2)) goto fail;
3236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3237 (arg1)->setBevelWidth(arg2);
3239 Py_INCREF(Py_None); resultobj = Py_None;
3246 static PyObject *_wrap_OtkWidget_direction(PyObject *self, PyObject *args) {
3247 PyObject *resultobj;
3248 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3250 PyObject * obj0 = 0 ;
3252 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_direction",&obj0)) goto fail;
3253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3254 result = (int)((otk::OtkWidget const *)arg1)->direction();
3256 resultobj = PyInt_FromLong((long)result);
3263 static PyObject *_wrap_OtkWidget_setDirection(PyObject *self, PyObject *args) {
3264 PyObject *resultobj;
3265 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3267 PyObject * obj0 = 0 ;
3269 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setDirection",&obj0,&arg2)) goto fail;
3270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271 (arg1)->setDirection((otk::OtkWidget::Direction )arg2);
3273 Py_INCREF(Py_None); resultobj = Py_None;
3280 static PyObject *_wrap_OtkWidget_style(PyObject *self, PyObject *args) {
3281 PyObject *resultobj;
3282 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3284 PyObject * obj0 = 0 ;
3286 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_style",&obj0)) goto fail;
3287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3288 result = (otk::Style *)((otk::OtkWidget const *)arg1)->style();
3290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3297 static PyObject *_wrap_OtkWidget_setStyle(PyObject *self, PyObject *args) {
3298 PyObject *resultobj;
3299 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3300 otk::Style *arg2 = (otk::Style *) 0 ;
3301 PyObject * obj0 = 0 ;
3302 PyObject * obj1 = 0 ;
3304 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setStyle",&obj0,&obj1)) goto fail;
3305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3307 (arg1)->setStyle(arg2);
3309 Py_INCREF(Py_None); resultobj = Py_None;
3316 static PyObject *_wrap_OtkWidget_eventDispatcher(PyObject *self, PyObject *args) {
3317 PyObject *resultobj;
3318 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3319 otk::OtkEventDispatcher *result;
3320 PyObject * obj0 = 0 ;
3322 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_eventDispatcher",&obj0)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3324 result = (otk::OtkEventDispatcher *)(arg1)->eventDispatcher();
3326 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 0);
3333 static PyObject *_wrap_OtkWidget_setEventDispatcher(PyObject *self, PyObject *args) {
3334 PyObject *resultobj;
3335 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3336 otk::OtkEventDispatcher *arg2 = (otk::OtkEventDispatcher *) 0 ;
3337 PyObject * obj0 = 0 ;
3338 PyObject * obj1 = 0 ;
3340 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setEventDispatcher",&obj0,&obj1)) goto fail;
3341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3342 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3343 (arg1)->setEventDispatcher(arg2);
3345 Py_INCREF(Py_None); resultobj = Py_None;
3352 static PyObject * OtkWidget_swigregister(PyObject *self, PyObject *args) {
3354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3355 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget, obj);
3357 return Py_BuildValue((char *)"");
3359 static PyObject *_wrap_new_OtkFocusWidget(PyObject *self, PyObject *args) {
3360 PyObject *resultobj;
3361 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3362 int arg2 = (int) otk::OtkWidget::Horizontal ;
3363 otk::OtkFocusWidget *result;
3364 PyObject * obj0 = 0 ;
3366 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkFocusWidget",&obj0,&arg2)) goto fail;
3367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3368 result = (otk::OtkFocusWidget *)new otk::OtkFocusWidget(arg1,(otk::OtkWidget::Direction )arg2);
3370 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusWidget, 1);
3377 static PyObject *_wrap_delete_OtkFocusWidget(PyObject *self, PyObject *args) {
3378 PyObject *resultobj;
3379 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3380 PyObject * obj0 = 0 ;
3382 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusWidget",&obj0)) goto fail;
3383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3386 Py_INCREF(Py_None); resultobj = Py_None;
3393 static PyObject *_wrap_OtkFocusWidget_focus(PyObject *self, PyObject *args) {
3394 PyObject *resultobj;
3395 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3396 PyObject * obj0 = 0 ;
3398 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_focus",&obj0)) goto fail;
3399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3402 Py_INCREF(Py_None); resultobj = Py_None;
3409 static PyObject *_wrap_OtkFocusWidget_unfocus(PyObject *self, PyObject *args) {
3410 PyObject *resultobj;
3411 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3412 PyObject * obj0 = 0 ;
3414 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_unfocus",&obj0)) goto fail;
3415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3418 Py_INCREF(Py_None); resultobj = Py_None;
3425 static PyObject *_wrap_OtkFocusWidget_setTexture(PyObject *self, PyObject *args) {
3426 PyObject *resultobj;
3427 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3428 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3429 PyObject * obj0 = 0 ;
3430 PyObject * obj1 = 0 ;
3432 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setTexture",&obj0,&obj1)) goto fail;
3433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3435 (arg1)->setTexture(arg2);
3437 Py_INCREF(Py_None); resultobj = Py_None;
3444 static PyObject *_wrap_OtkFocusWidget_setBorderColor(PyObject *self, PyObject *args) {
3445 PyObject *resultobj;
3446 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3447 otk::BColor *arg2 = (otk::BColor *) 0 ;
3448 PyObject * obj0 = 0 ;
3449 PyObject * obj1 = 0 ;
3451 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0,&obj1)) goto fail;
3452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3454 (arg1)->setBorderColor((otk::BColor const *)arg2);
3456 Py_INCREF(Py_None); resultobj = Py_None;
3463 static PyObject *_wrap_OtkFocusWidget_setUnfocusTexture(PyObject *self, PyObject *args) {
3464 PyObject *resultobj;
3465 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3466 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3467 PyObject * obj0 = 0 ;
3468 PyObject * obj1 = 0 ;
3470 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&obj0,&obj1)) goto fail;
3471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3473 (arg1)->setUnfocusTexture(arg2);
3475 Py_INCREF(Py_None); resultobj = Py_None;
3482 static PyObject *_wrap_OtkFocusWidget_getUnfocusTexture(PyObject *self, PyObject *args) {
3483 PyObject *resultobj;
3484 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3485 otk::BTexture *result;
3486 PyObject * obj0 = 0 ;
3488 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0)) goto fail;
3489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3490 result = (otk::BTexture *)((otk::OtkFocusWidget const *)arg1)->getUnfocusTexture();
3492 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3499 static PyObject *_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject *self, PyObject *args) {
3500 PyObject *resultobj;
3501 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3502 otk::BColor *arg2 = (otk::BColor *) 0 ;
3503 PyObject * obj0 = 0 ;
3504 PyObject * obj1 = 0 ;
3506 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&obj0,&obj1)) goto fail;
3507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3509 (arg1)->setUnfocusBorderColor((otk::BColor const *)arg2);
3511 Py_INCREF(Py_None); resultobj = Py_None;
3518 static PyObject *_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject *self, PyObject *args) {
3519 PyObject *resultobj;
3520 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3521 otk::BColor *result;
3522 PyObject * obj0 = 0 ;
3524 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0)) goto fail;
3525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3526 result = (otk::BColor *)((otk::OtkFocusWidget const *)arg1)->getUnfocusBorderColor();
3528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
3535 static PyObject *_wrap_OtkFocusWidget_isFocused(PyObject *self, PyObject *args) {
3536 PyObject *resultobj;
3537 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3539 PyObject * obj0 = 0 ;
3541 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isFocused",&obj0)) goto fail;
3542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3543 result = (bool)((otk::OtkFocusWidget const *)arg1)->isFocused();
3545 resultobj = PyInt_FromLong((long)result);
3552 static PyObject *_wrap_OtkFocusWidget_isUnfocused(PyObject *self, PyObject *args) {
3553 PyObject *resultobj;
3554 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3556 PyObject * obj0 = 0 ;
3558 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isUnfocused",&obj0)) goto fail;
3559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3560 result = (bool)((otk::OtkFocusWidget const *)arg1)->isUnfocused();
3562 resultobj = PyInt_FromLong((long)result);
3569 static PyObject * OtkFocusWidget_swigregister(PyObject *self, PyObject *args) {
3571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3572 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget, obj);
3574 return Py_BuildValue((char *)"");
3576 static PyObject *_wrap_new_OtkFocusLabel(PyObject *self, PyObject *args) {
3577 PyObject *resultobj;
3578 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3579 otk::OtkFocusLabel *result;
3580 PyObject * obj0 = 0 ;
3582 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkFocusLabel",&obj0)) goto fail;
3583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3584 result = (otk::OtkFocusLabel *)new otk::OtkFocusLabel(arg1);
3586 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusLabel, 1);
3593 static PyObject *_wrap_delete_OtkFocusLabel(PyObject *self, PyObject *args) {
3594 PyObject *resultobj;
3595 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3596 PyObject * obj0 = 0 ;
3598 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusLabel",&obj0)) goto fail;
3599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3602 Py_INCREF(Py_None); resultobj = Py_None;
3609 static PyObject *_wrap_OtkFocusLabel_getText(PyObject *self, PyObject *args) {
3610 PyObject *resultobj;
3611 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3612 std::string *result;
3613 PyObject * obj0 = 0 ;
3615 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_getText",&obj0)) goto fail;
3616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3618 std::string const &_result_ref = ((otk::OtkFocusLabel const *)arg1)->getText();
3619 result = (std::string *) &_result_ref;
3623 resultobj = PyString_FromString(result->c_str());
3631 static PyObject *_wrap_OtkFocusLabel_setText(PyObject *self, PyObject *args) {
3632 PyObject *resultobj;
3633 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3634 std::string *arg2 = 0 ;
3636 PyObject * obj0 = 0 ;
3637 PyObject * obj1 = 0 ;
3639 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setText",&obj0,&obj1)) goto fail;
3640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3642 if (PyString_Check(obj1)) {
3643 temp2 = std::string(PyString_AsString(obj1));
3646 SWIG_exception(SWIG_TypeError, "string expected");
3649 (arg1)->setText((std::string const &)*arg2);
3651 Py_INCREF(Py_None); resultobj = Py_None;
3658 static PyObject *_wrap_OtkFocusLabel_update(PyObject *self, PyObject *args) {
3659 PyObject *resultobj;
3660 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3661 PyObject * obj0 = 0 ;
3663 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_update",&obj0)) goto fail;
3664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3667 Py_INCREF(Py_None); resultobj = Py_None;
3674 static PyObject *_wrap_OtkFocusLabel_setStyle(PyObject *self, PyObject *args) {
3675 PyObject *resultobj;
3676 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3677 otk::Style *arg2 = (otk::Style *) 0 ;
3678 PyObject * obj0 = 0 ;
3679 PyObject * obj1 = 0 ;
3681 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setStyle",&obj0,&obj1)) goto fail;
3682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3684 (arg1)->setStyle(arg2);
3686 Py_INCREF(Py_None); resultobj = Py_None;
3693 static PyObject * OtkFocusLabel_swigregister(PyObject *self, PyObject *args) {
3695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3696 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel, obj);
3698 return Py_BuildValue((char *)"");
3700 static PyObject *_wrap_new_OtkAppWidget(PyObject *self, PyObject *args) {
3701 PyObject *resultobj;
3702 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3703 int arg2 = (int) otk::OtkWidget::Horizontal ;
3704 Cursor arg3 = (Cursor) 0 ;
3705 int arg4 = (int) 1 ;
3706 otk::OtkAppWidget *result;
3707 PyObject * obj0 = 0 ;
3708 PyObject * obj2 = 0 ;
3710 if(!PyArg_ParseTuple(args,(char *)"O|iOi:new_OtkAppWidget",&obj0,&arg2,&obj2,&arg4)) goto fail;
3711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3713 arg3 = (Cursor) PyInt_AsLong(obj2);
3714 if (PyErr_Occurred()) SWIG_fail;
3716 result = (otk::OtkAppWidget *)new otk::OtkAppWidget(arg1,(otk::OtkWidget::Direction )arg2,arg3,arg4);
3718 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkAppWidget, 1);
3725 static PyObject *_wrap_delete_OtkAppWidget(PyObject *self, PyObject *args) {
3726 PyObject *resultobj;
3727 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3728 PyObject * obj0 = 0 ;
3730 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkAppWidget",&obj0)) goto fail;
3731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3734 Py_INCREF(Py_None); resultobj = Py_None;
3741 static PyObject *_wrap_OtkAppWidget_show(PyObject *self, PyObject *args) {
3742 PyObject *resultobj;
3743 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3744 PyObject * obj0 = 0 ;
3746 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_show",&obj0)) goto fail;
3747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3750 Py_INCREF(Py_None); resultobj = Py_None;
3757 static PyObject *_wrap_OtkAppWidget_hide(PyObject *self, PyObject *args) {
3758 PyObject *resultobj;
3759 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3760 PyObject * obj0 = 0 ;
3762 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_hide",&obj0)) goto fail;
3763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3766 Py_INCREF(Py_None); resultobj = Py_None;
3773 static PyObject *_wrap_OtkAppWidget_clientMessageHandler(PyObject *self, PyObject *args) {
3774 PyObject *resultobj;
3775 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3776 XClientMessageEvent *arg2 = 0 ;
3777 PyObject * obj0 = 0 ;
3778 PyObject * obj1 = 0 ;
3780 if(!PyArg_ParseTuple(args,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0,&obj1)) goto fail;
3781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3784 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3786 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
3788 Py_INCREF(Py_None); resultobj = Py_None;
3795 static PyObject * OtkAppWidget_swigregister(PyObject *self, PyObject *args) {
3797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3798 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget, obj);
3800 return Py_BuildValue((char *)"");
3802 static PyObject *_wrap_new_OtkApplication(PyObject *self, PyObject *args) {
3803 PyObject *resultobj;
3805 char **arg2 = (char **) 0 ;
3806 otk::OtkApplication *result;
3807 PyObject * obj1 = 0 ;
3809 if(!PyArg_ParseTuple(args,(char *)"iO:new_OtkApplication",&arg1,&obj1)) goto fail;
3810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3811 result = (otk::OtkApplication *)new otk::OtkApplication(arg1,arg2);
3813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkApplication, 1);
3820 static PyObject *_wrap_delete_OtkApplication(PyObject *self, PyObject *args) {
3821 PyObject *resultobj;
3822 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3823 PyObject * obj0 = 0 ;
3825 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkApplication",&obj0)) goto fail;
3826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3829 Py_INCREF(Py_None); resultobj = Py_None;
3836 static PyObject *_wrap_OtkApplication_run(PyObject *self, PyObject *args) {
3837 PyObject *resultobj;
3838 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3839 PyObject * obj0 = 0 ;
3841 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_run",&obj0)) goto fail;
3842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3845 Py_INCREF(Py_None); resultobj = Py_None;
3852 static PyObject *_wrap_OtkApplication_setDockable(PyObject *self, PyObject *args) {
3853 PyObject *resultobj;
3854 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3856 PyObject * obj0 = 0 ;
3857 PyObject * obj1 = 0 ;
3859 if(!PyArg_ParseTuple(args,(char *)"OO:OtkApplication_setDockable",&obj0,&obj1)) goto fail;
3860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3861 arg2 = (bool) PyInt_AsLong(obj1);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 (arg1)->setDockable(arg2);
3865 Py_INCREF(Py_None); resultobj = Py_None;
3872 static PyObject *_wrap_OtkApplication_isDockable(PyObject *self, PyObject *args) {
3873 PyObject *resultobj;
3874 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3876 PyObject * obj0 = 0 ;
3878 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_isDockable",&obj0)) goto fail;
3879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3880 result = (bool)((otk::OtkApplication const *)arg1)->isDockable();
3882 resultobj = PyInt_FromLong((long)result);
3889 static PyObject *_wrap_OtkApplication_getStyle(PyObject *self, PyObject *args) {
3890 PyObject *resultobj;
3891 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3893 PyObject * obj0 = 0 ;
3895 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_getStyle",&obj0)) goto fail;
3896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3897 result = (otk::Style *)((otk::OtkApplication const *)arg1)->getStyle();
3899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3906 static PyObject * OtkApplication_swigregister(PyObject *self, PyObject *args) {
3908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3909 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication, obj);
3911 return Py_BuildValue((char *)"");
3913 static PyObject * PointerAssassin_swigregister(PyObject *self, PyObject *args) {
3915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3916 SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin, obj);
3918 return Py_BuildValue((char *)"");
3920 static PyObject *_wrap_new_OtkButton(PyObject *self, PyObject *args) {
3921 PyObject *resultobj;
3922 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3923 otk::OtkButton *result;
3924 PyObject * obj0 = 0 ;
3926 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkButton",&obj0)) goto fail;
3927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3928 result = (otk::OtkButton *)new otk::OtkButton(arg1);
3930 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkButton, 1);
3937 static PyObject *_wrap_delete_OtkButton(PyObject *self, PyObject *args) {
3938 PyObject *resultobj;
3939 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3940 PyObject * obj0 = 0 ;
3942 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkButton",&obj0)) goto fail;
3943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3946 Py_INCREF(Py_None); resultobj = Py_None;
3953 static PyObject *_wrap_OtkButton_getPressedFocusTexture(PyObject *self, PyObject *args) {
3954 PyObject *resultobj;
3955 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3956 otk::BTexture *result;
3957 PyObject * obj0 = 0 ;
3959 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedFocusTexture",&obj0)) goto fail;
3960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3961 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedFocusTexture();
3963 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3970 static PyObject *_wrap_OtkButton_setPressedFocusTexture(PyObject *self, PyObject *args) {
3971 PyObject *resultobj;
3972 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3973 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3974 PyObject * obj0 = 0 ;
3975 PyObject * obj1 = 0 ;
3977 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedFocusTexture",&obj0,&obj1)) goto fail;
3978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3979 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3980 (arg1)->setPressedFocusTexture(arg2);
3982 Py_INCREF(Py_None); resultobj = Py_None;
3989 static PyObject *_wrap_OtkButton_getPressedUnfocusTexture(PyObject *self, PyObject *args) {
3990 PyObject *resultobj;
3991 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3992 otk::BTexture *result;
3993 PyObject * obj0 = 0 ;
3995 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedUnfocusTexture",&obj0)) goto fail;
3996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3997 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedUnfocusTexture();
3999 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
4006 static PyObject *_wrap_OtkButton_setPressedUnfocusTexture(PyObject *self, PyObject *args) {
4007 PyObject *resultobj;
4008 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4009 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
4010 PyObject * obj0 = 0 ;
4011 PyObject * obj1 = 0 ;
4013 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedUnfocusTexture",&obj0,&obj1)) goto fail;
4014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4016 (arg1)->setPressedUnfocusTexture(arg2);
4018 Py_INCREF(Py_None); resultobj = Py_None;
4025 static PyObject *_wrap_OtkButton_setTexture(PyObject *self, PyObject *args) {
4026 PyObject *resultobj;
4027 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4028 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
4029 PyObject * obj0 = 0 ;
4030 PyObject * obj1 = 0 ;
4032 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setTexture",&obj0,&obj1)) goto fail;
4033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4035 (arg1)->setTexture(arg2);
4037 Py_INCREF(Py_None); resultobj = Py_None;
4044 static PyObject *_wrap_OtkButton_setUnfocusTexture(PyObject *self, PyObject *args) {
4045 PyObject *resultobj;
4046 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4047 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
4048 PyObject * obj0 = 0 ;
4049 PyObject * obj1 = 0 ;
4051 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setUnfocusTexture",&obj0,&obj1)) goto fail;
4052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4054 (arg1)->setUnfocusTexture(arg2);
4056 Py_INCREF(Py_None); resultobj = Py_None;
4063 static PyObject *_wrap_OtkButton_isPressed(PyObject *self, PyObject *args) {
4064 PyObject *resultobj;
4065 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4067 PyObject * obj0 = 0 ;
4069 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_isPressed",&obj0)) goto fail;
4070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4071 result = (bool)((otk::OtkButton const *)arg1)->isPressed();
4073 resultobj = PyInt_FromLong((long)result);
4080 static PyObject *_wrap_OtkButton_press(PyObject *self, PyObject *args) {
4081 PyObject *resultobj;
4082 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4084 PyObject * obj0 = 0 ;
4085 PyObject * obj1 = 0 ;
4087 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_press",&obj0,&obj1)) goto fail;
4088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4089 arg2 = (unsigned int) PyInt_AsLong(obj1);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 (arg1)->press(arg2);
4093 Py_INCREF(Py_None); resultobj = Py_None;
4100 static PyObject *_wrap_OtkButton_release(PyObject *self, PyObject *args) {
4101 PyObject *resultobj;
4102 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4104 PyObject * obj0 = 0 ;
4105 PyObject * obj1 = 0 ;
4107 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_release",&obj0,&obj1)) goto fail;
4108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4109 arg2 = (unsigned int) PyInt_AsLong(obj1);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 (arg1)->release(arg2);
4113 Py_INCREF(Py_None); resultobj = Py_None;
4120 static PyObject *_wrap_OtkButton_buttonPressHandler(PyObject *self, PyObject *args) {
4121 PyObject *resultobj;
4122 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4123 XButtonEvent *arg2 = 0 ;
4124 PyObject * obj0 = 0 ;
4125 PyObject * obj1 = 0 ;
4127 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonPressHandler",&obj0,&obj1)) goto fail;
4128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4133 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
4135 Py_INCREF(Py_None); resultobj = Py_None;
4142 static PyObject *_wrap_OtkButton_buttonReleaseHandler(PyObject *self, PyObject *args) {
4143 PyObject *resultobj;
4144 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4145 XButtonEvent *arg2 = 0 ;
4146 PyObject * obj0 = 0 ;
4147 PyObject * obj1 = 0 ;
4149 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonReleaseHandler",&obj0,&obj1)) goto fail;
4150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4155 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
4157 Py_INCREF(Py_None); resultobj = Py_None;
4164 static PyObject *_wrap_OtkButton_setStyle(PyObject *self, PyObject *args) {
4165 PyObject *resultobj;
4166 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4167 otk::Style *arg2 = (otk::Style *) 0 ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4171 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setStyle",&obj0,&obj1)) goto fail;
4172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4174 (arg1)->setStyle(arg2);
4176 Py_INCREF(Py_None); resultobj = Py_None;
4183 static PyObject * OtkButton_swigregister(PyObject *self, PyObject *args) {
4185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4186 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton, obj);
4188 return Py_BuildValue((char *)"");
4190 static PyObject *_wrap_new_BColor__SWIG_0(PyObject *self, PyObject *args) {
4191 PyObject *resultobj;
4192 unsigned int arg1 = (unsigned int) ~(0u) ;
4193 otk::BColor *result;
4194 PyObject * obj0 = 0 ;
4196 if(!PyArg_ParseTuple(args,(char *)"|O:new_BColor",&obj0)) goto fail;
4198 arg1 = (unsigned int) PyInt_AsLong(obj0);
4199 if (PyErr_Occurred()) SWIG_fail;
4201 result = (otk::BColor *)new otk::BColor(arg1);
4203 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4210 static PyObject *_wrap_new_BColor__SWIG_1(PyObject *self, PyObject *args) {
4211 PyObject *resultobj;
4215 unsigned int arg4 = (unsigned int) ~(0u) ;
4216 otk::BColor *result;
4217 PyObject * obj3 = 0 ;
4219 if(!PyArg_ParseTuple(args,(char *)"iii|O:new_BColor",&arg1,&arg2,&arg3,&obj3)) goto fail;
4221 arg4 = (unsigned int) PyInt_AsLong(obj3);
4222 if (PyErr_Occurred()) SWIG_fail;
4224 result = (otk::BColor *)new otk::BColor(arg1,arg2,arg3,arg4);
4226 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4233 static PyObject *_wrap_new_BColor__SWIG_2(PyObject *self, PyObject *args) {
4234 PyObject *resultobj;
4235 std::string *arg1 = 0 ;
4236 unsigned int arg2 = (unsigned int) ~(0u) ;
4237 otk::BColor *result;
4239 PyObject * obj0 = 0 ;
4240 PyObject * obj1 = 0 ;
4242 if(!PyArg_ParseTuple(args,(char *)"O|O:new_BColor",&obj0,&obj1)) goto fail;
4244 if (PyString_Check(obj0)) {
4245 temp1 = std::string(PyString_AsString(obj0));
4248 SWIG_exception(SWIG_TypeError, "string expected");
4252 arg2 = (unsigned int) PyInt_AsLong(obj1);
4253 if (PyErr_Occurred()) SWIG_fail;
4255 result = (otk::BColor *)new otk::BColor((std::string const &)*arg1,arg2);
4257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4264 static PyObject *_wrap_new_BColor(PyObject *self, PyObject *args) {
4269 argc = PyObject_Length(args);
4270 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
4271 argv[ii] = PyTuple_GetItem(args,ii);
4273 if ((argc >= 0) && (argc <= 1)) {
4276 return _wrap_new_BColor__SWIG_0(self,args);
4279 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4282 return _wrap_new_BColor__SWIG_0(self,args);
4285 if ((argc >= 1) && (argc <= 2)) {
4288 _v = PyString_Check(argv[0]) ? 1 : 0;
4292 return _wrap_new_BColor__SWIG_2(self,args);
4295 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4298 return _wrap_new_BColor__SWIG_2(self,args);
4302 if ((argc >= 3) && (argc <= 4)) {
4305 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4309 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4313 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4317 return _wrap_new_BColor__SWIG_1(self,args);
4320 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4323 return _wrap_new_BColor__SWIG_1(self,args);
4330 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BColor'");
4335 static PyObject *_wrap_delete_BColor(PyObject *self, PyObject *args) {
4336 PyObject *resultobj;
4337 otk::BColor *arg1 = (otk::BColor *) 0 ;
4338 PyObject * obj0 = 0 ;
4340 if(!PyArg_ParseTuple(args,(char *)"O:delete_BColor",&obj0)) goto fail;
4341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4344 Py_INCREF(Py_None); resultobj = Py_None;
4351 static PyObject *_wrap_BColor_name(PyObject *self, PyObject *args) {
4352 PyObject *resultobj;
4353 otk::BColor *arg1 = (otk::BColor *) 0 ;
4354 std::string *result;
4355 PyObject * obj0 = 0 ;
4357 if(!PyArg_ParseTuple(args,(char *)"O:BColor_name",&obj0)) goto fail;
4358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4360 std::string const &_result_ref = ((otk::BColor const *)arg1)->name();
4361 result = (std::string *) &_result_ref;
4365 resultobj = PyString_FromString(result->c_str());
4373 static PyObject *_wrap_BColor_red(PyObject *self, PyObject *args) {
4374 PyObject *resultobj;
4375 otk::BColor *arg1 = (otk::BColor *) 0 ;
4377 PyObject * obj0 = 0 ;
4379 if(!PyArg_ParseTuple(args,(char *)"O:BColor_red",&obj0)) goto fail;
4380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4381 result = (int)((otk::BColor const *)arg1)->red();
4383 resultobj = PyInt_FromLong((long)result);
4390 static PyObject *_wrap_BColor_green(PyObject *self, PyObject *args) {
4391 PyObject *resultobj;
4392 otk::BColor *arg1 = (otk::BColor *) 0 ;
4394 PyObject * obj0 = 0 ;
4396 if(!PyArg_ParseTuple(args,(char *)"O:BColor_green",&obj0)) goto fail;
4397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4398 result = (int)((otk::BColor const *)arg1)->green();
4400 resultobj = PyInt_FromLong((long)result);
4407 static PyObject *_wrap_BColor_blue(PyObject *self, PyObject *args) {
4408 PyObject *resultobj;
4409 otk::BColor *arg1 = (otk::BColor *) 0 ;
4411 PyObject * obj0 = 0 ;
4413 if(!PyArg_ParseTuple(args,(char *)"O:BColor_blue",&obj0)) goto fail;
4414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4415 result = (int)((otk::BColor const *)arg1)->blue();
4417 resultobj = PyInt_FromLong((long)result);
4424 static PyObject *_wrap_BColor_setRGB(PyObject *self, PyObject *args) {
4425 PyObject *resultobj;
4426 otk::BColor *arg1 = (otk::BColor *) 0 ;
4430 PyObject * obj0 = 0 ;
4432 if(!PyArg_ParseTuple(args,(char *)"Oiii:BColor_setRGB",&obj0,&arg2,&arg3,&arg4)) goto fail;
4433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4434 (arg1)->setRGB(arg2,arg3,arg4);
4436 Py_INCREF(Py_None); resultobj = Py_None;
4443 static PyObject *_wrap_BColor_screen(PyObject *self, PyObject *args) {
4444 PyObject *resultobj;
4445 otk::BColor *arg1 = (otk::BColor *) 0 ;
4446 unsigned int result;
4447 PyObject * obj0 = 0 ;
4449 if(!PyArg_ParseTuple(args,(char *)"O:BColor_screen",&obj0)) goto fail;
4450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4451 result = (unsigned int)((otk::BColor const *)arg1)->screen();
4453 resultobj = PyInt_FromLong((long)result);
4460 static PyObject *_wrap_BColor_setScreen(PyObject *self, PyObject *args) {
4461 PyObject *resultobj;
4462 otk::BColor *arg1 = (otk::BColor *) 0 ;
4463 unsigned int arg2 = (unsigned int) ~(0u) ;
4464 PyObject * obj0 = 0 ;
4465 PyObject * obj1 = 0 ;
4467 if(!PyArg_ParseTuple(args,(char *)"O|O:BColor_setScreen",&obj0,&obj1)) goto fail;
4468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4470 arg2 = (unsigned int) PyInt_AsLong(obj1);
4471 if (PyErr_Occurred()) SWIG_fail;
4473 (arg1)->setScreen(arg2);
4475 Py_INCREF(Py_None); resultobj = Py_None;
4482 static PyObject *_wrap_BColor_isAllocated(PyObject *self, PyObject *args) {
4483 PyObject *resultobj;
4484 otk::BColor *arg1 = (otk::BColor *) 0 ;
4486 PyObject * obj0 = 0 ;
4488 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isAllocated",&obj0)) goto fail;
4489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4490 result = (bool)((otk::BColor const *)arg1)->isAllocated();
4492 resultobj = PyInt_FromLong((long)result);
4499 static PyObject *_wrap_BColor_isValid(PyObject *self, PyObject *args) {
4500 PyObject *resultobj;
4501 otk::BColor *arg1 = (otk::BColor *) 0 ;
4503 PyObject * obj0 = 0 ;
4505 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isValid",&obj0)) goto fail;
4506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4507 result = (bool)((otk::BColor const *)arg1)->isValid();
4509 resultobj = PyInt_FromLong((long)result);
4516 static PyObject *_wrap_BColor_pixel(PyObject *self, PyObject *args) {
4517 PyObject *resultobj;
4518 otk::BColor *arg1 = (otk::BColor *) 0 ;
4519 unsigned long result;
4520 PyObject * obj0 = 0 ;
4522 if(!PyArg_ParseTuple(args,(char *)"O:BColor_pixel",&obj0)) goto fail;
4523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4524 result = (unsigned long)((otk::BColor const *)arg1)->pixel();
4526 resultobj = PyInt_FromLong((long)result);
4533 static PyObject *_wrap_BColor_equals(PyObject *self, PyObject *args) {
4534 PyObject *resultobj;
4535 otk::BColor *arg1 = (otk::BColor *) 0 ;
4536 otk::BColor *arg2 = 0 ;
4538 PyObject * obj0 = 0 ;
4539 PyObject * obj1 = 0 ;
4541 if(!PyArg_ParseTuple(args,(char *)"OO:BColor_equals",&obj0,&obj1)) goto fail;
4542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4547 result = (bool)((otk::BColor const *)arg1)->operator ==((otk::BColor const &)*arg2);
4549 resultobj = PyInt_FromLong((long)result);
4556 static PyObject *_wrap_BColor_cleanupColorCache(PyObject *self, PyObject *args) {
4557 PyObject *resultobj;
4559 if(!PyArg_ParseTuple(args,(char *)":BColor_cleanupColorCache")) goto fail;
4560 otk::BColor::cleanupColorCache();
4562 Py_INCREF(Py_None); resultobj = Py_None;
4569 static PyObject * BColor_swigregister(PyObject *self, PyObject *args) {
4571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4572 SWIG_TypeClientData(SWIGTYPE_p_otk__BColor, obj);
4574 return Py_BuildValue((char *)"");
4576 static PyObject *_wrap_new_Configuration__SWIG_0(PyObject *self, PyObject *args) {
4577 PyObject *resultobj;
4578 std::string *arg1 = 0 ;
4579 bool arg2 = (bool) True ;
4580 otk::Configuration *result;
4582 PyObject * obj0 = 0 ;
4583 PyObject * obj1 = 0 ;
4585 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Configuration",&obj0,&obj1)) goto fail;
4587 if (PyString_Check(obj0)) {
4588 temp1 = std::string(PyString_AsString(obj0));
4591 SWIG_exception(SWIG_TypeError, "string expected");
4595 arg2 = (bool) PyInt_AsLong(obj1);
4596 if (PyErr_Occurred()) SWIG_fail;
4598 result = (otk::Configuration *)new otk::Configuration((std::string const &)*arg1,arg2);
4600 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4607 static PyObject *_wrap_new_Configuration__SWIG_1(PyObject *self, PyObject *args) {
4608 PyObject *resultobj;
4609 bool arg1 = (bool) True ;
4610 otk::Configuration *result;
4611 PyObject * obj0 = 0 ;
4613 if(!PyArg_ParseTuple(args,(char *)"|O:new_Configuration",&obj0)) goto fail;
4615 arg1 = (bool) PyInt_AsLong(obj0);
4616 if (PyErr_Occurred()) SWIG_fail;
4618 result = (otk::Configuration *)new otk::Configuration(arg1);
4620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4627 static PyObject *_wrap_new_Configuration(PyObject *self, PyObject *args) {
4632 argc = PyObject_Length(args);
4633 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
4634 argv[ii] = PyTuple_GetItem(args,ii);
4636 if ((argc >= 0) && (argc <= 1)) {
4639 return _wrap_new_Configuration__SWIG_1(self,args);
4642 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4645 return _wrap_new_Configuration__SWIG_1(self,args);
4648 if ((argc >= 1) && (argc <= 2)) {
4651 _v = PyString_Check(argv[0]) ? 1 : 0;
4655 return _wrap_new_Configuration__SWIG_0(self,args);
4658 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4661 return _wrap_new_Configuration__SWIG_0(self,args);
4666 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Configuration'");
4671 static PyObject *_wrap_delete_Configuration(PyObject *self, PyObject *args) {
4672 PyObject *resultobj;
4673 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4674 PyObject * obj0 = 0 ;
4676 if(!PyArg_ParseTuple(args,(char *)"O:delete_Configuration",&obj0)) goto fail;
4677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4680 Py_INCREF(Py_None); resultobj = Py_None;
4687 static PyObject *_wrap_Configuration_file(PyObject *self, PyObject *args) {
4688 PyObject *resultobj;
4689 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4690 std::string *result;
4691 PyObject * obj0 = 0 ;
4693 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_file",&obj0)) goto fail;
4694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4696 std::string const &_result_ref = ((otk::Configuration const *)arg1)->file();
4697 result = (std::string *) &_result_ref;
4701 resultobj = PyString_FromString(result->c_str());
4709 static PyObject *_wrap_Configuration_setFile(PyObject *self, PyObject *args) {
4710 PyObject *resultobj;
4711 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4712 std::string *arg2 = 0 ;
4714 PyObject * obj0 = 0 ;
4715 PyObject * obj1 = 0 ;
4717 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setFile",&obj0,&obj1)) goto fail;
4718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4720 if (PyString_Check(obj1)) {
4721 temp2 = std::string(PyString_AsString(obj1));
4724 SWIG_exception(SWIG_TypeError, "string expected");
4727 (arg1)->setFile((std::string const &)*arg2);
4729 Py_INCREF(Py_None); resultobj = Py_None;
4736 static PyObject *_wrap_Configuration_autoSave(PyObject *self, PyObject *args) {
4737 PyObject *resultobj;
4738 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4740 PyObject * obj0 = 0 ;
4742 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_autoSave",&obj0)) goto fail;
4743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4744 result = (bool)((otk::Configuration const *)arg1)->autoSave();
4746 resultobj = PyInt_FromLong((long)result);
4753 static PyObject *_wrap_Configuration_setAutoSave(PyObject *self, PyObject *args) {
4754 PyObject *resultobj;
4755 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4757 PyObject * obj0 = 0 ;
4758 PyObject * obj1 = 0 ;
4760 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setAutoSave",&obj0,&obj1)) goto fail;
4761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4762 arg2 = (bool) PyInt_AsLong(obj1);
4763 if (PyErr_Occurred()) SWIG_fail;
4764 (arg1)->setAutoSave(arg2);
4766 Py_INCREF(Py_None); resultobj = Py_None;
4773 static PyObject *_wrap_Configuration_isModified(PyObject *self, PyObject *args) {
4774 PyObject *resultobj;
4775 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4777 PyObject * obj0 = 0 ;
4779 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_isModified",&obj0)) goto fail;
4780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4781 result = (bool)((otk::Configuration const *)arg1)->isModified();
4783 resultobj = PyInt_FromLong((long)result);
4790 static PyObject *_wrap_Configuration_save(PyObject *self, PyObject *args) {
4791 PyObject *resultobj;
4792 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4793 PyObject * obj0 = 0 ;
4795 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_save",&obj0)) goto fail;
4796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4799 Py_INCREF(Py_None); resultobj = Py_None;
4806 static PyObject *_wrap_Configuration_load(PyObject *self, PyObject *args) {
4807 PyObject *resultobj;
4808 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4810 PyObject * obj0 = 0 ;
4812 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_load",&obj0)) goto fail;
4813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4814 result = (bool)(arg1)->load();
4816 resultobj = PyInt_FromLong((long)result);
4823 static PyObject *_wrap_Configuration_merge(PyObject *self, PyObject *args) {
4824 PyObject *resultobj;
4825 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4826 std::string *arg2 = 0 ;
4827 bool arg3 = (bool) False ;
4830 PyObject * obj0 = 0 ;
4831 PyObject * obj1 = 0 ;
4832 PyObject * obj2 = 0 ;
4834 if(!PyArg_ParseTuple(args,(char *)"OO|O:Configuration_merge",&obj0,&obj1,&obj2)) goto fail;
4835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4837 if (PyString_Check(obj1)) {
4838 temp2 = std::string(PyString_AsString(obj1));
4841 SWIG_exception(SWIG_TypeError, "string expected");
4845 arg3 = (bool) PyInt_AsLong(obj2);
4846 if (PyErr_Occurred()) SWIG_fail;
4848 result = (bool)(arg1)->merge((std::string const &)*arg2,arg3);
4850 resultobj = PyInt_FromLong((long)result);
4857 static PyObject *_wrap_Configuration_create(PyObject *self, PyObject *args) {
4858 PyObject *resultobj;
4859 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4860 PyObject * obj0 = 0 ;
4862 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_create",&obj0)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4866 Py_INCREF(Py_None); resultobj = Py_None;
4873 static PyObject *_wrap_Configuration_setValue_bool(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 ;
4881 PyObject * obj2 = 0 ;
4883 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_bool",&obj0,&obj1,&obj2)) goto fail;
4884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4886 if (PyString_Check(obj1)) {
4887 temp2 = std::string(PyString_AsString(obj1));
4890 SWIG_exception(SWIG_TypeError, "string expected");
4893 arg3 = (bool) PyInt_AsLong(obj2);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 (arg1)->setValue((std::string const &)*arg2,arg3);
4897 Py_INCREF(Py_None); resultobj = Py_None;
4904 static PyObject *_wrap_Configuration_setValue(PyObject *self, PyObject *args) {
4905 PyObject *resultobj;
4906 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4907 std::string *arg2 = 0 ;
4910 PyObject * obj0 = 0 ;
4911 PyObject * obj1 = 0 ;
4913 if(!PyArg_ParseTuple(args,(char *)"OOi:Configuration_setValue",&obj0,&obj1,&arg3)) goto fail;
4914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4916 if (PyString_Check(obj1)) {
4917 temp2 = std::string(PyString_AsString(obj1));
4920 SWIG_exception(SWIG_TypeError, "string expected");
4923 (arg1)->setValue((std::string const &)*arg2,arg3);
4925 Py_INCREF(Py_None); resultobj = Py_None;
4932 static PyObject *_wrap_Configuration_setValue_unsigned(PyObject *self, PyObject *args) {
4933 PyObject *resultobj;
4934 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4935 std::string *arg2 = 0 ;
4938 PyObject * obj0 = 0 ;
4939 PyObject * obj1 = 0 ;
4940 PyObject * obj2 = 0 ;
4942 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsigned",&obj0,&obj1,&obj2)) goto fail;
4943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4945 if (PyString_Check(obj1)) {
4946 temp2 = std::string(PyString_AsString(obj1));
4949 SWIG_exception(SWIG_TypeError, "string expected");
4952 arg3 = (unsigned int) PyInt_AsLong(obj2);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 (arg1)->setValue((std::string const &)*arg2,arg3);
4956 Py_INCREF(Py_None); resultobj = Py_None;
4963 static PyObject *_wrap_Configuration_setValue_long(PyObject *self, PyObject *args) {
4964 PyObject *resultobj;
4965 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4966 std::string *arg2 = 0 ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4972 if(!PyArg_ParseTuple(args,(char *)"OOl:Configuration_setValue_long",&obj0,&obj1,&arg3)) goto fail;
4973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4975 if (PyString_Check(obj1)) {
4976 temp2 = std::string(PyString_AsString(obj1));
4979 SWIG_exception(SWIG_TypeError, "string expected");
4982 (arg1)->setValue((std::string const &)*arg2,arg3);
4984 Py_INCREF(Py_None); resultobj = Py_None;
4991 static PyObject *_wrap_Configuration_setValue_unsignedlong(PyObject *self, PyObject *args) {
4992 PyObject *resultobj;
4993 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4994 std::string *arg2 = 0 ;
4995 unsigned long arg3 ;
4997 PyObject * obj0 = 0 ;
4998 PyObject * obj1 = 0 ;
4999 PyObject * obj2 = 0 ;
5001 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0,&obj1,&obj2)) goto fail;
5002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5004 if (PyString_Check(obj1)) {
5005 temp2 = std::string(PyString_AsString(obj1));
5008 SWIG_exception(SWIG_TypeError, "string expected");
5011 arg3 = (unsigned long) PyInt_AsLong(obj2);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 (arg1)->setValue((std::string const &)*arg2,arg3);
5015 Py_INCREF(Py_None); resultobj = Py_None;
5022 static PyObject *_wrap_Configuration_setValue_string(PyObject *self, PyObject *args) {
5023 PyObject *resultobj;
5024 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5025 std::string *arg2 = 0 ;
5026 std::string *arg3 = 0 ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 PyObject * obj2 = 0 ;
5033 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_string",&obj0,&obj1,&obj2)) goto fail;
5034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 if (PyString_Check(obj1)) {
5037 temp2 = std::string(PyString_AsString(obj1));
5040 SWIG_exception(SWIG_TypeError, "string expected");
5044 if (PyString_Check(obj2)) {
5045 temp3 = std::string(PyString_AsString(obj2));
5048 SWIG_exception(SWIG_TypeError, "string expected");
5051 (arg1)->setValue((std::string const &)*arg2,(std::string const &)*arg3);
5053 Py_INCREF(Py_None); resultobj = Py_None;
5060 static PyObject *_wrap_Configuration_setValue_charptr(PyObject *self, PyObject *args) {
5061 PyObject *resultobj;
5062 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5063 std::string *arg2 = 0 ;
5066 PyObject * obj0 = 0 ;
5067 PyObject * obj1 = 0 ;
5069 if(!PyArg_ParseTuple(args,(char *)"OOs:Configuration_setValue_charptr",&obj0,&obj1,&arg3)) goto fail;
5070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5072 if (PyString_Check(obj1)) {
5073 temp2 = std::string(PyString_AsString(obj1));
5076 SWIG_exception(SWIG_TypeError, "string expected");
5079 (arg1)->setValue((std::string const &)*arg2,(char const *)arg3);
5081 Py_INCREF(Py_None); resultobj = Py_None;
5088 static PyObject *_wrap_Configuration_getValue__SWIG_0(PyObject *self, PyObject *args) {
5089 PyObject *resultobj;
5090 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5091 std::string *arg2 = 0 ;
5095 PyObject * obj0 = 0 ;
5096 PyObject * obj1 = 0 ;
5097 PyObject * obj2 = 0 ;
5099 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5102 if (PyString_Check(obj1)) {
5103 temp2 = std::string(PyString_AsString(obj1));
5106 SWIG_exception(SWIG_TypeError, "string expected");
5109 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_bool,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5113 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5115 resultobj = PyInt_FromLong((long)result);
5122 static PyObject *_wrap_Configuration_getValue__SWIG_1(PyObject *self, PyObject *args) {
5123 PyObject *resultobj;
5124 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5125 std::string *arg2 = 0 ;
5129 PyObject * obj0 = 0 ;
5130 PyObject * obj1 = 0 ;
5131 PyObject * obj2 = 0 ;
5133 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5136 if (PyString_Check(obj1)) {
5137 temp2 = std::string(PyString_AsString(obj1));
5140 SWIG_exception(SWIG_TypeError, "string expected");
5143 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5147 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5149 resultobj = PyInt_FromLong((long)result);
5156 static PyObject *_wrap_Configuration_getValue__SWIG_2(PyObject *self, PyObject *args) {
5157 PyObject *resultobj;
5158 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5159 std::string *arg2 = 0 ;
5160 unsigned int *arg3 = 0 ;
5163 PyObject * obj0 = 0 ;
5164 PyObject * obj1 = 0 ;
5165 PyObject * obj2 = 0 ;
5167 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5170 if (PyString_Check(obj1)) {
5171 temp2 = std::string(PyString_AsString(obj1));
5174 SWIG_exception(SWIG_TypeError, "string expected");
5177 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5179 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5181 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5183 resultobj = PyInt_FromLong((long)result);
5190 static PyObject *_wrap_Configuration_getValue__SWIG_3(PyObject *self, PyObject *args) {
5191 PyObject *resultobj;
5192 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5193 std::string *arg2 = 0 ;
5197 PyObject * obj0 = 0 ;
5198 PyObject * obj1 = 0 ;
5199 PyObject * obj2 = 0 ;
5201 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5204 if (PyString_Check(obj1)) {
5205 temp2 = std::string(PyString_AsString(obj1));
5208 SWIG_exception(SWIG_TypeError, "string expected");
5211 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5213 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5215 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5217 resultobj = PyInt_FromLong((long)result);
5224 static PyObject *_wrap_Configuration_getValue__SWIG_4(PyObject *self, PyObject *args) {
5225 PyObject *resultobj;
5226 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5227 std::string *arg2 = 0 ;
5228 unsigned long *arg3 = 0 ;
5231 PyObject * obj0 = 0 ;
5232 PyObject * obj1 = 0 ;
5233 PyObject * obj2 = 0 ;
5235 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5238 if (PyString_Check(obj1)) {
5239 temp2 = std::string(PyString_AsString(obj1));
5242 SWIG_exception(SWIG_TypeError, "string expected");
5245 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5249 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5251 resultobj = PyInt_FromLong((long)result);
5258 static PyObject *_wrap_Configuration_getValue__SWIG_5(PyObject *self, PyObject *args) {
5259 PyObject *resultobj;
5260 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5261 std::string *arg2 = 0 ;
5262 std::string *arg3 = 0 ;
5265 PyObject * obj0 = 0 ;
5266 PyObject * obj1 = 0 ;
5267 PyObject * obj2 = 0 ;
5269 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5272 if (PyString_Check(obj1)) {
5273 temp2 = std::string(PyString_AsString(obj1));
5276 SWIG_exception(SWIG_TypeError, "string expected");
5279 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5281 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5283 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5285 resultobj = PyInt_FromLong((long)result);
5292 static PyObject *_wrap_Configuration_getValue(PyObject *self, PyObject *args) {
5297 argc = PyObject_Length(args);
5298 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5299 argv[ii] = PyTuple_GetItem(args,ii);
5305 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5314 _v = PyString_Check(argv[1]) ? 1 : 0;
5319 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_bool, 0) == -1) {
5327 return _wrap_Configuration_getValue__SWIG_0(self,args);
5336 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5345 _v = PyString_Check(argv[1]) ? 1 : 0;
5350 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_int, 0) == -1) {
5358 return _wrap_Configuration_getValue__SWIG_1(self,args);
5367 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5376 _v = PyString_Check(argv[1]) ? 1 : 0;
5381 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_int, 0) == -1) {
5389 return _wrap_Configuration_getValue__SWIG_2(self,args);
5398 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5407 _v = PyString_Check(argv[1]) ? 1 : 0;
5412 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_long, 0) == -1) {
5420 return _wrap_Configuration_getValue__SWIG_3(self,args);
5429 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5438 _v = PyString_Check(argv[1]) ? 1 : 0;
5443 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
5451 return _wrap_Configuration_getValue__SWIG_4(self,args);
5460 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5469 _v = PyString_Check(argv[1]) ? 1 : 0;
5474 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
5482 return _wrap_Configuration_getValue__SWIG_5(self,args);
5488 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Configuration_getValue'");
5493 static PyObject * Configuration_swigregister(PyObject *self, PyObject *args) {
5495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5496 SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration, obj);
5498 return Py_BuildValue((char *)"");
5500 static PyObject *_wrap_OBDisplay_initialize(PyObject *self, PyObject *args) {
5501 PyObject *resultobj;
5504 if(!PyArg_ParseTuple(args,(char *)"s:OBDisplay_initialize",&arg1)) goto fail;
5505 otk::OBDisplay::initialize(arg1);
5507 Py_INCREF(Py_None); resultobj = Py_None;
5514 static PyObject *_wrap_OBDisplay_destroy(PyObject *self, PyObject *args) {
5515 PyObject *resultobj;
5517 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_destroy")) goto fail;
5518 otk::OBDisplay::destroy();
5520 Py_INCREF(Py_None); resultobj = Py_None;
5527 static PyObject *_wrap_OBDisplay_gcCache(PyObject *self, PyObject *args) {
5528 PyObject *resultobj;
5529 otk::BGCCache *result;
5531 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_gcCache")) goto fail;
5532 result = (otk::BGCCache *)otk::OBDisplay::gcCache();
5534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 0);
5541 static PyObject *_wrap_OBDisplay_screenInfo(PyObject *self, PyObject *args) {
5542 PyObject *resultobj;
5544 otk::ScreenInfo *result;
5546 if(!PyArg_ParseTuple(args,(char *)"i:OBDisplay_screenInfo",&arg1)) goto fail;
5547 result = (otk::ScreenInfo *)otk::OBDisplay::screenInfo(arg1);
5549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5556 static PyObject *_wrap_OBDisplay_findScreen(PyObject *self, PyObject *args) {
5557 PyObject *resultobj;
5559 otk::ScreenInfo *result;
5560 PyObject * obj0 = 0 ;
5562 if(!PyArg_ParseTuple(args,(char *)"O:OBDisplay_findScreen",&obj0)) goto fail;
5563 arg1 = (Window) PyInt_AsLong(obj0);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 result = (otk::ScreenInfo *)otk::OBDisplay::findScreen(arg1);
5567 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5574 static PyObject *_wrap_OBDisplay_xkb(PyObject *self, PyObject *args) {
5575 PyObject *resultobj;
5578 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xkb")) goto fail;
5579 result = (bool)otk::OBDisplay::xkb();
5581 resultobj = PyInt_FromLong((long)result);
5588 static PyObject *_wrap_OBDisplay_xkbEventBase(PyObject *self, PyObject *args) {
5589 PyObject *resultobj;
5592 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xkbEventBase")) goto fail;
5593 result = (int)otk::OBDisplay::xkbEventBase();
5595 resultobj = PyInt_FromLong((long)result);
5602 static PyObject *_wrap_OBDisplay_shape(PyObject *self, PyObject *args) {
5603 PyObject *resultobj;
5606 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shape")) goto fail;
5607 result = (bool)otk::OBDisplay::shape();
5609 resultobj = PyInt_FromLong((long)result);
5616 static PyObject *_wrap_OBDisplay_shapeEventBase(PyObject *self, PyObject *args) {
5617 PyObject *resultobj;
5620 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shapeEventBase")) goto fail;
5621 result = (int)otk::OBDisplay::shapeEventBase();
5623 resultobj = PyInt_FromLong((long)result);
5630 static PyObject *_wrap_OBDisplay_xinerama(PyObject *self, PyObject *args) {
5631 PyObject *resultobj;
5634 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xinerama")) goto fail;
5635 result = (bool)otk::OBDisplay::xinerama();
5637 resultobj = PyInt_FromLong((long)result);
5644 static PyObject *_wrap_OBDisplay_numLockMask(PyObject *self, PyObject *args) {
5645 PyObject *resultobj;
5646 unsigned int result;
5648 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_numLockMask")) goto fail;
5649 result = (unsigned int)otk::OBDisplay::numLockMask();
5651 resultobj = PyInt_FromLong((long)result);
5658 static PyObject *_wrap_OBDisplay_scrollLockMask(PyObject *self, PyObject *args) {
5659 PyObject *resultobj;
5660 unsigned int result;
5662 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_scrollLockMask")) goto fail;
5663 result = (unsigned int)otk::OBDisplay::scrollLockMask();
5665 resultobj = PyInt_FromLong((long)result);
5672 static PyObject *_wrap_OBDisplay_grab(PyObject *self, PyObject *args) {
5673 PyObject *resultobj;
5675 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_grab")) goto fail;
5676 otk::OBDisplay::grab();
5678 Py_INCREF(Py_None); resultobj = Py_None;
5685 static PyObject *_wrap_OBDisplay_ungrab(PyObject *self, PyObject *args) {
5686 PyObject *resultobj;
5688 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_ungrab")) goto fail;
5689 otk::OBDisplay::ungrab();
5691 Py_INCREF(Py_None); resultobj = Py_None;
5698 static PyObject *_wrap_OBDisplay_grabButton(PyObject *self, PyObject *args) {
5699 PyObject *resultobj;
5710 PyObject * obj0 = 0 ;
5711 PyObject * obj1 = 0 ;
5712 PyObject * obj2 = 0 ;
5713 PyObject * obj3 = 0 ;
5714 PyObject * obj4 = 0 ;
5715 PyObject * obj7 = 0 ;
5716 PyObject * obj8 = 0 ;
5717 PyObject * obj9 = 0 ;
5719 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7,&obj8,&obj9)) goto fail;
5720 arg1 = (unsigned int) PyInt_AsLong(obj0);
5721 if (PyErr_Occurred()) SWIG_fail;
5722 arg2 = (unsigned int) PyInt_AsLong(obj1);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 arg3 = (Window) PyInt_AsLong(obj2);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 arg4 = (bool) PyInt_AsLong(obj3);
5727 if (PyErr_Occurred()) SWIG_fail;
5728 arg5 = (unsigned int) PyInt_AsLong(obj4);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 arg8 = (Window) PyInt_AsLong(obj7);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 arg9 = (Cursor) PyInt_AsLong(obj8);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 arg10 = (bool) PyInt_AsLong(obj9);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 otk::OBDisplay::grabButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5738 Py_INCREF(Py_None); resultobj = Py_None;
5745 static PyObject *_wrap_OBDisplay_ungrabButton(PyObject *self, PyObject *args) {
5746 PyObject *resultobj;
5750 PyObject * obj0 = 0 ;
5751 PyObject * obj1 = 0 ;
5752 PyObject * obj2 = 0 ;
5754 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabButton",&obj0,&obj1,&obj2)) goto fail;
5755 arg1 = (unsigned int) PyInt_AsLong(obj0);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 arg2 = (unsigned int) PyInt_AsLong(obj1);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 arg3 = (Window) PyInt_AsLong(obj2);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 otk::OBDisplay::ungrabButton(arg1,arg2,arg3);
5763 Py_INCREF(Py_None); resultobj = Py_None;
5770 static PyObject *_wrap_OBDisplay_grabKey(PyObject *self, PyObject *args) {
5771 PyObject *resultobj;
5779 PyObject * obj0 = 0 ;
5780 PyObject * obj1 = 0 ;
5781 PyObject * obj2 = 0 ;
5782 PyObject * obj3 = 0 ;
5783 PyObject * obj6 = 0 ;
5785 if(!PyArg_ParseTuple(args,(char *)"OOOOiiO:OBDisplay_grabKey",&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
5786 arg1 = (unsigned int) PyInt_AsLong(obj0);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 arg2 = (unsigned int) PyInt_AsLong(obj1);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 arg3 = (Window) PyInt_AsLong(obj2);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 arg4 = (bool) PyInt_AsLong(obj3);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 arg7 = (bool) PyInt_AsLong(obj6);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 otk::OBDisplay::grabKey(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5798 Py_INCREF(Py_None); resultobj = Py_None;
5805 static PyObject *_wrap_OBDisplay_ungrabKey(PyObject *self, PyObject *args) {
5806 PyObject *resultobj;
5810 PyObject * obj0 = 0 ;
5811 PyObject * obj1 = 0 ;
5812 PyObject * obj2 = 0 ;
5814 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabKey",&obj0,&obj1,&obj2)) goto fail;
5815 arg1 = (unsigned int) PyInt_AsLong(obj0);
5816 if (PyErr_Occurred()) SWIG_fail;
5817 arg2 = (unsigned int) PyInt_AsLong(obj1);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 arg3 = (Window) PyInt_AsLong(obj2);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 otk::OBDisplay::ungrabKey(arg1,arg2,arg3);
5823 Py_INCREF(Py_None); resultobj = Py_None;
5830 static PyObject * OBDisplay_swigregister(PyObject *self, PyObject *args) {
5832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5833 SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay, obj);
5835 return Py_BuildValue((char *)"");
5837 static PyObject *_wrap_BFont_fallbackFont(PyObject *self, PyObject *args) {
5838 PyObject *resultobj;
5841 if(!PyArg_ParseTuple(args,(char *)":BFont_fallbackFont")) goto fail;
5842 result = otk::BFont::fallbackFont();
5845 resultobj = PyString_FromString((&result)->c_str());
5853 static PyObject *_wrap_BFont_setFallbackFont(PyObject *self, PyObject *args) {
5854 PyObject *resultobj;
5855 std::string *arg1 = 0 ;
5857 PyObject * obj0 = 0 ;
5859 if(!PyArg_ParseTuple(args,(char *)"O:BFont_setFallbackFont",&obj0)) goto fail;
5861 if (PyString_Check(obj0)) {
5862 temp1 = std::string(PyString_AsString(obj0));
5865 SWIG_exception(SWIG_TypeError, "string expected");
5868 otk::BFont::setFallbackFont((std::string const &)*arg1);
5870 Py_INCREF(Py_None); resultobj = Py_None;
5877 static PyObject *_wrap_new_BFont(PyObject *self, PyObject *args) {
5878 PyObject *resultobj;
5880 std::string *arg2 = 0 ;
5882 unsigned char arg4 ;
5883 unsigned char arg5 ;
5886 PyObject * obj1 = 0 ;
5887 PyObject * obj2 = 0 ;
5888 PyObject * obj3 = 0 ;
5889 PyObject * obj4 = 0 ;
5891 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_BFont",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
5893 if (PyString_Check(obj1)) {
5894 temp2 = std::string(PyString_AsString(obj1));
5897 SWIG_exception(SWIG_TypeError, "string expected");
5900 arg3 = (bool) PyInt_AsLong(obj2);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 arg4 = (unsigned char) PyInt_AsLong(obj3);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 arg5 = (unsigned char) PyInt_AsLong(obj4);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 result = (otk::BFont *)new otk::BFont(arg1,(std::string const &)*arg2,arg3,arg4,arg5);
5908 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 1);
5915 static PyObject *_wrap_delete_BFont(PyObject *self, PyObject *args) {
5916 PyObject *resultobj;
5917 otk::BFont *arg1 = (otk::BFont *) 0 ;
5918 PyObject * obj0 = 0 ;
5920 if(!PyArg_ParseTuple(args,(char *)"O:delete_BFont",&obj0)) goto fail;
5921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5924 Py_INCREF(Py_None); resultobj = Py_None;
5931 static PyObject *_wrap_BFont_fontstring(PyObject *self, PyObject *args) {
5932 PyObject *resultobj;
5933 otk::BFont *arg1 = (otk::BFont *) 0 ;
5934 std::string *result;
5935 PyObject * obj0 = 0 ;
5937 if(!PyArg_ParseTuple(args,(char *)"O:BFont_fontstring",&obj0)) goto fail;
5938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5940 std::string const &_result_ref = ((otk::BFont const *)arg1)->fontstring();
5941 result = (std::string *) &_result_ref;
5945 resultobj = PyString_FromString(result->c_str());
5953 static PyObject *_wrap_BFont_height(PyObject *self, PyObject *args) {
5954 PyObject *resultobj;
5955 otk::BFont *arg1 = (otk::BFont *) 0 ;
5956 unsigned int result;
5957 PyObject * obj0 = 0 ;
5959 if(!PyArg_ParseTuple(args,(char *)"O:BFont_height",&obj0)) goto fail;
5960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5961 result = (unsigned int)((otk::BFont const *)arg1)->height();
5963 resultobj = PyInt_FromLong((long)result);
5970 static PyObject *_wrap_BFont_maxCharWidth(PyObject *self, PyObject *args) {
5971 PyObject *resultobj;
5972 otk::BFont *arg1 = (otk::BFont *) 0 ;
5973 unsigned int result;
5974 PyObject * obj0 = 0 ;
5976 if(!PyArg_ParseTuple(args,(char *)"O:BFont_maxCharWidth",&obj0)) goto fail;
5977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5978 result = (unsigned int)((otk::BFont const *)arg1)->maxCharWidth();
5980 resultobj = PyInt_FromLong((long)result);
5987 static PyObject *_wrap_BFont_measureString(PyObject *self, PyObject *args) {
5988 PyObject *resultobj;
5989 otk::BFont *arg1 = (otk::BFont *) 0 ;
5990 std::string *arg2 = 0 ;
5991 bool arg3 = (bool) false ;
5992 unsigned int result;
5994 PyObject * obj0 = 0 ;
5995 PyObject * obj1 = 0 ;
5996 PyObject * obj2 = 0 ;
5998 if(!PyArg_ParseTuple(args,(char *)"OO|O:BFont_measureString",&obj0,&obj1,&obj2)) goto fail;
5999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6001 if (PyString_Check(obj1)) {
6002 temp2 = std::string(PyString_AsString(obj1));
6005 SWIG_exception(SWIG_TypeError, "string expected");
6009 arg3 = (bool) PyInt_AsLong(obj2);
6010 if (PyErr_Occurred()) SWIG_fail;
6012 result = (unsigned int)((otk::BFont const *)arg1)->measureString((std::string const &)*arg2,arg3);
6014 resultobj = PyInt_FromLong((long)result);
6021 static PyObject *_wrap_BFont_drawString(PyObject *self, PyObject *args) {
6022 PyObject *resultobj;
6023 otk::BFont *arg1 = (otk::BFont *) 0 ;
6024 XftDraw *arg2 = (XftDraw *) 0 ;
6027 otk::BColor *arg5 = 0 ;
6028 std::string *arg6 = 0 ;
6029 bool arg7 = (bool) false ;
6031 PyObject * obj0 = 0 ;
6032 PyObject * obj1 = 0 ;
6033 PyObject * obj4 = 0 ;
6034 PyObject * obj5 = 0 ;
6035 PyObject * obj6 = 0 ;
6037 if(!PyArg_ParseTuple(args,(char *)"OOiiOO|O:BFont_drawString",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6)) goto fail;
6038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6039 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XftDraw,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6040 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6045 if (PyString_Check(obj5)) {
6046 temp6 = std::string(PyString_AsString(obj5));
6049 SWIG_exception(SWIG_TypeError, "string expected");
6053 arg7 = (bool) PyInt_AsLong(obj6);
6054 if (PyErr_Occurred()) SWIG_fail;
6056 ((otk::BFont const *)arg1)->drawString(arg2,arg3,arg4,(otk::BColor const &)*arg5,(std::string const &)*arg6,arg7);
6058 Py_INCREF(Py_None); resultobj = Py_None;
6065 static PyObject * BFont_swigregister(PyObject *self, PyObject *args) {
6067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6068 SWIG_TypeClientData(SWIGTYPE_p_otk__BFont, obj);
6070 return Py_BuildValue((char *)"");
6072 static PyObject *_wrap_BGCCacheContext_set__SWIG_0(PyObject *self, PyObject *args) {
6073 PyObject *resultobj;
6074 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6075 otk::BColor *arg2 = 0 ;
6076 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6080 PyObject * obj0 = 0 ;
6081 PyObject * obj1 = 0 ;
6082 PyObject * obj2 = 0 ;
6084 if(!PyArg_ParseTuple(args,(char *)"OOOiii:BGCCacheContext_set",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6086 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6088 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6090 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6091 (arg1)->set((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6093 Py_INCREF(Py_None); resultobj = Py_None;
6100 static PyObject *_wrap_BGCCacheContext_set__SWIG_1(PyObject *self, PyObject *args) {
6101 PyObject *resultobj;
6102 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6103 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6104 PyObject * obj0 = 0 ;
6105 PyObject * obj1 = 0 ;
6107 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCacheContext_set",&obj0,&obj1)) goto fail;
6108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6110 (arg1)->set((XFontStruct const *)arg2);
6112 Py_INCREF(Py_None); resultobj = Py_None;
6119 static PyObject *_wrap_BGCCacheContext_set(PyObject *self, PyObject *args) {
6124 argc = PyObject_Length(args);
6125 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
6126 argv[ii] = PyTuple_GetItem(args,ii);
6132 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6142 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6150 return _wrap_BGCCacheContext_set__SWIG_1(self,args);
6158 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6168 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BColor, 0) == -1) {
6178 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6187 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
6191 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
6195 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
6198 return _wrap_BGCCacheContext_set__SWIG_0(self,args);
6207 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BGCCacheContext_set'");
6212 static PyObject *_wrap_delete_BGCCacheContext(PyObject *self, PyObject *args) {
6213 PyObject *resultobj;
6214 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6215 PyObject * obj0 = 0 ;
6217 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheContext",&obj0)) goto fail;
6218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6221 Py_INCREF(Py_None); resultobj = Py_None;
6228 static PyObject * BGCCacheContext_swigregister(PyObject *self, PyObject *args) {
6230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6231 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext, obj);
6233 return Py_BuildValue((char *)"");
6235 static PyObject *_wrap_BGCCacheItem_gc(PyObject *self, PyObject *args) {
6236 PyObject *resultobj;
6237 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6239 PyObject * obj0 = 0 ;
6241 if(!PyArg_ParseTuple(args,(char *)"O:BGCCacheItem_gc",&obj0)) goto fail;
6242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6244 GC const &_result_ref = ((otk::BGCCacheItem const *)arg1)->gc();
6245 result = (GC *) &_result_ref;
6248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6255 static PyObject * BGCCacheItem_swigregister(PyObject *self, PyObject *args) {
6257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6258 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem, obj);
6260 return Py_BuildValue((char *)"");
6262 static PyObject *_wrap_new_BGCCache(PyObject *self, PyObject *args) {
6263 PyObject *resultobj;
6265 otk::BGCCache *result;
6266 PyObject * obj0 = 0 ;
6268 if(!PyArg_ParseTuple(args,(char *)"O:new_BGCCache",&obj0)) goto fail;
6269 arg1 = (unsigned int) PyInt_AsLong(obj0);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 result = (otk::BGCCache *)new otk::BGCCache(arg1);
6273 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 1);
6280 static PyObject *_wrap_delete_BGCCache(PyObject *self, PyObject *args) {
6281 PyObject *resultobj;
6282 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6283 PyObject * obj0 = 0 ;
6285 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCache",&obj0)) goto fail;
6286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6289 Py_INCREF(Py_None); resultobj = Py_None;
6296 static PyObject *_wrap_BGCCache_purge(PyObject *self, PyObject *args) {
6297 PyObject *resultobj;
6298 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6299 PyObject * obj0 = 0 ;
6301 if(!PyArg_ParseTuple(args,(char *)"O:BGCCache_purge",&obj0)) goto fail;
6302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6305 Py_INCREF(Py_None); resultobj = Py_None;
6312 static PyObject *_wrap_BGCCache_find(PyObject *self, PyObject *args) {
6313 PyObject *resultobj;
6314 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6315 otk::BColor *arg2 = 0 ;
6316 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6317 int arg4 = (int) GXcopy ;
6318 int arg5 = (int) ClipByChildren ;
6319 int arg6 = (int) 0 ;
6320 otk::BGCCacheItem *result;
6321 PyObject * obj0 = 0 ;
6322 PyObject * obj1 = 0 ;
6323 PyObject * obj2 = 0 ;
6325 if(!PyArg_ParseTuple(args,(char *)"OO|Oiii:BGCCache_find",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6332 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6334 result = (otk::BGCCacheItem *)(arg1)->find((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6336 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCacheItem, 0);
6343 static PyObject *_wrap_BGCCache_release(PyObject *self, PyObject *args) {
6344 PyObject *resultobj;
6345 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6346 otk::BGCCacheItem *arg2 = (otk::BGCCacheItem *) 0 ;
6347 PyObject * obj0 = 0 ;
6348 PyObject * obj1 = 0 ;
6350 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCache_release",&obj0,&obj1)) goto fail;
6351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6352 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6353 (arg1)->release(arg2);
6355 Py_INCREF(Py_None); resultobj = Py_None;
6362 static PyObject * BGCCache_swigregister(PyObject *self, PyObject *args) {
6364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6365 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache, obj);
6367 return Py_BuildValue((char *)"");
6369 static PyObject *_wrap_new_BPen(PyObject *self, PyObject *args) {
6370 PyObject *resultobj;
6371 otk::BColor *arg1 = 0 ;
6372 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6373 int arg3 = (int) 0 ;
6374 int arg4 = (int) GXcopy ;
6375 int arg5 = (int) ClipByChildren ;
6377 PyObject * obj0 = 0 ;
6378 PyObject * obj1 = 0 ;
6380 if(!PyArg_ParseTuple(args,(char *)"O|Oiii:new_BPen",&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
6381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6388 result = (otk::BPen *)new otk::BPen((otk::BColor const &)*arg1,(XFontStruct const *)arg2,arg3,arg4,arg5);
6390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BPen, 1);
6397 static PyObject *_wrap_delete_BPen(PyObject *self, PyObject *args) {
6398 PyObject *resultobj;
6399 otk::BPen *arg1 = (otk::BPen *) 0 ;
6400 PyObject * obj0 = 0 ;
6402 if(!PyArg_ParseTuple(args,(char *)"O:delete_BPen",&obj0)) goto fail;
6403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6406 Py_INCREF(Py_None); resultobj = Py_None;
6413 static PyObject *_wrap_BPen_gc(PyObject *self, PyObject *args) {
6414 PyObject *resultobj;
6415 otk::BPen *arg1 = (otk::BPen *) 0 ;
6417 PyObject * obj0 = 0 ;
6419 if(!PyArg_ParseTuple(args,(char *)"O:BPen_gc",&obj0)) goto fail;
6420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6422 GC const &_result_ref = ((otk::BPen const *)arg1)->gc();
6423 result = (GC *) &_result_ref;
6426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6433 static PyObject * BPen_swigregister(PyObject *self, PyObject *args) {
6435 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6436 SWIG_TypeClientData(SWIGTYPE_p_otk__BPen, obj);
6438 return Py_BuildValue((char *)"");
6440 static PyObject *_wrap_new_BImage(PyObject *self, PyObject *args) {
6441 PyObject *resultobj;
6442 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6445 otk::BImage *result;
6446 PyObject * obj0 = 0 ;
6448 if(!PyArg_ParseTuple(args,(char *)"Oii:new_BImage",&obj0,&arg2,&arg3)) goto fail;
6449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6450 result = (otk::BImage *)new otk::BImage(arg1,arg2,arg3);
6452 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImage, 1);
6459 static PyObject *_wrap_delete_BImage(PyObject *self, PyObject *args) {
6460 PyObject *resultobj;
6461 otk::BImage *arg1 = (otk::BImage *) 0 ;
6462 PyObject * obj0 = 0 ;
6464 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImage",&obj0)) goto fail;
6465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6468 Py_INCREF(Py_None); resultobj = Py_None;
6475 static PyObject *_wrap_BImage_render(PyObject *self, PyObject *args) {
6476 PyObject *resultobj;
6477 otk::BImage *arg1 = (otk::BImage *) 0 ;
6478 otk::BTexture *arg2 = 0 ;
6480 PyObject * obj0 = 0 ;
6481 PyObject * obj1 = 0 ;
6483 if(!PyArg_ParseTuple(args,(char *)"OO:BImage_render",&obj0,&obj1)) goto fail;
6484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6487 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6489 result = (Pixmap)(arg1)->render((otk::BTexture const &)*arg2);
6491 resultobj = PyInt_FromLong((long)result);
6498 static PyObject * BImage_swigregister(PyObject *self, PyObject *args) {
6500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6501 SWIG_TypeClientData(SWIGTYPE_p_otk__BImage, obj);
6503 return Py_BuildValue((char *)"");
6505 static PyObject *_wrap_new_BImageControl(PyObject *self, PyObject *args) {
6506 PyObject *resultobj;
6507 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
6508 otk::ScreenInfo *arg2 = (otk::ScreenInfo *) 0 ;
6509 bool arg3 = (bool) False ;
6510 int arg4 = (int) 4 ;
6511 unsigned long arg5 = (unsigned long) 300000l ;
6512 unsigned long arg6 = (unsigned long) 200l ;
6513 otk::BImageControl *result;
6514 PyObject * obj0 = 0 ;
6515 PyObject * obj1 = 0 ;
6516 PyObject * obj2 = 0 ;
6517 PyObject * obj4 = 0 ;
6518 PyObject * obj5 = 0 ;
6520 if(!PyArg_ParseTuple(args,(char *)"OO|OiOO:new_BImageControl",&obj0,&obj1,&obj2,&arg4,&obj4,&obj5)) goto fail;
6521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6524 arg3 = (bool) PyInt_AsLong(obj2);
6525 if (PyErr_Occurred()) SWIG_fail;
6528 arg5 = (unsigned long) PyInt_AsLong(obj4);
6529 if (PyErr_Occurred()) SWIG_fail;
6532 arg6 = (unsigned long) PyInt_AsLong(obj5);
6533 if (PyErr_Occurred()) SWIG_fail;
6535 result = (otk::BImageControl *)new otk::BImageControl(arg1,(otk::ScreenInfo const *)arg2,arg3,arg4,arg5,arg6);
6537 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 1);
6544 static PyObject *_wrap_delete_BImageControl(PyObject *self, PyObject *args) {
6545 PyObject *resultobj;
6546 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6547 PyObject * obj0 = 0 ;
6549 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImageControl",&obj0)) goto fail;
6550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6553 Py_INCREF(Py_None); resultobj = Py_None;
6560 static PyObject *_wrap_BImageControl_doDither(PyObject *self, PyObject *args) {
6561 PyObject *resultobj;
6562 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6564 PyObject * obj0 = 0 ;
6566 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_doDither",&obj0)) goto fail;
6567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6568 result = (bool)(arg1)->doDither();
6570 resultobj = PyInt_FromLong((long)result);
6577 static PyObject *_wrap_BImageControl_getScreenInfo(PyObject *self, PyObject *args) {
6578 PyObject *resultobj;
6579 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6580 otk::ScreenInfo *result;
6581 PyObject * obj0 = 0 ;
6583 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getScreenInfo",&obj0)) goto fail;
6584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6585 result = (otk::ScreenInfo *)((otk::BImageControl const *)arg1)->getScreenInfo();
6587 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
6594 static PyObject *_wrap_BImageControl_getDrawable(PyObject *self, PyObject *args) {
6595 PyObject *resultobj;
6596 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6598 PyObject * obj0 = 0 ;
6600 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDrawable",&obj0)) goto fail;
6601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6602 result = (Window)((otk::BImageControl const *)arg1)->getDrawable();
6604 resultobj = PyInt_FromLong((long)result);
6611 static PyObject *_wrap_BImageControl_getVisual(PyObject *self, PyObject *args) {
6612 PyObject *resultobj;
6613 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6615 PyObject * obj0 = 0 ;
6617 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getVisual",&obj0)) goto fail;
6618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6619 result = (Visual *)(arg1)->getVisual();
6621 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6628 static PyObject *_wrap_BImageControl_getBitsPerPixel(PyObject *self, PyObject *args) {
6629 PyObject *resultobj;
6630 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6632 PyObject * obj0 = 0 ;
6634 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getBitsPerPixel",&obj0)) goto fail;
6635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6636 result = (int)((otk::BImageControl const *)arg1)->getBitsPerPixel();
6638 resultobj = PyInt_FromLong((long)result);
6645 static PyObject *_wrap_BImageControl_getDepth(PyObject *self, PyObject *args) {
6646 PyObject *resultobj;
6647 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6649 PyObject * obj0 = 0 ;
6651 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDepth",&obj0)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6653 result = (int)((otk::BImageControl const *)arg1)->getDepth();
6655 resultobj = PyInt_FromLong((long)result);
6662 static PyObject *_wrap_BImageControl_getColorsPerChannel(PyObject *self, PyObject *args) {
6663 PyObject *resultobj;
6664 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6666 PyObject * obj0 = 0 ;
6668 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getColorsPerChannel",&obj0)) goto fail;
6669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6670 result = (int)((otk::BImageControl const *)arg1)->getColorsPerChannel();
6672 resultobj = PyInt_FromLong((long)result);
6679 static PyObject *_wrap_BImageControl_getSqrt(PyObject *self, PyObject *args) {
6680 PyObject *resultobj;
6681 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6683 unsigned long result;
6684 PyObject * obj0 = 0 ;
6685 PyObject * obj1 = 0 ;
6687 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_getSqrt",&obj0,&obj1)) goto fail;
6688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6689 arg2 = (unsigned int) PyInt_AsLong(obj1);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 result = (unsigned long)(arg1)->getSqrt(arg2);
6693 resultobj = PyInt_FromLong((long)result);
6700 static PyObject *_wrap_BImageControl_renderImage(PyObject *self, PyObject *args) {
6701 PyObject *resultobj;
6702 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6705 otk::BTexture *arg4 = 0 ;
6707 PyObject * obj0 = 0 ;
6708 PyObject * obj1 = 0 ;
6709 PyObject * obj2 = 0 ;
6710 PyObject * obj3 = 0 ;
6712 if(!PyArg_ParseTuple(args,(char *)"OOOO:BImageControl_renderImage",&obj0,&obj1,&obj2,&obj3)) goto fail;
6713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6714 arg2 = (unsigned int) PyInt_AsLong(obj1);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 arg3 = (unsigned int) PyInt_AsLong(obj2);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6722 result = (Pixmap)(arg1)->renderImage(arg2,arg3,(otk::BTexture const &)*arg4);
6724 resultobj = PyInt_FromLong((long)result);
6731 static PyObject *_wrap_BImageControl_installRootColormap(PyObject *self, PyObject *args) {
6732 PyObject *resultobj;
6733 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6734 PyObject * obj0 = 0 ;
6736 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_installRootColormap",&obj0)) goto fail;
6737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6738 (arg1)->installRootColormap();
6740 Py_INCREF(Py_None); resultobj = Py_None;
6747 static PyObject *_wrap_BImageControl_removeImage(PyObject *self, PyObject *args) {
6748 PyObject *resultobj;
6749 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6751 PyObject * obj0 = 0 ;
6752 PyObject * obj1 = 0 ;
6754 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_removeImage",&obj0,&obj1)) goto fail;
6755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6756 arg2 = (Pixmap) PyInt_AsLong(obj1);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 (arg1)->removeImage(arg2);
6760 Py_INCREF(Py_None); resultobj = Py_None;
6767 static PyObject *_wrap_BImageControl_getColorTables(PyObject *self, PyObject *args) {
6768 PyObject *resultobj;
6769 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6770 unsigned char **arg2 = (unsigned char **) 0 ;
6771 unsigned char **arg3 = (unsigned char **) 0 ;
6772 unsigned char **arg4 = (unsigned char **) 0 ;
6773 int *arg5 = (int *) 0 ;
6774 int *arg6 = (int *) 0 ;
6775 int *arg7 = (int *) 0 ;
6776 int *arg8 = (int *) 0 ;
6777 int *arg9 = (int *) 0 ;
6778 int *arg10 = (int *) 0 ;
6779 PyObject * obj0 = 0 ;
6780 PyObject * obj1 = 0 ;
6781 PyObject * obj2 = 0 ;
6782 PyObject * obj3 = 0 ;
6783 PyObject * obj4 = 0 ;
6784 PyObject * obj5 = 0 ;
6785 PyObject * obj6 = 0 ;
6786 PyObject * obj7 = 0 ;
6787 PyObject * obj8 = 0 ;
6788 PyObject * obj9 = 0 ;
6790 if(!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
6791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6793 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6794 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6795 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6796 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6797 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6798 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6799 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6800 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6801 (arg1)->getColorTables(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
6803 Py_INCREF(Py_None); resultobj = Py_None;
6810 static PyObject *_wrap_BImageControl_getXColorTable(PyObject *self, PyObject *args) {
6811 PyObject *resultobj;
6812 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6813 XColor **arg2 = (XColor **) 0 ;
6814 int *arg3 = (int *) 0 ;
6815 PyObject * obj0 = 0 ;
6816 PyObject * obj1 = 0 ;
6817 PyObject * obj2 = 0 ;
6819 if(!PyArg_ParseTuple(args,(char *)"OOO:BImageControl_getXColorTable",&obj0,&obj1,&obj2)) goto fail;
6820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6821 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_XColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6822 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6823 (arg1)->getXColorTable(arg2,arg3);
6825 Py_INCREF(Py_None); resultobj = Py_None;
6832 static PyObject *_wrap_BImageControl_getGradientBuffers(PyObject *self, PyObject *args) {
6833 PyObject *resultobj;
6834 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6837 unsigned int **arg4 = (unsigned int **) 0 ;
6838 unsigned int **arg5 = (unsigned int **) 0 ;
6839 PyObject * obj0 = 0 ;
6840 PyObject * obj1 = 0 ;
6841 PyObject * obj2 = 0 ;
6842 PyObject * obj3 = 0 ;
6843 PyObject * obj4 = 0 ;
6845 if(!PyArg_ParseTuple(args,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6847 arg2 = (unsigned int) PyInt_AsLong(obj1);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 arg3 = (unsigned int) PyInt_AsLong(obj2);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6852 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6853 (arg1)->getGradientBuffers(arg2,arg3,arg4,arg5);
6855 Py_INCREF(Py_None); resultobj = Py_None;
6862 static PyObject *_wrap_BImageControl_setDither(PyObject *self, PyObject *args) {
6863 PyObject *resultobj;
6864 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6869 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_setDither",&obj0,&obj1)) goto fail;
6870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6871 arg2 = (bool) PyInt_AsLong(obj1);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 (arg1)->setDither(arg2);
6875 Py_INCREF(Py_None); resultobj = Py_None;
6882 static PyObject *_wrap_BImageControl_setColorsPerChannel(PyObject *self, PyObject *args) {
6883 PyObject *resultobj;
6884 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6886 PyObject * obj0 = 0 ;
6888 if(!PyArg_ParseTuple(args,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0,&arg2)) goto fail;
6889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6890 (arg1)->setColorsPerChannel(arg2);
6892 Py_INCREF(Py_None); resultobj = Py_None;
6899 static PyObject *_wrap_BImageControl_timeout(PyObject *self, PyObject *args) {
6900 PyObject *resultobj;
6901 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6902 PyObject * obj0 = 0 ;
6904 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_timeout",&obj0)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6906 otk::BImageControl::timeout(arg1);
6908 Py_INCREF(Py_None); resultobj = Py_None;
6915 static PyObject * BImageControl_swigregister(PyObject *self, PyObject *args) {
6917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6918 SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl, obj);
6920 return Py_BuildValue((char *)"");
6922 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
6923 PyObject *resultobj;
6926 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
6927 result = (otk::Point *)new otk::Point();
6929 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6936 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
6937 PyObject *resultobj;
6942 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
6943 result = (otk::Point *)new otk::Point(arg1,arg2);
6945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6952 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
6957 argc = PyObject_Length(args);
6958 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
6959 argv[ii] = PyTuple_GetItem(args,ii);
6962 return _wrap_new_Point__SWIG_0(self,args);
6967 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6971 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6974 return _wrap_new_Point__SWIG_1(self,args);
6979 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
6984 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
6985 PyObject *resultobj;
6986 otk::Point *arg1 = (otk::Point *) 0 ;
6988 PyObject * obj0 = 0 ;
6990 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
6991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6994 Py_INCREF(Py_None); resultobj = Py_None;
7001 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
7002 PyObject *resultobj;
7003 otk::Point *arg1 = (otk::Point *) 0 ;
7005 PyObject * obj0 = 0 ;
7007 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
7008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7009 result = (int)((otk::Point const *)arg1)->x();
7011 resultobj = PyInt_FromLong((long)result);
7018 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
7019 PyObject *resultobj;
7020 otk::Point *arg1 = (otk::Point *) 0 ;
7022 PyObject * obj0 = 0 ;
7024 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
7025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7028 Py_INCREF(Py_None); resultobj = Py_None;
7035 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
7036 PyObject *resultobj;
7037 otk::Point *arg1 = (otk::Point *) 0 ;
7039 PyObject * obj0 = 0 ;
7041 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
7042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7043 result = (int)((otk::Point const *)arg1)->y();
7045 resultobj = PyInt_FromLong((long)result);
7052 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
7053 PyObject *resultobj;
7054 otk::Point *arg1 = (otk::Point *) 0 ;
7057 PyObject * obj0 = 0 ;
7059 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
7060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7061 (arg1)->setPoint(arg2,arg3);
7063 Py_INCREF(Py_None); resultobj = Py_None;
7070 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
7072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7073 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
7075 return Py_BuildValue((char *)"");
7077 static PyObject *_wrap_new_OBProperty(PyObject *self, PyObject *args) {
7078 PyObject *resultobj;
7079 otk::OBProperty *result;
7081 if(!PyArg_ParseTuple(args,(char *)":new_OBProperty")) goto fail;
7082 result = (otk::OBProperty *)new otk::OBProperty();
7084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 1);
7091 static PyObject *_wrap_delete_OBProperty(PyObject *self, PyObject *args) {
7092 PyObject *resultobj;
7093 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7094 PyObject * obj0 = 0 ;
7096 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBProperty",&obj0)) goto fail;
7097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7100 Py_INCREF(Py_None); resultobj = Py_None;
7107 static PyObject *_wrap_OBProperty_set__SWIG_0(PyObject *self, PyObject *args) {
7108 PyObject *resultobj;
7109 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7113 unsigned long arg5 ;
7114 PyObject * obj0 = 0 ;
7115 PyObject * obj1 = 0 ;
7116 PyObject * obj4 = 0 ;
7118 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7120 arg2 = (Window) PyInt_AsLong(obj1);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 arg5 = (unsigned long) PyInt_AsLong(obj4);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7126 Py_INCREF(Py_None); resultobj = Py_None;
7133 static PyObject *_wrap_OBProperty_set__SWIG_1(PyObject *self, PyObject *args) {
7134 PyObject *resultobj;
7135 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7139 unsigned long *arg5 ;
7141 PyObject * obj0 = 0 ;
7142 PyObject * obj1 = 0 ;
7143 PyObject * obj4 = 0 ;
7145 if(!PyArg_ParseTuple(args,(char *)"OOiiOi:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
7146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7147 arg2 = (Window) PyInt_AsLong(obj1);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7150 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7152 Py_INCREF(Py_None); resultobj = Py_None;
7159 static PyObject *_wrap_OBProperty_set__SWIG_2(PyObject *self, PyObject *args) {
7160 PyObject *resultobj;
7161 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7165 std::string *arg5 = 0 ;
7167 PyObject * obj0 = 0 ;
7168 PyObject * obj1 = 0 ;
7169 PyObject * obj4 = 0 ;
7171 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7173 arg2 = (Window) PyInt_AsLong(obj1);
7174 if (PyErr_Occurred()) SWIG_fail;
7176 if (PyString_Check(obj4)) {
7177 temp5 = std::string(PyString_AsString(obj4));
7180 SWIG_exception(SWIG_TypeError, "string expected");
7183 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(std::string const &)*arg5);
7185 Py_INCREF(Py_None); resultobj = Py_None;
7192 static PyObject *_wrap_OBProperty_set__SWIG_3(PyObject *self, PyObject *args) {
7193 PyObject *resultobj;
7194 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7198 otk::OBProperty::StringVect *arg5 = 0 ;
7199 PyObject * obj0 = 0 ;
7200 PyObject * obj1 = 0 ;
7201 PyObject * obj4 = 0 ;
7203 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 arg2 = (Window) PyInt_AsLong(obj1);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7211 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(otk::OBProperty::StringVect const &)*arg5);
7213 Py_INCREF(Py_None); resultobj = Py_None;
7220 static PyObject *_wrap_OBProperty_set(PyObject *self, PyObject *args) {
7225 argc = PyObject_Length(args);
7226 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7227 argv[ii] = PyTuple_GetItem(args,ii);
7233 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7242 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7246 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7250 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7255 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7263 return _wrap_OBProperty_set__SWIG_3(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;
7295 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7298 return _wrap_OBProperty_set__SWIG_0(self,args);
7309 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7318 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7322 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7326 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7330 _v = PyString_Check(argv[4]) ? 1 : 0;
7333 return _wrap_OBProperty_set__SWIG_2(self,args);
7344 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7353 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7357 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7361 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7366 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7375 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7378 return _wrap_OBProperty_set__SWIG_1(self,args);
7387 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_set'");
7392 static PyObject *_wrap_OBProperty_get__SWIG_0(PyObject *self, PyObject *args) {
7393 PyObject *resultobj;
7394 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7398 unsigned long *arg5 = (unsigned long *) 0 ;
7399 unsigned long **arg6 = (unsigned long **) 0 ;
7401 PyObject * obj0 = 0 ;
7402 PyObject * obj1 = 0 ;
7403 PyObject * obj4 = 0 ;
7404 PyObject * obj5 = 0 ;
7406 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7408 arg2 = (Window) PyInt_AsLong(obj1);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7411 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7412 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7414 resultobj = PyInt_FromLong((long)result);
7421 static PyObject *_wrap_OBProperty_get__SWIG_1(PyObject *self, PyObject *args) {
7422 PyObject *resultobj;
7423 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7427 unsigned long *arg5 = (unsigned long *) 0 ;
7429 PyObject * obj0 = 0 ;
7430 PyObject * obj1 = 0 ;
7431 PyObject * obj4 = 0 ;
7433 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7435 arg2 = (Window) PyInt_AsLong(obj1);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7438 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7440 resultobj = PyInt_FromLong((long)result);
7447 static PyObject *_wrap_OBProperty_get__SWIG_2(PyObject *self, PyObject *args) {
7448 PyObject *resultobj;
7449 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7453 std::string *arg5 = (std::string *) 0 ;
7455 PyObject * obj0 = 0 ;
7456 PyObject * obj1 = 0 ;
7457 PyObject * obj4 = 0 ;
7459 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7461 arg2 = (Window) PyInt_AsLong(obj1);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7464 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5);
7466 resultobj = PyInt_FromLong((long)result);
7473 static PyObject *_wrap_OBProperty_get__SWIG_3(PyObject *self, PyObject *args) {
7474 PyObject *resultobj;
7475 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7479 unsigned long *arg5 = (unsigned long *) 0 ;
7480 otk::OBProperty::StringVect *arg6 = (otk::OBProperty::StringVect *) 0 ;
7482 PyObject * obj0 = 0 ;
7483 PyObject * obj1 = 0 ;
7484 PyObject * obj4 = 0 ;
7485 PyObject * obj5 = 0 ;
7487 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7489 arg2 = (Window) PyInt_AsLong(obj1);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7492 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7493 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5,arg6);
7495 resultobj = PyInt_FromLong((long)result);
7502 static PyObject *_wrap_OBProperty_get(PyObject *self, PyObject *args) {
7507 argc = PyObject_Length(args);
7508 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7509 argv[ii] = PyTuple_GetItem(args,ii);
7515 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7524 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7528 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7532 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7537 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7545 return _wrap_OBProperty_get__SWIG_1(self,args);
7556 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7565 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7569 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7573 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7578 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
7586 return _wrap_OBProperty_get__SWIG_2(self,args);
7597 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7606 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7610 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7614 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7619 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7629 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
7637 return _wrap_OBProperty_get__SWIG_0(self,args);
7649 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7658 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7662 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7666 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7671 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7681 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7689 return _wrap_OBProperty_get__SWIG_3(self,args);
7698 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_get'");
7703 static PyObject *_wrap_OBProperty_erase(PyObject *self, PyObject *args) {
7704 PyObject *resultobj;
7705 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7708 PyObject * obj0 = 0 ;
7709 PyObject * obj1 = 0 ;
7711 if(!PyArg_ParseTuple(args,(char *)"OOi:OBProperty_erase",&obj0,&obj1,&arg3)) goto fail;
7712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7713 arg2 = (Window) PyInt_AsLong(obj1);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 ((otk::OBProperty const *)arg1)->erase(arg2,(otk::OBProperty::Atoms )arg3);
7717 Py_INCREF(Py_None); resultobj = Py_None;
7724 static PyObject *_wrap_OBProperty_atom(PyObject *self, PyObject *args) {
7725 PyObject *resultobj;
7726 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7729 PyObject * obj0 = 0 ;
7731 if(!PyArg_ParseTuple(args,(char *)"Oi:OBProperty_atom",&obj0,&arg2)) goto fail;
7732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7733 result = (Atom)((otk::OBProperty const *)arg1)->atom((otk::OBProperty::Atoms )arg2);
7735 resultobj = PyInt_FromLong((long)result);
7742 static PyObject * OBProperty_swigregister(PyObject *self, PyObject *args) {
7744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7745 SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty, obj);
7747 return Py_BuildValue((char *)"");
7749 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
7750 PyObject *resultobj;
7753 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
7754 result = (otk::Rect *)new otk::Rect();
7756 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7763 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
7764 PyObject *resultobj;
7771 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
7772 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
7774 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7781 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
7782 PyObject *resultobj;
7783 otk::Point *arg1 = 0 ;
7784 otk::Point *arg2 = 0 ;
7786 PyObject * obj0 = 0 ;
7787 PyObject * obj1 = 0 ;
7789 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
7790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7792 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7794 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7796 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7798 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
7800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7807 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
7808 PyObject *resultobj;
7809 otk::Rect *arg1 = 0 ;
7811 PyObject * obj0 = 0 ;
7813 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7818 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
7820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7827 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
7828 PyObject *resultobj;
7829 XRectangle *arg1 = 0 ;
7831 PyObject * obj0 = 0 ;
7833 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7838 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
7840 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7847 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
7852 argc = PyObject_Length(args);
7853 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7854 argv[ii] = PyTuple_GetItem(args,ii);
7857 return _wrap_new_Rect__SWIG_0(self,args);
7863 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7871 return _wrap_new_Rect__SWIG_3(self,args);
7878 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
7886 return _wrap_new_Rect__SWIG_4(self,args);
7893 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7903 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7911 return _wrap_new_Rect__SWIG_2(self,args);
7918 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7922 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7926 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7930 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7933 return _wrap_new_Rect__SWIG_1(self,args);
7940 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
7945 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
7946 PyObject *resultobj;
7947 otk::Rect *arg1 = (otk::Rect *) 0 ;
7949 PyObject * obj0 = 0 ;
7951 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
7952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7953 result = (int)((otk::Rect const *)arg1)->left();
7955 resultobj = PyInt_FromLong((long)result);
7962 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
7963 PyObject *resultobj;
7964 otk::Rect *arg1 = (otk::Rect *) 0 ;
7966 PyObject * obj0 = 0 ;
7968 if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7970 result = (int)((otk::Rect const *)arg1)->top();
7972 resultobj = PyInt_FromLong((long)result);
7979 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
7980 PyObject *resultobj;
7981 otk::Rect *arg1 = (otk::Rect *) 0 ;
7983 PyObject * obj0 = 0 ;
7985 if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
7986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7987 result = (int)((otk::Rect const *)arg1)->right();
7989 resultobj = PyInt_FromLong((long)result);
7996 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
7997 PyObject *resultobj;
7998 otk::Rect *arg1 = (otk::Rect *) 0 ;
8000 PyObject * obj0 = 0 ;
8002 if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
8003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8004 result = (int)((otk::Rect const *)arg1)->bottom();
8006 resultobj = PyInt_FromLong((long)result);
8013 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
8014 PyObject *resultobj;
8015 otk::Rect *arg1 = (otk::Rect *) 0 ;
8017 PyObject * obj0 = 0 ;
8019 if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
8020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8021 result = (int)((otk::Rect const *)arg1)->x();
8023 resultobj = PyInt_FromLong((long)result);
8030 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
8031 PyObject *resultobj;
8032 otk::Rect *arg1 = (otk::Rect *) 0 ;
8034 PyObject * obj0 = 0 ;
8036 if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
8037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8038 result = (int)((otk::Rect const *)arg1)->y();
8040 resultobj = PyInt_FromLong((long)result);
8047 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
8048 PyObject *resultobj;
8049 otk::Rect *arg1 = (otk::Rect *) 0 ;
8051 PyObject * obj0 = 0 ;
8053 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
8054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8055 result = ((otk::Rect const *)arg1)->location();
8058 otk::Point * resultptr;
8059 resultptr = new otk::Point((otk::Point &) result);
8060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8068 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
8069 PyObject *resultobj;
8070 otk::Rect *arg1 = (otk::Rect *) 0 ;
8072 PyObject * obj0 = 0 ;
8074 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
8075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8078 Py_INCREF(Py_None); resultobj = Py_None;
8085 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
8086 PyObject *resultobj;
8087 otk::Rect *arg1 = (otk::Rect *) 0 ;
8089 PyObject * obj0 = 0 ;
8091 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
8092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8095 Py_INCREF(Py_None); resultobj = Py_None;
8102 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
8103 PyObject *resultobj;
8104 otk::Rect *arg1 = (otk::Rect *) 0 ;
8107 PyObject * obj0 = 0 ;
8109 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
8110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8111 (arg1)->setPos(arg2,arg3);
8113 Py_INCREF(Py_None); resultobj = Py_None;
8120 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
8121 PyObject *resultobj;
8122 otk::Rect *arg1 = (otk::Rect *) 0 ;
8123 otk::Point *arg2 = 0 ;
8124 PyObject * obj0 = 0 ;
8125 PyObject * obj1 = 0 ;
8127 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
8128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8133 (arg1)->setPos((otk::Point const &)*arg2);
8135 Py_INCREF(Py_None); resultobj = Py_None;
8142 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
8147 argc = PyObject_Length(args);
8148 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8149 argv[ii] = PyTuple_GetItem(args,ii);
8155 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8165 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8173 return _wrap_Rect_setPos__SWIG_1(self,args);
8181 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8190 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8194 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8197 return _wrap_Rect_setPos__SWIG_0(self,args);
8203 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
8208 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
8209 PyObject *resultobj;
8210 otk::Rect *arg1 = (otk::Rect *) 0 ;
8212 PyObject * obj0 = 0 ;
8214 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
8215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8216 result = (int)((otk::Rect const *)arg1)->width();
8218 resultobj = PyInt_FromLong((long)result);
8225 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
8226 PyObject *resultobj;
8227 otk::Rect *arg1 = (otk::Rect *) 0 ;
8229 PyObject * obj0 = 0 ;
8231 if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
8232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8233 result = (int)((otk::Rect const *)arg1)->height();
8235 resultobj = PyInt_FromLong((long)result);
8242 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
8243 PyObject *resultobj;
8244 otk::Rect *arg1 = (otk::Rect *) 0 ;
8246 PyObject * obj0 = 0 ;
8248 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
8249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8250 result = ((otk::Rect const *)arg1)->size();
8253 otk::Point * resultptr;
8254 resultptr = new otk::Point((otk::Point &) result);
8255 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8263 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
8264 PyObject *resultobj;
8265 otk::Rect *arg1 = (otk::Rect *) 0 ;
8267 PyObject * obj0 = 0 ;
8269 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
8270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8271 (arg1)->setWidth(arg2);
8273 Py_INCREF(Py_None); resultobj = Py_None;
8280 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
8281 PyObject *resultobj;
8282 otk::Rect *arg1 = (otk::Rect *) 0 ;
8284 PyObject * obj0 = 0 ;
8286 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
8287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8288 (arg1)->setHeight(arg2);
8290 Py_INCREF(Py_None); resultobj = Py_None;
8297 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
8298 PyObject *resultobj;
8299 otk::Rect *arg1 = (otk::Rect *) 0 ;
8302 PyObject * obj0 = 0 ;
8304 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
8305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8306 (arg1)->setSize(arg2,arg3);
8308 Py_INCREF(Py_None); resultobj = Py_None;
8315 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
8316 PyObject *resultobj;
8317 otk::Rect *arg1 = (otk::Rect *) 0 ;
8318 otk::Point *arg2 = 0 ;
8319 PyObject * obj0 = 0 ;
8320 PyObject * obj1 = 0 ;
8322 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
8323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8328 (arg1)->setSize((otk::Point const &)*arg2);
8330 Py_INCREF(Py_None); resultobj = Py_None;
8337 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
8342 argc = PyObject_Length(args);
8343 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8344 argv[ii] = PyTuple_GetItem(args,ii);
8350 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8360 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8368 return _wrap_Rect_setSize__SWIG_1(self,args);
8376 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8385 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8389 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8392 return _wrap_Rect_setSize__SWIG_0(self,args);
8398 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
8403 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
8404 PyObject *resultobj;
8405 otk::Rect *arg1 = (otk::Rect *) 0 ;
8410 PyObject * obj0 = 0 ;
8412 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8414 (arg1)->setRect(arg2,arg3,arg4,arg5);
8416 Py_INCREF(Py_None); resultobj = Py_None;
8423 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
8424 PyObject *resultobj;
8425 otk::Rect *arg1 = (otk::Rect *) 0 ;
8426 otk::Point *arg2 = 0 ;
8427 otk::Point *arg3 = 0 ;
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 PyObject * obj2 = 0 ;
8432 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
8433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8436 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8438 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8442 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8444 Py_INCREF(Py_None); resultobj = Py_None;
8451 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
8456 argc = PyObject_Length(args);
8457 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8458 argv[ii] = PyTuple_GetItem(args,ii);
8464 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8474 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8484 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8492 return _wrap_Rect_setRect__SWIG_1(self,args);
8501 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8510 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8514 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8518 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8522 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8525 return _wrap_Rect_setRect__SWIG_0(self,args);
8533 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
8538 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
8539 PyObject *resultobj;
8540 otk::Rect *arg1 = (otk::Rect *) 0 ;
8545 PyObject * obj0 = 0 ;
8547 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8549 (arg1)->setCoords(arg2,arg3,arg4,arg5);
8551 Py_INCREF(Py_None); resultobj = Py_None;
8558 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
8559 PyObject *resultobj;
8560 otk::Rect *arg1 = (otk::Rect *) 0 ;
8561 otk::Point *arg2 = 0 ;
8562 otk::Point *arg3 = 0 ;
8563 PyObject * obj0 = 0 ;
8564 PyObject * obj1 = 0 ;
8565 PyObject * obj2 = 0 ;
8567 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
8568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8571 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8573 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8575 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8577 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8579 Py_INCREF(Py_None); resultobj = Py_None;
8586 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
8591 argc = PyObject_Length(args);
8592 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8593 argv[ii] = PyTuple_GetItem(args,ii);
8599 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8609 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8619 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8627 return _wrap_Rect_setCoords__SWIG_1(self,args);
8636 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8645 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8649 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8653 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8657 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8660 return _wrap_Rect_setCoords__SWIG_0(self,args);
8668 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
8673 static PyObject *_wrap_Rect_equals(PyObject *self, PyObject *args) {
8674 PyObject *resultobj;
8675 otk::Rect *arg1 = (otk::Rect *) 0 ;
8676 otk::Rect *arg2 = 0 ;
8678 PyObject * obj0 = 0 ;
8679 PyObject * obj1 = 0 ;
8681 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_equals",&obj0,&obj1)) goto fail;
8682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8685 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8687 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
8689 resultobj = PyInt_FromLong((long)result);
8696 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
8697 PyObject *resultobj;
8698 otk::Rect *arg1 = (otk::Rect *) 0 ;
8700 PyObject * obj0 = 0 ;
8702 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
8703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8704 result = (bool)((otk::Rect const *)arg1)->valid();
8706 resultobj = PyInt_FromLong((long)result);
8713 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
8714 PyObject *resultobj;
8715 otk::Rect *arg1 = (otk::Rect *) 0 ;
8716 otk::Rect *arg2 = 0 ;
8718 PyObject * obj0 = 0 ;
8719 PyObject * obj1 = 0 ;
8721 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
8722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8727 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
8729 resultobj = PyInt_FromLong((long)result);
8736 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
8737 PyObject *resultobj;
8738 otk::Rect *arg1 = (otk::Rect *) 0 ;
8742 PyObject * obj0 = 0 ;
8744 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
8745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8746 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
8748 resultobj = PyInt_FromLong((long)result);
8755 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
8756 PyObject *resultobj;
8757 otk::Rect *arg1 = (otk::Rect *) 0 ;
8758 otk::Point *arg2 = 0 ;
8760 PyObject * obj0 = 0 ;
8761 PyObject * obj1 = 0 ;
8763 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8765 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8767 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8769 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
8771 resultobj = PyInt_FromLong((long)result);
8778 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
8779 PyObject *resultobj;
8780 otk::Rect *arg1 = (otk::Rect *) 0 ;
8781 otk::Rect *arg2 = 0 ;
8783 PyObject * obj0 = 0 ;
8784 PyObject * obj1 = 0 ;
8786 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8790 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8792 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
8794 resultobj = PyInt_FromLong((long)result);
8801 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
8806 argc = PyObject_Length(args);
8807 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8808 argv[ii] = PyTuple_GetItem(args,ii);
8814 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8824 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8832 return _wrap_Rect_contains__SWIG_1(self,args);
8840 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8850 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8858 return _wrap_Rect_contains__SWIG_2(self,args);
8866 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8875 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8879 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8882 return _wrap_Rect_contains__SWIG_0(self,args);
8888 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
8893 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
8895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8896 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
8898 return Py_BuildValue((char *)"");
8900 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
8901 PyObject *resultobj;
8903 otk::ScreenInfo *result;
8904 PyObject * obj0 = 0 ;
8906 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
8907 arg1 = (unsigned int) PyInt_AsLong(obj0);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
8911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
8918 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
8919 PyObject *resultobj;
8920 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8922 PyObject * obj0 = 0 ;
8924 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
8925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8926 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
8928 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
8935 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
8936 PyObject *resultobj;
8937 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8939 PyObject * obj0 = 0 ;
8941 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
8942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8943 result = (Window)((otk::ScreenInfo const *)arg1)->rootWindow();
8945 resultobj = PyInt_FromLong((long)result);
8952 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
8953 PyObject *resultobj;
8954 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8956 PyObject * obj0 = 0 ;
8958 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
8959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8960 result = (Colormap)((otk::ScreenInfo const *)arg1)->colormap();
8962 resultobj = PyInt_FromLong((long)result);
8969 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
8970 PyObject *resultobj;
8971 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8973 PyObject * obj0 = 0 ;
8975 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
8976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8977 result = (int)((otk::ScreenInfo const *)arg1)->depth();
8979 resultobj = PyInt_FromLong((long)result);
8986 static PyObject *_wrap_ScreenInfo_screen(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_screen",&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)->screen();
8996 resultobj = PyInt_FromLong((long)result);
9003 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
9004 PyObject *resultobj;
9005 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9007 PyObject * obj0 = 0 ;
9009 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
9010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9012 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
9013 result = (otk::Rect *) &_result_ref;
9016 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
9023 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
9024 PyObject *resultobj;
9025 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9026 unsigned int result;
9027 PyObject * obj0 = 0 ;
9029 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
9030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9031 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
9033 resultobj = PyInt_FromLong((long)result);
9040 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
9041 PyObject *resultobj;
9042 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9043 unsigned int result;
9044 PyObject * obj0 = 0 ;
9046 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
9047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9048 result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
9050 resultobj = PyInt_FromLong((long)result);
9057 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
9058 PyObject *resultobj;
9059 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9060 std::string *result;
9061 PyObject * obj0 = 0 ;
9063 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
9064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9066 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
9067 result = (std::string *) &_result_ref;
9071 resultobj = PyString_FromString(result->c_str());
9079 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
9081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9082 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
9084 return Py_BuildValue((char *)"");
9086 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
9087 PyObject *resultobj;
9088 otk::Strut *arg1 = (otk::Strut *) 0 ;
9090 PyObject * obj0 = 0 ;
9091 PyObject * obj1 = 0 ;
9093 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
9094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9095 arg2 = (unsigned int) PyInt_AsLong(obj1);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 if (arg1) (arg1)->top = arg2;
9099 Py_INCREF(Py_None); resultobj = Py_None;
9106 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
9107 PyObject *resultobj;
9108 otk::Strut *arg1 = (otk::Strut *) 0 ;
9109 unsigned int result;
9110 PyObject * obj0 = 0 ;
9112 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
9113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9114 result = (unsigned int) ((arg1)->top);
9116 resultobj = PyInt_FromLong((long)result);
9123 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
9124 PyObject *resultobj;
9125 otk::Strut *arg1 = (otk::Strut *) 0 ;
9127 PyObject * obj0 = 0 ;
9128 PyObject * obj1 = 0 ;
9130 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
9131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9132 arg2 = (unsigned int) PyInt_AsLong(obj1);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 if (arg1) (arg1)->bottom = arg2;
9136 Py_INCREF(Py_None); resultobj = Py_None;
9143 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
9144 PyObject *resultobj;
9145 otk::Strut *arg1 = (otk::Strut *) 0 ;
9146 unsigned int result;
9147 PyObject * obj0 = 0 ;
9149 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
9150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9151 result = (unsigned int) ((arg1)->bottom);
9153 resultobj = PyInt_FromLong((long)result);
9160 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
9161 PyObject *resultobj;
9162 otk::Strut *arg1 = (otk::Strut *) 0 ;
9164 PyObject * obj0 = 0 ;
9165 PyObject * obj1 = 0 ;
9167 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
9168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9169 arg2 = (unsigned int) PyInt_AsLong(obj1);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 if (arg1) (arg1)->left = arg2;
9173 Py_INCREF(Py_None); resultobj = Py_None;
9180 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
9181 PyObject *resultobj;
9182 otk::Strut *arg1 = (otk::Strut *) 0 ;
9183 unsigned int result;
9184 PyObject * obj0 = 0 ;
9186 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
9187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9188 result = (unsigned int) ((arg1)->left);
9190 resultobj = PyInt_FromLong((long)result);
9197 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
9198 PyObject *resultobj;
9199 otk::Strut *arg1 = (otk::Strut *) 0 ;
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9204 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
9205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9206 arg2 = (unsigned int) PyInt_AsLong(obj1);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 if (arg1) (arg1)->right = arg2;
9210 Py_INCREF(Py_None); resultobj = Py_None;
9217 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
9218 PyObject *resultobj;
9219 otk::Strut *arg1 = (otk::Strut *) 0 ;
9220 unsigned int result;
9221 PyObject * obj0 = 0 ;
9223 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
9224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9225 result = (unsigned int) ((arg1)->right);
9227 resultobj = PyInt_FromLong((long)result);
9234 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
9235 PyObject *resultobj;
9238 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
9239 result = (otk::Strut *)new otk::Strut();
9241 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9248 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
9249 PyObject *resultobj;
9256 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
9257 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
9259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9266 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
9271 argc = PyObject_Length(args);
9272 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
9273 argv[ii] = PyTuple_GetItem(args,ii);
9276 return _wrap_new_Strut__SWIG_0(self,args);
9281 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
9285 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
9289 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
9293 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
9296 return _wrap_new_Strut__SWIG_1(self,args);
9303 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
9308 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
9310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9311 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
9313 return Py_BuildValue((char *)"");
9315 static PyObject *_wrap_PixmapMask_mask_set(PyObject *self, PyObject *args) {
9316 PyObject *resultobj;
9317 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9319 PyObject * obj0 = 0 ;
9320 PyObject * obj1 = 0 ;
9322 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_mask_set",&obj0,&obj1)) goto fail;
9323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9324 arg2 = (Pixmap) PyInt_AsLong(obj1);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 if (arg1) (arg1)->mask = arg2;
9328 Py_INCREF(Py_None); resultobj = Py_None;
9335 static PyObject *_wrap_PixmapMask_mask_get(PyObject *self, PyObject *args) {
9336 PyObject *resultobj;
9337 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9339 PyObject * obj0 = 0 ;
9341 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_mask_get",&obj0)) goto fail;
9342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9343 result = (Pixmap) ((arg1)->mask);
9345 resultobj = PyInt_FromLong((long)result);
9352 static PyObject *_wrap_PixmapMask_w_set(PyObject *self, PyObject *args) {
9353 PyObject *resultobj;
9354 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9356 PyObject * obj0 = 0 ;
9357 PyObject * obj1 = 0 ;
9359 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_w_set",&obj0,&obj1)) goto fail;
9360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9361 arg2 = (unsigned int) PyInt_AsLong(obj1);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 if (arg1) (arg1)->w = arg2;
9365 Py_INCREF(Py_None); resultobj = Py_None;
9372 static PyObject *_wrap_PixmapMask_w_get(PyObject *self, PyObject *args) {
9373 PyObject *resultobj;
9374 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9375 unsigned int result;
9376 PyObject * obj0 = 0 ;
9378 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_w_get",&obj0)) goto fail;
9379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9380 result = (unsigned int) ((arg1)->w);
9382 resultobj = PyInt_FromLong((long)result);
9389 static PyObject *_wrap_PixmapMask_h_set(PyObject *self, PyObject *args) {
9390 PyObject *resultobj;
9391 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9393 PyObject * obj0 = 0 ;
9394 PyObject * obj1 = 0 ;
9396 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_h_set",&obj0,&obj1)) goto fail;
9397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9398 arg2 = (unsigned int) PyInt_AsLong(obj1);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 if (arg1) (arg1)->h = arg2;
9402 Py_INCREF(Py_None); resultobj = Py_None;
9409 static PyObject *_wrap_PixmapMask_h_get(PyObject *self, PyObject *args) {
9410 PyObject *resultobj;
9411 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9412 unsigned int result;
9413 PyObject * obj0 = 0 ;
9415 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_h_get",&obj0)) goto fail;
9416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9417 result = (unsigned int) ((arg1)->h);
9419 resultobj = PyInt_FromLong((long)result);
9426 static PyObject *_wrap_new_PixmapMask(PyObject *self, PyObject *args) {
9427 PyObject *resultobj;
9428 otk::PixmapMask *result;
9430 if(!PyArg_ParseTuple(args,(char *)":new_PixmapMask")) goto fail;
9431 result = (otk::PixmapMask *)new otk::PixmapMask();
9433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 1);
9440 static PyObject * PixmapMask_swigregister(PyObject *self, PyObject *args) {
9442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9443 SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask, obj);
9445 return Py_BuildValue((char *)"");
9447 static PyObject *_wrap_Style_image_control_set(PyObject *self, PyObject *args) {
9448 PyObject *resultobj;
9449 otk::Style *arg1 = (otk::Style *) 0 ;
9450 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
9451 PyObject * obj0 = 0 ;
9452 PyObject * obj1 = 0 ;
9454 if(!PyArg_ParseTuple(args,(char *)"OO:Style_image_control_set",&obj0,&obj1)) goto fail;
9455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9457 if (arg1) (arg1)->image_control = arg2;
9459 Py_INCREF(Py_None); resultobj = Py_None;
9466 static PyObject *_wrap_Style_image_control_get(PyObject *self, PyObject *args) {
9467 PyObject *resultobj;
9468 otk::Style *arg1 = (otk::Style *) 0 ;
9469 otk::BImageControl *result;
9470 PyObject * obj0 = 0 ;
9472 if(!PyArg_ParseTuple(args,(char *)"O:Style_image_control_get",&obj0)) goto fail;
9473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9474 result = (otk::BImageControl *) ((arg1)->image_control);
9476 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
9483 static PyObject *_wrap_Style_l_text_focus_set(PyObject *self, PyObject *args) {
9484 PyObject *resultobj;
9485 otk::Style *arg1 = (otk::Style *) 0 ;
9486 otk::BColor *arg2 = (otk::BColor *) 0 ;
9487 PyObject * obj0 = 0 ;
9488 PyObject * obj1 = 0 ;
9490 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_focus_set",&obj0,&obj1)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9493 if (arg1) (arg1)->l_text_focus = *arg2;
9495 Py_INCREF(Py_None); resultobj = Py_None;
9502 static PyObject *_wrap_Style_l_text_focus_get(PyObject *self, PyObject *args) {
9503 PyObject *resultobj;
9504 otk::Style *arg1 = (otk::Style *) 0 ;
9505 otk::BColor *result;
9506 PyObject * obj0 = 0 ;
9508 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_focus_get",&obj0)) goto fail;
9509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9510 result = (otk::BColor *)& ((arg1)->l_text_focus);
9512 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9519 static PyObject *_wrap_Style_l_text_unfocus_set(PyObject *self, PyObject *args) {
9520 PyObject *resultobj;
9521 otk::Style *arg1 = (otk::Style *) 0 ;
9522 otk::BColor *arg2 = (otk::BColor *) 0 ;
9523 PyObject * obj0 = 0 ;
9524 PyObject * obj1 = 0 ;
9526 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_unfocus_set",&obj0,&obj1)) goto fail;
9527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9529 if (arg1) (arg1)->l_text_unfocus = *arg2;
9531 Py_INCREF(Py_None); resultobj = Py_None;
9538 static PyObject *_wrap_Style_l_text_unfocus_get(PyObject *self, PyObject *args) {
9539 PyObject *resultobj;
9540 otk::Style *arg1 = (otk::Style *) 0 ;
9541 otk::BColor *result;
9542 PyObject * obj0 = 0 ;
9544 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_unfocus_get",&obj0)) goto fail;
9545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9546 result = (otk::BColor *)& ((arg1)->l_text_unfocus);
9548 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9555 static PyObject *_wrap_Style_b_pic_focus_set(PyObject *self, PyObject *args) {
9556 PyObject *resultobj;
9557 otk::Style *arg1 = (otk::Style *) 0 ;
9558 otk::BColor *arg2 = (otk::BColor *) 0 ;
9559 PyObject * obj0 = 0 ;
9560 PyObject * obj1 = 0 ;
9562 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_focus_set",&obj0,&obj1)) goto fail;
9563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9565 if (arg1) (arg1)->b_pic_focus = *arg2;
9567 Py_INCREF(Py_None); resultobj = Py_None;
9574 static PyObject *_wrap_Style_b_pic_focus_get(PyObject *self, PyObject *args) {
9575 PyObject *resultobj;
9576 otk::Style *arg1 = (otk::Style *) 0 ;
9577 otk::BColor *result;
9578 PyObject * obj0 = 0 ;
9580 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_focus_get",&obj0)) goto fail;
9581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9582 result = (otk::BColor *)& ((arg1)->b_pic_focus);
9584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9591 static PyObject *_wrap_Style_b_pic_unfocus_set(PyObject *self, PyObject *args) {
9592 PyObject *resultobj;
9593 otk::Style *arg1 = (otk::Style *) 0 ;
9594 otk::BColor *arg2 = (otk::BColor *) 0 ;
9595 PyObject * obj0 = 0 ;
9596 PyObject * obj1 = 0 ;
9598 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_unfocus_set",&obj0,&obj1)) goto fail;
9599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9601 if (arg1) (arg1)->b_pic_unfocus = *arg2;
9603 Py_INCREF(Py_None); resultobj = Py_None;
9610 static PyObject *_wrap_Style_b_pic_unfocus_get(PyObject *self, PyObject *args) {
9611 PyObject *resultobj;
9612 otk::Style *arg1 = (otk::Style *) 0 ;
9613 otk::BColor *result;
9614 PyObject * obj0 = 0 ;
9616 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_unfocus_get",&obj0)) goto fail;
9617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9618 result = (otk::BColor *)& ((arg1)->b_pic_unfocus);
9620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9627 static PyObject *_wrap_Style_border_color_set(PyObject *self, PyObject *args) {
9628 PyObject *resultobj;
9629 otk::Style *arg1 = (otk::Style *) 0 ;
9630 otk::BColor *arg2 = (otk::BColor *) 0 ;
9631 PyObject * obj0 = 0 ;
9632 PyObject * obj1 = 0 ;
9634 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_color_set",&obj0,&obj1)) goto fail;
9635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637 if (arg1) (arg1)->border_color = *arg2;
9639 Py_INCREF(Py_None); resultobj = Py_None;
9646 static PyObject *_wrap_Style_border_color_get(PyObject *self, PyObject *args) {
9647 PyObject *resultobj;
9648 otk::Style *arg1 = (otk::Style *) 0 ;
9649 otk::BColor *result;
9650 PyObject * obj0 = 0 ;
9652 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_color_get",&obj0)) goto fail;
9653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9654 result = (otk::BColor *)& ((arg1)->border_color);
9656 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9663 static PyObject *_wrap_Style_font_set(PyObject *self, PyObject *args) {
9664 PyObject *resultobj;
9665 otk::Style *arg1 = (otk::Style *) 0 ;
9666 otk::BFont *arg2 = (otk::BFont *) 0 ;
9667 PyObject * obj0 = 0 ;
9668 PyObject * obj1 = 0 ;
9670 if(!PyArg_ParseTuple(args,(char *)"OO:Style_font_set",&obj0,&obj1)) goto fail;
9671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9673 if (arg1) (arg1)->font = arg2;
9675 Py_INCREF(Py_None); resultobj = Py_None;
9682 static PyObject *_wrap_Style_font_get(PyObject *self, PyObject *args) {
9683 PyObject *resultobj;
9684 otk::Style *arg1 = (otk::Style *) 0 ;
9686 PyObject * obj0 = 0 ;
9688 if(!PyArg_ParseTuple(args,(char *)"O:Style_font_get",&obj0)) goto fail;
9689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9690 result = (otk::BFont *) ((arg1)->font);
9692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
9699 static PyObject *_wrap_Style_f_focus_set(PyObject *self, PyObject *args) {
9700 PyObject *resultobj;
9701 otk::Style *arg1 = (otk::Style *) 0 ;
9702 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9703 PyObject * obj0 = 0 ;
9704 PyObject * obj1 = 0 ;
9706 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_focus_set",&obj0,&obj1)) goto fail;
9707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9709 if (arg1) (arg1)->f_focus = *arg2;
9711 Py_INCREF(Py_None); resultobj = Py_None;
9718 static PyObject *_wrap_Style_f_focus_get(PyObject *self, PyObject *args) {
9719 PyObject *resultobj;
9720 otk::Style *arg1 = (otk::Style *) 0 ;
9721 otk::BTexture *result;
9722 PyObject * obj0 = 0 ;
9724 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_focus_get",&obj0)) goto fail;
9725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9726 result = (otk::BTexture *)& ((arg1)->f_focus);
9728 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9735 static PyObject *_wrap_Style_f_unfocus_set(PyObject *self, PyObject *args) {
9736 PyObject *resultobj;
9737 otk::Style *arg1 = (otk::Style *) 0 ;
9738 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9742 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_unfocus_set",&obj0,&obj1)) goto fail;
9743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9745 if (arg1) (arg1)->f_unfocus = *arg2;
9747 Py_INCREF(Py_None); resultobj = Py_None;
9754 static PyObject *_wrap_Style_f_unfocus_get(PyObject *self, PyObject *args) {
9755 PyObject *resultobj;
9756 otk::Style *arg1 = (otk::Style *) 0 ;
9757 otk::BTexture *result;
9758 PyObject * obj0 = 0 ;
9760 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_unfocus_get",&obj0)) goto fail;
9761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9762 result = (otk::BTexture *)& ((arg1)->f_unfocus);
9764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9771 static PyObject *_wrap_Style_t_focus_set(PyObject *self, PyObject *args) {
9772 PyObject *resultobj;
9773 otk::Style *arg1 = (otk::Style *) 0 ;
9774 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9775 PyObject * obj0 = 0 ;
9776 PyObject * obj1 = 0 ;
9778 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_focus_set",&obj0,&obj1)) goto fail;
9779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9780 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9781 if (arg1) (arg1)->t_focus = *arg2;
9783 Py_INCREF(Py_None); resultobj = Py_None;
9790 static PyObject *_wrap_Style_t_focus_get(PyObject *self, PyObject *args) {
9791 PyObject *resultobj;
9792 otk::Style *arg1 = (otk::Style *) 0 ;
9793 otk::BTexture *result;
9794 PyObject * obj0 = 0 ;
9796 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_focus_get",&obj0)) goto fail;
9797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9798 result = (otk::BTexture *)& ((arg1)->t_focus);
9800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9807 static PyObject *_wrap_Style_t_unfocus_set(PyObject *self, PyObject *args) {
9808 PyObject *resultobj;
9809 otk::Style *arg1 = (otk::Style *) 0 ;
9810 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9811 PyObject * obj0 = 0 ;
9812 PyObject * obj1 = 0 ;
9814 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_unfocus_set",&obj0,&obj1)) goto fail;
9815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9817 if (arg1) (arg1)->t_unfocus = *arg2;
9819 Py_INCREF(Py_None); resultobj = Py_None;
9826 static PyObject *_wrap_Style_t_unfocus_get(PyObject *self, PyObject *args) {
9827 PyObject *resultobj;
9828 otk::Style *arg1 = (otk::Style *) 0 ;
9829 otk::BTexture *result;
9830 PyObject * obj0 = 0 ;
9832 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_unfocus_get",&obj0)) goto fail;
9833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9834 result = (otk::BTexture *)& ((arg1)->t_unfocus);
9836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9843 static PyObject *_wrap_Style_l_focus_set(PyObject *self, PyObject *args) {
9844 PyObject *resultobj;
9845 otk::Style *arg1 = (otk::Style *) 0 ;
9846 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9847 PyObject * obj0 = 0 ;
9848 PyObject * obj1 = 0 ;
9850 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_focus_set",&obj0,&obj1)) goto fail;
9851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9852 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9853 if (arg1) (arg1)->l_focus = *arg2;
9855 Py_INCREF(Py_None); resultobj = Py_None;
9862 static PyObject *_wrap_Style_l_focus_get(PyObject *self, PyObject *args) {
9863 PyObject *resultobj;
9864 otk::Style *arg1 = (otk::Style *) 0 ;
9865 otk::BTexture *result;
9866 PyObject * obj0 = 0 ;
9868 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_focus_get",&obj0)) goto fail;
9869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9870 result = (otk::BTexture *)& ((arg1)->l_focus);
9872 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9879 static PyObject *_wrap_Style_l_unfocus_set(PyObject *self, PyObject *args) {
9880 PyObject *resultobj;
9881 otk::Style *arg1 = (otk::Style *) 0 ;
9882 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9883 PyObject * obj0 = 0 ;
9884 PyObject * obj1 = 0 ;
9886 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_unfocus_set",&obj0,&obj1)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9889 if (arg1) (arg1)->l_unfocus = *arg2;
9891 Py_INCREF(Py_None); resultobj = Py_None;
9898 static PyObject *_wrap_Style_l_unfocus_get(PyObject *self, PyObject *args) {
9899 PyObject *resultobj;
9900 otk::Style *arg1 = (otk::Style *) 0 ;
9901 otk::BTexture *result;
9902 PyObject * obj0 = 0 ;
9904 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_unfocus_get",&obj0)) goto fail;
9905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9906 result = (otk::BTexture *)& ((arg1)->l_unfocus);
9908 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9915 static PyObject *_wrap_Style_h_focus_set(PyObject *self, PyObject *args) {
9916 PyObject *resultobj;
9917 otk::Style *arg1 = (otk::Style *) 0 ;
9918 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9919 PyObject * obj0 = 0 ;
9920 PyObject * obj1 = 0 ;
9922 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_focus_set",&obj0,&obj1)) goto fail;
9923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9924 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9925 if (arg1) (arg1)->h_focus = *arg2;
9927 Py_INCREF(Py_None); resultobj = Py_None;
9934 static PyObject *_wrap_Style_h_focus_get(PyObject *self, PyObject *args) {
9935 PyObject *resultobj;
9936 otk::Style *arg1 = (otk::Style *) 0 ;
9937 otk::BTexture *result;
9938 PyObject * obj0 = 0 ;
9940 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_focus_get",&obj0)) goto fail;
9941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9942 result = (otk::BTexture *)& ((arg1)->h_focus);
9944 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9951 static PyObject *_wrap_Style_h_unfocus_set(PyObject *self, PyObject *args) {
9952 PyObject *resultobj;
9953 otk::Style *arg1 = (otk::Style *) 0 ;
9954 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9955 PyObject * obj0 = 0 ;
9956 PyObject * obj1 = 0 ;
9958 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_unfocus_set",&obj0,&obj1)) goto fail;
9959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9961 if (arg1) (arg1)->h_unfocus = *arg2;
9963 Py_INCREF(Py_None); resultobj = Py_None;
9970 static PyObject *_wrap_Style_h_unfocus_get(PyObject *self, PyObject *args) {
9971 PyObject *resultobj;
9972 otk::Style *arg1 = (otk::Style *) 0 ;
9973 otk::BTexture *result;
9974 PyObject * obj0 = 0 ;
9976 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_unfocus_get",&obj0)) goto fail;
9977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9978 result = (otk::BTexture *)& ((arg1)->h_unfocus);
9980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9987 static PyObject *_wrap_Style_b_focus_set(PyObject *self, PyObject *args) {
9988 PyObject *resultobj;
9989 otk::Style *arg1 = (otk::Style *) 0 ;
9990 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9991 PyObject * obj0 = 0 ;
9992 PyObject * obj1 = 0 ;
9994 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_focus_set",&obj0,&obj1)) goto fail;
9995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9997 if (arg1) (arg1)->b_focus = *arg2;
9999 Py_INCREF(Py_None); resultobj = Py_None;
10006 static PyObject *_wrap_Style_b_focus_get(PyObject *self, PyObject *args) {
10007 PyObject *resultobj;
10008 otk::Style *arg1 = (otk::Style *) 0 ;
10009 otk::BTexture *result;
10010 PyObject * obj0 = 0 ;
10012 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_focus_get",&obj0)) goto fail;
10013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10014 result = (otk::BTexture *)& ((arg1)->b_focus);
10016 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10023 static PyObject *_wrap_Style_b_unfocus_set(PyObject *self, PyObject *args) {
10024 PyObject *resultobj;
10025 otk::Style *arg1 = (otk::Style *) 0 ;
10026 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10027 PyObject * obj0 = 0 ;
10028 PyObject * obj1 = 0 ;
10030 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_unfocus_set",&obj0,&obj1)) goto fail;
10031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10033 if (arg1) (arg1)->b_unfocus = *arg2;
10035 Py_INCREF(Py_None); resultobj = Py_None;
10042 static PyObject *_wrap_Style_b_unfocus_get(PyObject *self, PyObject *args) {
10043 PyObject *resultobj;
10044 otk::Style *arg1 = (otk::Style *) 0 ;
10045 otk::BTexture *result;
10046 PyObject * obj0 = 0 ;
10048 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_unfocus_get",&obj0)) goto fail;
10049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10050 result = (otk::BTexture *)& ((arg1)->b_unfocus);
10052 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10059 static PyObject *_wrap_Style_b_pressed_focus_set(PyObject *self, PyObject *args) {
10060 PyObject *resultobj;
10061 otk::Style *arg1 = (otk::Style *) 0 ;
10062 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10063 PyObject * obj0 = 0 ;
10064 PyObject * obj1 = 0 ;
10066 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_focus_set",&obj0,&obj1)) goto fail;
10067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10069 if (arg1) (arg1)->b_pressed_focus = *arg2;
10071 Py_INCREF(Py_None); resultobj = Py_None;
10078 static PyObject *_wrap_Style_b_pressed_focus_get(PyObject *self, PyObject *args) {
10079 PyObject *resultobj;
10080 otk::Style *arg1 = (otk::Style *) 0 ;
10081 otk::BTexture *result;
10082 PyObject * obj0 = 0 ;
10084 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_focus_get",&obj0)) goto fail;
10085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10086 result = (otk::BTexture *)& ((arg1)->b_pressed_focus);
10088 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10095 static PyObject *_wrap_Style_b_pressed_unfocus_set(PyObject *self, PyObject *args) {
10096 PyObject *resultobj;
10097 otk::Style *arg1 = (otk::Style *) 0 ;
10098 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10099 PyObject * obj0 = 0 ;
10100 PyObject * obj1 = 0 ;
10102 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_unfocus_set",&obj0,&obj1)) goto fail;
10103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10105 if (arg1) (arg1)->b_pressed_unfocus = *arg2;
10107 Py_INCREF(Py_None); resultobj = Py_None;
10114 static PyObject *_wrap_Style_b_pressed_unfocus_get(PyObject *self, PyObject *args) {
10115 PyObject *resultobj;
10116 otk::Style *arg1 = (otk::Style *) 0 ;
10117 otk::BTexture *result;
10118 PyObject * obj0 = 0 ;
10120 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_unfocus_get",&obj0)) goto fail;
10121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10122 result = (otk::BTexture *)& ((arg1)->b_pressed_unfocus);
10124 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10131 static PyObject *_wrap_Style_g_focus_set(PyObject *self, PyObject *args) {
10132 PyObject *resultobj;
10133 otk::Style *arg1 = (otk::Style *) 0 ;
10134 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10135 PyObject * obj0 = 0 ;
10136 PyObject * obj1 = 0 ;
10138 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_focus_set",&obj0,&obj1)) goto fail;
10139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10141 if (arg1) (arg1)->g_focus = *arg2;
10143 Py_INCREF(Py_None); resultobj = Py_None;
10150 static PyObject *_wrap_Style_g_focus_get(PyObject *self, PyObject *args) {
10151 PyObject *resultobj;
10152 otk::Style *arg1 = (otk::Style *) 0 ;
10153 otk::BTexture *result;
10154 PyObject * obj0 = 0 ;
10156 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_focus_get",&obj0)) goto fail;
10157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10158 result = (otk::BTexture *)& ((arg1)->g_focus);
10160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10167 static PyObject *_wrap_Style_g_unfocus_set(PyObject *self, PyObject *args) {
10168 PyObject *resultobj;
10169 otk::Style *arg1 = (otk::Style *) 0 ;
10170 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10171 PyObject * obj0 = 0 ;
10172 PyObject * obj1 = 0 ;
10174 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_unfocus_set",&obj0,&obj1)) goto fail;
10175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10177 if (arg1) (arg1)->g_unfocus = *arg2;
10179 Py_INCREF(Py_None); resultobj = Py_None;
10186 static PyObject *_wrap_Style_g_unfocus_get(PyObject *self, PyObject *args) {
10187 PyObject *resultobj;
10188 otk::Style *arg1 = (otk::Style *) 0 ;
10189 otk::BTexture *result;
10190 PyObject * obj0 = 0 ;
10192 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_unfocus_get",&obj0)) goto fail;
10193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10194 result = (otk::BTexture *)& ((arg1)->g_unfocus);
10196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10203 static PyObject *_wrap_Style_close_button_set(PyObject *self, PyObject *args) {
10204 PyObject *resultobj;
10205 otk::Style *arg1 = (otk::Style *) 0 ;
10206 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10207 PyObject * obj0 = 0 ;
10208 PyObject * obj1 = 0 ;
10210 if(!PyArg_ParseTuple(args,(char *)"OO:Style_close_button_set",&obj0,&obj1)) goto fail;
10211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10212 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10213 if (arg1) (arg1)->close_button = *arg2;
10215 Py_INCREF(Py_None); resultobj = Py_None;
10222 static PyObject *_wrap_Style_close_button_get(PyObject *self, PyObject *args) {
10223 PyObject *resultobj;
10224 otk::Style *arg1 = (otk::Style *) 0 ;
10225 otk::PixmapMask *result;
10226 PyObject * obj0 = 0 ;
10228 if(!PyArg_ParseTuple(args,(char *)"O:Style_close_button_get",&obj0)) goto fail;
10229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10230 result = (otk::PixmapMask *)& ((arg1)->close_button);
10232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10239 static PyObject *_wrap_Style_max_button_set(PyObject *self, PyObject *args) {
10240 PyObject *resultobj;
10241 otk::Style *arg1 = (otk::Style *) 0 ;
10242 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10243 PyObject * obj0 = 0 ;
10244 PyObject * obj1 = 0 ;
10246 if(!PyArg_ParseTuple(args,(char *)"OO:Style_max_button_set",&obj0,&obj1)) goto fail;
10247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10249 if (arg1) (arg1)->max_button = *arg2;
10251 Py_INCREF(Py_None); resultobj = Py_None;
10258 static PyObject *_wrap_Style_max_button_get(PyObject *self, PyObject *args) {
10259 PyObject *resultobj;
10260 otk::Style *arg1 = (otk::Style *) 0 ;
10261 otk::PixmapMask *result;
10262 PyObject * obj0 = 0 ;
10264 if(!PyArg_ParseTuple(args,(char *)"O:Style_max_button_get",&obj0)) goto fail;
10265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10266 result = (otk::PixmapMask *)& ((arg1)->max_button);
10268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10275 static PyObject *_wrap_Style_icon_button_set(PyObject *self, PyObject *args) {
10276 PyObject *resultobj;
10277 otk::Style *arg1 = (otk::Style *) 0 ;
10278 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10279 PyObject * obj0 = 0 ;
10280 PyObject * obj1 = 0 ;
10282 if(!PyArg_ParseTuple(args,(char *)"OO:Style_icon_button_set",&obj0,&obj1)) goto fail;
10283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10285 if (arg1) (arg1)->icon_button = *arg2;
10287 Py_INCREF(Py_None); resultobj = Py_None;
10294 static PyObject *_wrap_Style_icon_button_get(PyObject *self, PyObject *args) {
10295 PyObject *resultobj;
10296 otk::Style *arg1 = (otk::Style *) 0 ;
10297 otk::PixmapMask *result;
10298 PyObject * obj0 = 0 ;
10300 if(!PyArg_ParseTuple(args,(char *)"O:Style_icon_button_get",&obj0)) goto fail;
10301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10302 result = (otk::PixmapMask *)& ((arg1)->icon_button);
10304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10311 static PyObject *_wrap_Style_stick_button_set(PyObject *self, PyObject *args) {
10312 PyObject *resultobj;
10313 otk::Style *arg1 = (otk::Style *) 0 ;
10314 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10315 PyObject * obj0 = 0 ;
10316 PyObject * obj1 = 0 ;
10318 if(!PyArg_ParseTuple(args,(char *)"OO:Style_stick_button_set",&obj0,&obj1)) goto fail;
10319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10321 if (arg1) (arg1)->stick_button = *arg2;
10323 Py_INCREF(Py_None); resultobj = Py_None;
10330 static PyObject *_wrap_Style_stick_button_get(PyObject *self, PyObject *args) {
10331 PyObject *resultobj;
10332 otk::Style *arg1 = (otk::Style *) 0 ;
10333 otk::PixmapMask *result;
10334 PyObject * obj0 = 0 ;
10336 if(!PyArg_ParseTuple(args,(char *)"O:Style_stick_button_get",&obj0)) goto fail;
10337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10338 result = (otk::PixmapMask *)& ((arg1)->stick_button);
10340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10347 static PyObject *_wrap_Style_justify_set(PyObject *self, PyObject *args) {
10348 PyObject *resultobj;
10349 otk::Style *arg1 = (otk::Style *) 0 ;
10351 PyObject * obj0 = 0 ;
10353 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_justify_set",&obj0,&arg2)) goto fail;
10354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10355 if (arg1) (arg1)->justify = (otk::Style::TextJustify )arg2;
10357 Py_INCREF(Py_None); resultobj = Py_None;
10364 static PyObject *_wrap_Style_justify_get(PyObject *self, PyObject *args) {
10365 PyObject *resultobj;
10366 otk::Style *arg1 = (otk::Style *) 0 ;
10368 PyObject * obj0 = 0 ;
10370 if(!PyArg_ParseTuple(args,(char *)"O:Style_justify_get",&obj0)) goto fail;
10371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10372 result = (int) ((arg1)->justify);
10374 resultobj = PyInt_FromLong((long)result);
10381 static PyObject *_wrap_Style_bullet_type_set(PyObject *self, PyObject *args) {
10382 PyObject *resultobj;
10383 otk::Style *arg1 = (otk::Style *) 0 ;
10385 PyObject * obj0 = 0 ;
10387 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_bullet_type_set",&obj0,&arg2)) goto fail;
10388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10389 if (arg1) (arg1)->bullet_type = (otk::Style::BulletType )arg2;
10391 Py_INCREF(Py_None); resultobj = Py_None;
10398 static PyObject *_wrap_Style_bullet_type_get(PyObject *self, PyObject *args) {
10399 PyObject *resultobj;
10400 otk::Style *arg1 = (otk::Style *) 0 ;
10402 PyObject * obj0 = 0 ;
10404 if(!PyArg_ParseTuple(args,(char *)"O:Style_bullet_type_get",&obj0)) goto fail;
10405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10406 result = (int) ((arg1)->bullet_type);
10408 resultobj = PyInt_FromLong((long)result);
10415 static PyObject *_wrap_Style_handle_width_set(PyObject *self, PyObject *args) {
10416 PyObject *resultobj;
10417 otk::Style *arg1 = (otk::Style *) 0 ;
10418 unsigned int arg2 ;
10419 PyObject * obj0 = 0 ;
10420 PyObject * obj1 = 0 ;
10422 if(!PyArg_ParseTuple(args,(char *)"OO:Style_handle_width_set",&obj0,&obj1)) goto fail;
10423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10424 arg2 = (unsigned int) PyInt_AsLong(obj1);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 if (arg1) (arg1)->handle_width = arg2;
10428 Py_INCREF(Py_None); resultobj = Py_None;
10435 static PyObject *_wrap_Style_handle_width_get(PyObject *self, PyObject *args) {
10436 PyObject *resultobj;
10437 otk::Style *arg1 = (otk::Style *) 0 ;
10438 unsigned int result;
10439 PyObject * obj0 = 0 ;
10441 if(!PyArg_ParseTuple(args,(char *)"O:Style_handle_width_get",&obj0)) goto fail;
10442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10443 result = (unsigned int) ((arg1)->handle_width);
10445 resultobj = PyInt_FromLong((long)result);
10452 static PyObject *_wrap_Style_bevel_width_set(PyObject *self, PyObject *args) {
10453 PyObject *resultobj;
10454 otk::Style *arg1 = (otk::Style *) 0 ;
10455 unsigned int arg2 ;
10456 PyObject * obj0 = 0 ;
10457 PyObject * obj1 = 0 ;
10459 if(!PyArg_ParseTuple(args,(char *)"OO:Style_bevel_width_set",&obj0,&obj1)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10461 arg2 = (unsigned int) PyInt_AsLong(obj1);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 if (arg1) (arg1)->bevel_width = arg2;
10465 Py_INCREF(Py_None); resultobj = Py_None;
10472 static PyObject *_wrap_Style_bevel_width_get(PyObject *self, PyObject *args) {
10473 PyObject *resultobj;
10474 otk::Style *arg1 = (otk::Style *) 0 ;
10475 unsigned int result;
10476 PyObject * obj0 = 0 ;
10478 if(!PyArg_ParseTuple(args,(char *)"O:Style_bevel_width_get",&obj0)) goto fail;
10479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10480 result = (unsigned int) ((arg1)->bevel_width);
10482 resultobj = PyInt_FromLong((long)result);
10489 static PyObject *_wrap_Style_frame_width_set(PyObject *self, PyObject *args) {
10490 PyObject *resultobj;
10491 otk::Style *arg1 = (otk::Style *) 0 ;
10492 unsigned int arg2 ;
10493 PyObject * obj0 = 0 ;
10494 PyObject * obj1 = 0 ;
10496 if(!PyArg_ParseTuple(args,(char *)"OO:Style_frame_width_set",&obj0,&obj1)) goto fail;
10497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10498 arg2 = (unsigned int) PyInt_AsLong(obj1);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 if (arg1) (arg1)->frame_width = arg2;
10502 Py_INCREF(Py_None); resultobj = Py_None;
10509 static PyObject *_wrap_Style_frame_width_get(PyObject *self, PyObject *args) {
10510 PyObject *resultobj;
10511 otk::Style *arg1 = (otk::Style *) 0 ;
10512 unsigned int result;
10513 PyObject * obj0 = 0 ;
10515 if(!PyArg_ParseTuple(args,(char *)"O:Style_frame_width_get",&obj0)) goto fail;
10516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10517 result = (unsigned int) ((arg1)->frame_width);
10519 resultobj = PyInt_FromLong((long)result);
10526 static PyObject *_wrap_Style_border_width_set(PyObject *self, PyObject *args) {
10527 PyObject *resultobj;
10528 otk::Style *arg1 = (otk::Style *) 0 ;
10529 unsigned int arg2 ;
10530 PyObject * obj0 = 0 ;
10531 PyObject * obj1 = 0 ;
10533 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_width_set",&obj0,&obj1)) goto fail;
10534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10535 arg2 = (unsigned int) PyInt_AsLong(obj1);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 if (arg1) (arg1)->border_width = arg2;
10539 Py_INCREF(Py_None); resultobj = Py_None;
10546 static PyObject *_wrap_Style_border_width_get(PyObject *self, PyObject *args) {
10547 PyObject *resultobj;
10548 otk::Style *arg1 = (otk::Style *) 0 ;
10549 unsigned int result;
10550 PyObject * obj0 = 0 ;
10552 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_width_get",&obj0)) goto fail;
10553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10554 result = (unsigned int) ((arg1)->border_width);
10556 resultobj = PyInt_FromLong((long)result);
10563 static PyObject *_wrap_Style_screen_number_set(PyObject *self, PyObject *args) {
10564 PyObject *resultobj;
10565 otk::Style *arg1 = (otk::Style *) 0 ;
10566 unsigned int arg2 ;
10567 PyObject * obj0 = 0 ;
10568 PyObject * obj1 = 0 ;
10570 if(!PyArg_ParseTuple(args,(char *)"OO:Style_screen_number_set",&obj0,&obj1)) goto fail;
10571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10572 arg2 = (unsigned int) PyInt_AsLong(obj1);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 if (arg1) (arg1)->screen_number = arg2;
10576 Py_INCREF(Py_None); resultobj = Py_None;
10583 static PyObject *_wrap_Style_screen_number_get(PyObject *self, PyObject *args) {
10584 PyObject *resultobj;
10585 otk::Style *arg1 = (otk::Style *) 0 ;
10586 unsigned int result;
10587 PyObject * obj0 = 0 ;
10589 if(!PyArg_ParseTuple(args,(char *)"O:Style_screen_number_get",&obj0)) goto fail;
10590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10591 result = (unsigned int) ((arg1)->screen_number);
10593 resultobj = PyInt_FromLong((long)result);
10600 static PyObject *_wrap_Style_shadow_fonts_set(PyObject *self, PyObject *args) {
10601 PyObject *resultobj;
10602 otk::Style *arg1 = (otk::Style *) 0 ;
10604 PyObject * obj0 = 0 ;
10605 PyObject * obj1 = 0 ;
10607 if(!PyArg_ParseTuple(args,(char *)"OO:Style_shadow_fonts_set",&obj0,&obj1)) goto fail;
10608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10609 arg2 = (bool) PyInt_AsLong(obj1);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 if (arg1) (arg1)->shadow_fonts = arg2;
10613 Py_INCREF(Py_None); resultobj = Py_None;
10620 static PyObject *_wrap_Style_shadow_fonts_get(PyObject *self, PyObject *args) {
10621 PyObject *resultobj;
10622 otk::Style *arg1 = (otk::Style *) 0 ;
10624 PyObject * obj0 = 0 ;
10626 if(!PyArg_ParseTuple(args,(char *)"O:Style_shadow_fonts_get",&obj0)) goto fail;
10627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10628 result = (bool) ((arg1)->shadow_fonts);
10630 resultobj = PyInt_FromLong((long)result);
10637 static PyObject *_wrap_Style_aa_fonts_set(PyObject *self, PyObject *args) {
10638 PyObject *resultobj;
10639 otk::Style *arg1 = (otk::Style *) 0 ;
10641 PyObject * obj0 = 0 ;
10642 PyObject * obj1 = 0 ;
10644 if(!PyArg_ParseTuple(args,(char *)"OO:Style_aa_fonts_set",&obj0,&obj1)) goto fail;
10645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10646 arg2 = (bool) PyInt_AsLong(obj1);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 if (arg1) (arg1)->aa_fonts = arg2;
10650 Py_INCREF(Py_None); resultobj = Py_None;
10657 static PyObject *_wrap_Style_aa_fonts_get(PyObject *self, PyObject *args) {
10658 PyObject *resultobj;
10659 otk::Style *arg1 = (otk::Style *) 0 ;
10661 PyObject * obj0 = 0 ;
10663 if(!PyArg_ParseTuple(args,(char *)"O:Style_aa_fonts_get",&obj0)) goto fail;
10664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10665 result = (bool) ((arg1)->aa_fonts);
10667 resultobj = PyInt_FromLong((long)result);
10674 static PyObject *_wrap_new_Style__SWIG_0(PyObject *self, PyObject *args) {
10675 PyObject *resultobj;
10676 otk::Style *result;
10678 if(!PyArg_ParseTuple(args,(char *)":new_Style")) goto fail;
10679 result = (otk::Style *)new otk::Style();
10681 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10688 static PyObject *_wrap_new_Style__SWIG_1(PyObject *self, PyObject *args) {
10689 PyObject *resultobj;
10690 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
10691 otk::Style *result;
10692 PyObject * obj0 = 0 ;
10694 if(!PyArg_ParseTuple(args,(char *)"O:new_Style",&obj0)) goto fail;
10695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10696 result = (otk::Style *)new otk::Style(arg1);
10698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10705 static PyObject *_wrap_new_Style(PyObject *self, PyObject *args) {
10710 argc = PyObject_Length(args);
10711 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
10712 argv[ii] = PyTuple_GetItem(args,ii);
10715 return _wrap_new_Style__SWIG_0(self,args);
10721 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
10729 return _wrap_new_Style__SWIG_1(self,args);
10733 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Style'");
10738 static PyObject *_wrap_delete_Style(PyObject *self, PyObject *args) {
10739 PyObject *resultobj;
10740 otk::Style *arg1 = (otk::Style *) 0 ;
10741 PyObject * obj0 = 0 ;
10743 if(!PyArg_ParseTuple(args,(char *)"O:delete_Style",&obj0)) goto fail;
10744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10747 Py_INCREF(Py_None); resultobj = Py_None;
10754 static PyObject *_wrap_Style_readDatabaseMask(PyObject *self, PyObject *args) {
10755 PyObject *resultobj;
10756 otk::Style *arg1 = (otk::Style *) 0 ;
10757 std::string *arg2 = 0 ;
10758 otk::PixmapMask *arg3 = 0 ;
10759 otk::Configuration *arg4 = 0 ;
10760 std::string temp2 ;
10761 PyObject * obj0 = 0 ;
10762 PyObject * obj1 = 0 ;
10763 PyObject * obj2 = 0 ;
10764 PyObject * obj3 = 0 ;
10766 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseMask",&obj0,&obj1,&obj2,&obj3)) goto fail;
10767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10769 if (PyString_Check(obj1)) {
10770 temp2 = std::string(PyString_AsString(obj1));
10773 SWIG_exception(SWIG_TypeError, "string expected");
10776 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10777 if (arg3 == NULL) {
10778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10780 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10781 if (arg4 == NULL) {
10782 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10784 (arg1)->readDatabaseMask((std::string const &)*arg2,*arg3,(otk::Configuration const &)*arg4);
10786 Py_INCREF(Py_None); resultobj = Py_None;
10793 static PyObject *_wrap_Style_readDatabaseTexture(PyObject *self, PyObject *args) {
10794 PyObject *resultobj;
10795 otk::Style *arg1 = (otk::Style *) 0 ;
10796 std::string *arg2 = 0 ;
10797 std::string *arg3 = 0 ;
10798 otk::Configuration *arg4 = 0 ;
10799 bool arg5 = (bool) false ;
10800 otk::BTexture result;
10801 std::string temp2 ;
10802 std::string temp3 ;
10803 PyObject * obj0 = 0 ;
10804 PyObject * obj1 = 0 ;
10805 PyObject * obj2 = 0 ;
10806 PyObject * obj3 = 0 ;
10807 PyObject * obj4 = 0 ;
10809 if(!PyArg_ParseTuple(args,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10812 if (PyString_Check(obj1)) {
10813 temp2 = std::string(PyString_AsString(obj1));
10816 SWIG_exception(SWIG_TypeError, "string expected");
10820 if (PyString_Check(obj2)) {
10821 temp3 = std::string(PyString_AsString(obj2));
10824 SWIG_exception(SWIG_TypeError, "string expected");
10827 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10828 if (arg4 == NULL) {
10829 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10832 arg5 = (bool) PyInt_AsLong(obj4);
10833 if (PyErr_Occurred()) SWIG_fail;
10835 result = (arg1)->readDatabaseTexture((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4,arg5);
10838 otk::BTexture * resultptr;
10839 resultptr = new otk::BTexture((otk::BTexture &) result);
10840 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BTexture, 1);
10848 static PyObject *_wrap_Style_readDatabaseColor(PyObject *self, PyObject *args) {
10849 PyObject *resultobj;
10850 otk::Style *arg1 = (otk::Style *) 0 ;
10851 std::string *arg2 = 0 ;
10852 std::string *arg3 = 0 ;
10853 otk::Configuration *arg4 = 0 ;
10854 otk::BColor result;
10855 std::string temp2 ;
10856 std::string temp3 ;
10857 PyObject * obj0 = 0 ;
10858 PyObject * obj1 = 0 ;
10859 PyObject * obj2 = 0 ;
10860 PyObject * obj3 = 0 ;
10862 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseColor",&obj0,&obj1,&obj2,&obj3)) goto fail;
10863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10865 if (PyString_Check(obj1)) {
10866 temp2 = std::string(PyString_AsString(obj1));
10869 SWIG_exception(SWIG_TypeError, "string expected");
10873 if (PyString_Check(obj2)) {
10874 temp3 = std::string(PyString_AsString(obj2));
10877 SWIG_exception(SWIG_TypeError, "string expected");
10880 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10881 if (arg4 == NULL) {
10882 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10884 result = (arg1)->readDatabaseColor((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4);
10887 otk::BColor * resultptr;
10888 resultptr = new otk::BColor((otk::BColor &) result);
10889 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BColor, 1);
10897 static PyObject *_wrap_Style_readDatabaseFont(PyObject *self, PyObject *args) {
10898 PyObject *resultobj;
10899 otk::Style *arg1 = (otk::Style *) 0 ;
10900 std::string *arg2 = 0 ;
10901 otk::Configuration *arg3 = 0 ;
10902 otk::BFont *result;
10903 std::string temp2 ;
10904 PyObject * obj0 = 0 ;
10905 PyObject * obj1 = 0 ;
10906 PyObject * obj2 = 0 ;
10908 if(!PyArg_ParseTuple(args,(char *)"OOO:Style_readDatabaseFont",&obj0,&obj1,&obj2)) goto fail;
10909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10911 if (PyString_Check(obj1)) {
10912 temp2 = std::string(PyString_AsString(obj1));
10915 SWIG_exception(SWIG_TypeError, "string expected");
10918 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10919 if (arg3 == NULL) {
10920 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10922 result = (otk::BFont *)(arg1)->readDatabaseFont((std::string const &)*arg2,(otk::Configuration const &)*arg3);
10924 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
10931 static PyObject *_wrap_Style_load(PyObject *self, PyObject *args) {
10932 PyObject *resultobj;
10933 otk::Style *arg1 = (otk::Style *) 0 ;
10934 otk::Configuration *arg2 = 0 ;
10935 PyObject * obj0 = 0 ;
10936 PyObject * obj1 = 0 ;
10938 if(!PyArg_ParseTuple(args,(char *)"OO:Style_load",&obj0,&obj1)) goto fail;
10939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10941 if (arg2 == NULL) {
10942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10944 (arg1)->load((otk::Configuration const &)*arg2);
10946 Py_INCREF(Py_None); resultobj = Py_None;
10953 static PyObject *_wrap_Style_getCloseButtonMask(PyObject *self, PyObject *args) {
10954 PyObject *resultobj;
10955 otk::Style *arg1 = (otk::Style *) 0 ;
10956 otk::PixmapMask *result;
10957 PyObject * obj0 = 0 ;
10959 if(!PyArg_ParseTuple(args,(char *)"O:Style_getCloseButtonMask",&obj0)) goto fail;
10960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10961 result = (otk::PixmapMask *)(arg1)->getCloseButtonMask();
10963 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10970 static PyObject *_wrap_Style_getMaximizeButtonMask(PyObject *self, PyObject *args) {
10971 PyObject *resultobj;
10972 otk::Style *arg1 = (otk::Style *) 0 ;
10973 otk::PixmapMask *result;
10974 PyObject * obj0 = 0 ;
10976 if(!PyArg_ParseTuple(args,(char *)"O:Style_getMaximizeButtonMask",&obj0)) goto fail;
10977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10978 result = (otk::PixmapMask *)(arg1)->getMaximizeButtonMask();
10980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10987 static PyObject *_wrap_Style_getIconifyButtonMask(PyObject *self, PyObject *args) {
10988 PyObject *resultobj;
10989 otk::Style *arg1 = (otk::Style *) 0 ;
10990 otk::PixmapMask *result;
10991 PyObject * obj0 = 0 ;
10993 if(!PyArg_ParseTuple(args,(char *)"O:Style_getIconifyButtonMask",&obj0)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10995 result = (otk::PixmapMask *)(arg1)->getIconifyButtonMask();
10997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11004 static PyObject *_wrap_Style_getStickyButtonMask(PyObject *self, PyObject *args) {
11005 PyObject *resultobj;
11006 otk::Style *arg1 = (otk::Style *) 0 ;
11007 otk::PixmapMask *result;
11008 PyObject * obj0 = 0 ;
11010 if(!PyArg_ParseTuple(args,(char *)"O:Style_getStickyButtonMask",&obj0)) goto fail;
11011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11012 result = (otk::PixmapMask *)(arg1)->getStickyButtonMask();
11014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11021 static PyObject *_wrap_Style_getTextFocus(PyObject *self, PyObject *args) {
11022 PyObject *resultobj;
11023 otk::Style *arg1 = (otk::Style *) 0 ;
11024 otk::BColor *result;
11025 PyObject * obj0 = 0 ;
11027 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextFocus",&obj0)) goto fail;
11028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11029 result = (otk::BColor *)(arg1)->getTextFocus();
11031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11038 static PyObject *_wrap_Style_getTextUnfocus(PyObject *self, PyObject *args) {
11039 PyObject *resultobj;
11040 otk::Style *arg1 = (otk::Style *) 0 ;
11041 otk::BColor *result;
11042 PyObject * obj0 = 0 ;
11044 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextUnfocus",&obj0)) goto fail;
11045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11046 result = (otk::BColor *)(arg1)->getTextUnfocus();
11048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11055 static PyObject *_wrap_Style_getButtonPicFocus(PyObject *self, PyObject *args) {
11056 PyObject *resultobj;
11057 otk::Style *arg1 = (otk::Style *) 0 ;
11058 otk::BColor *result;
11059 PyObject * obj0 = 0 ;
11061 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicFocus",&obj0)) goto fail;
11062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11063 result = (otk::BColor *)(arg1)->getButtonPicFocus();
11065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11072 static PyObject *_wrap_Style_getButtonPicUnfocus(PyObject *self, PyObject *args) {
11073 PyObject *resultobj;
11074 otk::Style *arg1 = (otk::Style *) 0 ;
11075 otk::BColor *result;
11076 PyObject * obj0 = 0 ;
11078 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicUnfocus",&obj0)) goto fail;
11079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11080 result = (otk::BColor *)(arg1)->getButtonPicUnfocus();
11082 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11089 static PyObject *_wrap_Style_getTitleFocus(PyObject *self, PyObject *args) {
11090 PyObject *resultobj;
11091 otk::Style *arg1 = (otk::Style *) 0 ;
11092 otk::BTexture *result;
11093 PyObject * obj0 = 0 ;
11095 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleFocus",&obj0)) goto fail;
11096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11097 result = (otk::BTexture *)(arg1)->getTitleFocus();
11099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11106 static PyObject *_wrap_Style_getTitleUnfocus(PyObject *self, PyObject *args) {
11107 PyObject *resultobj;
11108 otk::Style *arg1 = (otk::Style *) 0 ;
11109 otk::BTexture *result;
11110 PyObject * obj0 = 0 ;
11112 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleUnfocus",&obj0)) goto fail;
11113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11114 result = (otk::BTexture *)(arg1)->getTitleUnfocus();
11116 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11123 static PyObject *_wrap_Style_getLabelFocus(PyObject *self, PyObject *args) {
11124 PyObject *resultobj;
11125 otk::Style *arg1 = (otk::Style *) 0 ;
11126 otk::BTexture *result;
11127 PyObject * obj0 = 0 ;
11129 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelFocus",&obj0)) goto fail;
11130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11131 result = (otk::BTexture *)(arg1)->getLabelFocus();
11133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11140 static PyObject *_wrap_Style_getLabelUnfocus(PyObject *self, PyObject *args) {
11141 PyObject *resultobj;
11142 otk::Style *arg1 = (otk::Style *) 0 ;
11143 otk::BTexture *result;
11144 PyObject * obj0 = 0 ;
11146 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelUnfocus",&obj0)) goto fail;
11147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11148 result = (otk::BTexture *)(arg1)->getLabelUnfocus();
11150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11157 static PyObject *_wrap_Style_getHandleFocus(PyObject *self, PyObject *args) {
11158 PyObject *resultobj;
11159 otk::Style *arg1 = (otk::Style *) 0 ;
11160 otk::BTexture *result;
11161 PyObject * obj0 = 0 ;
11163 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleFocus",&obj0)) goto fail;
11164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11165 result = (otk::BTexture *)(arg1)->getHandleFocus();
11167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11174 static PyObject *_wrap_Style_getHandleUnfocus(PyObject *self, PyObject *args) {
11175 PyObject *resultobj;
11176 otk::Style *arg1 = (otk::Style *) 0 ;
11177 otk::BTexture *result;
11178 PyObject * obj0 = 0 ;
11180 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleUnfocus",&obj0)) goto fail;
11181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11182 result = (otk::BTexture *)(arg1)->getHandleUnfocus();
11184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11191 static PyObject *_wrap_Style_getButtonFocus(PyObject *self, PyObject *args) {
11192 PyObject *resultobj;
11193 otk::Style *arg1 = (otk::Style *) 0 ;
11194 otk::BTexture *result;
11195 PyObject * obj0 = 0 ;
11197 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonFocus",&obj0)) goto fail;
11198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11199 result = (otk::BTexture *)(arg1)->getButtonFocus();
11201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11208 static PyObject *_wrap_Style_getButtonUnfocus(PyObject *self, PyObject *args) {
11209 PyObject *resultobj;
11210 otk::Style *arg1 = (otk::Style *) 0 ;
11211 otk::BTexture *result;
11212 PyObject * obj0 = 0 ;
11214 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonUnfocus",&obj0)) goto fail;
11215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11216 result = (otk::BTexture *)(arg1)->getButtonUnfocus();
11218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11225 static PyObject *_wrap_Style_getButtonPressedFocus(PyObject *self, PyObject *args) {
11226 PyObject *resultobj;
11227 otk::Style *arg1 = (otk::Style *) 0 ;
11228 otk::BTexture *result;
11229 PyObject * obj0 = 0 ;
11231 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedFocus",&obj0)) goto fail;
11232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11233 result = (otk::BTexture *)(arg1)->getButtonPressedFocus();
11235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11242 static PyObject *_wrap_Style_getButtonPressedUnfocus(PyObject *self, PyObject *args) {
11243 PyObject *resultobj;
11244 otk::Style *arg1 = (otk::Style *) 0 ;
11245 otk::BTexture *result;
11246 PyObject * obj0 = 0 ;
11248 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedUnfocus",&obj0)) goto fail;
11249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11250 result = (otk::BTexture *)(arg1)->getButtonPressedUnfocus();
11252 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11259 static PyObject *_wrap_Style_getGripFocus(PyObject *self, PyObject *args) {
11260 PyObject *resultobj;
11261 otk::Style *arg1 = (otk::Style *) 0 ;
11262 otk::BTexture *result;
11263 PyObject * obj0 = 0 ;
11265 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripFocus",&obj0)) goto fail;
11266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11267 result = (otk::BTexture *)(arg1)->getGripFocus();
11269 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11276 static PyObject *_wrap_Style_getGripUnfocus(PyObject *self, PyObject *args) {
11277 PyObject *resultobj;
11278 otk::Style *arg1 = (otk::Style *) 0 ;
11279 otk::BTexture *result;
11280 PyObject * obj0 = 0 ;
11282 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripUnfocus",&obj0)) goto fail;
11283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11284 result = (otk::BTexture *)(arg1)->getGripUnfocus();
11286 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11293 static PyObject *_wrap_Style_getHandleWidth(PyObject *self, PyObject *args) {
11294 PyObject *resultobj;
11295 otk::Style *arg1 = (otk::Style *) 0 ;
11296 unsigned int result;
11297 PyObject * obj0 = 0 ;
11299 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleWidth",&obj0)) goto fail;
11300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11301 result = (unsigned int)((otk::Style const *)arg1)->getHandleWidth();
11303 resultobj = PyInt_FromLong((long)result);
11310 static PyObject *_wrap_Style_getBevelWidth(PyObject *self, PyObject *args) {
11311 PyObject *resultobj;
11312 otk::Style *arg1 = (otk::Style *) 0 ;
11313 unsigned int result;
11314 PyObject * obj0 = 0 ;
11316 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBevelWidth",&obj0)) goto fail;
11317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11318 result = (unsigned int)((otk::Style const *)arg1)->getBevelWidth();
11320 resultobj = PyInt_FromLong((long)result);
11327 static PyObject *_wrap_Style_getFrameWidth(PyObject *self, PyObject *args) {
11328 PyObject *resultobj;
11329 otk::Style *arg1 = (otk::Style *) 0 ;
11330 unsigned int result;
11331 PyObject * obj0 = 0 ;
11333 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameWidth",&obj0)) goto fail;
11334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11335 result = (unsigned int)((otk::Style const *)arg1)->getFrameWidth();
11337 resultobj = PyInt_FromLong((long)result);
11344 static PyObject *_wrap_Style_getBorderWidth(PyObject *self, PyObject *args) {
11345 PyObject *resultobj;
11346 otk::Style *arg1 = (otk::Style *) 0 ;
11347 unsigned int result;
11348 PyObject * obj0 = 0 ;
11350 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderWidth",&obj0)) goto fail;
11351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11352 result = (unsigned int)((otk::Style const *)arg1)->getBorderWidth();
11354 resultobj = PyInt_FromLong((long)result);
11361 static PyObject *_wrap_Style_getFont(PyObject *self, PyObject *args) {
11362 PyObject *resultobj;
11363 otk::Style *arg1 = (otk::Style *) 0 ;
11364 otk::BFont *result;
11365 PyObject * obj0 = 0 ;
11367 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFont",&obj0)) goto fail;
11368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11369 result = (otk::BFont *)((otk::Style const *)arg1)->getFont();
11371 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
11378 static PyObject *_wrap_Style_setShadowFonts(PyObject *self, PyObject *args) {
11379 PyObject *resultobj;
11380 otk::Style *arg1 = (otk::Style *) 0 ;
11382 PyObject * obj0 = 0 ;
11383 PyObject * obj1 = 0 ;
11385 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setShadowFonts",&obj0,&obj1)) goto fail;
11386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11387 arg2 = (bool) PyInt_AsLong(obj1);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 (arg1)->setShadowFonts(arg2);
11391 Py_INCREF(Py_None); resultobj = Py_None;
11398 static PyObject *_wrap_Style_hasShadowFonts(PyObject *self, PyObject *args) {
11399 PyObject *resultobj;
11400 otk::Style *arg1 = (otk::Style *) 0 ;
11402 PyObject * obj0 = 0 ;
11404 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasShadowFonts",&obj0)) goto fail;
11405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11406 result = (bool)((otk::Style const *)arg1)->hasShadowFonts();
11408 resultobj = PyInt_FromLong((long)result);
11415 static PyObject *_wrap_Style_setAAFonts(PyObject *self, PyObject *args) {
11416 PyObject *resultobj;
11417 otk::Style *arg1 = (otk::Style *) 0 ;
11419 PyObject * obj0 = 0 ;
11420 PyObject * obj1 = 0 ;
11422 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setAAFonts",&obj0,&obj1)) goto fail;
11423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11424 arg2 = (bool) PyInt_AsLong(obj1);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 (arg1)->setAAFonts(arg2);
11428 Py_INCREF(Py_None); resultobj = Py_None;
11435 static PyObject *_wrap_Style_hasAAFonts(PyObject *self, PyObject *args) {
11436 PyObject *resultobj;
11437 otk::Style *arg1 = (otk::Style *) 0 ;
11439 PyObject * obj0 = 0 ;
11441 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasAAFonts",&obj0)) goto fail;
11442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11443 result = (bool)((otk::Style const *)arg1)->hasAAFonts();
11445 resultobj = PyInt_FromLong((long)result);
11452 static PyObject *_wrap_Style_textJustify(PyObject *self, PyObject *args) {
11453 PyObject *resultobj;
11454 otk::Style *arg1 = (otk::Style *) 0 ;
11456 PyObject * obj0 = 0 ;
11458 if(!PyArg_ParseTuple(args,(char *)"O:Style_textJustify",&obj0)) goto fail;
11459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11460 result = (int)(arg1)->textJustify();
11462 resultobj = PyInt_FromLong((long)result);
11469 static PyObject *_wrap_Style_bulletType(PyObject *self, PyObject *args) {
11470 PyObject *resultobj;
11471 otk::Style *arg1 = (otk::Style *) 0 ;
11473 PyObject * obj0 = 0 ;
11475 if(!PyArg_ParseTuple(args,(char *)"O:Style_bulletType",&obj0)) goto fail;
11476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11477 result = (int)(arg1)->bulletType();
11479 resultobj = PyInt_FromLong((long)result);
11486 static PyObject *_wrap_Style_getBorderColor(PyObject *self, PyObject *args) {
11487 PyObject *resultobj;
11488 otk::Style *arg1 = (otk::Style *) 0 ;
11489 otk::BColor *result;
11490 PyObject * obj0 = 0 ;
11492 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderColor",&obj0)) goto fail;
11493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11494 result = (otk::BColor *)((otk::Style const *)arg1)->getBorderColor();
11496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11503 static PyObject *_wrap_Style_getFrameFocus(PyObject *self, PyObject *args) {
11504 PyObject *resultobj;
11505 otk::Style *arg1 = (otk::Style *) 0 ;
11506 otk::BTexture *result;
11507 PyObject * obj0 = 0 ;
11509 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameFocus",&obj0)) goto fail;
11510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11511 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameFocus();
11513 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11520 static PyObject *_wrap_Style_getFrameUnfocus(PyObject *self, PyObject *args) {
11521 PyObject *resultobj;
11522 otk::Style *arg1 = (otk::Style *) 0 ;
11523 otk::BTexture *result;
11524 PyObject * obj0 = 0 ;
11526 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameUnfocus",&obj0)) goto fail;
11527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11528 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameUnfocus();
11530 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11537 static PyObject *_wrap_Style_setImageControl(PyObject *self, PyObject *args) {
11538 PyObject *resultobj;
11539 otk::Style *arg1 = (otk::Style *) 0 ;
11540 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11541 PyObject * obj0 = 0 ;
11542 PyObject * obj1 = 0 ;
11544 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setImageControl",&obj0,&obj1)) goto fail;
11545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11547 (arg1)->setImageControl(arg2);
11549 Py_INCREF(Py_None); resultobj = Py_None;
11556 static PyObject *_wrap_Style_getScreen(PyObject *self, PyObject *args) {
11557 PyObject *resultobj;
11558 otk::Style *arg1 = (otk::Style *) 0 ;
11559 unsigned int result;
11560 PyObject * obj0 = 0 ;
11562 if(!PyArg_ParseTuple(args,(char *)"O:Style_getScreen",&obj0)) goto fail;
11563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11564 result = (unsigned int)(arg1)->getScreen();
11566 resultobj = PyInt_FromLong((long)result);
11573 static PyObject * Style_swigregister(PyObject *self, PyObject *args) {
11575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11576 SWIG_TypeClientData(SWIGTYPE_p_otk__Style, obj);
11578 return Py_BuildValue((char *)"");
11580 static PyObject *_wrap_new_BTexture__SWIG_0(PyObject *self, PyObject *args) {
11581 PyObject *resultobj;
11582 unsigned int arg1 = (unsigned int) ~(0u) ;
11583 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11584 otk::BTexture *result;
11585 PyObject * obj0 = 0 ;
11586 PyObject * obj1 = 0 ;
11588 if(!PyArg_ParseTuple(args,(char *)"|OO:new_BTexture",&obj0,&obj1)) goto fail;
11590 arg1 = (unsigned int) PyInt_AsLong(obj0);
11591 if (PyErr_Occurred()) SWIG_fail;
11594 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11596 result = (otk::BTexture *)new otk::BTexture(arg1,arg2);
11598 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11605 static PyObject *_wrap_new_BTexture__SWIG_1(PyObject *self, PyObject *args) {
11606 PyObject *resultobj;
11607 std::string *arg1 = 0 ;
11608 unsigned int arg2 = (unsigned int) ~(0u) ;
11609 otk::BImageControl *arg3 = (otk::BImageControl *) 0 ;
11610 otk::BTexture *result;
11611 std::string temp1 ;
11612 PyObject * obj0 = 0 ;
11613 PyObject * obj1 = 0 ;
11614 PyObject * obj2 = 0 ;
11616 if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BTexture",&obj0,&obj1,&obj2)) goto fail;
11618 if (PyString_Check(obj0)) {
11619 temp1 = std::string(PyString_AsString(obj0));
11622 SWIG_exception(SWIG_TypeError, "string expected");
11626 arg2 = (unsigned int) PyInt_AsLong(obj1);
11627 if (PyErr_Occurred()) SWIG_fail;
11630 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11632 result = (otk::BTexture *)new otk::BTexture((std::string const &)*arg1,arg2,arg3);
11634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11641 static PyObject *_wrap_new_BTexture(PyObject *self, PyObject *args) {
11646 argc = PyObject_Length(args);
11647 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11648 argv[ii] = PyTuple_GetItem(args,ii);
11650 if ((argc >= 0) && (argc <= 2)) {
11653 return _wrap_new_BTexture__SWIG_0(self,args);
11656 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
11660 return _wrap_new_BTexture__SWIG_0(self,args);
11664 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11672 return _wrap_new_BTexture__SWIG_0(self,args);
11676 if ((argc >= 1) && (argc <= 3)) {
11679 _v = PyString_Check(argv[0]) ? 1 : 0;
11683 return _wrap_new_BTexture__SWIG_1(self,args);
11686 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
11690 return _wrap_new_BTexture__SWIG_1(self,args);
11694 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11702 return _wrap_new_BTexture__SWIG_1(self,args);
11708 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BTexture'");
11713 static PyObject *_wrap_BTexture_setColor(PyObject *self, PyObject *args) {
11714 PyObject *resultobj;
11715 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11716 otk::BColor *arg2 = 0 ;
11717 PyObject * obj0 = 0 ;
11718 PyObject * obj1 = 0 ;
11720 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColor",&obj0,&obj1)) goto fail;
11721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11723 if (arg2 == NULL) {
11724 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11726 (arg1)->setColor((otk::BColor const &)*arg2);
11728 Py_INCREF(Py_None); resultobj = Py_None;
11735 static PyObject *_wrap_BTexture_setColorTo(PyObject *self, PyObject *args) {
11736 PyObject *resultobj;
11737 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11738 otk::BColor *arg2 = 0 ;
11739 PyObject * obj0 = 0 ;
11740 PyObject * obj1 = 0 ;
11742 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColorTo",&obj0,&obj1)) goto fail;
11743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11745 if (arg2 == NULL) {
11746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11748 (arg1)->setColorTo((otk::BColor const &)*arg2);
11750 Py_INCREF(Py_None); resultobj = Py_None;
11757 static PyObject *_wrap_BTexture_setBorderColor(PyObject *self, PyObject *args) {
11758 PyObject *resultobj;
11759 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11760 otk::BColor *arg2 = 0 ;
11761 PyObject * obj0 = 0 ;
11762 PyObject * obj1 = 0 ;
11764 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setBorderColor",&obj0,&obj1)) goto fail;
11765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11767 if (arg2 == NULL) {
11768 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11770 (arg1)->setBorderColor((otk::BColor const &)*arg2);
11772 Py_INCREF(Py_None); resultobj = Py_None;
11779 static PyObject *_wrap_BTexture_color(PyObject *self, PyObject *args) {
11780 PyObject *resultobj;
11781 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11782 otk::BColor *result;
11783 PyObject * obj0 = 0 ;
11785 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_color",&obj0)) goto fail;
11786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11788 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->color();
11789 result = (otk::BColor *) &_result_ref;
11792 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11799 static PyObject *_wrap_BTexture_colorTo(PyObject *self, PyObject *args) {
11800 PyObject *resultobj;
11801 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11802 otk::BColor *result;
11803 PyObject * obj0 = 0 ;
11805 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_colorTo",&obj0)) goto fail;
11806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11808 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->colorTo();
11809 result = (otk::BColor *) &_result_ref;
11812 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11819 static PyObject *_wrap_BTexture_lightColor(PyObject *self, PyObject *args) {
11820 PyObject *resultobj;
11821 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11822 otk::BColor *result;
11823 PyObject * obj0 = 0 ;
11825 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_lightColor",&obj0)) goto fail;
11826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11828 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->lightColor();
11829 result = (otk::BColor *) &_result_ref;
11832 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11839 static PyObject *_wrap_BTexture_shadowColor(PyObject *self, PyObject *args) {
11840 PyObject *resultobj;
11841 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11842 otk::BColor *result;
11843 PyObject * obj0 = 0 ;
11845 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_shadowColor",&obj0)) goto fail;
11846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11848 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->shadowColor();
11849 result = (otk::BColor *) &_result_ref;
11852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11859 static PyObject *_wrap_BTexture_borderColor(PyObject *self, PyObject *args) {
11860 PyObject *resultobj;
11861 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11862 otk::BColor *result;
11863 PyObject * obj0 = 0 ;
11865 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_borderColor",&obj0)) goto fail;
11866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11868 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->borderColor();
11869 result = (otk::BColor *) &_result_ref;
11872 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11879 static PyObject *_wrap_BTexture_texture(PyObject *self, PyObject *args) {
11880 PyObject *resultobj;
11881 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11882 unsigned long result;
11883 PyObject * obj0 = 0 ;
11885 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_texture",&obj0)) goto fail;
11886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11887 result = (unsigned long)((otk::BTexture const *)arg1)->texture();
11889 resultobj = PyInt_FromLong((long)result);
11896 static PyObject *_wrap_BTexture_setTexture(PyObject *self, PyObject *args) {
11897 PyObject *resultobj;
11898 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11899 unsigned long arg2 ;
11900 PyObject * obj0 = 0 ;
11901 PyObject * obj1 = 0 ;
11903 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setTexture",&obj0,&obj1)) goto fail;
11904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11905 arg2 = (unsigned long) PyInt_AsLong(obj1);
11906 if (PyErr_Occurred()) SWIG_fail;
11907 (arg1)->setTexture(arg2);
11909 Py_INCREF(Py_None); resultobj = Py_None;
11916 static PyObject *_wrap_BTexture_addTexture(PyObject *self, PyObject *args) {
11917 PyObject *resultobj;
11918 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11919 unsigned long arg2 ;
11920 PyObject * obj0 = 0 ;
11921 PyObject * obj1 = 0 ;
11923 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_addTexture",&obj0,&obj1)) goto fail;
11924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11925 arg2 = (unsigned long) PyInt_AsLong(obj1);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 (arg1)->addTexture(arg2);
11929 Py_INCREF(Py_None); resultobj = Py_None;
11936 static PyObject *_wrap_BTexture_equals(PyObject *self, PyObject *args) {
11937 PyObject *resultobj;
11938 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11939 otk::BTexture *arg2 = 0 ;
11941 PyObject * obj0 = 0 ;
11942 PyObject * obj1 = 0 ;
11944 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_equals",&obj0,&obj1)) goto fail;
11945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11947 if (arg2 == NULL) {
11948 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11950 result = (bool)(arg1)->operator ==((otk::BTexture const &)*arg2);
11952 resultobj = PyInt_FromLong((long)result);
11959 static PyObject *_wrap_BTexture_screen(PyObject *self, PyObject *args) {
11960 PyObject *resultobj;
11961 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11962 unsigned int result;
11963 PyObject * obj0 = 0 ;
11965 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_screen",&obj0)) goto fail;
11966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11967 result = (unsigned int)((otk::BTexture const *)arg1)->screen();
11969 resultobj = PyInt_FromLong((long)result);
11976 static PyObject *_wrap_BTexture_setScreen(PyObject *self, PyObject *args) {
11977 PyObject *resultobj;
11978 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11979 unsigned int arg2 ;
11980 PyObject * obj0 = 0 ;
11981 PyObject * obj1 = 0 ;
11983 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setScreen",&obj0,&obj1)) goto fail;
11984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11985 arg2 = (unsigned int) PyInt_AsLong(obj1);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 (arg1)->setScreen(arg2);
11989 Py_INCREF(Py_None); resultobj = Py_None;
11996 static PyObject *_wrap_BTexture_setImageControl(PyObject *self, PyObject *args) {
11997 PyObject *resultobj;
11998 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11999 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
12000 PyObject * obj0 = 0 ;
12001 PyObject * obj1 = 0 ;
12003 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setImageControl",&obj0,&obj1)) goto fail;
12004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12006 (arg1)->setImageControl(arg2);
12008 Py_INCREF(Py_None); resultobj = Py_None;
12015 static PyObject *_wrap_BTexture_description(PyObject *self, PyObject *args) {
12016 PyObject *resultobj;
12017 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12018 std::string *result;
12019 PyObject * obj0 = 0 ;
12021 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_description",&obj0)) goto fail;
12022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12024 std::string const &_result_ref = ((otk::BTexture const *)arg1)->description();
12025 result = (std::string *) &_result_ref;
12029 resultobj = PyString_FromString(result->c_str());
12037 static PyObject *_wrap_BTexture_setDescription(PyObject *self, PyObject *args) {
12038 PyObject *resultobj;
12039 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12040 std::string *arg2 = 0 ;
12041 std::string temp2 ;
12042 PyObject * obj0 = 0 ;
12043 PyObject * obj1 = 0 ;
12045 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setDescription",&obj0,&obj1)) goto fail;
12046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12048 if (PyString_Check(obj1)) {
12049 temp2 = std::string(PyString_AsString(obj1));
12052 SWIG_exception(SWIG_TypeError, "string expected");
12055 (arg1)->setDescription((std::string const &)*arg2);
12057 Py_INCREF(Py_None); resultobj = Py_None;
12064 static PyObject *_wrap_BTexture_render(PyObject *self, PyObject *args) {
12065 PyObject *resultobj;
12066 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12067 unsigned int arg2 ;
12068 unsigned int arg3 ;
12069 Pixmap arg4 = (Pixmap) (Pixmap)0 ;
12071 PyObject * obj0 = 0 ;
12072 PyObject * obj1 = 0 ;
12073 PyObject * obj2 = 0 ;
12074 PyObject * obj3 = 0 ;
12076 if(!PyArg_ParseTuple(args,(char *)"OOO|O:BTexture_render",&obj0,&obj1,&obj2,&obj3)) goto fail;
12077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12078 arg2 = (unsigned int) PyInt_AsLong(obj1);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 arg3 = (unsigned int) PyInt_AsLong(obj2);
12081 if (PyErr_Occurred()) SWIG_fail;
12083 arg4 = (Pixmap) PyInt_AsLong(obj3);
12084 if (PyErr_Occurred()) SWIG_fail;
12086 result = (Pixmap)(arg1)->render(arg2,arg3,arg4);
12088 resultobj = PyInt_FromLong((long)result);
12095 static PyObject * BTexture_swigregister(PyObject *self, PyObject *args) {
12097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12098 SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture, obj);
12100 return Py_BuildValue((char *)"");
12102 static PyObject *_wrap_new_OBTimer(PyObject *self, PyObject *args) {
12103 PyObject *resultobj;
12104 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12105 otk::OBTimeoutHandler arg2 = (otk::OBTimeoutHandler) 0 ;
12106 otk::OBTimeoutData arg3 = (otk::OBTimeoutData) 0 ;
12107 otk::OBTimer *result;
12108 PyObject * obj0 = 0 ;
12109 PyObject * obj1 = 0 ;
12110 PyObject * obj2 = 0 ;
12112 if(!PyArg_ParseTuple(args,(char *)"OOO:new_OBTimer",&obj0,&obj1,&obj2)) goto fail;
12113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_otk__OBTimeoutHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12115 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12116 result = (otk::OBTimer *)new otk::OBTimer(arg1,arg2,arg3);
12118 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimer, 1);
12125 static PyObject *_wrap_delete_OBTimer(PyObject *self, PyObject *args) {
12126 PyObject *resultobj;
12127 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12128 PyObject * obj0 = 0 ;
12130 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimer",&obj0)) goto fail;
12131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12134 Py_INCREF(Py_None); resultobj = Py_None;
12141 static PyObject *_wrap_OBTimer_fire(PyObject *self, PyObject *args) {
12142 PyObject *resultobj;
12143 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12144 PyObject * obj0 = 0 ;
12146 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_fire",&obj0)) goto fail;
12147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12150 Py_INCREF(Py_None); resultobj = Py_None;
12157 static PyObject *_wrap_OBTimer_timing(PyObject *self, PyObject *args) {
12158 PyObject *resultobj;
12159 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12161 PyObject * obj0 = 0 ;
12163 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timing",&obj0)) goto fail;
12164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12165 result = (bool)((otk::OBTimer const *)arg1)->timing();
12167 resultobj = PyInt_FromLong((long)result);
12174 static PyObject *_wrap_OBTimer_recurring(PyObject *self, PyObject *args) {
12175 PyObject *resultobj;
12176 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12178 PyObject * obj0 = 0 ;
12180 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_recurring",&obj0)) goto fail;
12181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12182 result = (bool)((otk::OBTimer const *)arg1)->recurring();
12184 resultobj = PyInt_FromLong((long)result);
12191 static PyObject *_wrap_OBTimer_timeout(PyObject *self, PyObject *args) {
12192 PyObject *resultobj;
12193 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12195 PyObject * obj0 = 0 ;
12197 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timeout",&obj0)) goto fail;
12198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12200 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->timeout();
12201 result = (timeval *) &_result_ref;
12204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12211 static PyObject *_wrap_OBTimer_startTime(PyObject *self, PyObject *args) {
12212 PyObject *resultobj;
12213 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12215 PyObject * obj0 = 0 ;
12217 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_startTime",&obj0)) goto fail;
12218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12220 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->startTime();
12221 result = (timeval *) &_result_ref;
12224 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12231 static PyObject *_wrap_OBTimer_remainingTime(PyObject *self, PyObject *args) {
12232 PyObject *resultobj;
12233 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12234 timeval *arg2 = 0 ;
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12239 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_remainingTime",&obj0,&obj1)) goto fail;
12240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12242 if (arg2 == NULL) {
12243 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12245 result = ((otk::OBTimer const *)arg1)->remainingTime((timeval const &)*arg2);
12248 timeval * resultptr;
12249 resultptr = new timeval((timeval &) result);
12250 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12258 static PyObject *_wrap_OBTimer_shouldFire(PyObject *self, PyObject *args) {
12259 PyObject *resultobj;
12260 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12261 timeval *arg2 = 0 ;
12263 PyObject * obj0 = 0 ;
12264 PyObject * obj1 = 0 ;
12266 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_shouldFire",&obj0,&obj1)) goto fail;
12267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12269 if (arg2 == NULL) {
12270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12272 result = (bool)((otk::OBTimer const *)arg1)->shouldFire((timeval const &)*arg2);
12274 resultobj = PyInt_FromLong((long)result);
12281 static PyObject *_wrap_OBTimer_endTime(PyObject *self, PyObject *args) {
12282 PyObject *resultobj;
12283 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12285 PyObject * obj0 = 0 ;
12287 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_endTime",&obj0)) goto fail;
12288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12289 result = ((otk::OBTimer const *)arg1)->endTime();
12292 timeval * resultptr;
12293 resultptr = new timeval((timeval &) result);
12294 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12302 static PyObject *_wrap_OBTimer_setRecurring(PyObject *self, PyObject *args) {
12303 PyObject *resultobj;
12304 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12306 PyObject * obj0 = 0 ;
12307 PyObject * obj1 = 0 ;
12309 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setRecurring",&obj0,&obj1)) goto fail;
12310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12311 arg2 = (bool) PyInt_AsLong(obj1);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 (arg1)->setRecurring(arg2);
12315 Py_INCREF(Py_None); resultobj = Py_None;
12322 static PyObject *_wrap_OBTimer_setTimeout__SWIG_0(PyObject *self, PyObject *args) {
12323 PyObject *resultobj;
12324 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12326 PyObject * obj0 = 0 ;
12328 if(!PyArg_ParseTuple(args,(char *)"Ol:OBTimer_setTimeout",&obj0,&arg2)) goto fail;
12329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12330 (arg1)->setTimeout(arg2);
12332 Py_INCREF(Py_None); resultobj = Py_None;
12339 static PyObject *_wrap_OBTimer_setTimeout__SWIG_1(PyObject *self, PyObject *args) {
12340 PyObject *resultobj;
12341 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12342 timeval *arg2 = 0 ;
12343 PyObject * obj0 = 0 ;
12344 PyObject * obj1 = 0 ;
12346 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setTimeout",&obj0,&obj1)) goto fail;
12347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12349 if (arg2 == NULL) {
12350 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12352 (arg1)->setTimeout((timeval const &)*arg2);
12354 Py_INCREF(Py_None); resultobj = Py_None;
12361 static PyObject *_wrap_OBTimer_setTimeout(PyObject *self, PyObject *args) {
12366 argc = PyObject_Length(args);
12367 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
12368 argv[ii] = PyTuple_GetItem(args,ii);
12374 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12384 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_timeval, 0) == -1) {
12392 return _wrap_OBTimer_setTimeout__SWIG_1(self,args);
12400 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12409 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
12412 return _wrap_OBTimer_setTimeout__SWIG_0(self,args);
12417 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBTimer_setTimeout'");
12422 static PyObject *_wrap_OBTimer_start(PyObject *self, PyObject *args) {
12423 PyObject *resultobj;
12424 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12425 PyObject * obj0 = 0 ;
12427 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_start",&obj0)) goto fail;
12428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12431 Py_INCREF(Py_None); resultobj = Py_None;
12438 static PyObject *_wrap_OBTimer_stop(PyObject *self, PyObject *args) {
12439 PyObject *resultobj;
12440 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12441 PyObject * obj0 = 0 ;
12443 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_stop",&obj0)) goto fail;
12444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12447 Py_INCREF(Py_None); resultobj = Py_None;
12454 static PyObject * OBTimer_swigregister(PyObject *self, PyObject *args) {
12456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12457 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer, obj);
12459 return Py_BuildValue((char *)"");
12461 static PyObject *_wrap_new_OBTimerQueueManager(PyObject *self, PyObject *args) {
12462 PyObject *resultobj;
12463 otk::OBTimerQueueManager *result;
12465 if(!PyArg_ParseTuple(args,(char *)":new_OBTimerQueueManager")) goto fail;
12466 result = (otk::OBTimerQueueManager *)new otk::OBTimerQueueManager();
12468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 1);
12475 static PyObject *_wrap_delete_OBTimerQueueManager(PyObject *self, PyObject *args) {
12476 PyObject *resultobj;
12477 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12478 PyObject * obj0 = 0 ;
12480 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimerQueueManager",&obj0)) goto fail;
12481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12484 Py_INCREF(Py_None); resultobj = Py_None;
12491 static PyObject *_wrap_OBTimerQueueManager_fire(PyObject *self, PyObject *args) {
12492 PyObject *resultobj;
12493 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12494 bool arg2 = (bool) true ;
12495 PyObject * obj0 = 0 ;
12496 PyObject * obj1 = 0 ;
12498 if(!PyArg_ParseTuple(args,(char *)"O|O:OBTimerQueueManager_fire",&obj0,&obj1)) goto fail;
12499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12501 arg2 = (bool) PyInt_AsLong(obj1);
12502 if (PyErr_Occurred()) SWIG_fail;
12504 (arg1)->fire(arg2);
12506 Py_INCREF(Py_None); resultobj = Py_None;
12513 static PyObject *_wrap_OBTimerQueueManager_addTimer(PyObject *self, PyObject *args) {
12514 PyObject *resultobj;
12515 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12516 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12517 PyObject * obj0 = 0 ;
12518 PyObject * obj1 = 0 ;
12520 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_addTimer",&obj0,&obj1)) goto fail;
12521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12523 (arg1)->addTimer(arg2);
12525 Py_INCREF(Py_None); resultobj = Py_None;
12532 static PyObject *_wrap_OBTimerQueueManager_removeTimer(PyObject *self, PyObject *args) {
12533 PyObject *resultobj;
12534 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12535 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12536 PyObject * obj0 = 0 ;
12537 PyObject * obj1 = 0 ;
12539 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0,&obj1)) goto fail;
12540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12542 (arg1)->removeTimer(arg2);
12544 Py_INCREF(Py_None); resultobj = Py_None;
12551 static PyObject * OBTimerQueueManager_swigregister(PyObject *self, PyObject *args) {
12553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12554 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager, obj);
12556 return Py_BuildValue((char *)"");
12558 static int _wrap_BSENTINEL_set(PyObject *_val) {
12559 PyErr_SetString(PyExc_TypeError,"Variable BSENTINEL is read-only.");
12564 static PyObject *_wrap_BSENTINEL_get() {
12567 pyobj = PyInt_FromLong((long)otk::BSENTINEL);
12572 static PyObject *_wrap_expandTilde(PyObject *self, PyObject *args) {
12573 PyObject *resultobj;
12574 std::string *arg1 = 0 ;
12575 std::string result;
12576 std::string temp1 ;
12577 PyObject * obj0 = 0 ;
12579 if(!PyArg_ParseTuple(args,(char *)"O:expandTilde",&obj0)) goto fail;
12581 if (PyString_Check(obj0)) {
12582 temp1 = std::string(PyString_AsString(obj0));
12585 SWIG_exception(SWIG_TypeError, "string expected");
12588 result = otk::expandTilde((std::string const &)*arg1);
12591 resultobj = PyString_FromString((&result)->c_str());
12599 static PyObject *_wrap_bexec(PyObject *self, PyObject *args) {
12600 PyObject *resultobj;
12601 std::string *arg1 = 0 ;
12602 std::string *arg2 = 0 ;
12603 std::string temp1 ;
12604 std::string temp2 ;
12605 PyObject * obj0 = 0 ;
12606 PyObject * obj1 = 0 ;
12608 if(!PyArg_ParseTuple(args,(char *)"OO:bexec",&obj0,&obj1)) goto fail;
12610 if (PyString_Check(obj0)) {
12611 temp1 = std::string(PyString_AsString(obj0));
12614 SWIG_exception(SWIG_TypeError, "string expected");
12618 if (PyString_Check(obj1)) {
12619 temp2 = std::string(PyString_AsString(obj1));
12622 SWIG_exception(SWIG_TypeError, "string expected");
12625 otk::bexec((std::string const &)*arg1,(std::string const &)*arg2);
12627 Py_INCREF(Py_None); resultobj = Py_None;
12634 static PyObject *_wrap_textPropertyToString(PyObject *self, PyObject *args) {
12635 PyObject *resultobj;
12636 Display *arg1 = (Display *) 0 ;
12637 XTextProperty *arg2 = 0 ;
12638 std::string result;
12639 PyObject * obj0 = 0 ;
12640 PyObject * obj1 = 0 ;
12642 if(!PyArg_ParseTuple(args,(char *)"OO:textPropertyToString",&obj0,&obj1)) goto fail;
12643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XTextProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12645 if (arg2 == NULL) {
12646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12648 result = otk::textPropertyToString(arg1,*arg2);
12651 resultobj = PyString_FromString((&result)->c_str());
12659 static PyObject *_wrap_itostring_unsigned_long(PyObject *self, PyObject *args) {
12660 PyObject *resultobj;
12661 unsigned long arg1 ;
12662 std::string result;
12663 PyObject * obj0 = 0 ;
12665 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned_long",&obj0)) goto fail;
12666 arg1 = (unsigned long) PyInt_AsLong(obj0);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 result = otk::itostring(arg1);
12671 resultobj = PyString_FromString((&result)->c_str());
12679 static PyObject *_wrap_itostring_long(PyObject *self, PyObject *args) {
12680 PyObject *resultobj;
12682 std::string result;
12684 if(!PyArg_ParseTuple(args,(char *)"l:itostring_long",&arg1)) goto fail;
12685 result = otk::itostring(arg1);
12688 resultobj = PyString_FromString((&result)->c_str());
12696 static PyObject *_wrap_itostring_unsigned(PyObject *self, PyObject *args) {
12697 PyObject *resultobj;
12698 unsigned int arg1 ;
12699 std::string result;
12700 PyObject * obj0 = 0 ;
12702 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned",&obj0)) goto fail;
12703 arg1 = (unsigned int) PyInt_AsLong(obj0);
12704 if (PyErr_Occurred()) SWIG_fail;
12705 result = otk::itostring(arg1);
12708 resultobj = PyString_FromString((&result)->c_str());
12716 static PyObject *_wrap_itostring(PyObject *self, PyObject *args) {
12717 PyObject *resultobj;
12719 std::string result;
12721 if(!PyArg_ParseTuple(args,(char *)"i:itostring",&arg1)) goto fail;
12722 result = otk::itostring(arg1);
12725 resultobj = PyString_FromString((&result)->c_str());
12733 static PyObject *_wrap_basename(PyObject *self, PyObject *args) {
12734 PyObject *resultobj;
12735 std::string *arg1 = 0 ;
12736 std::string result;
12737 std::string temp1 ;
12738 PyObject * obj0 = 0 ;
12740 if(!PyArg_ParseTuple(args,(char *)"O:basename",&obj0)) goto fail;
12742 if (PyString_Check(obj0)) {
12743 temp1 = std::string(PyString_AsString(obj0));
12746 SWIG_exception(SWIG_TypeError, "string expected");
12749 result = otk::basename((std::string const &)*arg1);
12752 resultobj = PyString_FromString((&result)->c_str());
12760 static PyObject *_wrap_Cursors_session_set(PyObject *self, PyObject *args) {
12761 PyObject *resultobj;
12762 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12764 PyObject * obj0 = 0 ;
12765 PyObject * obj1 = 0 ;
12767 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_session_set",&obj0,&obj1)) goto fail;
12768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12769 arg2 = (Cursor) PyInt_AsLong(obj1);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 if (arg1) (arg1)->session = arg2;
12773 Py_INCREF(Py_None); resultobj = Py_None;
12780 static PyObject *_wrap_Cursors_session_get(PyObject *self, PyObject *args) {
12781 PyObject *resultobj;
12782 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12784 PyObject * obj0 = 0 ;
12786 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_session_get",&obj0)) goto fail;
12787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12788 result = (Cursor) ((arg1)->session);
12790 resultobj = PyInt_FromLong((long)result);
12797 static PyObject *_wrap_Cursors_move_set(PyObject *self, PyObject *args) {
12798 PyObject *resultobj;
12799 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12801 PyObject * obj0 = 0 ;
12802 PyObject * obj1 = 0 ;
12804 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_move_set",&obj0,&obj1)) goto fail;
12805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12806 arg2 = (Cursor) PyInt_AsLong(obj1);
12807 if (PyErr_Occurred()) SWIG_fail;
12808 if (arg1) (arg1)->move = arg2;
12810 Py_INCREF(Py_None); resultobj = Py_None;
12817 static PyObject *_wrap_Cursors_move_get(PyObject *self, PyObject *args) {
12818 PyObject *resultobj;
12819 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12821 PyObject * obj0 = 0 ;
12823 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_move_get",&obj0)) goto fail;
12824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12825 result = (Cursor) ((arg1)->move);
12827 resultobj = PyInt_FromLong((long)result);
12834 static PyObject *_wrap_Cursors_ll_angle_set(PyObject *self, PyObject *args) {
12835 PyObject *resultobj;
12836 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12841 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ll_angle_set",&obj0,&obj1)) goto fail;
12842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12843 arg2 = (Cursor) PyInt_AsLong(obj1);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 if (arg1) (arg1)->ll_angle = arg2;
12847 Py_INCREF(Py_None); resultobj = Py_None;
12854 static PyObject *_wrap_Cursors_ll_angle_get(PyObject *self, PyObject *args) {
12855 PyObject *resultobj;
12856 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12858 PyObject * obj0 = 0 ;
12860 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ll_angle_get",&obj0)) goto fail;
12861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12862 result = (Cursor) ((arg1)->ll_angle);
12864 resultobj = PyInt_FromLong((long)result);
12871 static PyObject *_wrap_Cursors_lr_angle_set(PyObject *self, PyObject *args) {
12872 PyObject *resultobj;
12873 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12875 PyObject * obj0 = 0 ;
12876 PyObject * obj1 = 0 ;
12878 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_lr_angle_set",&obj0,&obj1)) goto fail;
12879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12880 arg2 = (Cursor) PyInt_AsLong(obj1);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 if (arg1) (arg1)->lr_angle = arg2;
12884 Py_INCREF(Py_None); resultobj = Py_None;
12891 static PyObject *_wrap_Cursors_lr_angle_get(PyObject *self, PyObject *args) {
12892 PyObject *resultobj;
12893 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12895 PyObject * obj0 = 0 ;
12897 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_lr_angle_get",&obj0)) goto fail;
12898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12899 result = (Cursor) ((arg1)->lr_angle);
12901 resultobj = PyInt_FromLong((long)result);
12908 static PyObject *_wrap_Cursors_ul_angle_set(PyObject *self, PyObject *args) {
12909 PyObject *resultobj;
12910 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12912 PyObject * obj0 = 0 ;
12913 PyObject * obj1 = 0 ;
12915 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ul_angle_set",&obj0,&obj1)) goto fail;
12916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12917 arg2 = (Cursor) PyInt_AsLong(obj1);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 if (arg1) (arg1)->ul_angle = arg2;
12921 Py_INCREF(Py_None); resultobj = Py_None;
12928 static PyObject *_wrap_Cursors_ul_angle_get(PyObject *self, PyObject *args) {
12929 PyObject *resultobj;
12930 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12932 PyObject * obj0 = 0 ;
12934 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ul_angle_get",&obj0)) goto fail;
12935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12936 result = (Cursor) ((arg1)->ul_angle);
12938 resultobj = PyInt_FromLong((long)result);
12945 static PyObject *_wrap_Cursors_ur_angle_set(PyObject *self, PyObject *args) {
12946 PyObject *resultobj;
12947 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12949 PyObject * obj0 = 0 ;
12950 PyObject * obj1 = 0 ;
12952 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ur_angle_set",&obj0,&obj1)) goto fail;
12953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12954 arg2 = (Cursor) PyInt_AsLong(obj1);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 if (arg1) (arg1)->ur_angle = arg2;
12958 Py_INCREF(Py_None); resultobj = Py_None;
12965 static PyObject *_wrap_Cursors_ur_angle_get(PyObject *self, PyObject *args) {
12966 PyObject *resultobj;
12967 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12969 PyObject * obj0 = 0 ;
12971 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ur_angle_get",&obj0)) goto fail;
12972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12973 result = (Cursor) ((arg1)->ur_angle);
12975 resultobj = PyInt_FromLong((long)result);
12982 static PyObject * Cursors_swigregister(PyObject *self, PyObject *args) {
12984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12985 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors, obj);
12987 return Py_BuildValue((char *)"");
12989 static PyObject *_wrap_Openbox_state(PyObject *self, PyObject *args) {
12990 PyObject *resultobj;
12991 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
12993 PyObject * obj0 = 0 ;
12995 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_state",&obj0)) goto fail;
12996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12997 result = (int)((ob::Openbox const *)arg1)->state();
12999 resultobj = PyInt_FromLong((long)result);
13006 static PyObject *_wrap_Openbox_timerManager(PyObject *self, PyObject *args) {
13007 PyObject *resultobj;
13008 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13009 otk::OBTimerQueueManager *result;
13010 PyObject * obj0 = 0 ;
13012 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_timerManager",&obj0)) goto fail;
13013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13014 result = (otk::OBTimerQueueManager *)(arg1)->timerManager();
13016 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 0);
13023 static PyObject *_wrap_Openbox_property(PyObject *self, PyObject *args) {
13024 PyObject *resultobj;
13025 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13026 otk::OBProperty *result;
13027 PyObject * obj0 = 0 ;
13029 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_property",&obj0)) goto fail;
13030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13031 result = (otk::OBProperty *)((ob::Openbox const *)arg1)->property();
13033 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 0);
13040 static PyObject *_wrap_Openbox_actions(PyObject *self, PyObject *args) {
13041 PyObject *resultobj;
13042 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13043 ob::OBActions *result;
13044 PyObject * obj0 = 0 ;
13046 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_actions",&obj0)) goto fail;
13047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13048 result = (ob::OBActions *)((ob::Openbox const *)arg1)->actions();
13050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBActions, 0);
13057 static PyObject *_wrap_Openbox_bindings(PyObject *self, PyObject *args) {
13058 PyObject *resultobj;
13059 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13060 ob::OBBindings *result;
13061 PyObject * obj0 = 0 ;
13063 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_bindings",&obj0)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13065 result = (ob::OBBindings *)((ob::Openbox const *)arg1)->bindings();
13067 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBBindings, 0);
13074 static PyObject *_wrap_Openbox_screen(PyObject *self, PyObject *args) {
13075 PyObject *resultobj;
13076 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13078 ob::OBScreen *result;
13079 PyObject * obj0 = 0 ;
13081 if(!PyArg_ParseTuple(args,(char *)"Oi:Openbox_screen",&obj0,&arg2)) goto fail;
13082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13083 result = (ob::OBScreen *)(arg1)->screen(arg2);
13085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBScreen, 0);
13092 static PyObject *_wrap_Openbox_screenCount(PyObject *self, PyObject *args) {
13093 PyObject *resultobj;
13094 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13096 PyObject * obj0 = 0 ;
13098 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_screenCount",&obj0)) goto fail;
13099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13100 result = (int)((ob::Openbox const *)arg1)->screenCount();
13102 resultobj = PyInt_FromLong((long)result);
13109 static PyObject *_wrap_Openbox_cursors(PyObject *self, PyObject *args) {
13110 PyObject *resultobj;
13111 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13112 ob::Cursors *result;
13113 PyObject * obj0 = 0 ;
13115 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_cursors",&obj0)) goto fail;
13116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13118 ob::Cursors const &_result_ref = ((ob::Openbox const *)arg1)->cursors();
13119 result = (ob::Cursors *) &_result_ref;
13122 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Cursors, 0);
13129 static PyObject *_wrap_Openbox_addClient(PyObject *self, PyObject *args) {
13130 PyObject *resultobj;
13131 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13133 ob::OBClient *arg3 = (ob::OBClient *) 0 ;
13134 PyObject * obj0 = 0 ;
13135 PyObject * obj1 = 0 ;
13136 PyObject * obj2 = 0 ;
13138 if(!PyArg_ParseTuple(args,(char *)"OOO:Openbox_addClient",&obj0,&obj1,&obj2)) goto fail;
13139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13140 arg2 = (Window) PyInt_AsLong(obj1);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13143 (arg1)->addClient(arg2,arg3);
13145 Py_INCREF(Py_None); resultobj = Py_None;
13152 static PyObject *_wrap_Openbox_removeClient(PyObject *self, PyObject *args) {
13153 PyObject *resultobj;
13154 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13156 PyObject * obj0 = 0 ;
13157 PyObject * obj1 = 0 ;
13159 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_removeClient",&obj0,&obj1)) goto fail;
13160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13161 arg2 = (Window) PyInt_AsLong(obj1);
13162 if (PyErr_Occurred()) SWIG_fail;
13163 (arg1)->removeClient(arg2);
13165 Py_INCREF(Py_None); resultobj = Py_None;
13172 static PyObject *_wrap_Openbox_findClient(PyObject *self, PyObject *args) {
13173 PyObject *resultobj;
13174 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13176 ob::OBClient *result;
13177 PyObject * obj0 = 0 ;
13178 PyObject * obj1 = 0 ;
13180 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_findClient",&obj0,&obj1)) goto fail;
13181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13182 arg2 = (Window) PyInt_AsLong(obj1);
13183 if (PyErr_Occurred()) SWIG_fail;
13184 result = (ob::OBClient *)(arg1)->findClient(arg2);
13186 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
13193 static PyObject *_wrap_Openbox_focusedClient(PyObject *self, PyObject *args) {
13194 PyObject *resultobj;
13195 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13196 ob::OBClient *result;
13197 PyObject * obj0 = 0 ;
13199 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedClient",&obj0)) goto fail;
13200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13201 result = (ob::OBClient *)(arg1)->focusedClient();
13203 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
13210 static PyObject *_wrap_Openbox_setFocusedClient(PyObject *self, PyObject *args) {
13211 PyObject *resultobj;
13212 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13213 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
13214 PyObject * obj0 = 0 ;
13215 PyObject * obj1 = 0 ;
13217 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_setFocusedClient",&obj0,&obj1)) goto fail;
13218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13220 (arg1)->setFocusedClient(arg2);
13222 Py_INCREF(Py_None); resultobj = Py_None;
13229 static PyObject *_wrap_Openbox_focusedScreen(PyObject *self, PyObject *args) {
13230 PyObject *resultobj;
13231 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13232 ob::OBScreen *result;
13233 PyObject * obj0 = 0 ;
13235 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedScreen",&obj0)) goto fail;
13236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13237 result = (ob::OBScreen *)(arg1)->focusedScreen();
13239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBScreen, 0);
13246 static PyObject *_wrap_Openbox_shutdown(PyObject *self, PyObject *args) {
13247 PyObject *resultobj;
13248 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13249 PyObject * obj0 = 0 ;
13251 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_shutdown",&obj0)) goto fail;
13252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13253 (arg1)->shutdown();
13255 Py_INCREF(Py_None); resultobj = Py_None;
13262 static PyObject *_wrap_Openbox_restart(PyObject *self, PyObject *args) {
13263 PyObject *resultobj;
13264 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13265 std::string const &arg2_defvalue = "" ;
13266 std::string *arg2 = (std::string *) &arg2_defvalue ;
13267 std::string temp2 ;
13268 PyObject * obj0 = 0 ;
13269 PyObject * obj1 = 0 ;
13271 if(!PyArg_ParseTuple(args,(char *)"O|O:Openbox_restart",&obj0,&obj1)) goto fail;
13272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13275 if (PyString_Check(obj1)) {
13276 temp2 = std::string(PyString_AsString(obj1));
13279 SWIG_exception(SWIG_TypeError, "string expected");
13283 (arg1)->restart((std::string const &)*arg2);
13285 Py_INCREF(Py_None); resultobj = Py_None;
13292 static PyObject *_wrap_Openbox_execute(PyObject *self, PyObject *args) {
13293 PyObject *resultobj;
13294 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13296 std::string *arg3 = 0 ;
13297 std::string temp3 ;
13298 PyObject * obj0 = 0 ;
13299 PyObject * obj2 = 0 ;
13301 if(!PyArg_ParseTuple(args,(char *)"OiO:Openbox_execute",&obj0,&arg2,&obj2)) goto fail;
13302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13304 if (PyString_Check(obj2)) {
13305 temp3 = std::string(PyString_AsString(obj2));
13308 SWIG_exception(SWIG_TypeError, "string expected");
13311 (arg1)->execute(arg2,(std::string const &)*arg3);
13313 Py_INCREF(Py_None); resultobj = Py_None;
13320 static PyObject * Openbox_swigregister(PyObject *self, PyObject *args) {
13322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13323 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox, obj);
13325 return Py_BuildValue((char *)"");
13327 static PyObject *_wrap_OBScreen_client(PyObject *self, PyObject *args) {
13328 PyObject *resultobj;
13329 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13331 ob::OBClient *result;
13332 PyObject * obj0 = 0 ;
13334 if(!PyArg_ParseTuple(args,(char *)"Oi:OBScreen_client",&obj0,&arg2)) goto fail;
13335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13336 result = (ob::OBClient *)ob_OBScreen_client(arg1,arg2);
13338 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
13345 static PyObject *_wrap_OBScreen_clientCount(PyObject *self, PyObject *args) {
13346 PyObject *resultobj;
13347 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13349 PyObject * obj0 = 0 ;
13351 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_clientCount",&obj0)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13353 result = (int)ob_OBScreen_clientCount((ob::OBScreen const *)arg1);
13355 resultobj = PyInt_FromLong((long)result);
13362 static PyObject *_wrap_OBScreen_number(PyObject *self, PyObject *args) {
13363 PyObject *resultobj;
13364 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13366 PyObject * obj0 = 0 ;
13368 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_number",&obj0)) goto fail;
13369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13370 result = (int)((ob::OBScreen const *)arg1)->number();
13372 resultobj = PyInt_FromLong((long)result);
13379 static PyObject *_wrap_OBScreen_managed(PyObject *self, PyObject *args) {
13380 PyObject *resultobj;
13381 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13383 PyObject * obj0 = 0 ;
13385 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_managed",&obj0)) goto fail;
13386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13387 result = (bool)((ob::OBScreen const *)arg1)->managed();
13389 resultobj = PyInt_FromLong((long)result);
13396 static PyObject *_wrap_OBScreen_imageControl(PyObject *self, PyObject *args) {
13397 PyObject *resultobj;
13398 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13399 otk::BImageControl *result;
13400 PyObject * obj0 = 0 ;
13402 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_imageControl",&obj0)) goto fail;
13403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13404 result = (otk::BImageControl *)(arg1)->imageControl();
13406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
13413 static PyObject *_wrap_OBScreen_area(PyObject *self, PyObject *args) {
13414 PyObject *resultobj;
13415 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13417 PyObject * obj0 = 0 ;
13419 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_area",&obj0)) goto fail;
13420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13422 otk::Rect const &_result_ref = ((ob::OBScreen const *)arg1)->area();
13423 result = (otk::Rect *) &_result_ref;
13426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
13433 static PyObject *_wrap_OBScreen_style(PyObject *self, PyObject *args) {
13434 PyObject *resultobj;
13435 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13436 otk::Style *result;
13437 PyObject * obj0 = 0 ;
13439 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_style",&obj0)) goto fail;
13440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13441 result = (otk::Style *)((ob::OBScreen const *)arg1)->style();
13443 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
13450 static PyObject *_wrap_OBScreen_focuswindow(PyObject *self, PyObject *args) {
13451 PyObject *resultobj;
13452 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13454 PyObject * obj0 = 0 ;
13456 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_focuswindow",&obj0)) goto fail;
13457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13458 result = (Window)((ob::OBScreen const *)arg1)->focuswindow();
13460 resultobj = PyInt_FromLong((long)result);
13467 static PyObject *_wrap_OBScreen_desktop(PyObject *self, PyObject *args) {
13468 PyObject *resultobj;
13469 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13471 PyObject * obj0 = 0 ;
13473 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_desktop",&obj0)) goto fail;
13474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13475 result = (long)((ob::OBScreen const *)arg1)->desktop();
13477 resultobj = PyInt_FromLong((long)result);
13484 static PyObject *_wrap_OBScreen_numDesktops(PyObject *self, PyObject *args) {
13485 PyObject *resultobj;
13486 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13488 PyObject * obj0 = 0 ;
13490 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_numDesktops",&obj0)) goto fail;
13491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13492 result = (long)((ob::OBScreen const *)arg1)->numDesktops();
13494 resultobj = PyInt_FromLong((long)result);
13501 static PyObject *_wrap_OBScreen_updateStrut(PyObject *self, PyObject *args) {
13502 PyObject *resultobj;
13503 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13504 PyObject * obj0 = 0 ;
13506 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_updateStrut",&obj0)) goto fail;
13507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13508 (arg1)->updateStrut();
13510 Py_INCREF(Py_None); resultobj = Py_None;
13517 static PyObject *_wrap_OBScreen_manageExisting(PyObject *self, PyObject *args) {
13518 PyObject *resultobj;
13519 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13520 PyObject * obj0 = 0 ;
13522 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_manageExisting",&obj0)) goto fail;
13523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13524 (arg1)->manageExisting();
13526 Py_INCREF(Py_None); resultobj = Py_None;
13533 static PyObject *_wrap_OBScreen_manageWindow(PyObject *self, PyObject *args) {
13534 PyObject *resultobj;
13535 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13537 PyObject * obj0 = 0 ;
13538 PyObject * obj1 = 0 ;
13540 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_manageWindow",&obj0,&obj1)) goto fail;
13541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13542 arg2 = (Window) PyInt_AsLong(obj1);
13543 if (PyErr_Occurred()) SWIG_fail;
13544 (arg1)->manageWindow(arg2);
13546 Py_INCREF(Py_None); resultobj = Py_None;
13553 static PyObject *_wrap_OBScreen_unmanageWindow(PyObject *self, PyObject *args) {
13554 PyObject *resultobj;
13555 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13556 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
13557 PyObject * obj0 = 0 ;
13558 PyObject * obj1 = 0 ;
13560 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_unmanageWindow",&obj0,&obj1)) goto fail;
13561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13563 (arg1)->unmanageWindow(arg2);
13565 Py_INCREF(Py_None); resultobj = Py_None;
13572 static PyObject *_wrap_OBScreen_restack(PyObject *self, PyObject *args) {
13573 PyObject *resultobj;
13574 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13576 ob::OBClient *arg3 = (ob::OBClient *) 0 ;
13577 PyObject * obj0 = 0 ;
13578 PyObject * obj1 = 0 ;
13579 PyObject * obj2 = 0 ;
13581 if(!PyArg_ParseTuple(args,(char *)"OOO:OBScreen_restack",&obj0,&obj1,&obj2)) goto fail;
13582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13583 arg2 = (bool) PyInt_AsLong(obj1);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13586 (arg1)->restack(arg2,arg3);
13588 Py_INCREF(Py_None); resultobj = Py_None;
13595 static PyObject *_wrap_OBScreen_setDesktopName(PyObject *self, PyObject *args) {
13596 PyObject *resultobj;
13597 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13599 std::string *arg3 = 0 ;
13600 std::string temp3 ;
13601 PyObject * obj0 = 0 ;
13602 PyObject * obj2 = 0 ;
13604 if(!PyArg_ParseTuple(args,(char *)"OlO:OBScreen_setDesktopName",&obj0,&arg2,&obj2)) goto fail;
13605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13607 if (PyString_Check(obj2)) {
13608 temp3 = std::string(PyString_AsString(obj2));
13611 SWIG_exception(SWIG_TypeError, "string expected");
13614 (arg1)->setDesktopName(arg2,(std::string const &)*arg3);
13616 Py_INCREF(Py_None); resultobj = Py_None;
13623 static PyObject *_wrap_OBScreen_propertyHandler(PyObject *self, PyObject *args) {
13624 PyObject *resultobj;
13625 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13626 XPropertyEvent *arg2 = 0 ;
13627 PyObject * obj0 = 0 ;
13628 PyObject * obj1 = 0 ;
13630 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_propertyHandler",&obj0,&obj1)) goto fail;
13631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13633 if (arg2 == NULL) {
13634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13636 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
13638 Py_INCREF(Py_None); resultobj = Py_None;
13645 static PyObject *_wrap_OBScreen_clientMessageHandler(PyObject *self, PyObject *args) {
13646 PyObject *resultobj;
13647 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13648 XClientMessageEvent *arg2 = 0 ;
13649 PyObject * obj0 = 0 ;
13650 PyObject * obj1 = 0 ;
13652 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_clientMessageHandler",&obj0,&obj1)) goto fail;
13653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13655 if (arg2 == NULL) {
13656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13658 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
13660 Py_INCREF(Py_None); resultobj = Py_None;
13667 static PyObject *_wrap_OBScreen_mapRequestHandler(PyObject *self, PyObject *args) {
13668 PyObject *resultobj;
13669 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13670 XMapRequestEvent *arg2 = 0 ;
13671 PyObject * obj0 = 0 ;
13672 PyObject * obj1 = 0 ;
13674 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_mapRequestHandler",&obj0,&obj1)) goto fail;
13675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13677 if (arg2 == NULL) {
13678 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13680 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
13682 Py_INCREF(Py_None); resultobj = Py_None;
13689 static PyObject * OBScreen_swigregister(PyObject *self, PyObject *args) {
13691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13692 SWIG_TypeClientData(SWIGTYPE_p_ob__OBScreen, obj);
13694 return Py_BuildValue((char *)"");
13696 static PyObject *_wrap_MwmHints_flags_set(PyObject *self, PyObject *args) {
13697 PyObject *resultobj;
13698 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13699 unsigned long arg2 ;
13700 PyObject * obj0 = 0 ;
13701 PyObject * obj1 = 0 ;
13703 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_flags_set",&obj0,&obj1)) goto fail;
13704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13705 arg2 = (unsigned long) PyInt_AsLong(obj1);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 if (arg1) (arg1)->flags = arg2;
13709 Py_INCREF(Py_None); resultobj = Py_None;
13716 static PyObject *_wrap_MwmHints_flags_get(PyObject *self, PyObject *args) {
13717 PyObject *resultobj;
13718 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13719 unsigned long result;
13720 PyObject * obj0 = 0 ;
13722 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_flags_get",&obj0)) goto fail;
13723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13724 result = (unsigned long) ((arg1)->flags);
13726 resultobj = PyInt_FromLong((long)result);
13733 static PyObject *_wrap_MwmHints_functions_set(PyObject *self, PyObject *args) {
13734 PyObject *resultobj;
13735 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13736 unsigned long arg2 ;
13737 PyObject * obj0 = 0 ;
13738 PyObject * obj1 = 0 ;
13740 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_functions_set",&obj0,&obj1)) goto fail;
13741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13742 arg2 = (unsigned long) PyInt_AsLong(obj1);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 if (arg1) (arg1)->functions = arg2;
13746 Py_INCREF(Py_None); resultobj = Py_None;
13753 static PyObject *_wrap_MwmHints_functions_get(PyObject *self, PyObject *args) {
13754 PyObject *resultobj;
13755 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13756 unsigned long result;
13757 PyObject * obj0 = 0 ;
13759 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_functions_get",&obj0)) goto fail;
13760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13761 result = (unsigned long) ((arg1)->functions);
13763 resultobj = PyInt_FromLong((long)result);
13770 static PyObject *_wrap_MwmHints_decorations_set(PyObject *self, PyObject *args) {
13771 PyObject *resultobj;
13772 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13773 unsigned long arg2 ;
13774 PyObject * obj0 = 0 ;
13775 PyObject * obj1 = 0 ;
13777 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_decorations_set",&obj0,&obj1)) goto fail;
13778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13779 arg2 = (unsigned long) PyInt_AsLong(obj1);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 if (arg1) (arg1)->decorations = arg2;
13783 Py_INCREF(Py_None); resultobj = Py_None;
13790 static PyObject *_wrap_MwmHints_decorations_get(PyObject *self, PyObject *args) {
13791 PyObject *resultobj;
13792 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13793 unsigned long result;
13794 PyObject * obj0 = 0 ;
13796 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_decorations_get",&obj0)) goto fail;
13797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13798 result = (unsigned long) ((arg1)->decorations);
13800 resultobj = PyInt_FromLong((long)result);
13807 static PyObject * MwmHints_swigregister(PyObject *self, PyObject *args) {
13809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13810 SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints, obj);
13812 return Py_BuildValue((char *)"");
13814 static PyObject *_wrap_OBClient_frame_set(PyObject *self, PyObject *args) {
13815 PyObject *resultobj;
13816 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13817 ob::OBFrame *arg2 = (ob::OBFrame *) 0 ;
13818 PyObject * obj0 = 0 ;
13819 PyObject * obj1 = 0 ;
13821 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_frame_set",&obj0,&obj1)) goto fail;
13822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13823 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBFrame,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
13824 if (arg1) (arg1)->frame = arg2;
13826 Py_INCREF(Py_None); resultobj = Py_None;
13833 static PyObject *_wrap_OBClient_frame_get(PyObject *self, PyObject *args) {
13834 PyObject *resultobj;
13835 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13836 ob::OBFrame *result;
13837 PyObject * obj0 = 0 ;
13839 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_frame_get",&obj0)) goto fail;
13840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13841 result = (ob::OBFrame *) ((arg1)->frame);
13843 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBFrame, 0);
13850 static PyObject *_wrap_OBClient_ignore_unmaps_set(PyObject *self, PyObject *args) {
13851 PyObject *resultobj;
13852 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13854 PyObject * obj0 = 0 ;
13856 if(!PyArg_ParseTuple(args,(char *)"Oi:OBClient_ignore_unmaps_set",&obj0,&arg2)) goto fail;
13857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13858 if (arg1) (arg1)->ignore_unmaps = arg2;
13860 Py_INCREF(Py_None); resultobj = Py_None;
13867 static PyObject *_wrap_OBClient_ignore_unmaps_get(PyObject *self, PyObject *args) {
13868 PyObject *resultobj;
13869 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13871 PyObject * obj0 = 0 ;
13873 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_ignore_unmaps_get",&obj0)) goto fail;
13874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13875 result = (int) ((arg1)->ignore_unmaps);
13877 resultobj = PyInt_FromLong((long)result);
13884 static PyObject *_wrap_OBClient_screen(PyObject *self, PyObject *args) {
13885 PyObject *resultobj;
13886 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13888 PyObject * obj0 = 0 ;
13890 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_screen",&obj0)) goto fail;
13891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13892 result = (int)((ob::OBClient const *)arg1)->screen();
13894 resultobj = PyInt_FromLong((long)result);
13901 static PyObject *_wrap_OBClient_window(PyObject *self, PyObject *args) {
13902 PyObject *resultobj;
13903 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13905 PyObject * obj0 = 0 ;
13907 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_window",&obj0)) goto fail;
13908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13909 result = (Window)((ob::OBClient const *)arg1)->window();
13911 resultobj = PyInt_FromLong((long)result);
13918 static PyObject *_wrap_OBClient_type(PyObject *self, PyObject *args) {
13919 PyObject *resultobj;
13920 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13922 PyObject * obj0 = 0 ;
13924 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_type",&obj0)) goto fail;
13925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13926 result = (int)((ob::OBClient const *)arg1)->type();
13928 resultobj = PyInt_FromLong((long)result);
13935 static PyObject *_wrap_OBClient_normal(PyObject *self, PyObject *args) {
13936 PyObject *resultobj;
13937 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13939 PyObject * obj0 = 0 ;
13941 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_normal",&obj0)) goto fail;
13942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13943 result = (bool)((ob::OBClient const *)arg1)->normal();
13945 resultobj = PyInt_FromLong((long)result);
13952 static PyObject *_wrap_OBClient_desktop(PyObject *self, PyObject *args) {
13953 PyObject *resultobj;
13954 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13956 PyObject * obj0 = 0 ;
13958 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_desktop",&obj0)) goto fail;
13959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13960 result = (long)((ob::OBClient const *)arg1)->desktop();
13962 resultobj = PyInt_FromLong((long)result);
13969 static PyObject *_wrap_OBClient_title(PyObject *self, PyObject *args) {
13970 PyObject *resultobj;
13971 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13972 std::string *result;
13973 PyObject * obj0 = 0 ;
13975 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_title",&obj0)) goto fail;
13976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13978 std::string const &_result_ref = ((ob::OBClient const *)arg1)->title();
13979 result = (std::string *) &_result_ref;
13983 resultobj = PyString_FromString(result->c_str());
13991 static PyObject *_wrap_OBClient_iconTitle(PyObject *self, PyObject *args) {
13992 PyObject *resultobj;
13993 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13994 std::string *result;
13995 PyObject * obj0 = 0 ;
13997 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_iconTitle",&obj0)) goto fail;
13998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14000 std::string const &_result_ref = ((ob::OBClient const *)arg1)->iconTitle();
14001 result = (std::string *) &_result_ref;
14005 resultobj = PyString_FromString(result->c_str());
14013 static PyObject *_wrap_OBClient_appName(PyObject *self, PyObject *args) {
14014 PyObject *resultobj;
14015 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14016 std::string *result;
14017 PyObject * obj0 = 0 ;
14019 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_appName",&obj0)) goto fail;
14020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14022 std::string const &_result_ref = ((ob::OBClient const *)arg1)->appName();
14023 result = (std::string *) &_result_ref;
14027 resultobj = PyString_FromString(result->c_str());
14035 static PyObject *_wrap_OBClient_appClass(PyObject *self, PyObject *args) {
14036 PyObject *resultobj;
14037 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14038 std::string *result;
14039 PyObject * obj0 = 0 ;
14041 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_appClass",&obj0)) goto fail;
14042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14044 std::string const &_result_ref = ((ob::OBClient const *)arg1)->appClass();
14045 result = (std::string *) &_result_ref;
14049 resultobj = PyString_FromString(result->c_str());
14057 static PyObject *_wrap_OBClient_role(PyObject *self, PyObject *args) {
14058 PyObject *resultobj;
14059 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14060 std::string *result;
14061 PyObject * obj0 = 0 ;
14063 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_role",&obj0)) goto fail;
14064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14066 std::string const &_result_ref = ((ob::OBClient const *)arg1)->role();
14067 result = (std::string *) &_result_ref;
14071 resultobj = PyString_FromString(result->c_str());
14079 static PyObject *_wrap_OBClient_canFocus(PyObject *self, PyObject *args) {
14080 PyObject *resultobj;
14081 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14083 PyObject * obj0 = 0 ;
14085 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_canFocus",&obj0)) goto fail;
14086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14087 result = (bool)((ob::OBClient const *)arg1)->canFocus();
14089 resultobj = PyInt_FromLong((long)result);
14096 static PyObject *_wrap_OBClient_urgent(PyObject *self, PyObject *args) {
14097 PyObject *resultobj;
14098 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14100 PyObject * obj0 = 0 ;
14102 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_urgent",&obj0)) goto fail;
14103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14104 result = (bool)((ob::OBClient const *)arg1)->urgent();
14106 resultobj = PyInt_FromLong((long)result);
14113 static PyObject *_wrap_OBClient_focusNotify(PyObject *self, PyObject *args) {
14114 PyObject *resultobj;
14115 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14117 PyObject * obj0 = 0 ;
14119 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_focusNotify",&obj0)) goto fail;
14120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14121 result = (bool)((ob::OBClient const *)arg1)->focusNotify();
14123 resultobj = PyInt_FromLong((long)result);
14130 static PyObject *_wrap_OBClient_shaped(PyObject *self, PyObject *args) {
14131 PyObject *resultobj;
14132 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14134 PyObject * obj0 = 0 ;
14136 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_shaped",&obj0)) goto fail;
14137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14138 result = (bool)((ob::OBClient const *)arg1)->shaped();
14140 resultobj = PyInt_FromLong((long)result);
14147 static PyObject *_wrap_OBClient_gravity(PyObject *self, PyObject *args) {
14148 PyObject *resultobj;
14149 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14151 PyObject * obj0 = 0 ;
14153 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_gravity",&obj0)) goto fail;
14154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14155 result = (int)((ob::OBClient const *)arg1)->gravity();
14157 resultobj = PyInt_FromLong((long)result);
14164 static PyObject *_wrap_OBClient_positionRequested(PyObject *self, PyObject *args) {
14165 PyObject *resultobj;
14166 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14168 PyObject * obj0 = 0 ;
14170 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_positionRequested",&obj0)) goto fail;
14171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14172 result = (bool)((ob::OBClient const *)arg1)->positionRequested();
14174 resultobj = PyInt_FromLong((long)result);
14181 static PyObject *_wrap_OBClient_decorations(PyObject *self, PyObject *args) {
14182 PyObject *resultobj;
14183 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14184 ob::OBClient::DecorationFlags result;
14185 PyObject * obj0 = 0 ;
14187 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_decorations",&obj0)) goto fail;
14188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14189 result = (ob::OBClient::DecorationFlags)((ob::OBClient const *)arg1)->decorations();
14191 resultobj = PyInt_FromLong((long)result);
14198 static PyObject *_wrap_OBClient_funtions(PyObject *self, PyObject *args) {
14199 PyObject *resultobj;
14200 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14201 ob::OBClient::FunctionFlags result;
14202 PyObject * obj0 = 0 ;
14204 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_funtions",&obj0)) goto fail;
14205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14206 result = (ob::OBClient::FunctionFlags)((ob::OBClient const *)arg1)->funtions();
14208 resultobj = PyInt_FromLong((long)result);
14215 static PyObject *_wrap_OBClient_transientFor(PyObject *self, PyObject *args) {
14216 PyObject *resultobj;
14217 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14218 ob::OBClient *result;
14219 PyObject * obj0 = 0 ;
14221 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_transientFor",&obj0)) goto fail;
14222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14223 result = (ob::OBClient *)((ob::OBClient const *)arg1)->transientFor();
14225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
14232 static PyObject *_wrap_OBClient_modal(PyObject *self, PyObject *args) {
14233 PyObject *resultobj;
14234 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14236 PyObject * obj0 = 0 ;
14238 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_modal",&obj0)) goto fail;
14239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14240 result = (bool)((ob::OBClient const *)arg1)->modal();
14242 resultobj = PyInt_FromLong((long)result);
14249 static PyObject *_wrap_OBClient_shaded(PyObject *self, PyObject *args) {
14250 PyObject *resultobj;
14251 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14253 PyObject * obj0 = 0 ;
14255 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_shaded",&obj0)) goto fail;
14256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14257 result = (bool)((ob::OBClient const *)arg1)->shaded();
14259 resultobj = PyInt_FromLong((long)result);
14266 static PyObject *_wrap_OBClient_iconic(PyObject *self, PyObject *args) {
14267 PyObject *resultobj;
14268 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14270 PyObject * obj0 = 0 ;
14272 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_iconic",&obj0)) goto fail;
14273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14274 result = (bool)((ob::OBClient const *)arg1)->iconic();
14276 resultobj = PyInt_FromLong((long)result);
14283 static PyObject *_wrap_OBClient_maxVert(PyObject *self, PyObject *args) {
14284 PyObject *resultobj;
14285 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14287 PyObject * obj0 = 0 ;
14289 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_maxVert",&obj0)) goto fail;
14290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14291 result = (bool)((ob::OBClient const *)arg1)->maxVert();
14293 resultobj = PyInt_FromLong((long)result);
14300 static PyObject *_wrap_OBClient_maxHorz(PyObject *self, PyObject *args) {
14301 PyObject *resultobj;
14302 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14304 PyObject * obj0 = 0 ;
14306 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_maxHorz",&obj0)) goto fail;
14307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14308 result = (bool)((ob::OBClient const *)arg1)->maxHorz();
14310 resultobj = PyInt_FromLong((long)result);
14317 static PyObject *_wrap_OBClient_layer(PyObject *self, PyObject *args) {
14318 PyObject *resultobj;
14319 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14321 PyObject * obj0 = 0 ;
14323 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_layer",&obj0)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14325 result = (int)((ob::OBClient const *)arg1)->layer();
14327 resultobj = PyInt_FromLong((long)result);
14334 static PyObject *_wrap_OBClient_toggleClientBorder(PyObject *self, PyObject *args) {
14335 PyObject *resultobj;
14336 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14338 PyObject * obj0 = 0 ;
14339 PyObject * obj1 = 0 ;
14341 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_toggleClientBorder",&obj0,&obj1)) goto fail;
14342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14343 arg2 = (bool) PyInt_AsLong(obj1);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 (arg1)->toggleClientBorder(arg2);
14347 Py_INCREF(Py_None); resultobj = Py_None;
14354 static PyObject *_wrap_OBClient_area(PyObject *self, PyObject *args) {
14355 PyObject *resultobj;
14356 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14358 PyObject * obj0 = 0 ;
14360 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_area",&obj0)) goto fail;
14361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14363 otk::Rect const &_result_ref = ((ob::OBClient const *)arg1)->area();
14364 result = (otk::Rect *) &_result_ref;
14367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
14374 static PyObject *_wrap_OBClient_strut(PyObject *self, PyObject *args) {
14375 PyObject *resultobj;
14376 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14377 otk::Strut *result;
14378 PyObject * obj0 = 0 ;
14380 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_strut",&obj0)) goto fail;
14381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14383 otk::Strut const &_result_ref = ((ob::OBClient const *)arg1)->strut();
14384 result = (otk::Strut *) &_result_ref;
14387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
14394 static PyObject *_wrap_OBClient_move(PyObject *self, PyObject *args) {
14395 PyObject *resultobj;
14396 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14399 PyObject * obj0 = 0 ;
14401 if(!PyArg_ParseTuple(args,(char *)"Oii:OBClient_move",&obj0,&arg2,&arg3)) goto fail;
14402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14403 (arg1)->move(arg2,arg3);
14405 Py_INCREF(Py_None); resultobj = Py_None;
14412 static PyObject *_wrap_OBClient_resize(PyObject *self, PyObject *args) {
14413 PyObject *resultobj;
14414 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14418 int arg5 = (int) INT_MIN ;
14419 int arg6 = (int) INT_MIN ;
14420 PyObject * obj0 = 0 ;
14422 if(!PyArg_ParseTuple(args,(char *)"Oiii|ii:OBClient_resize",&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14424 (arg1)->resize((ob::OBClient::Corner )arg2,arg3,arg4,arg5,arg6);
14426 Py_INCREF(Py_None); resultobj = Py_None;
14433 static PyObject *_wrap_OBClient_focus(PyObject *self, PyObject *args) {
14434 PyObject *resultobj;
14435 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14437 PyObject * obj0 = 0 ;
14439 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_focus",&obj0)) goto fail;
14440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14441 result = (bool)((ob::OBClient const *)arg1)->focus();
14443 resultobj = PyInt_FromLong((long)result);
14450 static PyObject *_wrap_OBClient_unfocus(PyObject *self, PyObject *args) {
14451 PyObject *resultobj;
14452 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14453 PyObject * obj0 = 0 ;
14455 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_unfocus",&obj0)) goto fail;
14456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14457 ((ob::OBClient const *)arg1)->unfocus();
14459 Py_INCREF(Py_None); resultobj = Py_None;
14466 static PyObject *_wrap_OBClient_focusHandler(PyObject *self, PyObject *args) {
14467 PyObject *resultobj;
14468 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14469 XFocusChangeEvent *arg2 = 0 ;
14470 PyObject * obj0 = 0 ;
14471 PyObject * obj1 = 0 ;
14473 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_focusHandler",&obj0,&obj1)) goto fail;
14474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14475 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14476 if (arg2 == NULL) {
14477 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14479 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
14481 Py_INCREF(Py_None); resultobj = Py_None;
14488 static PyObject *_wrap_OBClient_unfocusHandler(PyObject *self, PyObject *args) {
14489 PyObject *resultobj;
14490 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14491 XFocusChangeEvent *arg2 = 0 ;
14492 PyObject * obj0 = 0 ;
14493 PyObject * obj1 = 0 ;
14495 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_unfocusHandler",&obj0,&obj1)) goto fail;
14496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14498 if (arg2 == NULL) {
14499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14501 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
14503 Py_INCREF(Py_None); resultobj = Py_None;
14510 static PyObject *_wrap_OBClient_propertyHandler(PyObject *self, PyObject *args) {
14511 PyObject *resultobj;
14512 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14513 XPropertyEvent *arg2 = 0 ;
14514 PyObject * obj0 = 0 ;
14515 PyObject * obj1 = 0 ;
14517 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_propertyHandler",&obj0,&obj1)) goto fail;
14518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14520 if (arg2 == NULL) {
14521 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14523 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
14525 Py_INCREF(Py_None); resultobj = Py_None;
14532 static PyObject *_wrap_OBClient_clientMessageHandler(PyObject *self, PyObject *args) {
14533 PyObject *resultobj;
14534 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14535 XClientMessageEvent *arg2 = 0 ;
14536 PyObject * obj0 = 0 ;
14537 PyObject * obj1 = 0 ;
14539 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_clientMessageHandler",&obj0,&obj1)) goto fail;
14540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14542 if (arg2 == NULL) {
14543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14545 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
14547 Py_INCREF(Py_None); resultobj = Py_None;
14554 static PyObject *_wrap_OBClient_configureRequestHandler(PyObject *self, PyObject *args) {
14555 PyObject *resultobj;
14556 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14557 XConfigureRequestEvent *arg2 = 0 ;
14558 PyObject * obj0 = 0 ;
14559 PyObject * obj1 = 0 ;
14561 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_configureRequestHandler",&obj0,&obj1)) goto fail;
14562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14564 if (arg2 == NULL) {
14565 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14567 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
14569 Py_INCREF(Py_None); resultobj = Py_None;
14576 static PyObject *_wrap_OBClient_unmapHandler(PyObject *self, PyObject *args) {
14577 PyObject *resultobj;
14578 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14579 XUnmapEvent *arg2 = 0 ;
14580 PyObject * obj0 = 0 ;
14581 PyObject * obj1 = 0 ;
14583 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_unmapHandler",&obj0,&obj1)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14586 if (arg2 == NULL) {
14587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14589 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
14591 Py_INCREF(Py_None); resultobj = Py_None;
14598 static PyObject *_wrap_OBClient_destroyHandler(PyObject *self, PyObject *args) {
14599 PyObject *resultobj;
14600 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14601 XDestroyWindowEvent *arg2 = 0 ;
14602 PyObject * obj0 = 0 ;
14603 PyObject * obj1 = 0 ;
14605 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_destroyHandler",&obj0,&obj1)) goto fail;
14606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14608 if (arg2 == NULL) {
14609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14611 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
14613 Py_INCREF(Py_None); resultobj = Py_None;
14620 static PyObject *_wrap_OBClient_reparentHandler(PyObject *self, PyObject *args) {
14621 PyObject *resultobj;
14622 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14623 XReparentEvent *arg2 = 0 ;
14624 PyObject * obj0 = 0 ;
14625 PyObject * obj1 = 0 ;
14627 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_reparentHandler",&obj0,&obj1)) goto fail;
14628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14630 if (arg2 == NULL) {
14631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14633 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
14635 Py_INCREF(Py_None); resultobj = Py_None;
14642 static PyObject * OBClient_swigregister(PyObject *self, PyObject *args) {
14644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14645 SWIG_TypeClientData(SWIGTYPE_p_ob__OBClient, obj);
14647 return Py_BuildValue((char *)"");
14649 static PyObject *_wrap_MouseData_screen_set(PyObject *self, PyObject *args) {
14650 PyObject *resultobj;
14651 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14653 PyObject * obj0 = 0 ;
14655 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_screen_set",&obj0,&arg2)) goto fail;
14656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14657 if (arg1) (arg1)->screen = arg2;
14659 Py_INCREF(Py_None); resultobj = Py_None;
14666 static PyObject *_wrap_MouseData_screen_get(PyObject *self, PyObject *args) {
14667 PyObject *resultobj;
14668 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14670 PyObject * obj0 = 0 ;
14672 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_screen_get",&obj0)) goto fail;
14673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14674 result = (int) ((arg1)->screen);
14676 resultobj = PyInt_FromLong((long)result);
14683 static PyObject *_wrap_MouseData_client_set(PyObject *self, PyObject *args) {
14684 PyObject *resultobj;
14685 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14686 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
14687 PyObject * obj0 = 0 ;
14688 PyObject * obj1 = 0 ;
14690 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_client_set",&obj0,&obj1)) goto fail;
14691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
14693 if (arg1) (arg1)->client = arg2;
14695 Py_INCREF(Py_None); resultobj = Py_None;
14702 static PyObject *_wrap_MouseData_client_get(PyObject *self, PyObject *args) {
14703 PyObject *resultobj;
14704 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14705 ob::OBClient *result;
14706 PyObject * obj0 = 0 ;
14708 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_client_get",&obj0)) goto fail;
14709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14710 result = (ob::OBClient *) ((arg1)->client);
14712 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
14719 static PyObject *_wrap_MouseData_time_set(PyObject *self, PyObject *args) {
14720 PyObject *resultobj;
14721 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14723 PyObject * obj0 = 0 ;
14724 PyObject * obj1 = 0 ;
14726 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_time_set",&obj0,&obj1)) goto fail;
14727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14728 arg2 = (Time) PyInt_AsLong(obj1);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 if (arg1) (arg1)->time = arg2;
14732 Py_INCREF(Py_None); resultobj = Py_None;
14739 static PyObject *_wrap_MouseData_time_get(PyObject *self, PyObject *args) {
14740 PyObject *resultobj;
14741 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14743 PyObject * obj0 = 0 ;
14745 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_time_get",&obj0)) goto fail;
14746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14747 result = (Time) ((arg1)->time);
14749 resultobj = PyInt_FromLong((long)result);
14756 static PyObject *_wrap_MouseData_state_set(PyObject *self, PyObject *args) {
14757 PyObject *resultobj;
14758 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14759 unsigned int arg2 ;
14760 PyObject * obj0 = 0 ;
14761 PyObject * obj1 = 0 ;
14763 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_state_set",&obj0,&obj1)) goto fail;
14764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14765 arg2 = (unsigned int) PyInt_AsLong(obj1);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 if (arg1) (arg1)->state = arg2;
14769 Py_INCREF(Py_None); resultobj = Py_None;
14776 static PyObject *_wrap_MouseData_state_get(PyObject *self, PyObject *args) {
14777 PyObject *resultobj;
14778 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14779 unsigned int result;
14780 PyObject * obj0 = 0 ;
14782 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_state_get",&obj0)) goto fail;
14783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14784 result = (unsigned int) ((arg1)->state);
14786 resultobj = PyInt_FromLong((long)result);
14793 static PyObject *_wrap_MouseData_button_set(PyObject *self, PyObject *args) {
14794 PyObject *resultobj;
14795 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14796 unsigned int arg2 ;
14797 PyObject * obj0 = 0 ;
14798 PyObject * obj1 = 0 ;
14800 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_button_set",&obj0,&obj1)) goto fail;
14801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14802 arg2 = (unsigned int) PyInt_AsLong(obj1);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 if (arg1) (arg1)->button = arg2;
14806 Py_INCREF(Py_None); resultobj = Py_None;
14813 static PyObject *_wrap_MouseData_button_get(PyObject *self, PyObject *args) {
14814 PyObject *resultobj;
14815 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14816 unsigned int result;
14817 PyObject * obj0 = 0 ;
14819 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_button_get",&obj0)) goto fail;
14820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14821 result = (unsigned int) ((arg1)->button);
14823 resultobj = PyInt_FromLong((long)result);
14830 static PyObject *_wrap_MouseData_context_set(PyObject *self, PyObject *args) {
14831 PyObject *resultobj;
14832 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14834 PyObject * obj0 = 0 ;
14836 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_context_set",&obj0,&arg2)) goto fail;
14837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14838 if (arg1) (arg1)->context = (ob::MouseContext )arg2;
14840 Py_INCREF(Py_None); resultobj = Py_None;
14847 static PyObject *_wrap_MouseData_context_get(PyObject *self, PyObject *args) {
14848 PyObject *resultobj;
14849 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14851 PyObject * obj0 = 0 ;
14853 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_context_get",&obj0)) goto fail;
14854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14855 result = (int) ((arg1)->context);
14857 resultobj = PyInt_FromLong((long)result);
14864 static PyObject *_wrap_MouseData_action_set(PyObject *self, PyObject *args) {
14865 PyObject *resultobj;
14866 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14868 PyObject * obj0 = 0 ;
14870 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_action_set",&obj0,&arg2)) goto fail;
14871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14872 if (arg1) (arg1)->action = (ob::MouseAction )arg2;
14874 Py_INCREF(Py_None); resultobj = Py_None;
14881 static PyObject *_wrap_MouseData_action_get(PyObject *self, PyObject *args) {
14882 PyObject *resultobj;
14883 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14885 PyObject * obj0 = 0 ;
14887 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_action_get",&obj0)) goto fail;
14888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14889 result = (int) ((arg1)->action);
14891 resultobj = PyInt_FromLong((long)result);
14898 static PyObject *_wrap_MouseData_xroot_set(PyObject *self, PyObject *args) {
14899 PyObject *resultobj;
14900 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14902 PyObject * obj0 = 0 ;
14904 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_xroot_set",&obj0,&arg2)) goto fail;
14905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14906 if (arg1) (arg1)->xroot = arg2;
14908 Py_INCREF(Py_None); resultobj = Py_None;
14915 static PyObject *_wrap_MouseData_xroot_get(PyObject *self, PyObject *args) {
14916 PyObject *resultobj;
14917 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14919 PyObject * obj0 = 0 ;
14921 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_xroot_get",&obj0)) goto fail;
14922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14923 result = (int) ((arg1)->xroot);
14925 resultobj = PyInt_FromLong((long)result);
14932 static PyObject *_wrap_MouseData_yroot_set(PyObject *self, PyObject *args) {
14933 PyObject *resultobj;
14934 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14936 PyObject * obj0 = 0 ;
14938 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_yroot_set",&obj0,&arg2)) goto fail;
14939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14940 if (arg1) (arg1)->yroot = arg2;
14942 Py_INCREF(Py_None); resultobj = Py_None;
14949 static PyObject *_wrap_MouseData_yroot_get(PyObject *self, PyObject *args) {
14950 PyObject *resultobj;
14951 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14953 PyObject * obj0 = 0 ;
14955 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_yroot_get",&obj0)) goto fail;
14956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14957 result = (int) ((arg1)->yroot);
14959 resultobj = PyInt_FromLong((long)result);
14966 static PyObject *_wrap_MouseData_pressx_set(PyObject *self, PyObject *args) {
14967 PyObject *resultobj;
14968 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14970 PyObject * obj0 = 0 ;
14972 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressx_set",&obj0,&arg2)) goto fail;
14973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14974 if (arg1) (arg1)->pressx = arg2;
14976 Py_INCREF(Py_None); resultobj = Py_None;
14983 static PyObject *_wrap_MouseData_pressx_get(PyObject *self, PyObject *args) {
14984 PyObject *resultobj;
14985 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14987 PyObject * obj0 = 0 ;
14989 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressx_get",&obj0)) goto fail;
14990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14991 result = (int) ((arg1)->pressx);
14993 resultobj = PyInt_FromLong((long)result);
15000 static PyObject *_wrap_MouseData_pressy_set(PyObject *self, PyObject *args) {
15001 PyObject *resultobj;
15002 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15004 PyObject * obj0 = 0 ;
15006 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressy_set",&obj0,&arg2)) goto fail;
15007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15008 if (arg1) (arg1)->pressy = arg2;
15010 Py_INCREF(Py_None); resultobj = Py_None;
15017 static PyObject *_wrap_MouseData_pressy_get(PyObject *self, PyObject *args) {
15018 PyObject *resultobj;
15019 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15021 PyObject * obj0 = 0 ;
15023 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressy_get",&obj0)) goto fail;
15024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15025 result = (int) ((arg1)->pressy);
15027 resultobj = PyInt_FromLong((long)result);
15034 static PyObject *_wrap_MouseData_press_clientx_set(PyObject *self, PyObject *args) {
15035 PyObject *resultobj;
15036 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15038 PyObject * obj0 = 0 ;
15040 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientx_set",&obj0,&arg2)) goto fail;
15041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15042 if (arg1) (arg1)->press_clientx = arg2;
15044 Py_INCREF(Py_None); resultobj = Py_None;
15051 static PyObject *_wrap_MouseData_press_clientx_get(PyObject *self, PyObject *args) {
15052 PyObject *resultobj;
15053 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15055 PyObject * obj0 = 0 ;
15057 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientx_get",&obj0)) goto fail;
15058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15059 result = (int) ((arg1)->press_clientx);
15061 resultobj = PyInt_FromLong((long)result);
15068 static PyObject *_wrap_MouseData_press_clienty_set(PyObject *self, PyObject *args) {
15069 PyObject *resultobj;
15070 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15072 PyObject * obj0 = 0 ;
15074 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clienty_set",&obj0,&arg2)) goto fail;
15075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15076 if (arg1) (arg1)->press_clienty = arg2;
15078 Py_INCREF(Py_None); resultobj = Py_None;
15085 static PyObject *_wrap_MouseData_press_clienty_get(PyObject *self, PyObject *args) {
15086 PyObject *resultobj;
15087 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15089 PyObject * obj0 = 0 ;
15091 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clienty_get",&obj0)) goto fail;
15092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15093 result = (int) ((arg1)->press_clienty);
15095 resultobj = PyInt_FromLong((long)result);
15102 static PyObject *_wrap_MouseData_press_clientwidth_set(PyObject *self, PyObject *args) {
15103 PyObject *resultobj;
15104 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15106 PyObject * obj0 = 0 ;
15108 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientwidth_set",&obj0,&arg2)) goto fail;
15109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15110 if (arg1) (arg1)->press_clientwidth = arg2;
15112 Py_INCREF(Py_None); resultobj = Py_None;
15119 static PyObject *_wrap_MouseData_press_clientwidth_get(PyObject *self, PyObject *args) {
15120 PyObject *resultobj;
15121 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15123 PyObject * obj0 = 0 ;
15125 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientwidth_get",&obj0)) goto fail;
15126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15127 result = (int) ((arg1)->press_clientwidth);
15129 resultobj = PyInt_FromLong((long)result);
15136 static PyObject *_wrap_MouseData_press_clientheight_set(PyObject *self, PyObject *args) {
15137 PyObject *resultobj;
15138 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15140 PyObject * obj0 = 0 ;
15142 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientheight_set",&obj0,&arg2)) goto fail;
15143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15144 if (arg1) (arg1)->press_clientheight = arg2;
15146 Py_INCREF(Py_None); resultobj = Py_None;
15153 static PyObject *_wrap_MouseData_press_clientheight_get(PyObject *self, PyObject *args) {
15154 PyObject *resultobj;
15155 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15157 PyObject * obj0 = 0 ;
15159 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientheight_get",&obj0)) goto fail;
15160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15161 result = (int) ((arg1)->press_clientheight);
15163 resultobj = PyInt_FromLong((long)result);
15170 static PyObject *_wrap_new_MouseData__SWIG_0(PyObject *self, PyObject *args) {
15171 PyObject *resultobj;
15173 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15175 unsigned int arg4 ;
15176 unsigned int arg5 ;
15181 otk::Point *arg10 = 0 ;
15182 otk::Rect *arg11 = 0 ;
15183 ob::MouseData *result;
15184 PyObject * obj1 = 0 ;
15185 PyObject * obj2 = 0 ;
15186 PyObject * obj3 = 0 ;
15187 PyObject * obj4 = 0 ;
15188 PyObject * obj9 = 0 ;
15189 PyObject * obj10 = 0 ;
15191 if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
15192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15193 arg3 = (Time) PyInt_AsLong(obj2);
15194 if (PyErr_Occurred()) SWIG_fail;
15195 arg4 = (unsigned int) PyInt_AsLong(obj3);
15196 if (PyErr_Occurred()) SWIG_fail;
15197 arg5 = (unsigned int) PyInt_AsLong(obj4);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15200 if (arg10 == NULL) {
15201 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15203 if ((SWIG_ConvertPtr(obj10,(void **) &arg11, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15204 if (arg11 == NULL) {
15205 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15207 result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7,arg8,arg9,(otk::Point const &)*arg10,(otk::Rect const &)*arg11);
15209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
15216 static PyObject *_wrap_new_MouseData__SWIG_1(PyObject *self, PyObject *args) {
15217 PyObject *resultobj;
15219 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15221 unsigned int arg4 ;
15222 unsigned int arg5 ;
15225 ob::MouseData *result;
15226 PyObject * obj1 = 0 ;
15227 PyObject * obj2 = 0 ;
15228 PyObject * obj3 = 0 ;
15229 PyObject * obj4 = 0 ;
15231 if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
15232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15233 arg3 = (Time) PyInt_AsLong(obj2);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 arg4 = (unsigned int) PyInt_AsLong(obj3);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 arg5 = (unsigned int) PyInt_AsLong(obj4);
15238 if (PyErr_Occurred()) SWIG_fail;
15239 result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
15241 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
15248 static PyObject *_wrap_new_MouseData(PyObject *self, PyObject *args) {
15250 PyObject *argv[12];
15253 argc = PyObject_Length(args);
15254 for (ii = 0; (ii < argc) && (ii < 11); ii++) {
15255 argv[ii] = PyTuple_GetItem(args,ii);
15260 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
15265 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__OBClient, 0) == -1) {
15274 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
15278 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
15282 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
15286 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
15290 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
15293 return _wrap_new_MouseData__SWIG_1(self,args);
15305 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
15310 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__OBClient, 0) == -1) {
15319 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
15323 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
15327 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
15331 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
15335 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
15339 _v = (PyInt_Check(argv[7]) || PyLong_Check(argv[7])) ? 1 : 0;
15343 _v = (PyInt_Check(argv[8]) || PyLong_Check(argv[8])) ? 1 : 0;
15348 if (SWIG_ConvertPtr(argv[9], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
15358 if (SWIG_ConvertPtr(argv[10], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
15366 return _wrap_new_MouseData__SWIG_0(self,args);
15380 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_MouseData'");
15385 static PyObject * MouseData_swigregister(PyObject *self, PyObject *args) {
15387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15388 SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData, obj);
15390 return Py_BuildValue((char *)"");
15392 static PyObject *_wrap_EventData_screen_set(PyObject *self, PyObject *args) {
15393 PyObject *resultobj;
15394 ob::EventData *arg1 = (ob::EventData *) 0 ;
15396 PyObject * obj0 = 0 ;
15398 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_screen_set",&obj0,&arg2)) goto fail;
15399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15400 if (arg1) (arg1)->screen = arg2;
15402 Py_INCREF(Py_None); resultobj = Py_None;
15409 static PyObject *_wrap_EventData_screen_get(PyObject *self, PyObject *args) {
15410 PyObject *resultobj;
15411 ob::EventData *arg1 = (ob::EventData *) 0 ;
15413 PyObject * obj0 = 0 ;
15415 if(!PyArg_ParseTuple(args,(char *)"O:EventData_screen_get",&obj0)) goto fail;
15416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15417 result = (int) ((arg1)->screen);
15419 resultobj = PyInt_FromLong((long)result);
15426 static PyObject *_wrap_EventData_client_set(PyObject *self, PyObject *args) {
15427 PyObject *resultobj;
15428 ob::EventData *arg1 = (ob::EventData *) 0 ;
15429 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15430 PyObject * obj0 = 0 ;
15431 PyObject * obj1 = 0 ;
15433 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_client_set",&obj0,&obj1)) goto fail;
15434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
15436 if (arg1) (arg1)->client = arg2;
15438 Py_INCREF(Py_None); resultobj = Py_None;
15445 static PyObject *_wrap_EventData_client_get(PyObject *self, PyObject *args) {
15446 PyObject *resultobj;
15447 ob::EventData *arg1 = (ob::EventData *) 0 ;
15448 ob::OBClient *result;
15449 PyObject * obj0 = 0 ;
15451 if(!PyArg_ParseTuple(args,(char *)"O:EventData_client_get",&obj0)) goto fail;
15452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15453 result = (ob::OBClient *) ((arg1)->client);
15455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
15462 static PyObject *_wrap_EventData_state_set(PyObject *self, PyObject *args) {
15463 PyObject *resultobj;
15464 ob::EventData *arg1 = (ob::EventData *) 0 ;
15465 unsigned int arg2 ;
15466 PyObject * obj0 = 0 ;
15467 PyObject * obj1 = 0 ;
15469 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_state_set",&obj0,&obj1)) goto fail;
15470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15471 arg2 = (unsigned int) PyInt_AsLong(obj1);
15472 if (PyErr_Occurred()) SWIG_fail;
15473 if (arg1) (arg1)->state = arg2;
15475 Py_INCREF(Py_None); resultobj = Py_None;
15482 static PyObject *_wrap_EventData_state_get(PyObject *self, PyObject *args) {
15483 PyObject *resultobj;
15484 ob::EventData *arg1 = (ob::EventData *) 0 ;
15485 unsigned int result;
15486 PyObject * obj0 = 0 ;
15488 if(!PyArg_ParseTuple(args,(char *)"O:EventData_state_get",&obj0)) goto fail;
15489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15490 result = (unsigned int) ((arg1)->state);
15492 resultobj = PyInt_FromLong((long)result);
15499 static PyObject *_wrap_EventData_action_set(PyObject *self, PyObject *args) {
15500 PyObject *resultobj;
15501 ob::EventData *arg1 = (ob::EventData *) 0 ;
15503 PyObject * obj0 = 0 ;
15505 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_action_set",&obj0,&arg2)) goto fail;
15506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15507 if (arg1) (arg1)->action = (ob::EventAction )arg2;
15509 Py_INCREF(Py_None); resultobj = Py_None;
15516 static PyObject *_wrap_EventData_action_get(PyObject *self, PyObject *args) {
15517 PyObject *resultobj;
15518 ob::EventData *arg1 = (ob::EventData *) 0 ;
15520 PyObject * obj0 = 0 ;
15522 if(!PyArg_ParseTuple(args,(char *)"O:EventData_action_get",&obj0)) goto fail;
15523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15524 result = (int) ((arg1)->action);
15526 resultobj = PyInt_FromLong((long)result);
15533 static PyObject *_wrap_new_EventData(PyObject *self, PyObject *args) {
15534 PyObject *resultobj;
15536 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15538 unsigned int arg4 ;
15539 ob::EventData *result;
15540 PyObject * obj1 = 0 ;
15541 PyObject * obj3 = 0 ;
15543 if(!PyArg_ParseTuple(args,(char *)"iOiO:new_EventData",&arg1,&obj1,&arg3,&obj3)) goto fail;
15544 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15545 arg4 = (unsigned int) PyInt_AsLong(obj3);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 result = (ob::EventData *)new ob::EventData(arg1,arg2,(ob::EventAction )arg3,arg4);
15549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__EventData, 1);
15556 static PyObject * EventData_swigregister(PyObject *self, PyObject *args) {
15558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15559 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData, obj);
15561 return Py_BuildValue((char *)"");
15563 static PyObject *_wrap_KeyData_screen_set(PyObject *self, PyObject *args) {
15564 PyObject *resultobj;
15565 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15567 PyObject * obj0 = 0 ;
15569 if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_screen_set",&obj0,&arg2)) goto fail;
15570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15571 if (arg1) (arg1)->screen = arg2;
15573 Py_INCREF(Py_None); resultobj = Py_None;
15580 static PyObject *_wrap_KeyData_screen_get(PyObject *self, PyObject *args) {
15581 PyObject *resultobj;
15582 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15584 PyObject * obj0 = 0 ;
15586 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_screen_get",&obj0)) goto fail;
15587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15588 result = (int) ((arg1)->screen);
15590 resultobj = PyInt_FromLong((long)result);
15597 static PyObject *_wrap_KeyData_client_set(PyObject *self, PyObject *args) {
15598 PyObject *resultobj;
15599 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15600 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15601 PyObject * obj0 = 0 ;
15602 PyObject * obj1 = 0 ;
15604 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_client_set",&obj0,&obj1)) goto fail;
15605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15606 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
15607 if (arg1) (arg1)->client = arg2;
15609 Py_INCREF(Py_None); resultobj = Py_None;
15616 static PyObject *_wrap_KeyData_client_get(PyObject *self, PyObject *args) {
15617 PyObject *resultobj;
15618 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15619 ob::OBClient *result;
15620 PyObject * obj0 = 0 ;
15622 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_client_get",&obj0)) goto fail;
15623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15624 result = (ob::OBClient *) ((arg1)->client);
15626 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
15633 static PyObject *_wrap_KeyData_time_set(PyObject *self, PyObject *args) {
15634 PyObject *resultobj;
15635 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15637 PyObject * obj0 = 0 ;
15638 PyObject * obj1 = 0 ;
15640 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_time_set",&obj0,&obj1)) goto fail;
15641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15642 arg2 = (Time) PyInt_AsLong(obj1);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 if (arg1) (arg1)->time = arg2;
15646 Py_INCREF(Py_None); resultobj = Py_None;
15653 static PyObject *_wrap_KeyData_time_get(PyObject *self, PyObject *args) {
15654 PyObject *resultobj;
15655 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15657 PyObject * obj0 = 0 ;
15659 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_time_get",&obj0)) goto fail;
15660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15661 result = (Time) ((arg1)->time);
15663 resultobj = PyInt_FromLong((long)result);
15670 static PyObject *_wrap_KeyData_state_set(PyObject *self, PyObject *args) {
15671 PyObject *resultobj;
15672 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15673 unsigned int arg2 ;
15674 PyObject * obj0 = 0 ;
15675 PyObject * obj1 = 0 ;
15677 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_state_set",&obj0,&obj1)) goto fail;
15678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15679 arg2 = (unsigned int) PyInt_AsLong(obj1);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 if (arg1) (arg1)->state = arg2;
15683 Py_INCREF(Py_None); resultobj = Py_None;
15690 static PyObject *_wrap_KeyData_state_get(PyObject *self, PyObject *args) {
15691 PyObject *resultobj;
15692 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15693 unsigned int result;
15694 PyObject * obj0 = 0 ;
15696 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_state_get",&obj0)) goto fail;
15697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15698 result = (unsigned int) ((arg1)->state);
15700 resultobj = PyInt_FromLong((long)result);
15707 static PyObject *_wrap_KeyData_key_set(PyObject *self, PyObject *args) {
15708 PyObject *resultobj;
15709 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15710 std::string *arg2 = (std::string *) 0 ;
15711 PyObject * obj0 = 0 ;
15712 PyObject * obj1 = 0 ;
15714 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_key_set",&obj0,&obj1)) goto fail;
15715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15717 if (arg1) (arg1)->key = *arg2;
15719 Py_INCREF(Py_None); resultobj = Py_None;
15726 static PyObject *_wrap_KeyData_key_get(PyObject *self, PyObject *args) {
15727 PyObject *resultobj;
15728 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15729 std::string *result;
15730 PyObject * obj0 = 0 ;
15732 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_key_get",&obj0)) goto fail;
15733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15734 result = (std::string *)& ((arg1)->key);
15736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__string, 0);
15743 static PyObject *_wrap_new_KeyData(PyObject *self, PyObject *args) {
15744 PyObject *resultobj;
15746 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15748 unsigned int arg4 ;
15749 unsigned int arg5 ;
15750 ob::KeyData *result;
15751 PyObject * obj1 = 0 ;
15752 PyObject * obj2 = 0 ;
15753 PyObject * obj3 = 0 ;
15754 PyObject * obj4 = 0 ;
15756 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_KeyData",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
15757 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15758 arg3 = (Time) PyInt_AsLong(obj2);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 arg4 = (unsigned int) PyInt_AsLong(obj3);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 arg5 = (unsigned int) PyInt_AsLong(obj4);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 result = (ob::KeyData *)new ob::KeyData(arg1,arg2,arg3,arg4,arg5);
15766 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__KeyData, 1);
15773 static PyObject * KeyData_swigregister(PyObject *self, PyObject *args) {
15775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15776 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData, obj);
15778 return Py_BuildValue((char *)"");
15780 static PyObject *_wrap_mbind(PyObject *self, PyObject *args) {
15781 PyObject *resultobj;
15782 std::string *arg1 = 0 ;
15785 PyObject *arg4 = (PyObject *) 0 ;
15787 std::string temp1 ;
15788 PyObject * obj0 = 0 ;
15789 PyObject * obj3 = 0 ;
15791 if(!PyArg_ParseTuple(args,(char *)"OiiO:mbind",&obj0,&arg2,&arg3,&obj3)) goto fail;
15793 if (PyString_Check(obj0)) {
15794 temp1 = std::string(PyString_AsString(obj0));
15797 SWIG_exception(SWIG_TypeError, "string expected");
15801 result = (PyObject *)ob::mbind((std::string const &)*arg1,(ob::MouseContext )arg2,(ob::MouseAction )arg3,arg4);
15803 resultobj = result;
15810 static PyObject *_wrap_kbind(PyObject *self, PyObject *args) {
15811 PyObject *resultobj;
15812 PyObject *arg1 = (PyObject *) 0 ;
15814 PyObject *arg3 = (PyObject *) 0 ;
15816 PyObject * obj0 = 0 ;
15817 PyObject * obj2 = 0 ;
15819 if(!PyArg_ParseTuple(args,(char *)"OiO:kbind",&obj0,&arg2,&obj2)) goto fail;
15822 result = (PyObject *)ob::kbind(arg1,(ob::KeyContext )arg2,arg3);
15824 resultobj = result;
15831 static PyObject *_wrap_ebind(PyObject *self, PyObject *args) {
15832 PyObject *resultobj;
15834 PyObject *arg2 = (PyObject *) 0 ;
15836 PyObject * obj1 = 0 ;
15838 if(!PyArg_ParseTuple(args,(char *)"iO:ebind",&arg1,&obj1)) goto fail;
15840 result = (PyObject *)ob::ebind((ob::EventAction )arg1,arg2);
15842 resultobj = result;
15849 static PyObject *_wrap_set_reset_key(PyObject *self, PyObject *args) {
15850 PyObject *resultobj;
15851 std::string *arg1 = 0 ;
15852 std::string temp1 ;
15853 PyObject * obj0 = 0 ;
15855 if(!PyArg_ParseTuple(args,(char *)"O:set_reset_key",&obj0)) goto fail;
15857 if (PyString_Check(obj0)) {
15858 temp1 = std::string(PyString_AsString(obj0));
15861 SWIG_exception(SWIG_TypeError, "string expected");
15864 ob::set_reset_key((std::string const &)*arg1);
15866 Py_INCREF(Py_None); resultobj = Py_None;
15873 static PyObject *_wrap_send_client_msg(PyObject *self, PyObject *args) {
15874 PyObject *resultobj;
15879 long arg5 = (long) 0 ;
15880 long arg6 = (long) 0 ;
15881 long arg7 = (long) 0 ;
15882 long arg8 = (long) 0 ;
15884 PyObject * obj0 = 0 ;
15885 PyObject * obj2 = 0 ;
15887 if(!PyArg_ParseTuple(args,(char *)"OiOl|llll:send_client_msg",&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
15888 arg1 = (Window) PyInt_AsLong(obj0);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 arg3 = (Window) PyInt_AsLong(obj2);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 result = (PyObject *)ob::send_client_msg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
15894 resultobj = result;
15901 static PyMethodDef SwigMethods[] = {
15902 { (char *)"Openbox_instance", _wrap_Openbox_instance, METH_VARARGS },
15903 { (char *)"OBDisplay_display", _wrap_OBDisplay_display, METH_VARARGS },
15904 { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher, METH_VARARGS },
15905 { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher, METH_VARARGS },
15906 { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers, METH_VARARGS },
15907 { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler, METH_VARARGS },
15908 { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler, METH_VARARGS },
15909 { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents, METH_VARARGS },
15910 { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler, METH_VARARGS },
15911 { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler, METH_VARARGS },
15912 { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler, METH_VARARGS },
15913 { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler, METH_VARARGS },
15914 { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler, METH_VARARGS },
15915 { (char *)"OtkEventDispatcher_lastTime", _wrap_OtkEventDispatcher_lastTime, METH_VARARGS },
15916 { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister, METH_VARARGS },
15917 { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle, METH_VARARGS },
15918 { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler, METH_VARARGS },
15919 { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler, METH_VARARGS },
15920 { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler, METH_VARARGS },
15921 { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler, METH_VARARGS },
15922 { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler, METH_VARARGS },
15923 { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler, METH_VARARGS },
15924 { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler, METH_VARARGS },
15925 { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler, METH_VARARGS },
15926 { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler, METH_VARARGS },
15927 { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler, METH_VARARGS },
15928 { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler, METH_VARARGS },
15929 { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler, METH_VARARGS },
15930 { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler, METH_VARARGS },
15931 { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler, METH_VARARGS },
15932 { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler, METH_VARARGS },
15933 { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler, METH_VARARGS },
15934 { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler, METH_VARARGS },
15935 { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler, METH_VARARGS },
15936 { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler, METH_VARARGS },
15937 { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler, METH_VARARGS },
15938 { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler, METH_VARARGS },
15939 { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler, METH_VARARGS },
15940 { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler, METH_VARARGS },
15941 { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler, METH_VARARGS },
15942 { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler, METH_VARARGS },
15943 { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler, METH_VARARGS },
15944 { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler, METH_VARARGS },
15945 { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler, METH_VARARGS },
15946 { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler, METH_VARARGS },
15947 { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler, METH_VARARGS },
15948 { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler, METH_VARARGS },
15949 { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler, METH_VARARGS },
15950 { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler, METH_VARARGS },
15951 { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister, METH_VARARGS },
15952 { (char *)"new_OtkWidget", _wrap_new_OtkWidget, METH_VARARGS },
15953 { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget, METH_VARARGS },
15954 { (char *)"OtkWidget_update", _wrap_OtkWidget_update, METH_VARARGS },
15955 { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler, METH_VARARGS },
15956 { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler, METH_VARARGS },
15957 { (char *)"OtkWidget_window", _wrap_OtkWidget_window, METH_VARARGS },
15958 { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent, METH_VARARGS },
15959 { (char *)"OtkWidget_children", _wrap_OtkWidget_children, METH_VARARGS },
15960 { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen, METH_VARARGS },
15961 { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect, METH_VARARGS },
15962 { (char *)"OtkWidget_move", _wrap_OtkWidget_move, METH_VARARGS },
15963 { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth, METH_VARARGS },
15964 { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight, METH_VARARGS },
15965 { (char *)"OtkWidget_width", _wrap_OtkWidget_width, METH_VARARGS },
15966 { (char *)"OtkWidget_height", _wrap_OtkWidget_height, METH_VARARGS },
15967 { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize, METH_VARARGS },
15968 { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry, METH_VARARGS },
15969 { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible, METH_VARARGS },
15970 { (char *)"OtkWidget_show", _wrap_OtkWidget_show, METH_VARARGS },
15971 { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide, METH_VARARGS },
15972 { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused, METH_VARARGS },
15973 { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus, METH_VARARGS },
15974 { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus, METH_VARARGS },
15975 { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse, METH_VARARGS },
15976 { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse, METH_VARARGS },
15977 { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse, METH_VARARGS },
15978 { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard, METH_VARARGS },
15979 { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard, METH_VARARGS },
15980 { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard, METH_VARARGS },
15981 { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture, METH_VARARGS },
15982 { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture, METH_VARARGS },
15983 { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor, METH_VARARGS },
15984 { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor, METH_VARARGS },
15985 { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth, METH_VARARGS },
15986 { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth, METH_VARARGS },
15987 { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild, METH_VARARGS },
15988 { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild, METH_VARARGS },
15989 { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz, METH_VARARGS },
15990 { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz, METH_VARARGS },
15991 { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert, METH_VARARGS },
15992 { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert, METH_VARARGS },
15993 { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor, METH_VARARGS },
15994 { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor, METH_VARARGS },
15995 { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth, METH_VARARGS },
15996 { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth, METH_VARARGS },
15997 { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction, METH_VARARGS },
15998 { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection, METH_VARARGS },
15999 { (char *)"OtkWidget_style", _wrap_OtkWidget_style, METH_VARARGS },
16000 { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle, METH_VARARGS },
16001 { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher, METH_VARARGS },
16002 { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher, METH_VARARGS },
16003 { (char *)"OtkWidget_swigregister", OtkWidget_swigregister, METH_VARARGS },
16004 { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget, METH_VARARGS },
16005 { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget, METH_VARARGS },
16006 { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus, METH_VARARGS },
16007 { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus, METH_VARARGS },
16008 { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture, METH_VARARGS },
16009 { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor, METH_VARARGS },
16010 { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture, METH_VARARGS },
16011 { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture, METH_VARARGS },
16012 { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor, METH_VARARGS },
16013 { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor, METH_VARARGS },
16014 { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused, METH_VARARGS },
16015 { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused, METH_VARARGS },
16016 { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister, METH_VARARGS },
16017 { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel, METH_VARARGS },
16018 { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel, METH_VARARGS },
16019 { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText, METH_VARARGS },
16020 { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText, METH_VARARGS },
16021 { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update, METH_VARARGS },
16022 { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle, METH_VARARGS },
16023 { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister, METH_VARARGS },
16024 { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget, METH_VARARGS },
16025 { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget, METH_VARARGS },
16026 { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show, METH_VARARGS },
16027 { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide, METH_VARARGS },
16028 { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler, METH_VARARGS },
16029 { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister, METH_VARARGS },
16030 { (char *)"new_OtkApplication", _wrap_new_OtkApplication, METH_VARARGS },
16031 { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication, METH_VARARGS },
16032 { (char *)"OtkApplication_run", _wrap_OtkApplication_run, METH_VARARGS },
16033 { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable, METH_VARARGS },
16034 { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable, METH_VARARGS },
16035 { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle, METH_VARARGS },
16036 { (char *)"OtkApplication_swigregister", OtkApplication_swigregister, METH_VARARGS },
16037 { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister, METH_VARARGS },
16038 { (char *)"new_OtkButton", _wrap_new_OtkButton, METH_VARARGS },
16039 { (char *)"delete_OtkButton", _wrap_delete_OtkButton, METH_VARARGS },
16040 { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture, METH_VARARGS },
16041 { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture, METH_VARARGS },
16042 { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture, METH_VARARGS },
16043 { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture, METH_VARARGS },
16044 { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture, METH_VARARGS },
16045 { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture, METH_VARARGS },
16046 { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed, METH_VARARGS },
16047 { (char *)"OtkButton_press", _wrap_OtkButton_press, METH_VARARGS },
16048 { (char *)"OtkButton_release", _wrap_OtkButton_release, METH_VARARGS },
16049 { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler, METH_VARARGS },
16050 { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler, METH_VARARGS },
16051 { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle, METH_VARARGS },
16052 { (char *)"OtkButton_swigregister", OtkButton_swigregister, METH_VARARGS },
16053 { (char *)"new_BColor", _wrap_new_BColor, METH_VARARGS },
16054 { (char *)"delete_BColor", _wrap_delete_BColor, METH_VARARGS },
16055 { (char *)"BColor_name", _wrap_BColor_name, METH_VARARGS },
16056 { (char *)"BColor_red", _wrap_BColor_red, METH_VARARGS },
16057 { (char *)"BColor_green", _wrap_BColor_green, METH_VARARGS },
16058 { (char *)"BColor_blue", _wrap_BColor_blue, METH_VARARGS },
16059 { (char *)"BColor_setRGB", _wrap_BColor_setRGB, METH_VARARGS },
16060 { (char *)"BColor_screen", _wrap_BColor_screen, METH_VARARGS },
16061 { (char *)"BColor_setScreen", _wrap_BColor_setScreen, METH_VARARGS },
16062 { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated, METH_VARARGS },
16063 { (char *)"BColor_isValid", _wrap_BColor_isValid, METH_VARARGS },
16064 { (char *)"BColor_pixel", _wrap_BColor_pixel, METH_VARARGS },
16065 { (char *)"BColor_equals", _wrap_BColor_equals, METH_VARARGS },
16066 { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache, METH_VARARGS },
16067 { (char *)"BColor_swigregister", BColor_swigregister, METH_VARARGS },
16068 { (char *)"new_Configuration", _wrap_new_Configuration, METH_VARARGS },
16069 { (char *)"delete_Configuration", _wrap_delete_Configuration, METH_VARARGS },
16070 { (char *)"Configuration_file", _wrap_Configuration_file, METH_VARARGS },
16071 { (char *)"Configuration_setFile", _wrap_Configuration_setFile, METH_VARARGS },
16072 { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave, METH_VARARGS },
16073 { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave, METH_VARARGS },
16074 { (char *)"Configuration_isModified", _wrap_Configuration_isModified, METH_VARARGS },
16075 { (char *)"Configuration_save", _wrap_Configuration_save, METH_VARARGS },
16076 { (char *)"Configuration_load", _wrap_Configuration_load, METH_VARARGS },
16077 { (char *)"Configuration_merge", _wrap_Configuration_merge, METH_VARARGS },
16078 { (char *)"Configuration_create", _wrap_Configuration_create, METH_VARARGS },
16079 { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool, METH_VARARGS },
16080 { (char *)"Configuration_setValue", _wrap_Configuration_setValue, METH_VARARGS },
16081 { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned, METH_VARARGS },
16082 { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long, METH_VARARGS },
16083 { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong, METH_VARARGS },
16084 { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string, METH_VARARGS },
16085 { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr, METH_VARARGS },
16086 { (char *)"Configuration_getValue", _wrap_Configuration_getValue, METH_VARARGS },
16087 { (char *)"Configuration_swigregister", Configuration_swigregister, METH_VARARGS },
16088 { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize, METH_VARARGS },
16089 { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy, METH_VARARGS },
16090 { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache, METH_VARARGS },
16091 { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo, METH_VARARGS },
16092 { (char *)"OBDisplay_findScreen", _wrap_OBDisplay_findScreen, METH_VARARGS },
16093 { (char *)"OBDisplay_xkb", _wrap_OBDisplay_xkb, METH_VARARGS },
16094 { (char *)"OBDisplay_xkbEventBase", _wrap_OBDisplay_xkbEventBase, METH_VARARGS },
16095 { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape, METH_VARARGS },
16096 { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase, METH_VARARGS },
16097 { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama, METH_VARARGS },
16098 { (char *)"OBDisplay_numLockMask", _wrap_OBDisplay_numLockMask, METH_VARARGS },
16099 { (char *)"OBDisplay_scrollLockMask", _wrap_OBDisplay_scrollLockMask, METH_VARARGS },
16100 { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab, METH_VARARGS },
16101 { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS },
16102 { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS },
16103 { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton, METH_VARARGS },
16104 { (char *)"OBDisplay_grabKey", _wrap_OBDisplay_grabKey, METH_VARARGS },
16105 { (char *)"OBDisplay_ungrabKey", _wrap_OBDisplay_ungrabKey, METH_VARARGS },
16106 { (char *)"OBDisplay_swigregister", OBDisplay_swigregister, METH_VARARGS },
16107 { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont, METH_VARARGS },
16108 { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont, METH_VARARGS },
16109 { (char *)"new_BFont", _wrap_new_BFont, METH_VARARGS },
16110 { (char *)"delete_BFont", _wrap_delete_BFont, METH_VARARGS },
16111 { (char *)"BFont_fontstring", _wrap_BFont_fontstring, METH_VARARGS },
16112 { (char *)"BFont_height", _wrap_BFont_height, METH_VARARGS },
16113 { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth, METH_VARARGS },
16114 { (char *)"BFont_measureString", _wrap_BFont_measureString, METH_VARARGS },
16115 { (char *)"BFont_drawString", _wrap_BFont_drawString, METH_VARARGS },
16116 { (char *)"BFont_swigregister", BFont_swigregister, METH_VARARGS },
16117 { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set, METH_VARARGS },
16118 { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext, METH_VARARGS },
16119 { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister, METH_VARARGS },
16120 { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc, METH_VARARGS },
16121 { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister, METH_VARARGS },
16122 { (char *)"new_BGCCache", _wrap_new_BGCCache, METH_VARARGS },
16123 { (char *)"delete_BGCCache", _wrap_delete_BGCCache, METH_VARARGS },
16124 { (char *)"BGCCache_purge", _wrap_BGCCache_purge, METH_VARARGS },
16125 { (char *)"BGCCache_find", _wrap_BGCCache_find, METH_VARARGS },
16126 { (char *)"BGCCache_release", _wrap_BGCCache_release, METH_VARARGS },
16127 { (char *)"BGCCache_swigregister", BGCCache_swigregister, METH_VARARGS },
16128 { (char *)"new_BPen", _wrap_new_BPen, METH_VARARGS },
16129 { (char *)"delete_BPen", _wrap_delete_BPen, METH_VARARGS },
16130 { (char *)"BPen_gc", _wrap_BPen_gc, METH_VARARGS },
16131 { (char *)"BPen_swigregister", BPen_swigregister, METH_VARARGS },
16132 { (char *)"new_BImage", _wrap_new_BImage, METH_VARARGS },
16133 { (char *)"delete_BImage", _wrap_delete_BImage, METH_VARARGS },
16134 { (char *)"BImage_render", _wrap_BImage_render, METH_VARARGS },
16135 { (char *)"BImage_swigregister", BImage_swigregister, METH_VARARGS },
16136 { (char *)"new_BImageControl", _wrap_new_BImageControl, METH_VARARGS },
16137 { (char *)"delete_BImageControl", _wrap_delete_BImageControl, METH_VARARGS },
16138 { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither, METH_VARARGS },
16139 { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo, METH_VARARGS },
16140 { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable, METH_VARARGS },
16141 { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual, METH_VARARGS },
16142 { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel, METH_VARARGS },
16143 { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth, METH_VARARGS },
16144 { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel, METH_VARARGS },
16145 { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt, METH_VARARGS },
16146 { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage, METH_VARARGS },
16147 { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap, METH_VARARGS },
16148 { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage, METH_VARARGS },
16149 { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables, METH_VARARGS },
16150 { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable, METH_VARARGS },
16151 { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers, METH_VARARGS },
16152 { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither, METH_VARARGS },
16153 { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel, METH_VARARGS },
16154 { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout, METH_VARARGS },
16155 { (char *)"BImageControl_swigregister", BImageControl_swigregister, METH_VARARGS },
16156 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
16157 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
16158 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
16159 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
16160 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
16161 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
16162 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
16163 { (char *)"new_OBProperty", _wrap_new_OBProperty, METH_VARARGS },
16164 { (char *)"delete_OBProperty", _wrap_delete_OBProperty, METH_VARARGS },
16165 { (char *)"OBProperty_set", _wrap_OBProperty_set, METH_VARARGS },
16166 { (char *)"OBProperty_get", _wrap_OBProperty_get, METH_VARARGS },
16167 { (char *)"OBProperty_erase", _wrap_OBProperty_erase, METH_VARARGS },
16168 { (char *)"OBProperty_atom", _wrap_OBProperty_atom, METH_VARARGS },
16169 { (char *)"OBProperty_swigregister", OBProperty_swigregister, METH_VARARGS },
16170 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
16171 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
16172 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
16173 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
16174 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
16175 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
16176 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
16177 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
16178 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
16179 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
16180 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
16181 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
16182 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
16183 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
16184 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
16185 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
16186 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
16187 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
16188 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
16189 { (char *)"Rect_equals", _wrap_Rect_equals, METH_VARARGS },
16190 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
16191 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
16192 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
16193 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
16194 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
16195 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
16196 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
16197 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
16198 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
16199 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
16200 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
16201 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
16202 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
16203 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
16204 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
16205 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
16206 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
16207 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
16208 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
16209 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
16210 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
16211 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
16212 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
16213 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
16214 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
16215 { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set, METH_VARARGS },
16216 { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get, METH_VARARGS },
16217 { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set, METH_VARARGS },
16218 { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get, METH_VARARGS },
16219 { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set, METH_VARARGS },
16220 { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get, METH_VARARGS },
16221 { (char *)"new_PixmapMask", _wrap_new_PixmapMask, METH_VARARGS },
16222 { (char *)"PixmapMask_swigregister", PixmapMask_swigregister, METH_VARARGS },
16223 { (char *)"Style_image_control_set", _wrap_Style_image_control_set, METH_VARARGS },
16224 { (char *)"Style_image_control_get", _wrap_Style_image_control_get, METH_VARARGS },
16225 { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set, METH_VARARGS },
16226 { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get, METH_VARARGS },
16227 { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set, METH_VARARGS },
16228 { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get, METH_VARARGS },
16229 { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set, METH_VARARGS },
16230 { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get, METH_VARARGS },
16231 { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set, METH_VARARGS },
16232 { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get, METH_VARARGS },
16233 { (char *)"Style_border_color_set", _wrap_Style_border_color_set, METH_VARARGS },
16234 { (char *)"Style_border_color_get", _wrap_Style_border_color_get, METH_VARARGS },
16235 { (char *)"Style_font_set", _wrap_Style_font_set, METH_VARARGS },
16236 { (char *)"Style_font_get", _wrap_Style_font_get, METH_VARARGS },
16237 { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set, METH_VARARGS },
16238 { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get, METH_VARARGS },
16239 { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set, METH_VARARGS },
16240 { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get, METH_VARARGS },
16241 { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set, METH_VARARGS },
16242 { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get, METH_VARARGS },
16243 { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set, METH_VARARGS },
16244 { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get, METH_VARARGS },
16245 { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set, METH_VARARGS },
16246 { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get, METH_VARARGS },
16247 { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set, METH_VARARGS },
16248 { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get, METH_VARARGS },
16249 { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set, METH_VARARGS },
16250 { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get, METH_VARARGS },
16251 { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set, METH_VARARGS },
16252 { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get, METH_VARARGS },
16253 { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set, METH_VARARGS },
16254 { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get, METH_VARARGS },
16255 { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set, METH_VARARGS },
16256 { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get, METH_VARARGS },
16257 { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set, METH_VARARGS },
16258 { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get, METH_VARARGS },
16259 { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set, METH_VARARGS },
16260 { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get, METH_VARARGS },
16261 { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set, METH_VARARGS },
16262 { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get, METH_VARARGS },
16263 { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set, METH_VARARGS },
16264 { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get, METH_VARARGS },
16265 { (char *)"Style_close_button_set", _wrap_Style_close_button_set, METH_VARARGS },
16266 { (char *)"Style_close_button_get", _wrap_Style_close_button_get, METH_VARARGS },
16267 { (char *)"Style_max_button_set", _wrap_Style_max_button_set, METH_VARARGS },
16268 { (char *)"Style_max_button_get", _wrap_Style_max_button_get, METH_VARARGS },
16269 { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set, METH_VARARGS },
16270 { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get, METH_VARARGS },
16271 { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set, METH_VARARGS },
16272 { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get, METH_VARARGS },
16273 { (char *)"Style_justify_set", _wrap_Style_justify_set, METH_VARARGS },
16274 { (char *)"Style_justify_get", _wrap_Style_justify_get, METH_VARARGS },
16275 { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set, METH_VARARGS },
16276 { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get, METH_VARARGS },
16277 { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set, METH_VARARGS },
16278 { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get, METH_VARARGS },
16279 { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set, METH_VARARGS },
16280 { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get, METH_VARARGS },
16281 { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set, METH_VARARGS },
16282 { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get, METH_VARARGS },
16283 { (char *)"Style_border_width_set", _wrap_Style_border_width_set, METH_VARARGS },
16284 { (char *)"Style_border_width_get", _wrap_Style_border_width_get, METH_VARARGS },
16285 { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set, METH_VARARGS },
16286 { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get, METH_VARARGS },
16287 { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set, METH_VARARGS },
16288 { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get, METH_VARARGS },
16289 { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set, METH_VARARGS },
16290 { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get, METH_VARARGS },
16291 { (char *)"new_Style", _wrap_new_Style, METH_VARARGS },
16292 { (char *)"delete_Style", _wrap_delete_Style, METH_VARARGS },
16293 { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask, METH_VARARGS },
16294 { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture, METH_VARARGS },
16295 { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor, METH_VARARGS },
16296 { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont, METH_VARARGS },
16297 { (char *)"Style_load", _wrap_Style_load, METH_VARARGS },
16298 { (char *)"Style_getCloseButtonMask", _wrap_Style_getCloseButtonMask, METH_VARARGS },
16299 { (char *)"Style_getMaximizeButtonMask", _wrap_Style_getMaximizeButtonMask, METH_VARARGS },
16300 { (char *)"Style_getIconifyButtonMask", _wrap_Style_getIconifyButtonMask, METH_VARARGS },
16301 { (char *)"Style_getStickyButtonMask", _wrap_Style_getStickyButtonMask, METH_VARARGS },
16302 { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus, METH_VARARGS },
16303 { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus, METH_VARARGS },
16304 { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus, METH_VARARGS },
16305 { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus, METH_VARARGS },
16306 { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus, METH_VARARGS },
16307 { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus, METH_VARARGS },
16308 { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus, METH_VARARGS },
16309 { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus, METH_VARARGS },
16310 { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus, METH_VARARGS },
16311 { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus, METH_VARARGS },
16312 { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus, METH_VARARGS },
16313 { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus, METH_VARARGS },
16314 { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus, METH_VARARGS },
16315 { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus, METH_VARARGS },
16316 { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus, METH_VARARGS },
16317 { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus, METH_VARARGS },
16318 { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth, METH_VARARGS },
16319 { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth, METH_VARARGS },
16320 { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth, METH_VARARGS },
16321 { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth, METH_VARARGS },
16322 { (char *)"Style_getFont", _wrap_Style_getFont, METH_VARARGS },
16323 { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts, METH_VARARGS },
16324 { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts, METH_VARARGS },
16325 { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts, METH_VARARGS },
16326 { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts, METH_VARARGS },
16327 { (char *)"Style_textJustify", _wrap_Style_textJustify, METH_VARARGS },
16328 { (char *)"Style_bulletType", _wrap_Style_bulletType, METH_VARARGS },
16329 { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor, METH_VARARGS },
16330 { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus, METH_VARARGS },
16331 { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus, METH_VARARGS },
16332 { (char *)"Style_setImageControl", _wrap_Style_setImageControl, METH_VARARGS },
16333 { (char *)"Style_getScreen", _wrap_Style_getScreen, METH_VARARGS },
16334 { (char *)"Style_swigregister", Style_swigregister, METH_VARARGS },
16335 { (char *)"new_BTexture", _wrap_new_BTexture, METH_VARARGS },
16336 { (char *)"BTexture_setColor", _wrap_BTexture_setColor, METH_VARARGS },
16337 { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo, METH_VARARGS },
16338 { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor, METH_VARARGS },
16339 { (char *)"BTexture_color", _wrap_BTexture_color, METH_VARARGS },
16340 { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo, METH_VARARGS },
16341 { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor, METH_VARARGS },
16342 { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor, METH_VARARGS },
16343 { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor, METH_VARARGS },
16344 { (char *)"BTexture_texture", _wrap_BTexture_texture, METH_VARARGS },
16345 { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture, METH_VARARGS },
16346 { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture, METH_VARARGS },
16347 { (char *)"BTexture_equals", _wrap_BTexture_equals, METH_VARARGS },
16348 { (char *)"BTexture_screen", _wrap_BTexture_screen, METH_VARARGS },
16349 { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen, METH_VARARGS },
16350 { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl, METH_VARARGS },
16351 { (char *)"BTexture_description", _wrap_BTexture_description, METH_VARARGS },
16352 { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription, METH_VARARGS },
16353 { (char *)"BTexture_render", _wrap_BTexture_render, METH_VARARGS },
16354 { (char *)"BTexture_swigregister", BTexture_swigregister, METH_VARARGS },
16355 { (char *)"new_OBTimer", _wrap_new_OBTimer, METH_VARARGS },
16356 { (char *)"delete_OBTimer", _wrap_delete_OBTimer, METH_VARARGS },
16357 { (char *)"OBTimer_fire", _wrap_OBTimer_fire, METH_VARARGS },
16358 { (char *)"OBTimer_timing", _wrap_OBTimer_timing, METH_VARARGS },
16359 { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring, METH_VARARGS },
16360 { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout, METH_VARARGS },
16361 { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime, METH_VARARGS },
16362 { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime, METH_VARARGS },
16363 { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire, METH_VARARGS },
16364 { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime, METH_VARARGS },
16365 { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring, METH_VARARGS },
16366 { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout, METH_VARARGS },
16367 { (char *)"OBTimer_start", _wrap_OBTimer_start, METH_VARARGS },
16368 { (char *)"OBTimer_stop", _wrap_OBTimer_stop, METH_VARARGS },
16369 { (char *)"OBTimer_swigregister", OBTimer_swigregister, METH_VARARGS },
16370 { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager, METH_VARARGS },
16371 { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager, METH_VARARGS },
16372 { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire, METH_VARARGS },
16373 { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer, METH_VARARGS },
16374 { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer, METH_VARARGS },
16375 { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister, METH_VARARGS },
16376 { (char *)"expandTilde", _wrap_expandTilde, METH_VARARGS },
16377 { (char *)"bexec", _wrap_bexec, METH_VARARGS },
16378 { (char *)"textPropertyToString", _wrap_textPropertyToString, METH_VARARGS },
16379 { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long, METH_VARARGS },
16380 { (char *)"itostring_long", _wrap_itostring_long, METH_VARARGS },
16381 { (char *)"itostring_unsigned", _wrap_itostring_unsigned, METH_VARARGS },
16382 { (char *)"itostring", _wrap_itostring, METH_VARARGS },
16383 { (char *)"basename", _wrap_basename, METH_VARARGS },
16384 { (char *)"Cursors_session_set", _wrap_Cursors_session_set, METH_VARARGS },
16385 { (char *)"Cursors_session_get", _wrap_Cursors_session_get, METH_VARARGS },
16386 { (char *)"Cursors_move_set", _wrap_Cursors_move_set, METH_VARARGS },
16387 { (char *)"Cursors_move_get", _wrap_Cursors_move_get, METH_VARARGS },
16388 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set, METH_VARARGS },
16389 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get, METH_VARARGS },
16390 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set, METH_VARARGS },
16391 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get, METH_VARARGS },
16392 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set, METH_VARARGS },
16393 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get, METH_VARARGS },
16394 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set, METH_VARARGS },
16395 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get, METH_VARARGS },
16396 { (char *)"Cursors_swigregister", Cursors_swigregister, METH_VARARGS },
16397 { (char *)"Openbox_state", _wrap_Openbox_state, METH_VARARGS },
16398 { (char *)"Openbox_timerManager", _wrap_Openbox_timerManager, METH_VARARGS },
16399 { (char *)"Openbox_property", _wrap_Openbox_property, METH_VARARGS },
16400 { (char *)"Openbox_actions", _wrap_Openbox_actions, METH_VARARGS },
16401 { (char *)"Openbox_bindings", _wrap_Openbox_bindings, METH_VARARGS },
16402 { (char *)"Openbox_screen", _wrap_Openbox_screen, METH_VARARGS },
16403 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount, METH_VARARGS },
16404 { (char *)"Openbox_cursors", _wrap_Openbox_cursors, METH_VARARGS },
16405 { (char *)"Openbox_addClient", _wrap_Openbox_addClient, METH_VARARGS },
16406 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient, METH_VARARGS },
16407 { (char *)"Openbox_findClient", _wrap_Openbox_findClient, METH_VARARGS },
16408 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient, METH_VARARGS },
16409 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient, METH_VARARGS },
16410 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen, METH_VARARGS },
16411 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown, METH_VARARGS },
16412 { (char *)"Openbox_restart", _wrap_Openbox_restart, METH_VARARGS },
16413 { (char *)"Openbox_execute", _wrap_Openbox_execute, METH_VARARGS },
16414 { (char *)"Openbox_swigregister", Openbox_swigregister, METH_VARARGS },
16415 { (char *)"OBScreen_client", _wrap_OBScreen_client, METH_VARARGS },
16416 { (char *)"OBScreen_clientCount", _wrap_OBScreen_clientCount, METH_VARARGS },
16417 { (char *)"OBScreen_number", _wrap_OBScreen_number, METH_VARARGS },
16418 { (char *)"OBScreen_managed", _wrap_OBScreen_managed, METH_VARARGS },
16419 { (char *)"OBScreen_imageControl", _wrap_OBScreen_imageControl, METH_VARARGS },
16420 { (char *)"OBScreen_area", _wrap_OBScreen_area, METH_VARARGS },
16421 { (char *)"OBScreen_style", _wrap_OBScreen_style, METH_VARARGS },
16422 { (char *)"OBScreen_focuswindow", _wrap_OBScreen_focuswindow, METH_VARARGS },
16423 { (char *)"OBScreen_desktop", _wrap_OBScreen_desktop, METH_VARARGS },
16424 { (char *)"OBScreen_numDesktops", _wrap_OBScreen_numDesktops, METH_VARARGS },
16425 { (char *)"OBScreen_updateStrut", _wrap_OBScreen_updateStrut, METH_VARARGS },
16426 { (char *)"OBScreen_manageExisting", _wrap_OBScreen_manageExisting, METH_VARARGS },
16427 { (char *)"OBScreen_manageWindow", _wrap_OBScreen_manageWindow, METH_VARARGS },
16428 { (char *)"OBScreen_unmanageWindow", _wrap_OBScreen_unmanageWindow, METH_VARARGS },
16429 { (char *)"OBScreen_restack", _wrap_OBScreen_restack, METH_VARARGS },
16430 { (char *)"OBScreen_setDesktopName", _wrap_OBScreen_setDesktopName, METH_VARARGS },
16431 { (char *)"OBScreen_propertyHandler", _wrap_OBScreen_propertyHandler, METH_VARARGS },
16432 { (char *)"OBScreen_clientMessageHandler", _wrap_OBScreen_clientMessageHandler, METH_VARARGS },
16433 { (char *)"OBScreen_mapRequestHandler", _wrap_OBScreen_mapRequestHandler, METH_VARARGS },
16434 { (char *)"OBScreen_swigregister", OBScreen_swigregister, METH_VARARGS },
16435 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set, METH_VARARGS },
16436 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get, METH_VARARGS },
16437 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set, METH_VARARGS },
16438 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get, METH_VARARGS },
16439 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set, METH_VARARGS },
16440 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get, METH_VARARGS },
16441 { (char *)"MwmHints_swigregister", MwmHints_swigregister, METH_VARARGS },
16442 { (char *)"OBClient_frame_set", _wrap_OBClient_frame_set, METH_VARARGS },
16443 { (char *)"OBClient_frame_get", _wrap_OBClient_frame_get, METH_VARARGS },
16444 { (char *)"OBClient_ignore_unmaps_set", _wrap_OBClient_ignore_unmaps_set, METH_VARARGS },
16445 { (char *)"OBClient_ignore_unmaps_get", _wrap_OBClient_ignore_unmaps_get, METH_VARARGS },
16446 { (char *)"OBClient_screen", _wrap_OBClient_screen, METH_VARARGS },
16447 { (char *)"OBClient_window", _wrap_OBClient_window, METH_VARARGS },
16448 { (char *)"OBClient_type", _wrap_OBClient_type, METH_VARARGS },
16449 { (char *)"OBClient_normal", _wrap_OBClient_normal, METH_VARARGS },
16450 { (char *)"OBClient_desktop", _wrap_OBClient_desktop, METH_VARARGS },
16451 { (char *)"OBClient_title", _wrap_OBClient_title, METH_VARARGS },
16452 { (char *)"OBClient_iconTitle", _wrap_OBClient_iconTitle, METH_VARARGS },
16453 { (char *)"OBClient_appName", _wrap_OBClient_appName, METH_VARARGS },
16454 { (char *)"OBClient_appClass", _wrap_OBClient_appClass, METH_VARARGS },
16455 { (char *)"OBClient_role", _wrap_OBClient_role, METH_VARARGS },
16456 { (char *)"OBClient_canFocus", _wrap_OBClient_canFocus, METH_VARARGS },
16457 { (char *)"OBClient_urgent", _wrap_OBClient_urgent, METH_VARARGS },
16458 { (char *)"OBClient_focusNotify", _wrap_OBClient_focusNotify, METH_VARARGS },
16459 { (char *)"OBClient_shaped", _wrap_OBClient_shaped, METH_VARARGS },
16460 { (char *)"OBClient_gravity", _wrap_OBClient_gravity, METH_VARARGS },
16461 { (char *)"OBClient_positionRequested", _wrap_OBClient_positionRequested, METH_VARARGS },
16462 { (char *)"OBClient_decorations", _wrap_OBClient_decorations, METH_VARARGS },
16463 { (char *)"OBClient_funtions", _wrap_OBClient_funtions, METH_VARARGS },
16464 { (char *)"OBClient_transientFor", _wrap_OBClient_transientFor, METH_VARARGS },
16465 { (char *)"OBClient_modal", _wrap_OBClient_modal, METH_VARARGS },
16466 { (char *)"OBClient_shaded", _wrap_OBClient_shaded, METH_VARARGS },
16467 { (char *)"OBClient_iconic", _wrap_OBClient_iconic, METH_VARARGS },
16468 { (char *)"OBClient_maxVert", _wrap_OBClient_maxVert, METH_VARARGS },
16469 { (char *)"OBClient_maxHorz", _wrap_OBClient_maxHorz, METH_VARARGS },
16470 { (char *)"OBClient_layer", _wrap_OBClient_layer, METH_VARARGS },
16471 { (char *)"OBClient_toggleClientBorder", _wrap_OBClient_toggleClientBorder, METH_VARARGS },
16472 { (char *)"OBClient_area", _wrap_OBClient_area, METH_VARARGS },
16473 { (char *)"OBClient_strut", _wrap_OBClient_strut, METH_VARARGS },
16474 { (char *)"OBClient_move", _wrap_OBClient_move, METH_VARARGS },
16475 { (char *)"OBClient_resize", _wrap_OBClient_resize, METH_VARARGS },
16476 { (char *)"OBClient_focus", _wrap_OBClient_focus, METH_VARARGS },
16477 { (char *)"OBClient_unfocus", _wrap_OBClient_unfocus, METH_VARARGS },
16478 { (char *)"OBClient_focusHandler", _wrap_OBClient_focusHandler, METH_VARARGS },
16479 { (char *)"OBClient_unfocusHandler", _wrap_OBClient_unfocusHandler, METH_VARARGS },
16480 { (char *)"OBClient_propertyHandler", _wrap_OBClient_propertyHandler, METH_VARARGS },
16481 { (char *)"OBClient_clientMessageHandler", _wrap_OBClient_clientMessageHandler, METH_VARARGS },
16482 { (char *)"OBClient_configureRequestHandler", _wrap_OBClient_configureRequestHandler, METH_VARARGS },
16483 { (char *)"OBClient_unmapHandler", _wrap_OBClient_unmapHandler, METH_VARARGS },
16484 { (char *)"OBClient_destroyHandler", _wrap_OBClient_destroyHandler, METH_VARARGS },
16485 { (char *)"OBClient_reparentHandler", _wrap_OBClient_reparentHandler, METH_VARARGS },
16486 { (char *)"OBClient_swigregister", OBClient_swigregister, METH_VARARGS },
16487 { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set, METH_VARARGS },
16488 { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get, METH_VARARGS },
16489 { (char *)"MouseData_client_set", _wrap_MouseData_client_set, METH_VARARGS },
16490 { (char *)"MouseData_client_get", _wrap_MouseData_client_get, METH_VARARGS },
16491 { (char *)"MouseData_time_set", _wrap_MouseData_time_set, METH_VARARGS },
16492 { (char *)"MouseData_time_get", _wrap_MouseData_time_get, METH_VARARGS },
16493 { (char *)"MouseData_state_set", _wrap_MouseData_state_set, METH_VARARGS },
16494 { (char *)"MouseData_state_get", _wrap_MouseData_state_get, METH_VARARGS },
16495 { (char *)"MouseData_button_set", _wrap_MouseData_button_set, METH_VARARGS },
16496 { (char *)"MouseData_button_get", _wrap_MouseData_button_get, METH_VARARGS },
16497 { (char *)"MouseData_context_set", _wrap_MouseData_context_set, METH_VARARGS },
16498 { (char *)"MouseData_context_get", _wrap_MouseData_context_get, METH_VARARGS },
16499 { (char *)"MouseData_action_set", _wrap_MouseData_action_set, METH_VARARGS },
16500 { (char *)"MouseData_action_get", _wrap_MouseData_action_get, METH_VARARGS },
16501 { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set, METH_VARARGS },
16502 { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get, METH_VARARGS },
16503 { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set, METH_VARARGS },
16504 { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get, METH_VARARGS },
16505 { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set, METH_VARARGS },
16506 { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get, METH_VARARGS },
16507 { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set, METH_VARARGS },
16508 { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get, METH_VARARGS },
16509 { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set, METH_VARARGS },
16510 { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get, METH_VARARGS },
16511 { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set, METH_VARARGS },
16512 { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get, METH_VARARGS },
16513 { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set, METH_VARARGS },
16514 { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get, METH_VARARGS },
16515 { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set, METH_VARARGS },
16516 { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get, METH_VARARGS },
16517 { (char *)"new_MouseData", _wrap_new_MouseData, METH_VARARGS },
16518 { (char *)"MouseData_swigregister", MouseData_swigregister, METH_VARARGS },
16519 { (char *)"EventData_screen_set", _wrap_EventData_screen_set, METH_VARARGS },
16520 { (char *)"EventData_screen_get", _wrap_EventData_screen_get, METH_VARARGS },
16521 { (char *)"EventData_client_set", _wrap_EventData_client_set, METH_VARARGS },
16522 { (char *)"EventData_client_get", _wrap_EventData_client_get, METH_VARARGS },
16523 { (char *)"EventData_state_set", _wrap_EventData_state_set, METH_VARARGS },
16524 { (char *)"EventData_state_get", _wrap_EventData_state_get, METH_VARARGS },
16525 { (char *)"EventData_action_set", _wrap_EventData_action_set, METH_VARARGS },
16526 { (char *)"EventData_action_get", _wrap_EventData_action_get, METH_VARARGS },
16527 { (char *)"new_EventData", _wrap_new_EventData, METH_VARARGS },
16528 { (char *)"EventData_swigregister", EventData_swigregister, METH_VARARGS },
16529 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set, METH_VARARGS },
16530 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get, METH_VARARGS },
16531 { (char *)"KeyData_client_set", _wrap_KeyData_client_set, METH_VARARGS },
16532 { (char *)"KeyData_client_get", _wrap_KeyData_client_get, METH_VARARGS },
16533 { (char *)"KeyData_time_set", _wrap_KeyData_time_set, METH_VARARGS },
16534 { (char *)"KeyData_time_get", _wrap_KeyData_time_get, METH_VARARGS },
16535 { (char *)"KeyData_state_set", _wrap_KeyData_state_set, METH_VARARGS },
16536 { (char *)"KeyData_state_get", _wrap_KeyData_state_get, METH_VARARGS },
16537 { (char *)"KeyData_key_set", _wrap_KeyData_key_set, METH_VARARGS },
16538 { (char *)"KeyData_key_get", _wrap_KeyData_key_get, METH_VARARGS },
16539 { (char *)"new_KeyData", _wrap_new_KeyData, METH_VARARGS },
16540 { (char *)"KeyData_swigregister", KeyData_swigregister, METH_VARARGS },
16541 { (char *)"mbind", _wrap_mbind, METH_VARARGS },
16542 { (char *)"kbind", _wrap_kbind, METH_VARARGS },
16543 { (char *)"ebind", _wrap_ebind, METH_VARARGS },
16544 { (char *)"set_reset_key", _wrap_set_reset_key, METH_VARARGS },
16545 { (char *)"send_client_msg", _wrap_send_client_msg, METH_VARARGS },
16550 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16552 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x) {
16553 return (void *)((otk::OtkFocusWidget *) (otk::OtkFocusLabel *) ((otk::OtkButton *) x));
16555 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x) {
16556 return (void *)((otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
16558 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x) {
16559 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
16561 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x) {
16562 return (void *)((otk::OtkWidget *) ((otk::OtkAppWidget *) x));
16564 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x) {
16565 return (void *)((otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
16567 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x) {
16568 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
16570 static void *_p_ob__OBActionsTo_p_otk__OtkEventHandler(void *x) {
16571 return (void *)((otk::OtkEventHandler *) ((ob::OBActions *) x));
16573 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
16574 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
16576 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
16577 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
16579 static void *_p_ob__OpenboxTo_p_otk__OtkEventHandler(void *x) {
16580 return (void *)((otk::OtkEventHandler *) ((ob::Openbox *) x));
16582 static void *_p_ob__OBScreenTo_p_otk__OtkEventHandler(void *x) {
16583 return (void *)((otk::OtkEventHandler *) ((ob::OBScreen *) x));
16585 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
16586 return (void *)((otk::OtkEventHandler *) ((otk::OtkWidget *) x));
16588 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
16589 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
16591 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
16592 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
16594 static void *_p_ob__OBClientTo_p_otk__OtkEventHandler(void *x) {
16595 return (void *)((otk::OtkEventHandler *) ((ob::OBClient *) x));
16597 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x) {
16598 return (void *)((otk::OtkFocusLabel *) ((otk::OtkButton *) x));
16600 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
16601 return (void *)((otk::OtkEventDispatcher *) ((otk::OtkApplication *) x));
16603 static void *_p_ob__OpenboxTo_p_otk__OtkEventDispatcher(void *x) {
16604 return (void *)((otk::OtkEventDispatcher *) ((ob::Openbox *) x));
16606 static void *_p_ob__OBScreenTo_p_ob__OBWidget(void *x) {
16607 return (void *)((ob::OBWidget *) ((ob::OBScreen *) x));
16609 static void *_p_ob__OBClientTo_p_ob__OBWidget(void *x) {
16610 return (void *)((ob::OBWidget *) ((ob::OBClient *) x));
16612 static swig_type_info _swigt__p_otk__OBProperty__StringVect[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
16613 static swig_type_info _swigt__p_otk__BGCCache[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
16614 static swig_type_info _swigt__p_otk__BColor[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
16615 static swig_type_info _swigt__p_XFontStruct[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
16616 static swig_type_info _swigt__p_otk__Configuration[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
16617 static swig_type_info _swigt__p_otk__PixmapMask[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
16618 static swig_type_info _swigt__p_otk__PointerAssassin[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
16619 static swig_type_info _swigt__p_otk__BImage[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
16620 static swig_type_info _swigt__p_otk__OBTimer[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
16621 static swig_type_info _swigt__p_ob__OBFrame[] = {{"_p_ob__OBFrame", 0, "ob::OBFrame *", 0},{"_p_ob__OBFrame"},{0}};
16622 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
16623 static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
16624 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
16625 static swig_type_info _swigt__p_otk__OBDisplay[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
16626 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
16627 static swig_type_info _swigt__p_p_XColor[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
16628 static swig_type_info _swigt__p_ob__Cursors[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
16629 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
16630 static swig_type_info _swigt__p_otk__BPen[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
16631 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
16632 static swig_type_info _swigt__p_otk__OtkButton[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
16633 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
16634 static swig_type_info _swigt__p_ob__MwmHints[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
16635 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
16636 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
16637 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
16638 static swig_type_info _swigt__p_timeval[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
16639 static swig_type_info _swigt__p_ob__OBActions[] = {{"_p_ob__OBActions", 0, "ob::OBActions *", 0},{"_p_ob__OBActions"},{0}};
16640 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
16641 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
16642 static swig_type_info _swigt__p_otk__OtkApplication[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
16643 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
16644 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}};
16645 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}};
16646 static swig_type_info _swigt__p_PyObject[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
16647 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
16648 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
16649 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
16650 static swig_type_info _swigt__p_ob__OBScreen[] = {{"_p_ob__OBScreen", 0, "ob::OBScreen *", 0},{"_p_ob__OBScreen"},{0}};
16651 static swig_type_info _swigt__p_otk__BGCCacheContext[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
16652 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
16653 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
16654 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
16655 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
16656 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
16657 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
16658 static swig_type_info _swigt__p_XTextProperty[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
16659 static swig_type_info _swigt__p_otk__OtkEventHandler[] = {{"_p_otk__OtkEventHandler", 0, "otk::OtkEventHandler *", 0},{"_p_ob__OBActions", _p_ob__OBActionsTo_p_otk__OtkEventHandler},{"_p_otk__OtkEventHandler"},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkEventHandler},{"_p_otk__OtkAppWidget", _p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventHandler},{"_p_ob__OBScreen", _p_ob__OBScreenTo_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},{"_p_ob__OBClient", _p_ob__OBClientTo_p_otk__OtkEventHandler},{0}};
16660 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
16661 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
16662 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
16663 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
16664 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
16665 static swig_type_info _swigt__otk__OBTimeoutHandler[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
16666 static swig_type_info _swigt__p_XftDraw[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
16667 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
16668 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}};
16669 static swig_type_info _swigt__p_otk__BTexture[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
16670 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"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventDispatcher},{0}};
16671 static swig_type_info _swigt__p_otk__BFont[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
16672 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
16673 static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
16674 static swig_type_info _swigt__p_ob__MouseData[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
16675 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
16676 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
16677 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
16678 static swig_type_info _swigt__p_GC[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
16679 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
16680 static swig_type_info _swigt__p_otk__OtkAppWidget[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
16681 static swig_type_info _swigt__p_ob__OBWidget[] = {{"_p_ob__OBWidget", 0, "ob::OBWidget *", 0},{"_p_ob__OBWidget"},{"_p_ob__OBScreen", _p_ob__OBScreenTo_p_ob__OBWidget},{"_p_ob__OBClient", _p_ob__OBClientTo_p_ob__OBWidget},{0}};
16682 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
16683 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
16684 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
16685 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
16686 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
16687 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
16688 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
16689 static swig_type_info _swigt__p_ob__OBBindings[] = {{"_p_ob__OBBindings", 0, "ob::OBBindings *", 0},{"_p_ob__OBBindings"},{0}};
16690 static swig_type_info _swigt__p_ob__OBClient[] = {{"_p_ob__OBClient", 0, "ob::OBClient *", 0},{"_p_ob__OBClient"},{0}};
16691 static swig_type_info _swigt__p_otk__BGCCacheItem[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
16692 static swig_type_info _swigt__p_p_unsigned_int[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
16693 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
16694 static swig_type_info _swigt__p_p_unsigned_char[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
16695 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
16696 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
16697 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
16698 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
16699 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
16700 static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
16701 static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
16702 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
16703 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
16704 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
16706 static swig_type_info *swig_types_initial[] = {
16707 _swigt__p_otk__OBProperty__StringVect,
16708 _swigt__p_otk__BGCCache,
16709 _swigt__p_otk__BColor,
16710 _swigt__p_XFontStruct,
16711 _swigt__p_otk__Configuration,
16712 _swigt__p_otk__PixmapMask,
16713 _swigt__p_otk__PointerAssassin,
16714 _swigt__p_otk__BImage,
16715 _swigt__p_otk__OBTimer,
16716 _swigt__p_ob__OBFrame,
16717 _swigt__p_otk__OtkWidget__OtkWidgetList,
16718 _swigt__p_ob__EventData,
16720 _swigt__p_otk__OBDisplay,
16722 _swigt__p_p_XColor,
16723 _swigt__p_ob__Cursors,
16724 _swigt__p_XReparentEvent,
16725 _swigt__p_otk__BPen,
16726 _swigt__p_otk__BImageControl,
16727 _swigt__p_otk__OtkButton,
16728 _swigt__p_otk__Rect,
16729 _swigt__p_ob__MwmHints,
16730 _swigt__p_otk__Style,
16731 _swigt__p_XSelectionClearEvent,
16734 _swigt__p_ob__OBActions,
16736 _swigt__p_otk__Strut,
16737 _swigt__p_otk__OtkApplication,
16738 _swigt__p_XRectangle,
16739 _swigt__p_otk__OtkFocusWidget,
16740 _swigt__p_otk__OtkWidget,
16741 _swigt__p_PyObject,
16742 _swigt__p_XGravityEvent,
16743 _swigt__p_XVisibilityEvent,
16744 _swigt__p_XPropertyEvent,
16745 _swigt__p_ob__OBScreen,
16746 _swigt__p_otk__BGCCacheContext,
16747 _swigt__p_XCreateWindowEvent,
16748 _swigt__p_XDestroyWindowEvent,
16749 _swigt__p_XCirculateEvent,
16750 _swigt__p_XConfigureEvent,
16751 _swigt__p_otk__OBProperty,
16753 _swigt__p_XTextProperty,
16754 _swigt__p_otk__OtkEventHandler,
16755 _swigt__p_XSelectionRequestEvent,
16756 _swigt__p_XCirculateRequestEvent,
16757 _swigt__p_XConfigureRequestEvent,
16758 _swigt__p_XMapRequestEvent,
16759 _swigt__p_XResizeRequestEvent,
16760 _swigt__otk__OBTimeoutHandler,
16762 _swigt__p_otk__ScreenInfo,
16763 _swigt__p_otk__OtkFocusLabel,
16764 _swigt__p_otk__BTexture,
16765 _swigt__p_otk__OtkEventDispatcher,
16766 _swigt__p_otk__BFont,
16767 _swigt__p_otk__Point,
16769 _swigt__p_ob__MouseData,
16770 _swigt__p_XSelectionEvent,
16771 _swigt__p_XMotionEvent,
16772 _swigt__p_XButtonEvent,
16774 _swigt__p_otk__OBTimerQueueManager,
16775 _swigt__p_otk__OtkAppWidget,
16776 _swigt__p_ob__OBWidget,
16777 _swigt__p_XKeyEvent,
16778 _swigt__p_unsigned_long,
16780 _swigt__p_p_unsigned_long,
16781 _swigt__p_std__string,
16782 _swigt__p_XCrossingEvent,
16783 _swigt__p_XMappingEvent,
16784 _swigt__p_ob__OBBindings,
16785 _swigt__p_ob__OBClient,
16786 _swigt__p_otk__BGCCacheItem,
16787 _swigt__p_p_unsigned_int,
16788 _swigt__p_unsigned_int,
16789 _swigt__p_p_unsigned_char,
16790 _swigt__p_XClientMessageEvent,
16791 _swigt__p_XFocusChangeEvent,
16792 _swigt__p_XExposeEvent,
16793 _swigt__p_XGraphicsExposeEvent,
16794 _swigt__p_XNoExposeEvent,
16795 _swigt__p_ob__KeyData,
16796 _swigt__p_ob__Openbox,
16797 _swigt__p_XMapEvent,
16798 _swigt__p_XUnmapEvent,
16799 _swigt__p_XColormapEvent,
16804 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16806 static swig_const_info swig_const_table[] = {
16807 { SWIG_PY_INT, (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal, 0, 0, 0},
16808 { SWIG_PY_INT, (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical, 0, 0, 0},
16809 { SWIG_PY_INT, (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal, 0, 0, 0},
16810 { SWIG_PY_INT, (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window, 0, 0, 0},
16811 { SWIG_PY_INT, (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap, 0, 0, 0},
16812 { SWIG_PY_INT, (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom, 0, 0, 0},
16813 { SWIG_PY_INT, (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String, 0, 0, 0},
16814 { SWIG_PY_INT, (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8, 0, 0, 0},
16815 { SWIG_PY_INT, (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid, 0, 0, 0},
16816 { SWIG_PY_INT, (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows, 0, 0, 0},
16817 { SWIG_PY_INT, (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols, 0, 0, 0},
16818 { SWIG_PY_INT, (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state, 0, 0, 0},
16819 { SWIG_PY_INT, (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window, 0, 0, 0},
16820 { SWIG_PY_INT, (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus, 0, 0, 0},
16821 { SWIG_PY_INT, (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state, 0, 0, 0},
16822 { SWIG_PY_INT, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0},
16823 { SWIG_PY_INT, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0},
16824 { SWIG_PY_INT, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0},
16825 { SWIG_PY_INT, (char *)"OBProperty_wm_window_role", (long) otk::OBProperty::wm_window_role, 0, 0, 0},
16826 { SWIG_PY_INT, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0},
16827 { SWIG_PY_INT, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0},
16828 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},
16829 { SWIG_PY_INT, (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints, 0, 0, 0},
16830 { SWIG_PY_INT, (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages, 0, 0, 0},
16831 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup, 0, 0, 0},
16832 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add, 0, 0, 0},
16833 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del, 0, 0, 0},
16834 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus, 0, 0, 0},
16835 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace, 0, 0, 0},
16836 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count, 0, 0, 0},
16837 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise, 0, 0, 0},
16838 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower, 0, 0, 0},
16839 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace, 0, 0, 0},
16840 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus, 0, 0, 0},
16841 { SWIG_PY_INT, (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus, 0, 0, 0},
16842 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu, 0, 0, 0},
16843 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu, 0, 0, 0},
16844 { SWIG_PY_INT, (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported, 0, 0, 0},
16845 { SWIG_PY_INT, (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list, 0, 0, 0},
16846 { SWIG_PY_INT, (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking, 0, 0, 0},
16847 { SWIG_PY_INT, (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops, 0, 0, 0},
16848 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry, 0, 0, 0},
16849 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport, 0, 0, 0},
16850 { SWIG_PY_INT, (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop, 0, 0, 0},
16851 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names, 0, 0, 0},
16852 { SWIG_PY_INT, (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window, 0, 0, 0},
16853 { SWIG_PY_INT, (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea, 0, 0, 0},
16854 { SWIG_PY_INT, (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check, 0, 0, 0},
16855 { SWIG_PY_INT, (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window, 0, 0, 0},
16856 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize, 0, 0, 0},
16857 { SWIG_PY_INT, (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name, 0, 0, 0},
16858 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name, 0, 0, 0},
16859 { SWIG_PY_INT, (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name, 0, 0, 0},
16860 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name, 0, 0, 0},
16861 { SWIG_PY_INT, (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop, 0, 0, 0},
16862 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type, 0, 0, 0},
16863 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state, 0, 0, 0},
16864 { SWIG_PY_INT, (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut, 0, 0, 0},
16865 { SWIG_PY_INT, (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions, 0, 0, 0},
16866 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop, 0, 0, 0},
16867 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock, 0, 0, 0},
16868 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar, 0, 0, 0},
16869 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu, 0, 0, 0},
16870 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility, 0, 0, 0},
16871 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash, 0, 0, 0},
16872 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog, 0, 0, 0},
16873 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal, 0, 0, 0},
16874 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft, 0, 0, 0},
16875 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright, 0, 0, 0},
16876 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft, 0, 0, 0},
16877 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright, 0, 0, 0},
16878 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move, 0, 0, 0},
16879 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move, 0, 0, 0},
16880 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize, 0, 0, 0},
16881 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade, 0, 0, 0},
16882 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz, 0, 0, 0},
16883 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert, 0, 0, 0},
16884 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop, 0, 0, 0},
16885 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close, 0, 0, 0},
16886 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal, 0, 0, 0},
16887 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_sticky", (long) otk::OBProperty::net_wm_state_sticky, 0, 0, 0},
16888 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert, 0, 0, 0},
16889 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz, 0, 0, 0},
16890 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded, 0, 0, 0},
16891 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar, 0, 0, 0},
16892 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager, 0, 0, 0},
16893 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden, 0, 0, 0},
16894 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen, 0, 0, 0},
16895 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_above", (long) otk::OBProperty::net_wm_state_above, 0, 0, 0},
16896 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_below", (long) otk::OBProperty::net_wm_state_below, 0, 0, 0},
16897 { SWIG_PY_INT, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows, 0, 0, 0},
16898 { 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},
16899 { SWIG_PY_INT, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override, 0, 0, 0},
16900 { SWIG_PY_INT, (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS, 0, 0, 0},
16901 { SWIG_PY_INT, (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii, 0, 0, 0},
16902 { SWIG_PY_INT, (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8, 0, 0, 0},
16903 { SWIG_PY_INT, (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE, 0, 0, 0},
16904 { SWIG_PY_INT, (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus, 0, 0, 0},
16905 { SWIG_PY_INT, (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus, 0, 0, 0},
16906 { SWIG_PY_INT, (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus, 0, 0, 0},
16907 { SWIG_PY_INT, (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus, 0, 0, 0},
16908 { SWIG_PY_INT, (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus, 0, 0, 0},
16909 { SWIG_PY_INT, (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus, 0, 0, 0},
16910 { SWIG_PY_INT, (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus, 0, 0, 0},
16911 { SWIG_PY_INT, (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus, 0, 0, 0},
16912 { SWIG_PY_INT, (char *)"Style_GripFocus", (long) otk::Style::GripFocus, 0, 0, 0},
16913 { SWIG_PY_INT, (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus, 0, 0, 0},
16914 { SWIG_PY_INT, (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify, 0, 0, 0},
16915 { SWIG_PY_INT, (char *)"Style_RightJustify", (long) otk::Style::RightJustify, 0, 0, 0},
16916 { SWIG_PY_INT, (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify, 0, 0, 0},
16917 { SWIG_PY_INT, (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet, 0, 0, 0},
16918 { SWIG_PY_INT, (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet, 0, 0, 0},
16919 { SWIG_PY_INT, (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet, 0, 0, 0},
16920 { SWIG_PY_INT, (char *)"Style_NoBullet", (long) otk::Style::NoBullet, 0, 0, 0},
16921 { SWIG_PY_INT, (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture, 0, 0, 0},
16922 { SWIG_PY_INT, (char *)"BTexture_Flat", (long) otk::BTexture::Flat, 0, 0, 0},
16923 { SWIG_PY_INT, (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken, 0, 0, 0},
16924 { SWIG_PY_INT, (char *)"BTexture_Raised", (long) otk::BTexture::Raised, 0, 0, 0},
16925 { SWIG_PY_INT, (char *)"BTexture_Solid", (long) otk::BTexture::Solid, 0, 0, 0},
16926 { SWIG_PY_INT, (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient, 0, 0, 0},
16927 { SWIG_PY_INT, (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal, 0, 0, 0},
16928 { SWIG_PY_INT, (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical, 0, 0, 0},
16929 { SWIG_PY_INT, (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal, 0, 0, 0},
16930 { SWIG_PY_INT, (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal, 0, 0, 0},
16931 { SWIG_PY_INT, (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle, 0, 0, 0},
16932 { SWIG_PY_INT, (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid, 0, 0, 0},
16933 { SWIG_PY_INT, (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross, 0, 0, 0},
16934 { SWIG_PY_INT, (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic, 0, 0, 0},
16935 { SWIG_PY_INT, (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1, 0, 0, 0},
16936 { SWIG_PY_INT, (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2, 0, 0, 0},
16937 { SWIG_PY_INT, (char *)"BTexture_Border", (long) otk::BTexture::Border, 0, 0, 0},
16938 { SWIG_PY_INT, (char *)"BTexture_Invert", (long) otk::BTexture::Invert, 0, 0, 0},
16939 { SWIG_PY_INT, (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative, 0, 0, 0},
16940 { SWIG_PY_INT, (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced, 0, 0, 0},
16941 { SWIG_PY_INT, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
16942 { SWIG_PY_INT, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
16943 { SWIG_PY_INT, (char *)"None", (long) 0L, 0, 0, 0},
16944 { SWIG_PY_INT, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
16945 { SWIG_PY_INT, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
16946 { SWIG_PY_INT, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
16947 { SWIG_PY_INT, (char *)"InputFocus", (long) 1L, 0, 0, 0},
16948 { SWIG_PY_INT, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
16949 { SWIG_PY_INT, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
16950 { SWIG_PY_INT, (char *)"AnyKey", (long) 0L, 0, 0, 0},
16951 { SWIG_PY_INT, (char *)"AnyButton", (long) 0L, 0, 0, 0},
16952 { SWIG_PY_INT, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
16953 { SWIG_PY_INT, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
16954 { SWIG_PY_INT, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
16955 { SWIG_PY_INT, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
16956 { SWIG_PY_INT, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
16957 { SWIG_PY_INT, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
16958 { SWIG_PY_INT, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
16959 { SWIG_PY_INT, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
16960 { SWIG_PY_INT, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
16961 { SWIG_PY_INT, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
16962 { SWIG_PY_INT, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
16963 { SWIG_PY_INT, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
16964 { SWIG_PY_INT, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
16965 { SWIG_PY_INT, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
16966 { SWIG_PY_INT, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
16967 { SWIG_PY_INT, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
16968 { SWIG_PY_INT, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
16969 { SWIG_PY_INT, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
16970 { SWIG_PY_INT, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
16971 { SWIG_PY_INT, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
16972 { SWIG_PY_INT, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
16973 { SWIG_PY_INT, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
16974 { SWIG_PY_INT, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
16975 { SWIG_PY_INT, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
16976 { SWIG_PY_INT, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
16977 { SWIG_PY_INT, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
16978 { SWIG_PY_INT, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
16979 { SWIG_PY_INT, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
16980 { SWIG_PY_INT, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
16981 { SWIG_PY_INT, (char *)"KeyPress", (long) 2, 0, 0, 0},
16982 { SWIG_PY_INT, (char *)"KeyRelease", (long) 3, 0, 0, 0},
16983 { SWIG_PY_INT, (char *)"ButtonPress", (long) 4, 0, 0, 0},
16984 { SWIG_PY_INT, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
16985 { SWIG_PY_INT, (char *)"MotionNotify", (long) 6, 0, 0, 0},
16986 { SWIG_PY_INT, (char *)"EnterNotify", (long) 7, 0, 0, 0},
16987 { SWIG_PY_INT, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
16988 { SWIG_PY_INT, (char *)"FocusIn", (long) 9, 0, 0, 0},
16989 { SWIG_PY_INT, (char *)"FocusOut", (long) 10, 0, 0, 0},
16990 { SWIG_PY_INT, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
16991 { SWIG_PY_INT, (char *)"Expose", (long) 12, 0, 0, 0},
16992 { SWIG_PY_INT, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
16993 { SWIG_PY_INT, (char *)"NoExpose", (long) 14, 0, 0, 0},
16994 { SWIG_PY_INT, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
16995 { SWIG_PY_INT, (char *)"CreateNotify", (long) 16, 0, 0, 0},
16996 { SWIG_PY_INT, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
16997 { SWIG_PY_INT, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
16998 { SWIG_PY_INT, (char *)"MapNotify", (long) 19, 0, 0, 0},
16999 { SWIG_PY_INT, (char *)"MapRequest", (long) 20, 0, 0, 0},
17000 { SWIG_PY_INT, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
17001 { SWIG_PY_INT, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
17002 { SWIG_PY_INT, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
17003 { SWIG_PY_INT, (char *)"GravityNotify", (long) 24, 0, 0, 0},
17004 { SWIG_PY_INT, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
17005 { SWIG_PY_INT, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
17006 { SWIG_PY_INT, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
17007 { SWIG_PY_INT, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
17008 { SWIG_PY_INT, (char *)"SelectionClear", (long) 29, 0, 0, 0},
17009 { SWIG_PY_INT, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
17010 { SWIG_PY_INT, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
17011 { SWIG_PY_INT, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
17012 { SWIG_PY_INT, (char *)"ClientMessage", (long) 33, 0, 0, 0},
17013 { SWIG_PY_INT, (char *)"MappingNotify", (long) 34, 0, 0, 0},
17014 { SWIG_PY_INT, (char *)"LASTEvent", (long) 35, 0, 0, 0},
17015 { SWIG_PY_INT, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
17016 { SWIG_PY_INT, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
17017 { SWIG_PY_INT, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
17018 { SWIG_PY_INT, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
17019 { SWIG_PY_INT, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
17020 { SWIG_PY_INT, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
17021 { SWIG_PY_INT, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
17022 { SWIG_PY_INT, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
17023 { SWIG_PY_INT, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
17024 { SWIG_PY_INT, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
17025 { SWIG_PY_INT, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
17026 { SWIG_PY_INT, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
17027 { SWIG_PY_INT, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
17028 { SWIG_PY_INT, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
17029 { SWIG_PY_INT, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
17030 { SWIG_PY_INT, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
17031 { SWIG_PY_INT, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
17032 { SWIG_PY_INT, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
17033 { SWIG_PY_INT, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
17034 { SWIG_PY_INT, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
17035 { SWIG_PY_INT, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
17036 { SWIG_PY_INT, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
17037 { SWIG_PY_INT, (char *)"Button1", (long) 1, 0, 0, 0},
17038 { SWIG_PY_INT, (char *)"Button2", (long) 2, 0, 0, 0},
17039 { SWIG_PY_INT, (char *)"Button3", (long) 3, 0, 0, 0},
17040 { SWIG_PY_INT, (char *)"Button4", (long) 4, 0, 0, 0},
17041 { SWIG_PY_INT, (char *)"Button5", (long) 5, 0, 0, 0},
17042 { SWIG_PY_INT, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
17043 { SWIG_PY_INT, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
17044 { SWIG_PY_INT, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
17045 { SWIG_PY_INT, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
17046 { SWIG_PY_INT, (char *)"NotifyHint", (long) 1, 0, 0, 0},
17047 { SWIG_PY_INT, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
17048 { SWIG_PY_INT, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
17049 { SWIG_PY_INT, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
17050 { SWIG_PY_INT, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
17051 { SWIG_PY_INT, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
17052 { SWIG_PY_INT, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
17053 { SWIG_PY_INT, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
17054 { SWIG_PY_INT, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
17055 { SWIG_PY_INT, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
17056 { SWIG_PY_INT, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
17057 { SWIG_PY_INT, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
17058 { SWIG_PY_INT, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
17059 { SWIG_PY_INT, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
17060 { SWIG_PY_INT, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
17061 { SWIG_PY_INT, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
17062 { SWIG_PY_INT, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
17063 { SWIG_PY_INT, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
17064 { SWIG_PY_INT, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
17065 { SWIG_PY_INT, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
17066 { SWIG_PY_INT, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
17067 { SWIG_PY_INT, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
17068 { SWIG_PY_INT, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
17069 { SWIG_PY_INT, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
17070 { SWIG_PY_INT, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
17071 { SWIG_PY_INT, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
17072 { SWIG_PY_INT, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
17073 { SWIG_PY_INT, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
17074 { SWIG_PY_INT, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
17075 { SWIG_PY_INT, (char *)"SyncPointer", (long) 1, 0, 0, 0},
17076 { SWIG_PY_INT, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
17077 { SWIG_PY_INT, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
17078 { SWIG_PY_INT, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
17079 { SWIG_PY_INT, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
17080 { SWIG_PY_INT, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
17081 { SWIG_PY_INT, (char *)"SyncBoth", (long) 7, 0, 0, 0},
17082 { SWIG_PY_INT, (char *)"RevertToParent", (long) 2, 0, 0, 0},
17083 { SWIG_PY_INT, (char *)"Success", (long) 0, 0, 0, 0},
17084 { SWIG_PY_INT, (char *)"BadRequest", (long) 1, 0, 0, 0},
17085 { SWIG_PY_INT, (char *)"BadValue", (long) 2, 0, 0, 0},
17086 { SWIG_PY_INT, (char *)"BadWindow", (long) 3, 0, 0, 0},
17087 { SWIG_PY_INT, (char *)"BadPixmap", (long) 4, 0, 0, 0},
17088 { SWIG_PY_INT, (char *)"BadAtom", (long) 5, 0, 0, 0},
17089 { SWIG_PY_INT, (char *)"BadCursor", (long) 6, 0, 0, 0},
17090 { SWIG_PY_INT, (char *)"BadFont", (long) 7, 0, 0, 0},
17091 { SWIG_PY_INT, (char *)"BadMatch", (long) 8, 0, 0, 0},
17092 { SWIG_PY_INT, (char *)"BadDrawable", (long) 9, 0, 0, 0},
17093 { SWIG_PY_INT, (char *)"BadAccess", (long) 10, 0, 0, 0},
17094 { SWIG_PY_INT, (char *)"BadAlloc", (long) 11, 0, 0, 0},
17095 { SWIG_PY_INT, (char *)"BadColor", (long) 12, 0, 0, 0},
17096 { SWIG_PY_INT, (char *)"BadGC", (long) 13, 0, 0, 0},
17097 { SWIG_PY_INT, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
17098 { SWIG_PY_INT, (char *)"BadName", (long) 15, 0, 0, 0},
17099 { SWIG_PY_INT, (char *)"BadLength", (long) 16, 0, 0, 0},
17100 { SWIG_PY_INT, (char *)"BadImplementation", (long) 17, 0, 0, 0},
17101 { SWIG_PY_INT, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
17102 { SWIG_PY_INT, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
17103 { SWIG_PY_INT, (char *)"InputOutput", (long) 1, 0, 0, 0},
17104 { SWIG_PY_INT, (char *)"InputOnly", (long) 2, 0, 0, 0},
17105 { SWIG_PY_INT, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
17106 { SWIG_PY_INT, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
17107 { SWIG_PY_INT, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
17108 { SWIG_PY_INT, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
17109 { SWIG_PY_INT, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
17110 { SWIG_PY_INT, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
17111 { SWIG_PY_INT, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
17112 { SWIG_PY_INT, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
17113 { SWIG_PY_INT, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
17114 { SWIG_PY_INT, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
17115 { SWIG_PY_INT, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
17116 { SWIG_PY_INT, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
17117 { SWIG_PY_INT, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
17118 { SWIG_PY_INT, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
17119 { SWIG_PY_INT, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
17120 { SWIG_PY_INT, (char *)"CWX", (long) (1<<0), 0, 0, 0},
17121 { SWIG_PY_INT, (char *)"CWY", (long) (1<<1), 0, 0, 0},
17122 { SWIG_PY_INT, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
17123 { SWIG_PY_INT, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
17124 { SWIG_PY_INT, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
17125 { SWIG_PY_INT, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
17126 { SWIG_PY_INT, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
17127 { SWIG_PY_INT, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
17128 { SWIG_PY_INT, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
17129 { SWIG_PY_INT, (char *)"NorthGravity", (long) 2, 0, 0, 0},
17130 { SWIG_PY_INT, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
17131 { SWIG_PY_INT, (char *)"WestGravity", (long) 4, 0, 0, 0},
17132 { SWIG_PY_INT, (char *)"CenterGravity", (long) 5, 0, 0, 0},
17133 { SWIG_PY_INT, (char *)"EastGravity", (long) 6, 0, 0, 0},
17134 { SWIG_PY_INT, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
17135 { SWIG_PY_INT, (char *)"SouthGravity", (long) 8, 0, 0, 0},
17136 { SWIG_PY_INT, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
17137 { SWIG_PY_INT, (char *)"StaticGravity", (long) 10, 0, 0, 0},
17138 { SWIG_PY_INT, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
17139 { SWIG_PY_INT, (char *)"NotUseful", (long) 0, 0, 0, 0},
17140 { SWIG_PY_INT, (char *)"WhenMapped", (long) 1, 0, 0, 0},
17141 { SWIG_PY_INT, (char *)"Always", (long) 2, 0, 0, 0},
17142 { SWIG_PY_INT, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
17143 { SWIG_PY_INT, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
17144 { SWIG_PY_INT, (char *)"IsViewable", (long) 2, 0, 0, 0},
17145 { SWIG_PY_INT, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
17146 { SWIG_PY_INT, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
17147 { SWIG_PY_INT, (char *)"DestroyAll", (long) 0, 0, 0, 0},
17148 { SWIG_PY_INT, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
17149 { SWIG_PY_INT, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
17150 { SWIG_PY_INT, (char *)"Above", (long) 0, 0, 0, 0},
17151 { SWIG_PY_INT, (char *)"Below", (long) 1, 0, 0, 0},
17152 { SWIG_PY_INT, (char *)"TopIf", (long) 2, 0, 0, 0},
17153 { SWIG_PY_INT, (char *)"BottomIf", (long) 3, 0, 0, 0},
17154 { SWIG_PY_INT, (char *)"Opposite", (long) 4, 0, 0, 0},
17155 { SWIG_PY_INT, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
17156 { SWIG_PY_INT, (char *)"LowerHighest", (long) 1, 0, 0, 0},
17157 { SWIG_PY_INT, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
17158 { SWIG_PY_INT, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
17159 { SWIG_PY_INT, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
17160 { SWIG_PY_INT, (char *)"GXclear", (long) 0x0, 0, 0, 0},
17161 { SWIG_PY_INT, (char *)"GXand", (long) 0x1, 0, 0, 0},
17162 { SWIG_PY_INT, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
17163 { SWIG_PY_INT, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
17164 { SWIG_PY_INT, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
17165 { SWIG_PY_INT, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
17166 { SWIG_PY_INT, (char *)"GXxor", (long) 0x6, 0, 0, 0},
17167 { SWIG_PY_INT, (char *)"GXor", (long) 0x7, 0, 0, 0},
17168 { SWIG_PY_INT, (char *)"GXnor", (long) 0x8, 0, 0, 0},
17169 { SWIG_PY_INT, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
17170 { SWIG_PY_INT, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
17171 { SWIG_PY_INT, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
17172 { SWIG_PY_INT, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
17173 { SWIG_PY_INT, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
17174 { SWIG_PY_INT, (char *)"GXnand", (long) 0xe, 0, 0, 0},
17175 { SWIG_PY_INT, (char *)"GXset", (long) 0xf, 0, 0, 0},
17176 { SWIG_PY_INT, (char *)"LineSolid", (long) 0, 0, 0, 0},
17177 { SWIG_PY_INT, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
17178 { SWIG_PY_INT, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
17179 { SWIG_PY_INT, (char *)"CapNotLast", (long) 0, 0, 0, 0},
17180 { SWIG_PY_INT, (char *)"CapButt", (long) 1, 0, 0, 0},
17181 { SWIG_PY_INT, (char *)"CapRound", (long) 2, 0, 0, 0},
17182 { SWIG_PY_INT, (char *)"CapProjecting", (long) 3, 0, 0, 0},
17183 { SWIG_PY_INT, (char *)"JoinMiter", (long) 0, 0, 0, 0},
17184 { SWIG_PY_INT, (char *)"JoinRound", (long) 1, 0, 0, 0},
17185 { SWIG_PY_INT, (char *)"JoinBevel", (long) 2, 0, 0, 0},
17186 { SWIG_PY_INT, (char *)"FillSolid", (long) 0, 0, 0, 0},
17187 { SWIG_PY_INT, (char *)"FillTiled", (long) 1, 0, 0, 0},
17188 { SWIG_PY_INT, (char *)"FillStippled", (long) 2, 0, 0, 0},
17189 { SWIG_PY_INT, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
17190 { SWIG_PY_INT, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
17191 { SWIG_PY_INT, (char *)"WindingRule", (long) 1, 0, 0, 0},
17192 { SWIG_PY_INT, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
17193 { SWIG_PY_INT, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
17194 { SWIG_PY_INT, (char *)"Unsorted", (long) 0, 0, 0, 0},
17195 { SWIG_PY_INT, (char *)"YSorted", (long) 1, 0, 0, 0},
17196 { SWIG_PY_INT, (char *)"YXSorted", (long) 2, 0, 0, 0},
17197 { SWIG_PY_INT, (char *)"YXBanded", (long) 3, 0, 0, 0},
17198 { SWIG_PY_INT, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
17199 { SWIG_PY_INT, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
17200 { SWIG_PY_INT, (char *)"Complex", (long) 0, 0, 0, 0},
17201 { SWIG_PY_INT, (char *)"Nonconvex", (long) 1, 0, 0, 0},
17202 { SWIG_PY_INT, (char *)"Convex", (long) 2, 0, 0, 0},
17203 { SWIG_PY_INT, (char *)"ArcChord", (long) 0, 0, 0, 0},
17204 { SWIG_PY_INT, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
17205 { SWIG_PY_INT, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
17206 { SWIG_PY_INT, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
17207 { SWIG_PY_INT, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
17208 { SWIG_PY_INT, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
17209 { SWIG_PY_INT, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
17210 { SWIG_PY_INT, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
17211 { SWIG_PY_INT, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
17212 { SWIG_PY_INT, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
17213 { SWIG_PY_INT, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
17214 { SWIG_PY_INT, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
17215 { SWIG_PY_INT, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
17216 { SWIG_PY_INT, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
17217 { SWIG_PY_INT, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
17218 { SWIG_PY_INT, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
17219 { SWIG_PY_INT, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
17220 { SWIG_PY_INT, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
17221 { SWIG_PY_INT, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
17222 { SWIG_PY_INT, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
17223 { SWIG_PY_INT, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
17224 { SWIG_PY_INT, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
17225 { SWIG_PY_INT, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
17226 { SWIG_PY_INT, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
17227 { SWIG_PY_INT, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
17228 { SWIG_PY_INT, (char *)"GCLastBit", (long) 22, 0, 0, 0},
17229 { SWIG_PY_INT, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
17230 { SWIG_PY_INT, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
17231 { SWIG_PY_INT, (char *)"FontChange", (long) 255, 0, 0, 0},
17232 { SWIG_PY_INT, (char *)"XYBitmap", (long) 0, 0, 0, 0},
17233 { SWIG_PY_INT, (char *)"XYPixmap", (long) 1, 0, 0, 0},
17234 { SWIG_PY_INT, (char *)"ZPixmap", (long) 2, 0, 0, 0},
17235 { SWIG_PY_INT, (char *)"AllocNone", (long) 0, 0, 0, 0},
17236 { SWIG_PY_INT, (char *)"AllocAll", (long) 1, 0, 0, 0},
17237 { SWIG_PY_INT, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
17238 { SWIG_PY_INT, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
17239 { SWIG_PY_INT, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
17240 { SWIG_PY_INT, (char *)"CursorShape", (long) 0, 0, 0, 0},
17241 { SWIG_PY_INT, (char *)"TileShape", (long) 1, 0, 0, 0},
17242 { SWIG_PY_INT, (char *)"StippleShape", (long) 2, 0, 0, 0},
17243 { SWIG_PY_INT, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
17244 { SWIG_PY_INT, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
17245 { SWIG_PY_INT, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
17246 { SWIG_PY_INT, (char *)"LedModeOff", (long) 0, 0, 0, 0},
17247 { SWIG_PY_INT, (char *)"LedModeOn", (long) 1, 0, 0, 0},
17248 { SWIG_PY_INT, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
17249 { SWIG_PY_INT, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
17250 { SWIG_PY_INT, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
17251 { SWIG_PY_INT, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
17252 { SWIG_PY_INT, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
17253 { SWIG_PY_INT, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
17254 { SWIG_PY_INT, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
17255 { SWIG_PY_INT, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
17256 { SWIG_PY_INT, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
17257 { SWIG_PY_INT, (char *)"MappingBusy", (long) 1, 0, 0, 0},
17258 { SWIG_PY_INT, (char *)"MappingFailed", (long) 2, 0, 0, 0},
17259 { SWIG_PY_INT, (char *)"MappingModifier", (long) 0, 0, 0, 0},
17260 { SWIG_PY_INT, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
17261 { SWIG_PY_INT, (char *)"MappingPointer", (long) 2, 0, 0, 0},
17262 { SWIG_PY_INT, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
17263 { SWIG_PY_INT, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
17264 { SWIG_PY_INT, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
17265 { SWIG_PY_INT, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
17266 { SWIG_PY_INT, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
17267 { SWIG_PY_INT, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
17268 { SWIG_PY_INT, (char *)"AllowExposures", (long) 1, 0, 0, 0},
17269 { SWIG_PY_INT, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
17270 { SWIG_PY_INT, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
17271 { SWIG_PY_INT, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
17272 { SWIG_PY_INT, (char *)"HostInsert", (long) 0, 0, 0, 0},
17273 { SWIG_PY_INT, (char *)"HostDelete", (long) 1, 0, 0, 0},
17274 { SWIG_PY_INT, (char *)"EnableAccess", (long) 1, 0, 0, 0},
17275 { SWIG_PY_INT, (char *)"DisableAccess", (long) 0, 0, 0, 0},
17276 { SWIG_PY_INT, (char *)"StaticGray", (long) 0, 0, 0, 0},
17277 { SWIG_PY_INT, (char *)"GrayScale", (long) 1, 0, 0, 0},
17278 { SWIG_PY_INT, (char *)"StaticColor", (long) 2, 0, 0, 0},
17279 { SWIG_PY_INT, (char *)"PseudoColor", (long) 3, 0, 0, 0},
17280 { SWIG_PY_INT, (char *)"TrueColor", (long) 4, 0, 0, 0},
17281 { SWIG_PY_INT, (char *)"DirectColor", (long) 5, 0, 0, 0},
17282 { SWIG_PY_INT, (char *)"LSBFirst", (long) 0, 0, 0, 0},
17283 { SWIG_PY_INT, (char *)"MSBFirst", (long) 1, 0, 0, 0},
17284 { SWIG_PY_INT, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting, 0, 0, 0},
17285 { SWIG_PY_INT, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal, 0, 0, 0},
17286 { SWIG_PY_INT, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting, 0, 0, 0},
17287 { SWIG_PY_INT, (char *)"OBScreen_event_mask", (long) ob::OBScreen::event_mask, 0, 0, 0},
17288 { SWIG_PY_INT, (char *)"MwmHints_elements", (long) ob::MwmHints::elements, 0, 0, 0},
17289 { SWIG_PY_INT, (char *)"OBClient_Layer_Icon", (long) ob::OBClient::Layer_Icon, 0, 0, 0},
17290 { SWIG_PY_INT, (char *)"OBClient_Layer_Desktop", (long) ob::OBClient::Layer_Desktop, 0, 0, 0},
17291 { SWIG_PY_INT, (char *)"OBClient_Layer_Below", (long) ob::OBClient::Layer_Below, 0, 0, 0},
17292 { SWIG_PY_INT, (char *)"OBClient_Layer_Normal", (long) ob::OBClient::Layer_Normal, 0, 0, 0},
17293 { SWIG_PY_INT, (char *)"OBClient_Layer_Above", (long) ob::OBClient::Layer_Above, 0, 0, 0},
17294 { SWIG_PY_INT, (char *)"OBClient_Layer_Top", (long) ob::OBClient::Layer_Top, 0, 0, 0},
17295 { SWIG_PY_INT, (char *)"OBClient_Layer_Fullscreen", (long) ob::OBClient::Layer_Fullscreen, 0, 0, 0},
17296 { SWIG_PY_INT, (char *)"OBClient_Layer_Internal", (long) ob::OBClient::Layer_Internal, 0, 0, 0},
17297 { SWIG_PY_INT, (char *)"OBClient_NUM_LAYERS", (long) ob::OBClient::NUM_LAYERS, 0, 0, 0},
17298 { SWIG_PY_INT, (char *)"OBClient_TopLeft", (long) ob::OBClient::TopLeft, 0, 0, 0},
17299 { SWIG_PY_INT, (char *)"OBClient_TopRight", (long) ob::OBClient::TopRight, 0, 0, 0},
17300 { SWIG_PY_INT, (char *)"OBClient_BottomLeft", (long) ob::OBClient::BottomLeft, 0, 0, 0},
17301 { SWIG_PY_INT, (char *)"OBClient_BottomRight", (long) ob::OBClient::BottomRight, 0, 0, 0},
17302 { SWIG_PY_INT, (char *)"OBClient_Type_Desktop", (long) ob::OBClient::Type_Desktop, 0, 0, 0},
17303 { SWIG_PY_INT, (char *)"OBClient_Type_Dock", (long) ob::OBClient::Type_Dock, 0, 0, 0},
17304 { SWIG_PY_INT, (char *)"OBClient_Type_Toolbar", (long) ob::OBClient::Type_Toolbar, 0, 0, 0},
17305 { SWIG_PY_INT, (char *)"OBClient_Type_Menu", (long) ob::OBClient::Type_Menu, 0, 0, 0},
17306 { SWIG_PY_INT, (char *)"OBClient_Type_Utility", (long) ob::OBClient::Type_Utility, 0, 0, 0},
17307 { SWIG_PY_INT, (char *)"OBClient_Type_Splash", (long) ob::OBClient::Type_Splash, 0, 0, 0},
17308 { SWIG_PY_INT, (char *)"OBClient_Type_Dialog", (long) ob::OBClient::Type_Dialog, 0, 0, 0},
17309 { SWIG_PY_INT, (char *)"OBClient_Type_Normal", (long) ob::OBClient::Type_Normal, 0, 0, 0},
17310 { SWIG_PY_INT, (char *)"OBClient_MwmFlag_Functions", (long) ob::OBClient::MwmFlag_Functions, 0, 0, 0},
17311 { SWIG_PY_INT, (char *)"OBClient_MwmFlag_Decorations", (long) ob::OBClient::MwmFlag_Decorations, 0, 0, 0},
17312 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_All", (long) ob::OBClient::MwmFunc_All, 0, 0, 0},
17313 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Resize", (long) ob::OBClient::MwmFunc_Resize, 0, 0, 0},
17314 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Move", (long) ob::OBClient::MwmFunc_Move, 0, 0, 0},
17315 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Iconify", (long) ob::OBClient::MwmFunc_Iconify, 0, 0, 0},
17316 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Maximize", (long) ob::OBClient::MwmFunc_Maximize, 0, 0, 0},
17317 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_All", (long) ob::OBClient::MwmDecor_All, 0, 0, 0},
17318 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Border", (long) ob::OBClient::MwmDecor_Border, 0, 0, 0},
17319 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Handle", (long) ob::OBClient::MwmDecor_Handle, 0, 0, 0},
17320 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Title", (long) ob::OBClient::MwmDecor_Title, 0, 0, 0},
17321 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Iconify", (long) ob::OBClient::MwmDecor_Iconify, 0, 0, 0},
17322 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Maximize", (long) ob::OBClient::MwmDecor_Maximize, 0, 0, 0},
17323 { SWIG_PY_INT, (char *)"OBClient_Func_Resize", (long) ob::OBClient::Func_Resize, 0, 0, 0},
17324 { SWIG_PY_INT, (char *)"OBClient_Func_Move", (long) ob::OBClient::Func_Move, 0, 0, 0},
17325 { SWIG_PY_INT, (char *)"OBClient_Func_Iconify", (long) ob::OBClient::Func_Iconify, 0, 0, 0},
17326 { SWIG_PY_INT, (char *)"OBClient_Func_Maximize", (long) ob::OBClient::Func_Maximize, 0, 0, 0},
17327 { SWIG_PY_INT, (char *)"OBClient_Func_Close", (long) ob::OBClient::Func_Close, 0, 0, 0},
17328 { SWIG_PY_INT, (char *)"OBClient_Decor_Titlebar", (long) ob::OBClient::Decor_Titlebar, 0, 0, 0},
17329 { SWIG_PY_INT, (char *)"OBClient_Decor_Handle", (long) ob::OBClient::Decor_Handle, 0, 0, 0},
17330 { SWIG_PY_INT, (char *)"OBClient_Decor_Border", (long) ob::OBClient::Decor_Border, 0, 0, 0},
17331 { SWIG_PY_INT, (char *)"OBClient_Decor_Iconify", (long) ob::OBClient::Decor_Iconify, 0, 0, 0},
17332 { SWIG_PY_INT, (char *)"OBClient_Decor_Maximize", (long) ob::OBClient::Decor_Maximize, 0, 0, 0},
17333 { SWIG_PY_INT, (char *)"OBClient_Decor_Sticky", (long) ob::OBClient::Decor_Sticky, 0, 0, 0},
17334 { SWIG_PY_INT, (char *)"OBClient_Decor_Close", (long) ob::OBClient::Decor_Close, 0, 0, 0},
17335 { SWIG_PY_INT, (char *)"OBClient_State_Remove", (long) ob::OBClient::State_Remove, 0, 0, 0},
17336 { SWIG_PY_INT, (char *)"OBClient_State_Add", (long) ob::OBClient::State_Add, 0, 0, 0},
17337 { SWIG_PY_INT, (char *)"OBClient_State_Toggle", (long) ob::OBClient::State_Toggle, 0, 0, 0},
17338 { SWIG_PY_INT, (char *)"OBClient_event_mask", (long) ob::OBClient::event_mask, 0, 0, 0},
17339 { SWIG_PY_INT, (char *)"OBClient_no_propagate_mask", (long) ob::OBClient::no_propagate_mask, 0, 0, 0},
17340 { SWIG_PY_INT, (char *)"MC_Frame", (long) ob::MC_Frame, 0, 0, 0},
17341 { SWIG_PY_INT, (char *)"MC_Titlebar", (long) ob::MC_Titlebar, 0, 0, 0},
17342 { SWIG_PY_INT, (char *)"MC_Handle", (long) ob::MC_Handle, 0, 0, 0},
17343 { SWIG_PY_INT, (char *)"MC_Window", (long) ob::MC_Window, 0, 0, 0},
17344 { SWIG_PY_INT, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton, 0, 0, 0},
17345 { SWIG_PY_INT, (char *)"MC_CloseButton", (long) ob::MC_CloseButton, 0, 0, 0},
17346 { SWIG_PY_INT, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton, 0, 0, 0},
17347 { SWIG_PY_INT, (char *)"MC_StickyButton", (long) ob::MC_StickyButton, 0, 0, 0},
17348 { SWIG_PY_INT, (char *)"MC_Grip", (long) ob::MC_Grip, 0, 0, 0},
17349 { SWIG_PY_INT, (char *)"MC_Root", (long) ob::MC_Root, 0, 0, 0},
17350 { SWIG_PY_INT, (char *)"MC_MenuItem", (long) ob::MC_MenuItem, 0, 0, 0},
17351 { SWIG_PY_INT, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT, 0, 0, 0},
17352 { SWIG_PY_INT, (char *)"MousePress", (long) ob::MousePress, 0, 0, 0},
17353 { SWIG_PY_INT, (char *)"MouseClick", (long) ob::MouseClick, 0, 0, 0},
17354 { SWIG_PY_INT, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick, 0, 0, 0},
17355 { SWIG_PY_INT, (char *)"MouseMotion", (long) ob::MouseMotion, 0, 0, 0},
17356 { SWIG_PY_INT, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION, 0, 0, 0},
17357 { SWIG_PY_INT, (char *)"KC_Menu", (long) ob::KC_Menu, 0, 0, 0},
17358 { SWIG_PY_INT, (char *)"KC_All", (long) ob::KC_All, 0, 0, 0},
17359 { SWIG_PY_INT, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT, 0, 0, 0},
17360 { SWIG_PY_INT, (char *)"EventEnterWindow", (long) ob::EventEnterWindow, 0, 0, 0},
17361 { SWIG_PY_INT, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow, 0, 0, 0},
17362 { SWIG_PY_INT, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow, 0, 0, 0},
17363 { SWIG_PY_INT, (char *)"EventNewWindow", (long) ob::EventNewWindow, 0, 0, 0},
17364 { SWIG_PY_INT, (char *)"EventCloseWindow", (long) ob::EventCloseWindow, 0, 0, 0},
17365 { SWIG_PY_INT, (char *)"EventStartup", (long) ob::EventStartup, 0, 0, 0},
17366 { SWIG_PY_INT, (char *)"EventShutdown", (long) ob::EventShutdown, 0, 0, 0},
17367 { SWIG_PY_INT, (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0},
17368 { SWIG_PY_INT, (char *)"EventBell", (long) ob::EventBell, 0, 0, 0},
17369 { SWIG_PY_INT, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0},
17379 SWIGEXPORT(void) SWIG_init(void) {
17380 static PyObject *SWIG_globals = 0;
17381 static int typeinit = 0;
17384 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17385 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17386 d = PyModule_GetDict(m);
17389 for (i = 0; swig_types_initial[i]; i++) {
17390 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
17394 SWIG_InstallConstants(d,swig_const_table);
17396 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
17397 SWIG_addvarlink(SWIG_globals,(char*)"BSENTINEL",_wrap_BSENTINEL_get, _wrap_BSENTINEL_set);