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__BGCCache swig_types[0]
649 #define SWIGTYPE_p_otk__BColor swig_types[1]
650 #define SWIGTYPE_p_otk__OBProperty__StringVect swig_types[2]
651 #define SWIGTYPE_p_XFontStruct swig_types[3]
652 #define SWIGTYPE_p_otk__Configuration swig_types[4]
653 #define SWIGTYPE_p_otk__PixmapMask swig_types[5]
654 #define SWIGTYPE_p_Atom swig_types[6]
655 #define SWIGTYPE_p_otk__PointerAssassin swig_types[7]
656 #define SWIGTYPE_p_otk__BImage swig_types[8]
657 #define SWIGTYPE_p_otk__OBTimer swig_types[9]
658 #define SWIGTYPE_p_otk__OtkWidget__OtkWidgetList swig_types[10]
659 #define SWIGTYPE_p_bool swig_types[11]
660 #define SWIGTYPE_p_otk__OBDisplay swig_types[12]
661 #define SWIGTYPE_p_Display swig_types[13]
662 #define SWIGTYPE_p_p_XColor swig_types[14]
663 #define SWIGTYPE_p_XReparentEvent swig_types[15]
664 #define SWIGTYPE_p_otk__BPen swig_types[16]
665 #define SWIGTYPE_p_otk__BImageControl swig_types[17]
666 #define SWIGTYPE_p_otk__OtkButton swig_types[18]
667 #define SWIGTYPE_p_otk__Rect swig_types[19]
668 #define SWIGTYPE_p_otk__Style swig_types[20]
669 #define SWIGTYPE_p_XSelectionClearEvent swig_types[21]
670 #define SWIGTYPE_p_Visual swig_types[22]
671 #define SWIGTYPE_p_timeval swig_types[23]
672 #define SWIGTYPE_p_int swig_types[24]
673 #define SWIGTYPE_p_otk__Strut swig_types[25]
674 #define SWIGTYPE_p_otk__OtkApplication swig_types[26]
675 #define SWIGTYPE_p_XRectangle swig_types[27]
676 #define SWIGTYPE_p_otk__OtkFocusWidget swig_types[28]
677 #define SWIGTYPE_p_otk__OtkWidget swig_types[29]
678 #define SWIGTYPE_p_Cursor swig_types[30]
679 #define SWIGTYPE_p_Colormap swig_types[31]
680 #define SWIGTYPE_p_XGravityEvent swig_types[32]
681 #define SWIGTYPE_p_XVisibilityEvent swig_types[33]
682 #define SWIGTYPE_p_XPropertyEvent swig_types[34]
683 #define SWIGTYPE_p_Window swig_types[35]
684 #define SWIGTYPE_p_otk__BGCCacheContext swig_types[36]
685 #define SWIGTYPE_p_XCreateWindowEvent swig_types[37]
686 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[38]
687 #define SWIGTYPE_p_Time swig_types[39]
688 #define SWIGTYPE_p_XCirculateEvent swig_types[40]
689 #define SWIGTYPE_p_XConfigureEvent swig_types[41]
690 #define SWIGTYPE_p_long swig_types[42]
691 #define SWIGTYPE_p_otk__OBProperty swig_types[43]
692 #define SWIGTYPE_p_XTextProperty swig_types[44]
693 #define SWIGTYPE_p_otk__OtkEventHandler swig_types[45]
694 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[46]
695 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[47]
696 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[48]
697 #define SWIGTYPE_p_XMapRequestEvent swig_types[49]
698 #define SWIGTYPE_p_XResizeRequestEvent swig_types[50]
699 #define SWIGTYPE_otk__OBTimeoutHandler swig_types[51]
700 #define SWIGTYPE_p_XftDraw swig_types[52]
701 #define SWIGTYPE_p_otk__ScreenInfo swig_types[53]
702 #define SWIGTYPE_p_otk__OtkFocusLabel swig_types[54]
703 #define SWIGTYPE_p_otk__BTexture swig_types[55]
704 #define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[56]
705 #define SWIGTYPE_p_otk__BFont swig_types[57]
706 #define SWIGTYPE_p_otk__Point swig_types[58]
707 #define SWIGTYPE_p_p_char swig_types[59]
708 #define SWIGTYPE_p_XMotionEvent swig_types[60]
709 #define SWIGTYPE_p_XButtonEvent swig_types[61]
710 #define SWIGTYPE_p_XSelectionEvent swig_types[62]
711 #define SWIGTYPE_p_Pixmap swig_types[63]
712 #define SWIGTYPE_p_GC swig_types[64]
713 #define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[65]
714 #define SWIGTYPE_p_otk__OtkAppWidget swig_types[66]
715 #define SWIGTYPE_p_XKeyEvent swig_types[67]
716 #define SWIGTYPE_p_unsigned_long swig_types[68]
717 #define SWIGTYPE_p_XEvent swig_types[69]
718 #define SWIGTYPE_p_p_unsigned_long swig_types[70]
719 #define SWIGTYPE_p_std__string swig_types[71]
720 #define SWIGTYPE_p_XCrossingEvent swig_types[72]
721 #define SWIGTYPE_p_XMappingEvent swig_types[73]
722 #define SWIGTYPE_p_otk__BGCCacheItem swig_types[74]
723 #define SWIGTYPE_p_p_unsigned_int swig_types[75]
724 #define SWIGTYPE_p_unsigned_int swig_types[76]
725 #define SWIGTYPE_p_p_unsigned_char swig_types[77]
726 #define SWIGTYPE_p_XClientMessageEvent swig_types[78]
727 #define SWIGTYPE_p_XExposeEvent swig_types[79]
728 #define SWIGTYPE_p_XFocusChangeEvent swig_types[80]
729 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[81]
730 #define SWIGTYPE_p_XNoExposeEvent swig_types[82]
731 #define SWIGTYPE_p_XMapEvent swig_types[83]
732 #define SWIGTYPE_p_XUnmapEvent swig_types[84]
733 #define SWIGTYPE_p_XColormapEvent swig_types[85]
734 static swig_type_info
*swig_types
[87];
736 /* -------- TYPES TABLE (END) -------- */
739 /*-----------------------------------------------
741 ------------------------------------------------*/
742 #define SWIG_init init_otk
744 #define SWIG_name "_otk"
747 # include "../config.h"
750 #include "application.hh"
751 #include "appwidget.hh"
752 #include "assassin.hh"
755 #include "configuration.hh"
756 #include "display.hh"
757 #include "eventdispatcher.hh"
758 #include "eventhandler.hh"
759 #include "focuslabel.hh"
760 #include "focuswidget.hh"
762 #include "gccache.hh"
766 #include "property.hh"
768 #include "screeninfo.hh"
771 #include "texture.hh"
773 #include "timerqueue.hh"
774 #include "timerqueuemanager.hh"
779 #define SWIG_MemoryError 1
780 #define SWIG_IOError 2
781 #define SWIG_RuntimeError 3
782 #define SWIG_IndexError 4
783 #define SWIG_TypeError 5
784 #define SWIG_DivisionByZero 6
785 #define SWIG_OverflowError 7
786 #define SWIG_SyntaxError 8
787 #define SWIG_ValueError 9
788 #define SWIG_SystemError 10
789 #define SWIG_UnknownError 99
792 static void _SWIG_exception(int code
, const char *msg
) {
794 case SWIG_MemoryError
:
795 PyErr_SetString(PyExc_MemoryError
,msg
);
798 PyErr_SetString(PyExc_IOError
,msg
);
800 case SWIG_RuntimeError
:
801 PyErr_SetString(PyExc_RuntimeError
,msg
);
803 case SWIG_IndexError
:
804 PyErr_SetString(PyExc_IndexError
,msg
);
807 PyErr_SetString(PyExc_TypeError
,msg
);
809 case SWIG_DivisionByZero
:
810 PyErr_SetString(PyExc_ZeroDivisionError
,msg
);
812 case SWIG_OverflowError
:
813 PyErr_SetString(PyExc_OverflowError
,msg
);
815 case SWIG_SyntaxError
:
816 PyErr_SetString(PyExc_SyntaxError
,msg
);
818 case SWIG_ValueError
:
819 PyErr_SetString(PyExc_ValueError
,msg
);
821 case SWIG_SystemError
:
822 PyErr_SetString(PyExc_SystemError
,msg
);
825 PyErr_SetString(PyExc_RuntimeError
,msg
);
830 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
838 static PyObject
* SwigInt_FromBool(bool b
) {
839 return PyInt_FromLong(b
? 1L : 0L);
841 static double SwigNumber_Check(PyObject
* o
) {
842 return PyFloat_Check(o
) || PyInt_Check(o
);
844 static double SwigNumber_AsDouble(PyObject
* o
) {
845 return (PyFloat_Check(o
) ? PyFloat_AsDouble(o
) : double(PyInt_AsLong(o
)));
847 static PyObject
* SwigString_FromString(const std::string
& s
) {
848 return PyString_FromString(s
.c_str());
850 static std::string
SwigString_AsString(PyObject
* o
) {
851 return std::string(PyString_AsString(o
));
862 static PyObject
*_wrap_new_OtkEventDispatcher(PyObject
*self
, PyObject
*args
) {
864 otk::OtkEventDispatcher
*result
;
866 if(!PyArg_ParseTuple(args
,(char *)":new_OtkEventDispatcher")) goto fail
;
867 result
= (otk::OtkEventDispatcher
*)new otk::OtkEventDispatcher();
869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventDispatcher
, 1);
876 static PyObject
*_wrap_delete_OtkEventDispatcher(PyObject
*self
, PyObject
*args
) {
878 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
879 PyObject
* obj0
= 0 ;
881 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkEventDispatcher",&obj0
)) goto fail
;
882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
885 Py_INCREF(Py_None
); resultobj
= Py_None
;
892 static PyObject
*_wrap_OtkEventDispatcher_clearAllHandlers(PyObject
*self
, PyObject
*args
) {
894 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
895 PyObject
* obj0
= 0 ;
897 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_clearAllHandlers",&obj0
)) goto fail
;
898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
899 (arg1
)->clearAllHandlers();
901 Py_INCREF(Py_None
); resultobj
= Py_None
;
908 static PyObject
*_wrap_OtkEventDispatcher_registerHandler(PyObject
*self
, PyObject
*args
) {
910 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
912 otk::OtkEventHandler
*arg3
= (otk::OtkEventHandler
*) 0 ;
914 PyObject
* obj0
= 0 ;
915 PyObject
* obj1
= 0 ;
916 PyObject
* obj2
= 0 ;
918 if(!PyArg_ParseTuple(args
,(char *)"OOO:OtkEventDispatcher_registerHandler",&obj0
,&obj1
,&obj2
)) goto fail
;
919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
920 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
922 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
923 (arg1
)->registerHandler(arg2
,arg3
);
925 Py_INCREF(Py_None
); resultobj
= Py_None
;
932 static PyObject
*_wrap_OtkEventDispatcher_clearHandler(PyObject
*self
, PyObject
*args
) {
934 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
937 PyObject
* obj0
= 0 ;
938 PyObject
* obj1
= 0 ;
940 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_clearHandler",&obj0
,&obj1
)) goto fail
;
941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
942 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
944 (arg1
)->clearHandler(arg2
);
946 Py_INCREF(Py_None
); resultobj
= Py_None
;
953 static PyObject
*_wrap_OtkEventDispatcher_dispatchEvents(PyObject
*self
, PyObject
*args
) {
955 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
956 PyObject
* obj0
= 0 ;
958 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_dispatchEvents",&obj0
)) goto fail
;
959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
960 (arg1
)->dispatchEvents();
962 Py_INCREF(Py_None
); resultobj
= Py_None
;
969 static PyObject
*_wrap_OtkEventDispatcher_setFallbackHandler(PyObject
*self
, PyObject
*args
) {
971 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
972 otk::OtkEventHandler
*arg2
= (otk::OtkEventHandler
*) 0 ;
973 PyObject
* obj0
= 0 ;
974 PyObject
* obj1
= 0 ;
976 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_setFallbackHandler",&obj0
,&obj1
)) goto fail
;
977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
978 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
979 (arg1
)->setFallbackHandler(arg2
);
981 Py_INCREF(Py_None
); resultobj
= Py_None
;
988 static PyObject
*_wrap_OtkEventDispatcher_getFallbackHandler(PyObject
*self
, PyObject
*args
) {
990 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
991 otk::OtkEventHandler
*result
;
992 PyObject
* obj0
= 0 ;
994 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_getFallbackHandler",&obj0
)) goto fail
;
995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
996 result
= (otk::OtkEventHandler
*)((otk::OtkEventDispatcher
const *)arg1
)->getFallbackHandler();
998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventHandler
, 0);
1005 static PyObject
*_wrap_OtkEventDispatcher_setMasterHandler(PyObject
*self
, PyObject
*args
) {
1006 PyObject
*resultobj
;
1007 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
1008 otk::OtkEventHandler
*arg2
= (otk::OtkEventHandler
*) 0 ;
1009 PyObject
* obj0
= 0 ;
1010 PyObject
* obj1
= 0 ;
1012 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_setMasterHandler",&obj0
,&obj1
)) goto fail
;
1013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1015 (arg1
)->setMasterHandler(arg2
);
1017 Py_INCREF(Py_None
); resultobj
= Py_None
;
1024 static PyObject
*_wrap_OtkEventDispatcher_getMasterHandler(PyObject
*self
, PyObject
*args
) {
1025 PyObject
*resultobj
;
1026 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
1027 otk::OtkEventHandler
*result
;
1028 PyObject
* obj0
= 0 ;
1030 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_getMasterHandler",&obj0
)) goto fail
;
1031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1032 result
= (otk::OtkEventHandler
*)((otk::OtkEventDispatcher
const *)arg1
)->getMasterHandler();
1034 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventHandler
, 0);
1041 static PyObject
*_wrap_OtkEventDispatcher_findHandler(PyObject
*self
, PyObject
*args
) {
1042 PyObject
*resultobj
;
1043 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
1045 otk::OtkEventHandler
*result
;
1047 PyObject
* obj0
= 0 ;
1048 PyObject
* obj1
= 0 ;
1050 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_findHandler",&obj0
,&obj1
)) goto fail
;
1051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1052 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
1054 result
= (otk::OtkEventHandler
*)(arg1
)->findHandler(arg2
);
1056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventHandler
, 0);
1063 static PyObject
*_wrap_OtkEventDispatcher_lastTime(PyObject
*self
, PyObject
*args
) {
1064 PyObject
*resultobj
;
1065 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
1067 PyObject
* obj0
= 0 ;
1069 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_lastTime",&obj0
)) goto fail
;
1070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1071 result
= ((otk::OtkEventDispatcher
const *)arg1
)->lastTime();
1075 resultptr
= new Time((Time
&) result
);
1076 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Time
, 1);
1084 static PyObject
* OtkEventDispatcher_swigregister(PyObject
*self
, PyObject
*args
) {
1086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1087 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventDispatcher
, obj
);
1089 return Py_BuildValue((char *)"");
1091 static PyObject
*_wrap_OtkEventHandler_handle(PyObject
*self
, PyObject
*args
) {
1092 PyObject
*resultobj
;
1093 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1095 PyObject
* obj0
= 0 ;
1096 PyObject
* obj1
= 0 ;
1098 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_handle",&obj0
,&obj1
)) goto fail
;
1099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1100 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1104 (arg1
)->handle((XEvent
const &)*arg2
);
1106 Py_INCREF(Py_None
); resultobj
= Py_None
;
1113 static PyObject
*_wrap_OtkEventHandler_keyPressHandler(PyObject
*self
, PyObject
*args
) {
1114 PyObject
*resultobj
;
1115 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1116 XKeyEvent
*arg2
= 0 ;
1117 PyObject
* obj0
= 0 ;
1118 PyObject
* obj1
= 0 ;
1120 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_keyPressHandler",&obj0
,&obj1
)) goto fail
;
1121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1124 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1126 (arg1
)->keyPressHandler((XKeyEvent
const &)*arg2
);
1128 Py_INCREF(Py_None
); resultobj
= Py_None
;
1135 static PyObject
*_wrap_OtkEventHandler_keyReleaseHandler(PyObject
*self
, PyObject
*args
) {
1136 PyObject
*resultobj
;
1137 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1138 XKeyEvent
*arg2
= 0 ;
1139 PyObject
* obj0
= 0 ;
1140 PyObject
* obj1
= 0 ;
1142 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_keyReleaseHandler",&obj0
,&obj1
)) goto fail
;
1143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1144 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1146 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1148 (arg1
)->keyReleaseHandler((XKeyEvent
const &)*arg2
);
1150 Py_INCREF(Py_None
); resultobj
= Py_None
;
1157 static PyObject
*_wrap_OtkEventHandler_buttonPressHandler(PyObject
*self
, PyObject
*args
) {
1158 PyObject
*resultobj
;
1159 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1160 XButtonEvent
*arg2
= 0 ;
1161 PyObject
* obj0
= 0 ;
1162 PyObject
* obj1
= 0 ;
1164 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_buttonPressHandler",&obj0
,&obj1
)) goto fail
;
1165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1166 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1168 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1170 (arg1
)->buttonPressHandler((XButtonEvent
const &)*arg2
);
1172 Py_INCREF(Py_None
); resultobj
= Py_None
;
1179 static PyObject
*_wrap_OtkEventHandler_buttonReleaseHandler(PyObject
*self
, PyObject
*args
) {
1180 PyObject
*resultobj
;
1181 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1182 XButtonEvent
*arg2
= 0 ;
1183 PyObject
* obj0
= 0 ;
1184 PyObject
* obj1
= 0 ;
1186 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_buttonReleaseHandler",&obj0
,&obj1
)) goto fail
;
1187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1188 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1190 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1192 (arg1
)->buttonReleaseHandler((XButtonEvent
const &)*arg2
);
1194 Py_INCREF(Py_None
); resultobj
= Py_None
;
1201 static PyObject
*_wrap_OtkEventHandler_motionHandler(PyObject
*self
, PyObject
*args
) {
1202 PyObject
*resultobj
;
1203 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1204 XMotionEvent
*arg2
= 0 ;
1205 PyObject
* obj0
= 0 ;
1206 PyObject
* obj1
= 0 ;
1208 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_motionHandler",&obj0
,&obj1
)) goto fail
;
1209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMotionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1214 (arg1
)->motionHandler((XMotionEvent
const &)*arg2
);
1216 Py_INCREF(Py_None
); resultobj
= Py_None
;
1223 static PyObject
*_wrap_OtkEventHandler_enterHandler(PyObject
*self
, PyObject
*args
) {
1224 PyObject
*resultobj
;
1225 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1226 XCrossingEvent
*arg2
= 0 ;
1227 PyObject
* obj0
= 0 ;
1228 PyObject
* obj1
= 0 ;
1230 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_enterHandler",&obj0
,&obj1
)) goto fail
;
1231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1232 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCrossingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1234 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1236 (arg1
)->enterHandler((XCrossingEvent
const &)*arg2
);
1238 Py_INCREF(Py_None
); resultobj
= Py_None
;
1245 static PyObject
*_wrap_OtkEventHandler_leaveHandler(PyObject
*self
, PyObject
*args
) {
1246 PyObject
*resultobj
;
1247 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1248 XCrossingEvent
*arg2
= 0 ;
1249 PyObject
* obj0
= 0 ;
1250 PyObject
* obj1
= 0 ;
1252 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_leaveHandler",&obj0
,&obj1
)) goto fail
;
1253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1254 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCrossingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1256 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1258 (arg1
)->leaveHandler((XCrossingEvent
const &)*arg2
);
1260 Py_INCREF(Py_None
); resultobj
= Py_None
;
1267 static PyObject
*_wrap_OtkEventHandler_focusHandler(PyObject
*self
, PyObject
*args
) {
1268 PyObject
*resultobj
;
1269 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1270 XFocusChangeEvent
*arg2
= 0 ;
1271 PyObject
* obj0
= 0 ;
1272 PyObject
* obj1
= 0 ;
1274 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_focusHandler",&obj0
,&obj1
)) goto fail
;
1275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1278 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1280 (arg1
)->focusHandler((XFocusChangeEvent
const &)*arg2
);
1282 Py_INCREF(Py_None
); resultobj
= Py_None
;
1289 static PyObject
*_wrap_OtkEventHandler_unfocusHandler(PyObject
*self
, PyObject
*args
) {
1290 PyObject
*resultobj
;
1291 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1292 XFocusChangeEvent
*arg2
= 0 ;
1293 PyObject
* obj0
= 0 ;
1294 PyObject
* obj1
= 0 ;
1296 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_unfocusHandler",&obj0
,&obj1
)) goto fail
;
1297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1302 (arg1
)->unfocusHandler((XFocusChangeEvent
const &)*arg2
);
1304 Py_INCREF(Py_None
); resultobj
= Py_None
;
1311 static PyObject
*_wrap_OtkEventHandler_exposeHandler(PyObject
*self
, PyObject
*args
) {
1312 PyObject
*resultobj
;
1313 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1314 XExposeEvent
*arg2
= 0 ;
1315 PyObject
* obj0
= 0 ;
1316 PyObject
* obj1
= 0 ;
1318 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_exposeHandler",&obj0
,&obj1
)) goto fail
;
1319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1324 (arg1
)->exposeHandler((XExposeEvent
const &)*arg2
);
1326 Py_INCREF(Py_None
); resultobj
= Py_None
;
1333 static PyObject
*_wrap_OtkEventHandler_graphicsExposeHandler(PyObject
*self
, PyObject
*args
) {
1334 PyObject
*resultobj
;
1335 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1336 XGraphicsExposeEvent
*arg2
= 0 ;
1337 PyObject
* obj0
= 0 ;
1338 PyObject
* obj1
= 0 ;
1340 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_graphicsExposeHandler",&obj0
,&obj1
)) goto fail
;
1341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1342 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XGraphicsExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1344 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1346 (arg1
)->graphicsExposeHandler((XGraphicsExposeEvent
const &)*arg2
);
1348 Py_INCREF(Py_None
); resultobj
= Py_None
;
1355 static PyObject
*_wrap_OtkEventHandler_noExposeEventHandler(PyObject
*self
, PyObject
*args
) {
1356 PyObject
*resultobj
;
1357 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1358 XNoExposeEvent
*arg2
= 0 ;
1359 PyObject
* obj0
= 0 ;
1360 PyObject
* obj1
= 0 ;
1362 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_noExposeEventHandler",&obj0
,&obj1
)) goto fail
;
1363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XNoExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1368 (arg1
)->noExposeEventHandler((XNoExposeEvent
const &)*arg2
);
1370 Py_INCREF(Py_None
); resultobj
= Py_None
;
1377 static PyObject
*_wrap_OtkEventHandler_circulateRequestHandler(PyObject
*self
, PyObject
*args
) {
1378 PyObject
*resultobj
;
1379 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1380 XCirculateRequestEvent
*arg2
= 0 ;
1381 PyObject
* obj0
= 0 ;
1382 PyObject
* obj1
= 0 ;
1384 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_circulateRequestHandler",&obj0
,&obj1
)) goto fail
;
1385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1386 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCirculateRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1388 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1390 (arg1
)->circulateRequestHandler((XCirculateRequestEvent
const &)*arg2
);
1392 Py_INCREF(Py_None
); resultobj
= Py_None
;
1399 static PyObject
*_wrap_OtkEventHandler_configureRequestHandler(PyObject
*self
, PyObject
*args
) {
1400 PyObject
*resultobj
;
1401 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1402 XConfigureRequestEvent
*arg2
= 0 ;
1403 PyObject
* obj0
= 0 ;
1404 PyObject
* obj1
= 0 ;
1406 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_configureRequestHandler",&obj0
,&obj1
)) goto fail
;
1407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1408 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1410 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1412 (arg1
)->configureRequestHandler((XConfigureRequestEvent
const &)*arg2
);
1414 Py_INCREF(Py_None
); resultobj
= Py_None
;
1421 static PyObject
*_wrap_OtkEventHandler_mapRequestHandler(PyObject
*self
, PyObject
*args
) {
1422 PyObject
*resultobj
;
1423 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1424 XMapRequestEvent
*arg2
= 0 ;
1425 PyObject
* obj0
= 0 ;
1426 PyObject
* obj1
= 0 ;
1428 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_mapRequestHandler",&obj0
,&obj1
)) goto fail
;
1429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1434 (arg1
)->mapRequestHandler((XMapRequestEvent
const &)*arg2
);
1436 Py_INCREF(Py_None
); resultobj
= Py_None
;
1443 static PyObject
*_wrap_OtkEventHandler_resizeRequestHandler(PyObject
*self
, PyObject
*args
) {
1444 PyObject
*resultobj
;
1445 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1446 XResizeRequestEvent
*arg2
= 0 ;
1447 PyObject
* obj0
= 0 ;
1448 PyObject
* obj1
= 0 ;
1450 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_resizeRequestHandler",&obj0
,&obj1
)) goto fail
;
1451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XResizeRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1456 (arg1
)->resizeRequestHandler((XResizeRequestEvent
const &)*arg2
);
1458 Py_INCREF(Py_None
); resultobj
= Py_None
;
1465 static PyObject
*_wrap_OtkEventHandler_circulateHandler(PyObject
*self
, PyObject
*args
) {
1466 PyObject
*resultobj
;
1467 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1468 XCirculateEvent
*arg2
= 0 ;
1469 PyObject
* obj0
= 0 ;
1470 PyObject
* obj1
= 0 ;
1472 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_circulateHandler",&obj0
,&obj1
)) goto fail
;
1473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1474 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCirculateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1478 (arg1
)->circulateHandler((XCirculateEvent
const &)*arg2
);
1480 Py_INCREF(Py_None
); resultobj
= Py_None
;
1487 static PyObject
*_wrap_OtkEventHandler_configureHandler(PyObject
*self
, PyObject
*args
) {
1488 PyObject
*resultobj
;
1489 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1490 XConfigureEvent
*arg2
= 0 ;
1491 PyObject
* obj0
= 0 ;
1492 PyObject
* obj1
= 0 ;
1494 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_configureHandler",&obj0
,&obj1
)) goto fail
;
1495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1496 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1498 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1500 (arg1
)->configureHandler((XConfigureEvent
const &)*arg2
);
1502 Py_INCREF(Py_None
); resultobj
= Py_None
;
1509 static PyObject
*_wrap_OtkEventHandler_createHandler(PyObject
*self
, PyObject
*args
) {
1510 PyObject
*resultobj
;
1511 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1512 XCreateWindowEvent
*arg2
= 0 ;
1513 PyObject
* obj0
= 0 ;
1514 PyObject
* obj1
= 0 ;
1516 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_createHandler",&obj0
,&obj1
)) goto fail
;
1517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1518 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCreateWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1520 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1522 (arg1
)->createHandler((XCreateWindowEvent
const &)*arg2
);
1524 Py_INCREF(Py_None
); resultobj
= Py_None
;
1531 static PyObject
*_wrap_OtkEventHandler_destroyHandler(PyObject
*self
, PyObject
*args
) {
1532 PyObject
*resultobj
;
1533 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1534 XDestroyWindowEvent
*arg2
= 0 ;
1535 PyObject
* obj0
= 0 ;
1536 PyObject
* obj1
= 0 ;
1538 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_destroyHandler",&obj0
,&obj1
)) goto fail
;
1539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1540 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XDestroyWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1542 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1544 (arg1
)->destroyHandler((XDestroyWindowEvent
const &)*arg2
);
1546 Py_INCREF(Py_None
); resultobj
= Py_None
;
1553 static PyObject
*_wrap_OtkEventHandler_gravityHandler(PyObject
*self
, PyObject
*args
) {
1554 PyObject
*resultobj
;
1555 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1556 XGravityEvent
*arg2
= 0 ;
1557 PyObject
* obj0
= 0 ;
1558 PyObject
* obj1
= 0 ;
1560 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_gravityHandler",&obj0
,&obj1
)) goto fail
;
1561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XGravityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1566 (arg1
)->gravityHandler((XGravityEvent
const &)*arg2
);
1568 Py_INCREF(Py_None
); resultobj
= Py_None
;
1575 static PyObject
*_wrap_OtkEventHandler_mapHandler(PyObject
*self
, PyObject
*args
) {
1576 PyObject
*resultobj
;
1577 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1578 XMapEvent
*arg2
= 0 ;
1579 PyObject
* obj0
= 0 ;
1580 PyObject
* obj1
= 0 ;
1582 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_mapHandler",&obj0
,&obj1
)) goto fail
;
1583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1584 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1586 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1588 (arg1
)->mapHandler((XMapEvent
const &)*arg2
);
1590 Py_INCREF(Py_None
); resultobj
= Py_None
;
1597 static PyObject
*_wrap_OtkEventHandler_mappingHandler(PyObject
*self
, PyObject
*args
) {
1598 PyObject
*resultobj
;
1599 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1600 XMappingEvent
*arg2
= 0 ;
1601 PyObject
* obj0
= 0 ;
1602 PyObject
* obj1
= 0 ;
1604 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_mappingHandler",&obj0
,&obj1
)) goto fail
;
1605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1606 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMappingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1608 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1610 (arg1
)->mappingHandler((XMappingEvent
const &)*arg2
);
1612 Py_INCREF(Py_None
); resultobj
= Py_None
;
1619 static PyObject
*_wrap_OtkEventHandler_reparentHandler(PyObject
*self
, PyObject
*args
) {
1620 PyObject
*resultobj
;
1621 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1622 XReparentEvent
*arg2
= 0 ;
1623 PyObject
* obj0
= 0 ;
1624 PyObject
* obj1
= 0 ;
1626 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_reparentHandler",&obj0
,&obj1
)) goto fail
;
1627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XReparentEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1632 (arg1
)->reparentHandler((XReparentEvent
const &)*arg2
);
1634 Py_INCREF(Py_None
); resultobj
= Py_None
;
1641 static PyObject
*_wrap_OtkEventHandler_unmapHandler(PyObject
*self
, PyObject
*args
) {
1642 PyObject
*resultobj
;
1643 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1644 XUnmapEvent
*arg2
= 0 ;
1645 PyObject
* obj0
= 0 ;
1646 PyObject
* obj1
= 0 ;
1648 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_unmapHandler",&obj0
,&obj1
)) goto fail
;
1649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1650 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XUnmapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1652 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1654 (arg1
)->unmapHandler((XUnmapEvent
const &)*arg2
);
1656 Py_INCREF(Py_None
); resultobj
= Py_None
;
1663 static PyObject
*_wrap_OtkEventHandler_visibilityHandler(PyObject
*self
, PyObject
*args
) {
1664 PyObject
*resultobj
;
1665 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1666 XVisibilityEvent
*arg2
= 0 ;
1667 PyObject
* obj0
= 0 ;
1668 PyObject
* obj1
= 0 ;
1670 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_visibilityHandler",&obj0
,&obj1
)) goto fail
;
1671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XVisibilityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1674 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1676 (arg1
)->visibilityHandler((XVisibilityEvent
const &)*arg2
);
1678 Py_INCREF(Py_None
); resultobj
= Py_None
;
1685 static PyObject
*_wrap_OtkEventHandler_colorMapHandler(PyObject
*self
, PyObject
*args
) {
1686 PyObject
*resultobj
;
1687 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1688 XColormapEvent
*arg2
= 0 ;
1689 PyObject
* obj0
= 0 ;
1690 PyObject
* obj1
= 0 ;
1692 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_colorMapHandler",&obj0
,&obj1
)) goto fail
;
1693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XColormapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1696 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1698 (arg1
)->colorMapHandler((XColormapEvent
const &)*arg2
);
1700 Py_INCREF(Py_None
); resultobj
= Py_None
;
1707 static PyObject
*_wrap_OtkEventHandler_propertyHandler(PyObject
*self
, PyObject
*args
) {
1708 PyObject
*resultobj
;
1709 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1710 XPropertyEvent
*arg2
= 0 ;
1711 PyObject
* obj0
= 0 ;
1712 PyObject
* obj1
= 0 ;
1714 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_propertyHandler",&obj0
,&obj1
)) goto fail
;
1715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1716 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1718 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1720 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
1722 Py_INCREF(Py_None
); resultobj
= Py_None
;
1729 static PyObject
*_wrap_OtkEventHandler_selectionClearHandler(PyObject
*self
, PyObject
*args
) {
1730 PyObject
*resultobj
;
1731 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1732 XSelectionClearEvent
*arg2
= 0 ;
1733 PyObject
* obj0
= 0 ;
1734 PyObject
* obj1
= 0 ;
1736 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_selectionClearHandler",&obj0
,&obj1
)) goto fail
;
1737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1738 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionClearEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1740 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1742 (arg1
)->selectionClearHandler((XSelectionClearEvent
const &)*arg2
);
1744 Py_INCREF(Py_None
); resultobj
= Py_None
;
1751 static PyObject
*_wrap_OtkEventHandler_selectionHandler(PyObject
*self
, PyObject
*args
) {
1752 PyObject
*resultobj
;
1753 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1754 XSelectionEvent
*arg2
= 0 ;
1755 PyObject
* obj0
= 0 ;
1756 PyObject
* obj1
= 0 ;
1758 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_selectionHandler",&obj0
,&obj1
)) goto fail
;
1759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1762 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1764 (arg1
)->selectionHandler((XSelectionEvent
const &)*arg2
);
1766 Py_INCREF(Py_None
); resultobj
= Py_None
;
1773 static PyObject
*_wrap_OtkEventHandler_selectionRequestHandler(PyObject
*self
, PyObject
*args
) {
1774 PyObject
*resultobj
;
1775 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1776 XSelectionRequestEvent
*arg2
= 0 ;
1777 PyObject
* obj0
= 0 ;
1778 PyObject
* obj1
= 0 ;
1780 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_selectionRequestHandler",&obj0
,&obj1
)) goto fail
;
1781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1784 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1786 (arg1
)->selectionRequestHandler((XSelectionRequestEvent
const &)*arg2
);
1788 Py_INCREF(Py_None
); resultobj
= Py_None
;
1795 static PyObject
*_wrap_OtkEventHandler_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
1796 PyObject
*resultobj
;
1797 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1798 XClientMessageEvent
*arg2
= 0 ;
1799 PyObject
* obj0
= 0 ;
1800 PyObject
* obj1
= 0 ;
1802 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
1803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1808 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
1810 Py_INCREF(Py_None
); resultobj
= Py_None
;
1817 static PyObject
*_wrap_delete_OtkEventHandler(PyObject
*self
, PyObject
*args
) {
1818 PyObject
*resultobj
;
1819 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1820 PyObject
* obj0
= 0 ;
1822 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkEventHandler",&obj0
)) goto fail
;
1823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1826 Py_INCREF(Py_None
); resultobj
= Py_None
;
1833 static PyObject
* OtkEventHandler_swigregister(PyObject
*self
, PyObject
*args
) {
1835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1836 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventHandler
, obj
);
1838 return Py_BuildValue((char *)"");
1840 static PyObject
*_wrap_new_OtkWidget__SWIG_0(PyObject
*self
, PyObject
*args
) {
1841 PyObject
*resultobj
;
1842 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
1843 int arg2
= (int) otk::OtkWidget::Horizontal
;
1844 otk::OtkWidget
*result
;
1845 PyObject
* obj0
= 0 ;
1847 if(!PyArg_ParseTuple(args
,(char *)"O|i:new_OtkWidget",&obj0
,&arg2
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1849 result
= (otk::OtkWidget
*)new otk::OtkWidget(arg1
,(otk::OtkWidget::Direction
)arg2
);
1851 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkWidget
, 1);
1858 static PyObject
*_wrap_new_OtkWidget__SWIG_1(PyObject
*self
, PyObject
*args
) {
1859 PyObject
*resultobj
;
1860 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
1861 otk::Style
*arg2
= (otk::Style
*) 0 ;
1862 int arg3
= (int) otk::OtkWidget::Horizontal
;
1863 Cursor arg4
= (Cursor
) 0 ;
1864 int arg5
= (int) 1 ;
1865 bool arg6
= (bool) false ;
1866 otk::OtkWidget
*result
;
1868 PyObject
* obj0
= 0 ;
1869 PyObject
* obj1
= 0 ;
1870 PyObject
* obj3
= 0 ;
1871 PyObject
* obj5
= 0 ;
1873 if(!PyArg_ParseTuple(args
,(char *)"OO|iOiO:new_OtkWidget",&obj0
,&obj1
,&arg3
,&obj3
,&arg5
,&obj5
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1875 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1877 if ((SWIG_ConvertPtr(obj3
,(void **) &argp4
, SWIGTYPE_p_Cursor
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
1881 arg6
= (bool) PyInt_AsLong(obj5
);
1882 if (PyErr_Occurred()) SWIG_fail
;
1884 result
= (otk::OtkWidget
*)new otk::OtkWidget(arg1
,arg2
,(otk::OtkWidget::Direction
)arg3
,arg4
,arg5
,arg6
);
1886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkWidget
, 1);
1893 static PyObject
*_wrap_new_OtkWidget(PyObject
*self
, PyObject
*args
) {
1898 argc
= PyObject_Length(args
);
1899 for (ii
= 0; (ii
< argc
) && (ii
< 6); ii
++) {
1900 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1902 if ((argc
>= 1) && (argc
<= 2)) {
1906 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
1915 return _wrap_new_OtkWidget__SWIG_0(self
,args
);
1918 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1921 return _wrap_new_OtkWidget__SWIG_0(self
,args
);
1925 if ((argc
>= 2) && (argc
<= 6)) {
1929 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkEventDispatcher
, 0) == -1) {
1939 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Style
, 0) == -1) {
1948 return _wrap_new_OtkWidget__SWIG_1(self
,args
);
1951 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1955 return _wrap_new_OtkWidget__SWIG_1(self
,args
);
1959 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_Cursor
, 0) == -1) {
1968 return _wrap_new_OtkWidget__SWIG_1(self
,args
);
1971 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
1975 return _wrap_new_OtkWidget__SWIG_1(self
,args
);
1978 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
1981 return _wrap_new_OtkWidget__SWIG_1(self
,args
);
1990 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_OtkWidget'");
1995 static PyObject
*_wrap_delete_OtkWidget(PyObject
*self
, PyObject
*args
) {
1996 PyObject
*resultobj
;
1997 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
1998 PyObject
* obj0
= 0 ;
2000 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkWidget",&obj0
)) goto fail
;
2001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2004 Py_INCREF(Py_None
); resultobj
= Py_None
;
2011 static PyObject
*_wrap_OtkWidget_update(PyObject
*self
, PyObject
*args
) {
2012 PyObject
*resultobj
;
2013 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2014 PyObject
* obj0
= 0 ;
2016 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_update",&obj0
)) goto fail
;
2017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2020 Py_INCREF(Py_None
); resultobj
= Py_None
;
2027 static PyObject
*_wrap_OtkWidget_exposeHandler(PyObject
*self
, PyObject
*args
) {
2028 PyObject
*resultobj
;
2029 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2030 XExposeEvent
*arg2
= 0 ;
2031 PyObject
* obj0
= 0 ;
2032 PyObject
* obj1
= 0 ;
2034 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_exposeHandler",&obj0
,&obj1
)) goto fail
;
2035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2040 (arg1
)->exposeHandler((XExposeEvent
const &)*arg2
);
2042 Py_INCREF(Py_None
); resultobj
= Py_None
;
2049 static PyObject
*_wrap_OtkWidget_configureHandler(PyObject
*self
, PyObject
*args
) {
2050 PyObject
*resultobj
;
2051 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2052 XConfigureEvent
*arg2
= 0 ;
2053 PyObject
* obj0
= 0 ;
2054 PyObject
* obj1
= 0 ;
2056 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_configureHandler",&obj0
,&obj1
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2058 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2060 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2062 (arg1
)->configureHandler((XConfigureEvent
const &)*arg2
);
2064 Py_INCREF(Py_None
); resultobj
= Py_None
;
2071 static PyObject
*_wrap_OtkWidget_window(PyObject
*self
, PyObject
*args
) {
2072 PyObject
*resultobj
;
2073 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2075 PyObject
* obj0
= 0 ;
2077 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_window",&obj0
)) goto fail
;
2078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2079 result
= ((otk::OtkWidget
const *)arg1
)->window();
2083 resultptr
= new Window((Window
&) result
);
2084 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Window
, 1);
2092 static PyObject
*_wrap_OtkWidget_parent(PyObject
*self
, PyObject
*args
) {
2093 PyObject
*resultobj
;
2094 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2095 otk::OtkWidget
*result
;
2096 PyObject
* obj0
= 0 ;
2098 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_parent",&obj0
)) goto fail
;
2099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2100 result
= (otk::OtkWidget
*)((otk::OtkWidget
const *)arg1
)->parent();
2102 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkWidget
, 0);
2109 static PyObject
*_wrap_OtkWidget_children(PyObject
*self
, PyObject
*args
) {
2110 PyObject
*resultobj
;
2111 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2112 otk::OtkWidget::OtkWidgetList
*result
;
2113 PyObject
* obj0
= 0 ;
2115 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_children",&obj0
)) goto fail
;
2116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2118 otk::OtkWidget::OtkWidgetList
const &_result_ref
= ((otk::OtkWidget
const *)arg1
)->children();
2119 result
= (otk::OtkWidget::OtkWidgetList
*) &_result_ref
;
2122 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkWidget__OtkWidgetList
, 0);
2129 static PyObject
*_wrap_OtkWidget_screen(PyObject
*self
, PyObject
*args
) {
2130 PyObject
*resultobj
;
2131 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2132 unsigned int result
;
2133 PyObject
* obj0
= 0 ;
2135 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_screen",&obj0
)) goto fail
;
2136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2137 result
= (unsigned int)((otk::OtkWidget
const *)arg1
)->screen();
2139 resultobj
= PyInt_FromLong((long)result
);
2146 static PyObject
*_wrap_OtkWidget_rect(PyObject
*self
, PyObject
*args
) {
2147 PyObject
*resultobj
;
2148 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2150 PyObject
* obj0
= 0 ;
2152 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_rect",&obj0
)) goto fail
;
2153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2155 otk::Rect
const &_result_ref
= ((otk::OtkWidget
const *)arg1
)->rect();
2156 result
= (otk::Rect
*) &_result_ref
;
2159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
2166 static PyObject
*_wrap_OtkWidget_move__SWIG_0(PyObject
*self
, PyObject
*args
) {
2167 PyObject
*resultobj
;
2168 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2169 otk::Point
*arg2
= 0 ;
2170 PyObject
* obj0
= 0 ;
2171 PyObject
* obj1
= 0 ;
2173 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_move",&obj0
,&obj1
)) goto fail
;
2174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2175 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2177 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2179 (arg1
)->move((otk::Point
const &)*arg2
);
2181 Py_INCREF(Py_None
); resultobj
= Py_None
;
2188 static PyObject
*_wrap_OtkWidget_move__SWIG_1(PyObject
*self
, PyObject
*args
) {
2189 PyObject
*resultobj
;
2190 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2195 if(!PyArg_ParseTuple(args
,(char *)"Oii:OtkWidget_move",&obj0
,&arg2
,&arg3
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2197 (arg1
)->move(arg2
,arg3
);
2199 Py_INCREF(Py_None
); resultobj
= Py_None
;
2206 static PyObject
*_wrap_OtkWidget_move(PyObject
*self
, PyObject
*args
) {
2211 argc
= PyObject_Length(args
);
2212 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2213 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2219 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2229 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2237 return _wrap_OtkWidget_move__SWIG_0(self
,args
);
2245 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2254 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2258 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2261 return _wrap_OtkWidget_move__SWIG_1(self
,args
);
2267 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OtkWidget_move'");
2272 static PyObject
*_wrap_OtkWidget_setWidth(PyObject
*self
, PyObject
*args
) {
2273 PyObject
*resultobj
;
2274 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2276 PyObject
* obj0
= 0 ;
2278 if(!PyArg_ParseTuple(args
,(char *)"Oi:OtkWidget_setWidth",&obj0
,&arg2
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2280 (arg1
)->setWidth(arg2
);
2282 Py_INCREF(Py_None
); resultobj
= Py_None
;
2289 static PyObject
*_wrap_OtkWidget_setHeight(PyObject
*self
, PyObject
*args
) {
2290 PyObject
*resultobj
;
2291 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2293 PyObject
* obj0
= 0 ;
2295 if(!PyArg_ParseTuple(args
,(char *)"Oi:OtkWidget_setHeight",&obj0
,&arg2
)) goto fail
;
2296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2297 (arg1
)->setHeight(arg2
);
2299 Py_INCREF(Py_None
); resultobj
= Py_None
;
2306 static PyObject
*_wrap_OtkWidget_width(PyObject
*self
, PyObject
*args
) {
2307 PyObject
*resultobj
;
2308 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2310 PyObject
* obj0
= 0 ;
2312 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_width",&obj0
)) goto fail
;
2313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2314 result
= (int)((otk::OtkWidget
const *)arg1
)->width();
2316 resultobj
= PyInt_FromLong((long)result
);
2323 static PyObject
*_wrap_OtkWidget_height(PyObject
*self
, PyObject
*args
) {
2324 PyObject
*resultobj
;
2325 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2329 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_height",&obj0
)) goto fail
;
2330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2331 result
= (int)((otk::OtkWidget
const *)arg1
)->height();
2333 resultobj
= PyInt_FromLong((long)result
);
2340 static PyObject
*_wrap_OtkWidget_resize__SWIG_0(PyObject
*self
, PyObject
*args
) {
2341 PyObject
*resultobj
;
2342 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2343 otk::Point
*arg2
= 0 ;
2344 PyObject
* obj0
= 0 ;
2345 PyObject
* obj1
= 0 ;
2347 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_resize",&obj0
,&obj1
)) goto fail
;
2348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2351 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2353 (arg1
)->resize((otk::Point
const &)*arg2
);
2355 Py_INCREF(Py_None
); resultobj
= Py_None
;
2362 static PyObject
*_wrap_OtkWidget_resize__SWIG_1(PyObject
*self
, PyObject
*args
) {
2363 PyObject
*resultobj
;
2364 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2369 if(!PyArg_ParseTuple(args
,(char *)"Oii:OtkWidget_resize",&obj0
,&arg2
,&arg3
)) goto fail
;
2370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2371 (arg1
)->resize(arg2
,arg3
);
2373 Py_INCREF(Py_None
); resultobj
= Py_None
;
2380 static PyObject
*_wrap_OtkWidget_resize(PyObject
*self
, PyObject
*args
) {
2385 argc
= PyObject_Length(args
);
2386 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2387 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2393 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2403 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2411 return _wrap_OtkWidget_resize__SWIG_0(self
,args
);
2419 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2428 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2432 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2435 return _wrap_OtkWidget_resize__SWIG_1(self
,args
);
2441 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OtkWidget_resize'");
2446 static PyObject
*_wrap_OtkWidget_setGeometry__SWIG_0(PyObject
*self
, PyObject
*args
) {
2447 PyObject
*resultobj
;
2448 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2449 otk::Rect
*arg2
= 0 ;
2450 PyObject
* obj0
= 0 ;
2451 PyObject
* obj1
= 0 ;
2453 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setGeometry",&obj0
,&obj1
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2457 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2459 (arg1
)->setGeometry((otk::Rect
const &)*arg2
);
2461 Py_INCREF(Py_None
); resultobj
= Py_None
;
2468 static PyObject
*_wrap_OtkWidget_setGeometry__SWIG_1(PyObject
*self
, PyObject
*args
) {
2469 PyObject
*resultobj
;
2470 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2471 otk::Point
*arg2
= 0 ;
2474 PyObject
* obj0
= 0 ;
2475 PyObject
* obj1
= 0 ;
2477 if(!PyArg_ParseTuple(args
,(char *)"OOii:OtkWidget_setGeometry",&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
2478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2479 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2483 (arg1
)->setGeometry((otk::Point
const &)*arg2
,arg3
,arg4
);
2485 Py_INCREF(Py_None
); resultobj
= Py_None
;
2492 static PyObject
*_wrap_OtkWidget_setGeometry__SWIG_2(PyObject
*self
, PyObject
*args
) {
2493 PyObject
*resultobj
;
2494 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2499 PyObject
* obj0
= 0 ;
2501 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:OtkWidget_setGeometry",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2503 (arg1
)->setGeometry(arg2
,arg3
,arg4
,arg5
);
2505 Py_INCREF(Py_None
); resultobj
= Py_None
;
2512 static PyObject
*_wrap_OtkWidget_setGeometry(PyObject
*self
, PyObject
*args
) {
2517 argc
= PyObject_Length(args
);
2518 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
2519 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2525 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2535 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2543 return _wrap_OtkWidget_setGeometry__SWIG_0(self
,args
);
2551 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2561 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2570 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2574 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
2577 return _wrap_OtkWidget_setGeometry__SWIG_1(self
,args
);
2587 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2596 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2600 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2604 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
2608 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
2611 return _wrap_OtkWidget_setGeometry__SWIG_2(self
,args
);
2619 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OtkWidget_setGeometry'");
2624 static PyObject
*_wrap_OtkWidget_isVisible(PyObject
*self
, PyObject
*args
) {
2625 PyObject
*resultobj
;
2626 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2628 PyObject
* obj0
= 0 ;
2630 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_isVisible",&obj0
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2632 result
= (bool)((otk::OtkWidget
const *)arg1
)->isVisible();
2634 resultobj
= PyInt_FromLong((long)result
);
2641 static PyObject
*_wrap_OtkWidget_show(PyObject
*self
, PyObject
*args
) {
2642 PyObject
*resultobj
;
2643 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2644 bool arg2
= (bool) false ;
2645 PyObject
* obj0
= 0 ;
2646 PyObject
* obj1
= 0 ;
2648 if(!PyArg_ParseTuple(args
,(char *)"O|O:OtkWidget_show",&obj0
,&obj1
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2651 arg2
= (bool) PyInt_AsLong(obj1
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2656 Py_INCREF(Py_None
); resultobj
= Py_None
;
2663 static PyObject
*_wrap_OtkWidget_hide(PyObject
*self
, PyObject
*args
) {
2664 PyObject
*resultobj
;
2665 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2666 bool arg2
= (bool) false ;
2667 PyObject
* obj0
= 0 ;
2668 PyObject
* obj1
= 0 ;
2670 if(!PyArg_ParseTuple(args
,(char *)"O|O:OtkWidget_hide",&obj0
,&obj1
)) goto fail
;
2671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2673 arg2
= (bool) PyInt_AsLong(obj1
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2678 Py_INCREF(Py_None
); resultobj
= Py_None
;
2685 static PyObject
*_wrap_OtkWidget_isFocused(PyObject
*self
, PyObject
*args
) {
2686 PyObject
*resultobj
;
2687 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2689 PyObject
* obj0
= 0 ;
2691 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_isFocused",&obj0
)) goto fail
;
2692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2693 result
= (bool)((otk::OtkWidget
const *)arg1
)->isFocused();
2695 resultobj
= PyInt_FromLong((long)result
);
2702 static PyObject
*_wrap_OtkWidget_focus(PyObject
*self
, PyObject
*args
) {
2703 PyObject
*resultobj
;
2704 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2705 PyObject
* obj0
= 0 ;
2707 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_focus",&obj0
)) goto fail
;
2708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2711 Py_INCREF(Py_None
); resultobj
= Py_None
;
2718 static PyObject
*_wrap_OtkWidget_unfocus(PyObject
*self
, PyObject
*args
) {
2719 PyObject
*resultobj
;
2720 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2721 PyObject
* obj0
= 0 ;
2723 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_unfocus",&obj0
)) goto fail
;
2724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2727 Py_INCREF(Py_None
); resultobj
= Py_None
;
2734 static PyObject
*_wrap_OtkWidget_hasGrabbedMouse(PyObject
*self
, PyObject
*args
) {
2735 PyObject
*resultobj
;
2736 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2738 PyObject
* obj0
= 0 ;
2740 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_hasGrabbedMouse",&obj0
)) goto fail
;
2741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2742 result
= (bool)((otk::OtkWidget
const *)arg1
)->hasGrabbedMouse();
2744 resultobj
= PyInt_FromLong((long)result
);
2751 static PyObject
*_wrap_OtkWidget_grabMouse(PyObject
*self
, PyObject
*args
) {
2752 PyObject
*resultobj
;
2753 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2755 PyObject
* obj0
= 0 ;
2757 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_grabMouse",&obj0
)) goto fail
;
2758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2759 result
= (bool)(arg1
)->grabMouse();
2761 resultobj
= PyInt_FromLong((long)result
);
2768 static PyObject
*_wrap_OtkWidget_ungrabMouse(PyObject
*self
, PyObject
*args
) {
2769 PyObject
*resultobj
;
2770 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2771 PyObject
* obj0
= 0 ;
2773 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_ungrabMouse",&obj0
)) goto fail
;
2774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2775 (arg1
)->ungrabMouse();
2777 Py_INCREF(Py_None
); resultobj
= Py_None
;
2784 static PyObject
*_wrap_OtkWidget_hasGrabbedKeyboard(PyObject
*self
, PyObject
*args
) {
2785 PyObject
*resultobj
;
2786 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2788 PyObject
* obj0
= 0 ;
2790 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_hasGrabbedKeyboard",&obj0
)) goto fail
;
2791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2792 result
= (bool)((otk::OtkWidget
const *)arg1
)->hasGrabbedKeyboard();
2794 resultobj
= PyInt_FromLong((long)result
);
2801 static PyObject
*_wrap_OtkWidget_grabKeyboard(PyObject
*self
, PyObject
*args
) {
2802 PyObject
*resultobj
;
2803 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2805 PyObject
* obj0
= 0 ;
2807 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_grabKeyboard",&obj0
)) goto fail
;
2808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2809 result
= (bool)(arg1
)->grabKeyboard();
2811 resultobj
= PyInt_FromLong((long)result
);
2818 static PyObject
*_wrap_OtkWidget_ungrabKeyboard(PyObject
*self
, PyObject
*args
) {
2819 PyObject
*resultobj
;
2820 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2823 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_ungrabKeyboard",&obj0
)) goto fail
;
2824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2825 (arg1
)->ungrabKeyboard();
2827 Py_INCREF(Py_None
); resultobj
= Py_None
;
2834 static PyObject
*_wrap_OtkWidget_texture(PyObject
*self
, PyObject
*args
) {
2835 PyObject
*resultobj
;
2836 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2837 otk::BTexture
*result
;
2838 PyObject
* obj0
= 0 ;
2840 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_texture",&obj0
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2842 result
= (otk::BTexture
*)((otk::OtkWidget
const *)arg1
)->texture();
2844 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
2851 static PyObject
*_wrap_OtkWidget_setTexture(PyObject
*self
, PyObject
*args
) {
2852 PyObject
*resultobj
;
2853 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2854 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
2855 PyObject
* obj0
= 0 ;
2856 PyObject
* obj1
= 0 ;
2858 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setTexture",&obj0
,&obj1
)) goto fail
;
2859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2861 (arg1
)->setTexture(arg2
);
2863 Py_INCREF(Py_None
); resultobj
= Py_None
;
2870 static PyObject
*_wrap_OtkWidget_borderColor(PyObject
*self
, PyObject
*args
) {
2871 PyObject
*resultobj
;
2872 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2873 otk::BColor
*result
;
2874 PyObject
* obj0
= 0 ;
2876 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_borderColor",&obj0
)) goto fail
;
2877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2878 result
= (otk::BColor
*)((otk::OtkWidget
const *)arg1
)->borderColor();
2880 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
2887 static PyObject
*_wrap_OtkWidget_setBorderColor(PyObject
*self
, PyObject
*args
) {
2888 PyObject
*resultobj
;
2889 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2890 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
2891 PyObject
* obj0
= 0 ;
2892 PyObject
* obj1
= 0 ;
2894 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setBorderColor",&obj0
,&obj1
)) goto fail
;
2895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2897 (arg1
)->setBorderColor((otk::BColor
const *)arg2
);
2899 Py_INCREF(Py_None
); resultobj
= Py_None
;
2906 static PyObject
*_wrap_OtkWidget_borderWidth(PyObject
*self
, PyObject
*args
) {
2907 PyObject
*resultobj
;
2908 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2910 PyObject
* obj0
= 0 ;
2912 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_borderWidth",&obj0
)) goto fail
;
2913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2914 result
= (int)((otk::OtkWidget
const *)arg1
)->borderWidth();
2916 resultobj
= PyInt_FromLong((long)result
);
2923 static PyObject
*_wrap_OtkWidget_setBorderWidth(PyObject
*self
, PyObject
*args
) {
2924 PyObject
*resultobj
;
2925 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2927 PyObject
* obj0
= 0 ;
2929 if(!PyArg_ParseTuple(args
,(char *)"Oi:OtkWidget_setBorderWidth",&obj0
,&arg2
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2931 (arg1
)->setBorderWidth(arg2
);
2933 Py_INCREF(Py_None
); resultobj
= Py_None
;
2940 static PyObject
*_wrap_OtkWidget_addChild(PyObject
*self
, PyObject
*args
) {
2941 PyObject
*resultobj
;
2942 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2943 otk::OtkWidget
*arg2
= (otk::OtkWidget
*) 0 ;
2944 bool arg3
= (bool) false ;
2945 PyObject
* obj0
= 0 ;
2946 PyObject
* obj1
= 0 ;
2947 PyObject
* obj2
= 0 ;
2949 if(!PyArg_ParseTuple(args
,(char *)"OO|O:OtkWidget_addChild",&obj0
,&obj1
,&obj2
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2953 arg3
= (bool) PyInt_AsLong(obj2
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2956 (arg1
)->addChild(arg2
,arg3
);
2958 Py_INCREF(Py_None
); resultobj
= Py_None
;
2965 static PyObject
*_wrap_OtkWidget_removeChild(PyObject
*self
, PyObject
*args
) {
2966 PyObject
*resultobj
;
2967 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2968 otk::OtkWidget
*arg2
= (otk::OtkWidget
*) 0 ;
2969 PyObject
* obj0
= 0 ;
2970 PyObject
* obj1
= 0 ;
2972 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_removeChild",&obj0
,&obj1
)) goto fail
;
2973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2975 (arg1
)->removeChild(arg2
);
2977 Py_INCREF(Py_None
); resultobj
= Py_None
;
2984 static PyObject
*_wrap_OtkWidget_isStretchableHorz(PyObject
*self
, PyObject
*args
) {
2985 PyObject
*resultobj
;
2986 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2988 PyObject
* obj0
= 0 ;
2990 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_isStretchableHorz",&obj0
)) goto fail
;
2991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2992 result
= (bool)((otk::OtkWidget
const *)arg1
)->isStretchableHorz();
2994 resultobj
= PyInt_FromLong((long)result
);
3001 static PyObject
*_wrap_OtkWidget_setStretchableHorz(PyObject
*self
, PyObject
*args
) {
3002 PyObject
*resultobj
;
3003 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3004 bool arg2
= (bool) true ;
3005 PyObject
* obj0
= 0 ;
3006 PyObject
* obj1
= 0 ;
3008 if(!PyArg_ParseTuple(args
,(char *)"O|O:OtkWidget_setStretchableHorz",&obj0
,&obj1
)) goto fail
;
3009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3011 arg2
= (bool) PyInt_AsLong(obj1
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3014 (arg1
)->setStretchableHorz(arg2
);
3016 Py_INCREF(Py_None
); resultobj
= Py_None
;
3023 static PyObject
*_wrap_OtkWidget_isStretchableVert(PyObject
*self
, PyObject
*args
) {
3024 PyObject
*resultobj
;
3025 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3027 PyObject
* obj0
= 0 ;
3029 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_isStretchableVert",&obj0
)) goto fail
;
3030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3031 result
= (bool)((otk::OtkWidget
const *)arg1
)->isStretchableVert();
3033 resultobj
= PyInt_FromLong((long)result
);
3040 static PyObject
*_wrap_OtkWidget_setStretchableVert(PyObject
*self
, PyObject
*args
) {
3041 PyObject
*resultobj
;
3042 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3043 bool arg2
= (bool) true ;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3047 if(!PyArg_ParseTuple(args
,(char *)"O|O:OtkWidget_setStretchableVert",&obj0
,&obj1
)) goto fail
;
3048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3050 arg2
= (bool) PyInt_AsLong(obj1
);
3051 if (PyErr_Occurred()) SWIG_fail
;
3053 (arg1
)->setStretchableVert(arg2
);
3055 Py_INCREF(Py_None
); resultobj
= Py_None
;
3062 static PyObject
*_wrap_OtkWidget_cursor(PyObject
*self
, PyObject
*args
) {
3063 PyObject
*resultobj
;
3064 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3066 PyObject
* obj0
= 0 ;
3068 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_cursor",&obj0
)) goto fail
;
3069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3070 result
= ((otk::OtkWidget
const *)arg1
)->cursor();
3074 resultptr
= new Cursor((Cursor
&) result
);
3075 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Cursor
, 1);
3083 static PyObject
*_wrap_OtkWidget_setCursor(PyObject
*self
, PyObject
*args
) {
3084 PyObject
*resultobj
;
3085 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3088 PyObject
* obj0
= 0 ;
3089 PyObject
* obj1
= 0 ;
3091 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setCursor",&obj0
,&obj1
)) goto fail
;
3092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3093 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Cursor
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
3095 (arg1
)->setCursor(arg2
);
3097 Py_INCREF(Py_None
); resultobj
= Py_None
;
3104 static PyObject
*_wrap_OtkWidget_bevelWidth(PyObject
*self
, PyObject
*args
) {
3105 PyObject
*resultobj
;
3106 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3108 PyObject
* obj0
= 0 ;
3110 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_bevelWidth",&obj0
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3112 result
= (int)((otk::OtkWidget
const *)arg1
)->bevelWidth();
3114 resultobj
= PyInt_FromLong((long)result
);
3121 static PyObject
*_wrap_OtkWidget_setBevelWidth(PyObject
*self
, PyObject
*args
) {
3122 PyObject
*resultobj
;
3123 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3125 PyObject
* obj0
= 0 ;
3127 if(!PyArg_ParseTuple(args
,(char *)"Oi:OtkWidget_setBevelWidth",&obj0
,&arg2
)) goto fail
;
3128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3129 (arg1
)->setBevelWidth(arg2
);
3131 Py_INCREF(Py_None
); resultobj
= Py_None
;
3138 static PyObject
*_wrap_OtkWidget_direction(PyObject
*self
, PyObject
*args
) {
3139 PyObject
*resultobj
;
3140 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3142 PyObject
* obj0
= 0 ;
3144 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_direction",&obj0
)) goto fail
;
3145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3146 result
= (int)((otk::OtkWidget
const *)arg1
)->direction();
3148 resultobj
= PyInt_FromLong((long)result
);
3155 static PyObject
*_wrap_OtkWidget_setDirection(PyObject
*self
, PyObject
*args
) {
3156 PyObject
*resultobj
;
3157 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3159 PyObject
* obj0
= 0 ;
3161 if(!PyArg_ParseTuple(args
,(char *)"Oi:OtkWidget_setDirection",&obj0
,&arg2
)) goto fail
;
3162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3163 (arg1
)->setDirection((otk::OtkWidget::Direction
)arg2
);
3165 Py_INCREF(Py_None
); resultobj
= Py_None
;
3172 static PyObject
*_wrap_OtkWidget_style(PyObject
*self
, PyObject
*args
) {
3173 PyObject
*resultobj
;
3174 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3176 PyObject
* obj0
= 0 ;
3178 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_style",&obj0
)) goto fail
;
3179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3180 result
= (otk::Style
*)((otk::OtkWidget
const *)arg1
)->style();
3182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 0);
3189 static PyObject
*_wrap_OtkWidget_setStyle(PyObject
*self
, PyObject
*args
) {
3190 PyObject
*resultobj
;
3191 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3192 otk::Style
*arg2
= (otk::Style
*) 0 ;
3193 PyObject
* obj0
= 0 ;
3194 PyObject
* obj1
= 0 ;
3196 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setStyle",&obj0
,&obj1
)) goto fail
;
3197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3199 (arg1
)->setStyle(arg2
);
3201 Py_INCREF(Py_None
); resultobj
= Py_None
;
3208 static PyObject
*_wrap_OtkWidget_eventDispatcher(PyObject
*self
, PyObject
*args
) {
3209 PyObject
*resultobj
;
3210 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3211 otk::OtkEventDispatcher
*result
;
3212 PyObject
* obj0
= 0 ;
3214 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_eventDispatcher",&obj0
)) goto fail
;
3215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3216 result
= (otk::OtkEventDispatcher
*)(arg1
)->eventDispatcher();
3218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventDispatcher
, 0);
3225 static PyObject
*_wrap_OtkWidget_setEventDispatcher(PyObject
*self
, PyObject
*args
) {
3226 PyObject
*resultobj
;
3227 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3228 otk::OtkEventDispatcher
*arg2
= (otk::OtkEventDispatcher
*) 0 ;
3229 PyObject
* obj0
= 0 ;
3230 PyObject
* obj1
= 0 ;
3232 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setEventDispatcher",&obj0
,&obj1
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3234 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3235 (arg1
)->setEventDispatcher(arg2
);
3237 Py_INCREF(Py_None
); resultobj
= Py_None
;
3244 static PyObject
* OtkWidget_swigregister(PyObject
*self
, PyObject
*args
) {
3246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3247 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget
, obj
);
3249 return Py_BuildValue((char *)"");
3251 static PyObject
*_wrap_new_OtkFocusWidget(PyObject
*self
, PyObject
*args
) {
3252 PyObject
*resultobj
;
3253 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3254 int arg2
= (int) otk::OtkWidget::Horizontal
;
3255 otk::OtkFocusWidget
*result
;
3256 PyObject
* obj0
= 0 ;
3258 if(!PyArg_ParseTuple(args
,(char *)"O|i:new_OtkFocusWidget",&obj0
,&arg2
)) goto fail
;
3259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3260 result
= (otk::OtkFocusWidget
*)new otk::OtkFocusWidget(arg1
,(otk::OtkWidget::Direction
)arg2
);
3262 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkFocusWidget
, 1);
3269 static PyObject
*_wrap_delete_OtkFocusWidget(PyObject
*self
, PyObject
*args
) {
3270 PyObject
*resultobj
;
3271 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3272 PyObject
* obj0
= 0 ;
3274 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkFocusWidget",&obj0
)) goto fail
;
3275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3278 Py_INCREF(Py_None
); resultobj
= Py_None
;
3285 static PyObject
*_wrap_OtkFocusWidget_focus(PyObject
*self
, PyObject
*args
) {
3286 PyObject
*resultobj
;
3287 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3288 PyObject
* obj0
= 0 ;
3290 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_focus",&obj0
)) goto fail
;
3291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3294 Py_INCREF(Py_None
); resultobj
= Py_None
;
3301 static PyObject
*_wrap_OtkFocusWidget_unfocus(PyObject
*self
, PyObject
*args
) {
3302 PyObject
*resultobj
;
3303 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3306 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_unfocus",&obj0
)) goto fail
;
3307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_OtkFocusWidget_setTexture(PyObject
*self
, PyObject
*args
) {
3318 PyObject
*resultobj
;
3319 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3320 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3324 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusWidget_setTexture",&obj0
,&obj1
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3327 (arg1
)->setTexture(arg2
);
3329 Py_INCREF(Py_None
); resultobj
= Py_None
;
3336 static PyObject
*_wrap_OtkFocusWidget_setBorderColor(PyObject
*self
, PyObject
*args
) {
3337 PyObject
*resultobj
;
3338 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3339 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
3340 PyObject
* obj0
= 0 ;
3341 PyObject
* obj1
= 0 ;
3343 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0
,&obj1
)) goto fail
;
3344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3346 (arg1
)->setBorderColor((otk::BColor
const *)arg2
);
3348 Py_INCREF(Py_None
); resultobj
= Py_None
;
3355 static PyObject
*_wrap_OtkFocusWidget_setUnfocusTexture(PyObject
*self
, PyObject
*args
) {
3356 PyObject
*resultobj
;
3357 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3358 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
3359 PyObject
* obj0
= 0 ;
3360 PyObject
* obj1
= 0 ;
3362 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&obj0
,&obj1
)) goto fail
;
3363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3365 (arg1
)->setUnfocusTexture(arg2
);
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_OtkFocusWidget_getUnfocusTexture(PyObject
*self
, PyObject
*args
) {
3375 PyObject
*resultobj
;
3376 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3377 otk::BTexture
*result
;
3378 PyObject
* obj0
= 0 ;
3380 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0
)) goto fail
;
3381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3382 result
= (otk::BTexture
*)((otk::OtkFocusWidget
const *)arg1
)->getUnfocusTexture();
3384 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
3391 static PyObject
*_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject
*self
, PyObject
*args
) {
3392 PyObject
*resultobj
;
3393 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3394 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3398 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&obj0
,&obj1
)) goto fail
;
3399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3401 (arg1
)->setUnfocusBorderColor((otk::BColor
const *)arg2
);
3403 Py_INCREF(Py_None
); resultobj
= Py_None
;
3410 static PyObject
*_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject
*self
, PyObject
*args
) {
3411 PyObject
*resultobj
;
3412 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3413 otk::BColor
*result
;
3414 PyObject
* obj0
= 0 ;
3416 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0
)) goto fail
;
3417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3418 result
= (otk::BColor
*)((otk::OtkFocusWidget
const *)arg1
)->getUnfocusBorderColor();
3420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
3427 static PyObject
*_wrap_OtkFocusWidget_isFocused(PyObject
*self
, PyObject
*args
) {
3428 PyObject
*resultobj
;
3429 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3431 PyObject
* obj0
= 0 ;
3433 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_isFocused",&obj0
)) goto fail
;
3434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3435 result
= (bool)((otk::OtkFocusWidget
const *)arg1
)->isFocused();
3437 resultobj
= PyInt_FromLong((long)result
);
3444 static PyObject
*_wrap_OtkFocusWidget_isUnfocused(PyObject
*self
, PyObject
*args
) {
3445 PyObject
*resultobj
;
3446 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3448 PyObject
* obj0
= 0 ;
3450 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_isUnfocused",&obj0
)) goto fail
;
3451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3452 result
= (bool)((otk::OtkFocusWidget
const *)arg1
)->isUnfocused();
3454 resultobj
= PyInt_FromLong((long)result
);
3461 static PyObject
* OtkFocusWidget_swigregister(PyObject
*self
, PyObject
*args
) {
3463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3464 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget
, obj
);
3466 return Py_BuildValue((char *)"");
3468 static PyObject
*_wrap_new_OtkFocusLabel(PyObject
*self
, PyObject
*args
) {
3469 PyObject
*resultobj
;
3470 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3471 otk::OtkFocusLabel
*result
;
3472 PyObject
* obj0
= 0 ;
3474 if(!PyArg_ParseTuple(args
,(char *)"O:new_OtkFocusLabel",&obj0
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3476 result
= (otk::OtkFocusLabel
*)new otk::OtkFocusLabel(arg1
);
3478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkFocusLabel
, 1);
3485 static PyObject
*_wrap_delete_OtkFocusLabel(PyObject
*self
, PyObject
*args
) {
3486 PyObject
*resultobj
;
3487 otk::OtkFocusLabel
*arg1
= (otk::OtkFocusLabel
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3490 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkFocusLabel",&obj0
)) goto fail
;
3491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusLabel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_OtkFocusLabel_getText(PyObject
*self
, PyObject
*args
) {
3502 PyObject
*resultobj
;
3503 otk::OtkFocusLabel
*arg1
= (otk::OtkFocusLabel
*) 0 ;
3504 std::string
*result
;
3505 PyObject
* obj0
= 0 ;
3507 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusLabel_getText",&obj0
)) goto fail
;
3508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusLabel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3510 std::string
const &_result_ref
= ((otk::OtkFocusLabel
const *)arg1
)->getText();
3511 result
= (std::string
*) &_result_ref
;
3515 resultobj
= PyString_FromString(result
->c_str());
3523 static PyObject
*_wrap_OtkFocusLabel_setText(PyObject
*self
, PyObject
*args
) {
3524 PyObject
*resultobj
;
3525 otk::OtkFocusLabel
*arg1
= (otk::OtkFocusLabel
*) 0 ;
3526 std::string
*arg2
= 0 ;
3528 PyObject
* obj0
= 0 ;
3529 PyObject
* obj1
= 0 ;
3531 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusLabel_setText",&obj0
,&obj1
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusLabel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3534 if (PyString_Check(obj1
)) {
3535 temp2
= std::string(PyString_AsString(obj1
));
3538 SWIG_exception(SWIG_TypeError
, "string expected");
3541 (arg1
)->setText((std::string
const &)*arg2
);
3543 Py_INCREF(Py_None
); resultobj
= Py_None
;
3550 static PyObject
*_wrap_OtkFocusLabel_update(PyObject
*self
, PyObject
*args
) {
3551 PyObject
*resultobj
;
3552 otk::OtkFocusLabel
*arg1
= (otk::OtkFocusLabel
*) 0 ;
3553 PyObject
* obj0
= 0 ;
3555 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusLabel_update",&obj0
)) goto fail
;
3556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusLabel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3559 Py_INCREF(Py_None
); resultobj
= Py_None
;
3566 static PyObject
*_wrap_OtkFocusLabel_setStyle(PyObject
*self
, PyObject
*args
) {
3567 PyObject
*resultobj
;
3568 otk::OtkFocusLabel
*arg1
= (otk::OtkFocusLabel
*) 0 ;
3569 otk::Style
*arg2
= (otk::Style
*) 0 ;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3573 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusLabel_setStyle",&obj0
,&obj1
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusLabel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3575 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3576 (arg1
)->setStyle(arg2
);
3578 Py_INCREF(Py_None
); resultobj
= Py_None
;
3585 static PyObject
* OtkFocusLabel_swigregister(PyObject
*self
, PyObject
*args
) {
3587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3588 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel
, obj
);
3590 return Py_BuildValue((char *)"");
3592 static PyObject
*_wrap_new_OtkAppWidget(PyObject
*self
, PyObject
*args
) {
3593 PyObject
*resultobj
;
3594 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3595 int arg2
= (int) otk::OtkWidget::Horizontal
;
3596 Cursor arg3
= (Cursor
) 0 ;
3597 int arg4
= (int) 1 ;
3598 otk::OtkAppWidget
*result
;
3600 PyObject
* obj0
= 0 ;
3601 PyObject
* obj2
= 0 ;
3603 if(!PyArg_ParseTuple(args
,(char *)"O|iOi:new_OtkAppWidget",&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3606 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_Cursor
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
3609 result
= (otk::OtkAppWidget
*)new otk::OtkAppWidget(arg1
,(otk::OtkWidget::Direction
)arg2
,arg3
,arg4
);
3611 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkAppWidget
, 1);
3618 static PyObject
*_wrap_delete_OtkAppWidget(PyObject
*self
, PyObject
*args
) {
3619 PyObject
*resultobj
;
3620 otk::OtkAppWidget
*arg1
= (otk::OtkAppWidget
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3623 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkAppWidget",&obj0
)) goto fail
;
3624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkAppWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3627 Py_INCREF(Py_None
); resultobj
= Py_None
;
3634 static PyObject
*_wrap_OtkAppWidget_show(PyObject
*self
, PyObject
*args
) {
3635 PyObject
*resultobj
;
3636 otk::OtkAppWidget
*arg1
= (otk::OtkAppWidget
*) 0 ;
3637 PyObject
* obj0
= 0 ;
3639 if(!PyArg_ParseTuple(args
,(char *)"O:OtkAppWidget_show",&obj0
)) goto fail
;
3640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkAppWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3643 Py_INCREF(Py_None
); resultobj
= Py_None
;
3650 static PyObject
*_wrap_OtkAppWidget_hide(PyObject
*self
, PyObject
*args
) {
3651 PyObject
*resultobj
;
3652 otk::OtkAppWidget
*arg1
= (otk::OtkAppWidget
*) 0 ;
3653 PyObject
* obj0
= 0 ;
3655 if(!PyArg_ParseTuple(args
,(char *)"O:OtkAppWidget_hide",&obj0
)) goto fail
;
3656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkAppWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3659 Py_INCREF(Py_None
); resultobj
= Py_None
;
3666 static PyObject
*_wrap_OtkAppWidget_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
3667 PyObject
*resultobj
;
3668 otk::OtkAppWidget
*arg1
= (otk::OtkAppWidget
*) 0 ;
3669 XClientMessageEvent
*arg2
= 0 ;
3670 PyObject
* obj0
= 0 ;
3671 PyObject
* obj1
= 0 ;
3673 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkAppWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3677 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3679 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
* OtkAppWidget_swigregister(PyObject
*self
, PyObject
*args
) {
3690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3691 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget
, obj
);
3693 return Py_BuildValue((char *)"");
3695 static PyObject
*_wrap_new_OtkApplication(PyObject
*self
, PyObject
*args
) {
3696 PyObject
*resultobj
;
3698 char **arg2
= (char **) 0 ;
3699 otk::OtkApplication
*result
;
3700 PyObject
* obj1
= 0 ;
3702 if(!PyArg_ParseTuple(args
,(char *)"iO:new_OtkApplication",&arg1
,&obj1
)) goto fail
;
3703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_p_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3704 result
= (otk::OtkApplication
*)new otk::OtkApplication(arg1
,arg2
);
3706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkApplication
, 1);
3713 static PyObject
*_wrap_delete_OtkApplication(PyObject
*self
, PyObject
*args
) {
3714 PyObject
*resultobj
;
3715 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3716 PyObject
* obj0
= 0 ;
3718 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkApplication",&obj0
)) goto fail
;
3719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3722 Py_INCREF(Py_None
); resultobj
= Py_None
;
3729 static PyObject
*_wrap_OtkApplication_run(PyObject
*self
, PyObject
*args
) {
3730 PyObject
*resultobj
;
3731 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3732 PyObject
* obj0
= 0 ;
3734 if(!PyArg_ParseTuple(args
,(char *)"O:OtkApplication_run",&obj0
)) goto fail
;
3735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3738 Py_INCREF(Py_None
); resultobj
= Py_None
;
3745 static PyObject
*_wrap_OtkApplication_setDockable(PyObject
*self
, PyObject
*args
) {
3746 PyObject
*resultobj
;
3747 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3749 PyObject
* obj0
= 0 ;
3750 PyObject
* obj1
= 0 ;
3752 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkApplication_setDockable",&obj0
,&obj1
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3754 arg2
= (bool) PyInt_AsLong(obj1
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3756 (arg1
)->setDockable(arg2
);
3758 Py_INCREF(Py_None
); resultobj
= Py_None
;
3765 static PyObject
*_wrap_OtkApplication_isDockable(PyObject
*self
, PyObject
*args
) {
3766 PyObject
*resultobj
;
3767 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3769 PyObject
* obj0
= 0 ;
3771 if(!PyArg_ParseTuple(args
,(char *)"O:OtkApplication_isDockable",&obj0
)) goto fail
;
3772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3773 result
= (bool)((otk::OtkApplication
const *)arg1
)->isDockable();
3775 resultobj
= PyInt_FromLong((long)result
);
3782 static PyObject
*_wrap_OtkApplication_getStyle(PyObject
*self
, PyObject
*args
) {
3783 PyObject
*resultobj
;
3784 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3786 PyObject
* obj0
= 0 ;
3788 if(!PyArg_ParseTuple(args
,(char *)"O:OtkApplication_getStyle",&obj0
)) goto fail
;
3789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3790 result
= (otk::Style
*)((otk::OtkApplication
const *)arg1
)->getStyle();
3792 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 0);
3799 static PyObject
* OtkApplication_swigregister(PyObject
*self
, PyObject
*args
) {
3801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3802 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication
, obj
);
3804 return Py_BuildValue((char *)"");
3806 static PyObject
*_wrap_new_PointerAssassin(PyObject
*self
, PyObject
*args
) {
3807 PyObject
*resultobj
;
3808 otk::PointerAssassin
*result
;
3810 if(!PyArg_ParseTuple(args
,(char *)":new_PointerAssassin")) goto fail
;
3811 result
= (otk::PointerAssassin
*)new otk::PointerAssassin();
3813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PointerAssassin
, 1);
3820 static PyObject
*_wrap_delete_PointerAssassin(PyObject
*self
, PyObject
*args
) {
3821 PyObject
*resultobj
;
3822 otk::PointerAssassin
*arg1
= (otk::PointerAssassin
*) 0 ;
3823 PyObject
* obj0
= 0 ;
3825 if(!PyArg_ParseTuple(args
,(char *)"O:delete_PointerAssassin",&obj0
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PointerAssassin
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3829 Py_INCREF(Py_None
); resultobj
= Py_None
;
3836 static PyObject
* PointerAssassin_swigregister(PyObject
*self
, PyObject
*args
) {
3838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3839 SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin
, obj
);
3841 return Py_BuildValue((char *)"");
3843 static PyObject
*_wrap_new_OtkButton(PyObject
*self
, PyObject
*args
) {
3844 PyObject
*resultobj
;
3845 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3846 otk::OtkButton
*result
;
3847 PyObject
* obj0
= 0 ;
3849 if(!PyArg_ParseTuple(args
,(char *)"O:new_OtkButton",&obj0
)) goto fail
;
3850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3851 result
= (otk::OtkButton
*)new otk::OtkButton(arg1
);
3853 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkButton
, 1);
3860 static PyObject
*_wrap_delete_OtkButton(PyObject
*self
, PyObject
*args
) {
3861 PyObject
*resultobj
;
3862 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkButton",&obj0
)) goto fail
;
3866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3869 Py_INCREF(Py_None
); resultobj
= Py_None
;
3876 static PyObject
*_wrap_OtkButton_getPressedFocusTexture(PyObject
*self
, PyObject
*args
) {
3877 PyObject
*resultobj
;
3878 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3879 otk::BTexture
*result
;
3880 PyObject
* obj0
= 0 ;
3882 if(!PyArg_ParseTuple(args
,(char *)"O:OtkButton_getPressedFocusTexture",&obj0
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3884 result
= (otk::BTexture
*)((otk::OtkButton
const *)arg1
)->getPressedFocusTexture();
3886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
3893 static PyObject
*_wrap_OtkButton_setPressedFocusTexture(PyObject
*self
, PyObject
*args
) {
3894 PyObject
*resultobj
;
3895 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3896 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
3897 PyObject
* obj0
= 0 ;
3898 PyObject
* obj1
= 0 ;
3900 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_setPressedFocusTexture",&obj0
,&obj1
)) goto fail
;
3901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3903 (arg1
)->setPressedFocusTexture(arg2
);
3905 Py_INCREF(Py_None
); resultobj
= Py_None
;
3912 static PyObject
*_wrap_OtkButton_getPressedUnfocusTexture(PyObject
*self
, PyObject
*args
) {
3913 PyObject
*resultobj
;
3914 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3915 otk::BTexture
*result
;
3916 PyObject
* obj0
= 0 ;
3918 if(!PyArg_ParseTuple(args
,(char *)"O:OtkButton_getPressedUnfocusTexture",&obj0
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3920 result
= (otk::BTexture
*)((otk::OtkButton
const *)arg1
)->getPressedUnfocusTexture();
3922 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
3929 static PyObject
*_wrap_OtkButton_setPressedUnfocusTexture(PyObject
*self
, PyObject
*args
) {
3930 PyObject
*resultobj
;
3931 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3932 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3934 PyObject
* obj1
= 0 ;
3936 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_setPressedUnfocusTexture",&obj0
,&obj1
)) goto fail
;
3937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3939 (arg1
)->setPressedUnfocusTexture(arg2
);
3941 Py_INCREF(Py_None
); resultobj
= Py_None
;
3948 static PyObject
*_wrap_OtkButton_setTexture(PyObject
*self
, PyObject
*args
) {
3949 PyObject
*resultobj
;
3950 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3951 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
3952 PyObject
* obj0
= 0 ;
3953 PyObject
* obj1
= 0 ;
3955 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_setTexture",&obj0
,&obj1
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3958 (arg1
)->setTexture(arg2
);
3960 Py_INCREF(Py_None
); resultobj
= Py_None
;
3967 static PyObject
*_wrap_OtkButton_setUnfocusTexture(PyObject
*self
, PyObject
*args
) {
3968 PyObject
*resultobj
;
3969 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3970 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
3971 PyObject
* obj0
= 0 ;
3972 PyObject
* obj1
= 0 ;
3974 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_setUnfocusTexture",&obj0
,&obj1
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3977 (arg1
)->setUnfocusTexture(arg2
);
3979 Py_INCREF(Py_None
); resultobj
= Py_None
;
3986 static PyObject
*_wrap_OtkButton_isPressed(PyObject
*self
, PyObject
*args
) {
3987 PyObject
*resultobj
;
3988 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3990 PyObject
* obj0
= 0 ;
3992 if(!PyArg_ParseTuple(args
,(char *)"O:OtkButton_isPressed",&obj0
)) goto fail
;
3993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3994 result
= (bool)((otk::OtkButton
const *)arg1
)->isPressed();
3996 resultobj
= PyInt_FromLong((long)result
);
4003 static PyObject
*_wrap_OtkButton_press(PyObject
*self
, PyObject
*args
) {
4004 PyObject
*resultobj
;
4005 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4008 PyObject
* obj1
= 0 ;
4010 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_press",&obj0
,&obj1
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4012 arg2
= (unsigned int) PyInt_AsLong(obj1
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4014 (arg1
)->press(arg2
);
4016 Py_INCREF(Py_None
); resultobj
= Py_None
;
4023 static PyObject
*_wrap_OtkButton_release(PyObject
*self
, PyObject
*args
) {
4024 PyObject
*resultobj
;
4025 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
4027 PyObject
* obj0
= 0 ;
4028 PyObject
* obj1
= 0 ;
4030 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_release",&obj0
,&obj1
)) goto fail
;
4031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4032 arg2
= (unsigned int) PyInt_AsLong(obj1
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4034 (arg1
)->release(arg2
);
4036 Py_INCREF(Py_None
); resultobj
= Py_None
;
4043 static PyObject
*_wrap_OtkButton_buttonPressHandler(PyObject
*self
, PyObject
*args
) {
4044 PyObject
*resultobj
;
4045 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
4046 XButtonEvent
*arg2
= 0 ;
4047 PyObject
* obj0
= 0 ;
4048 PyObject
* obj1
= 0 ;
4050 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_buttonPressHandler",&obj0
,&obj1
)) goto fail
;
4051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4056 (arg1
)->buttonPressHandler((XButtonEvent
const &)*arg2
);
4058 Py_INCREF(Py_None
); resultobj
= Py_None
;
4065 static PyObject
*_wrap_OtkButton_buttonReleaseHandler(PyObject
*self
, PyObject
*args
) {
4066 PyObject
*resultobj
;
4067 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
4068 XButtonEvent
*arg2
= 0 ;
4069 PyObject
* obj0
= 0 ;
4070 PyObject
* obj1
= 0 ;
4072 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_buttonReleaseHandler",&obj0
,&obj1
)) goto fail
;
4073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4076 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4078 (arg1
)->buttonReleaseHandler((XButtonEvent
const &)*arg2
);
4080 Py_INCREF(Py_None
); resultobj
= Py_None
;
4087 static PyObject
*_wrap_OtkButton_setStyle(PyObject
*self
, PyObject
*args
) {
4088 PyObject
*resultobj
;
4089 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
4090 otk::Style
*arg2
= (otk::Style
*) 0 ;
4091 PyObject
* obj0
= 0 ;
4092 PyObject
* obj1
= 0 ;
4094 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_setStyle",&obj0
,&obj1
)) goto fail
;
4095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4097 (arg1
)->setStyle(arg2
);
4099 Py_INCREF(Py_None
); resultobj
= Py_None
;
4106 static PyObject
* OtkButton_swigregister(PyObject
*self
, PyObject
*args
) {
4108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4109 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton
, obj
);
4111 return Py_BuildValue((char *)"");
4113 static PyObject
*_wrap_new_BColor__SWIG_0(PyObject
*self
, PyObject
*args
) {
4114 PyObject
*resultobj
;
4115 unsigned int arg1
= (unsigned int) ~(0u) ;
4116 otk::BColor
*result
;
4117 PyObject
* obj0
= 0 ;
4119 if(!PyArg_ParseTuple(args
,(char *)"|O:new_BColor",&obj0
)) goto fail
;
4121 arg1
= (unsigned int) PyInt_AsLong(obj0
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 result
= (otk::BColor
*)new otk::BColor(arg1
);
4126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 1);
4133 static PyObject
*_wrap_new_BColor__SWIG_1(PyObject
*self
, PyObject
*args
) {
4134 PyObject
*resultobj
;
4138 unsigned int arg4
= (unsigned int) ~(0u) ;
4139 otk::BColor
*result
;
4140 PyObject
* obj3
= 0 ;
4142 if(!PyArg_ParseTuple(args
,(char *)"iii|O:new_BColor",&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
4144 arg4
= (unsigned int) PyInt_AsLong(obj3
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 result
= (otk::BColor
*)new otk::BColor(arg1
,arg2
,arg3
,arg4
);
4149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 1);
4156 static PyObject
*_wrap_new_BColor__SWIG_2(PyObject
*self
, PyObject
*args
) {
4157 PyObject
*resultobj
;
4158 std::string
*arg1
= 0 ;
4159 unsigned int arg2
= (unsigned int) ~(0u) ;
4160 otk::BColor
*result
;
4162 PyObject
* obj0
= 0 ;
4163 PyObject
* obj1
= 0 ;
4165 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_BColor",&obj0
,&obj1
)) goto fail
;
4167 if (PyString_Check(obj0
)) {
4168 temp1
= std::string(PyString_AsString(obj0
));
4171 SWIG_exception(SWIG_TypeError
, "string expected");
4175 arg2
= (unsigned int) PyInt_AsLong(obj1
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4178 result
= (otk::BColor
*)new otk::BColor((std::string
const &)*arg1
,arg2
);
4180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 1);
4187 static PyObject
*_wrap_new_BColor(PyObject
*self
, PyObject
*args
) {
4192 argc
= PyObject_Length(args
);
4193 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
4194 argv
[ii
] = PyTuple_GetItem(args
,ii
);
4196 if ((argc
>= 0) && (argc
<= 1)) {
4199 return _wrap_new_BColor__SWIG_0(self
,args
);
4202 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4205 return _wrap_new_BColor__SWIG_0(self
,args
);
4208 if ((argc
>= 1) && (argc
<= 2)) {
4211 _v
= PyString_Check(argv
[0]) ? 1 : 0;
4215 return _wrap_new_BColor__SWIG_2(self
,args
);
4218 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4221 return _wrap_new_BColor__SWIG_2(self
,args
);
4225 if ((argc
>= 3) && (argc
<= 4)) {
4228 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4232 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4236 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4240 return _wrap_new_BColor__SWIG_1(self
,args
);
4243 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
4246 return _wrap_new_BColor__SWIG_1(self
,args
);
4253 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BColor'");
4258 static PyObject
*_wrap_delete_BColor(PyObject
*self
, PyObject
*args
) {
4259 PyObject
*resultobj
;
4260 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4261 PyObject
* obj0
= 0 ;
4263 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BColor",&obj0
)) goto fail
;
4264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4267 Py_INCREF(Py_None
); resultobj
= Py_None
;
4274 static PyObject
*_wrap_BColor_name(PyObject
*self
, PyObject
*args
) {
4275 PyObject
*resultobj
;
4276 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4277 std::string
*result
;
4278 PyObject
* obj0
= 0 ;
4280 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_name",&obj0
)) goto fail
;
4281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4283 std::string
const &_result_ref
= ((otk::BColor
const *)arg1
)->name();
4284 result
= (std::string
*) &_result_ref
;
4288 resultobj
= PyString_FromString(result
->c_str());
4296 static PyObject
*_wrap_BColor_red(PyObject
*self
, PyObject
*args
) {
4297 PyObject
*resultobj
;
4298 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4300 PyObject
* obj0
= 0 ;
4302 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_red",&obj0
)) goto fail
;
4303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4304 result
= (int)((otk::BColor
const *)arg1
)->red();
4306 resultobj
= PyInt_FromLong((long)result
);
4313 static PyObject
*_wrap_BColor_green(PyObject
*self
, PyObject
*args
) {
4314 PyObject
*resultobj
;
4315 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4317 PyObject
* obj0
= 0 ;
4319 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_green",&obj0
)) goto fail
;
4320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4321 result
= (int)((otk::BColor
const *)arg1
)->green();
4323 resultobj
= PyInt_FromLong((long)result
);
4330 static PyObject
*_wrap_BColor_blue(PyObject
*self
, PyObject
*args
) {
4331 PyObject
*resultobj
;
4332 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4334 PyObject
* obj0
= 0 ;
4336 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_blue",&obj0
)) goto fail
;
4337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4338 result
= (int)((otk::BColor
const *)arg1
)->blue();
4340 resultobj
= PyInt_FromLong((long)result
);
4347 static PyObject
*_wrap_BColor_setRGB(PyObject
*self
, PyObject
*args
) {
4348 PyObject
*resultobj
;
4349 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4355 if(!PyArg_ParseTuple(args
,(char *)"Oiii:BColor_setRGB",&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4357 (arg1
)->setRGB(arg2
,arg3
,arg4
);
4359 Py_INCREF(Py_None
); resultobj
= Py_None
;
4366 static PyObject
*_wrap_BColor_screen(PyObject
*self
, PyObject
*args
) {
4367 PyObject
*resultobj
;
4368 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4369 unsigned int result
;
4370 PyObject
* obj0
= 0 ;
4372 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_screen",&obj0
)) goto fail
;
4373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4374 result
= (unsigned int)((otk::BColor
const *)arg1
)->screen();
4376 resultobj
= PyInt_FromLong((long)result
);
4383 static PyObject
*_wrap_BColor_setScreen(PyObject
*self
, PyObject
*args
) {
4384 PyObject
*resultobj
;
4385 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4386 unsigned int arg2
= (unsigned int) ~(0u) ;
4387 PyObject
* obj0
= 0 ;
4388 PyObject
* obj1
= 0 ;
4390 if(!PyArg_ParseTuple(args
,(char *)"O|O:BColor_setScreen",&obj0
,&obj1
)) goto fail
;
4391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4393 arg2
= (unsigned int) PyInt_AsLong(obj1
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 (arg1
)->setScreen(arg2
);
4398 Py_INCREF(Py_None
); resultobj
= Py_None
;
4405 static PyObject
*_wrap_BColor_isAllocated(PyObject
*self
, PyObject
*args
) {
4406 PyObject
*resultobj
;
4407 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4411 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_isAllocated",&obj0
)) goto fail
;
4412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4413 result
= (bool)((otk::BColor
const *)arg1
)->isAllocated();
4415 resultobj
= PyInt_FromLong((long)result
);
4422 static PyObject
*_wrap_BColor_isValid(PyObject
*self
, PyObject
*args
) {
4423 PyObject
*resultobj
;
4424 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4426 PyObject
* obj0
= 0 ;
4428 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_isValid",&obj0
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4430 result
= (bool)((otk::BColor
const *)arg1
)->isValid();
4432 resultobj
= PyInt_FromLong((long)result
);
4439 static PyObject
*_wrap_BColor_pixel(PyObject
*self
, PyObject
*args
) {
4440 PyObject
*resultobj
;
4441 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4442 unsigned long result
;
4443 PyObject
* obj0
= 0 ;
4445 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_pixel",&obj0
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4447 result
= (unsigned long)((otk::BColor
const *)arg1
)->pixel();
4449 resultobj
= PyInt_FromLong((long)result
);
4456 static PyObject
*_wrap_BColor_equals(PyObject
*self
, PyObject
*args
) {
4457 PyObject
*resultobj
;
4458 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4459 otk::BColor
*arg2
= 0 ;
4461 PyObject
* obj0
= 0 ;
4462 PyObject
* obj1
= 0 ;
4464 if(!PyArg_ParseTuple(args
,(char *)"OO:BColor_equals",&obj0
,&obj1
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4466 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4468 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4470 result
= (bool)((otk::BColor
const *)arg1
)->operator ==((otk::BColor
const &)*arg2
);
4472 resultobj
= PyInt_FromLong((long)result
);
4479 static PyObject
*_wrap_BColor_cleanupColorCache(PyObject
*self
, PyObject
*args
) {
4480 PyObject
*resultobj
;
4482 if(!PyArg_ParseTuple(args
,(char *)":BColor_cleanupColorCache")) goto fail
;
4483 otk::BColor::cleanupColorCache();
4485 Py_INCREF(Py_None
); resultobj
= Py_None
;
4492 static PyObject
* BColor_swigregister(PyObject
*self
, PyObject
*args
) {
4494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4495 SWIG_TypeClientData(SWIGTYPE_p_otk__BColor
, obj
);
4497 return Py_BuildValue((char *)"");
4499 static PyObject
*_wrap_new_Configuration__SWIG_0(PyObject
*self
, PyObject
*args
) {
4500 PyObject
*resultobj
;
4501 std::string
*arg1
= 0 ;
4502 bool arg2
= (bool) True
;
4503 otk::Configuration
*result
;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4508 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Configuration",&obj0
,&obj1
)) goto fail
;
4510 if (PyString_Check(obj0
)) {
4511 temp1
= std::string(PyString_AsString(obj0
));
4514 SWIG_exception(SWIG_TypeError
, "string expected");
4518 arg2
= (bool) PyInt_AsLong(obj1
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 result
= (otk::Configuration
*)new otk::Configuration((std::string
const &)*arg1
,arg2
);
4523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Configuration
, 1);
4530 static PyObject
*_wrap_new_Configuration__SWIG_1(PyObject
*self
, PyObject
*args
) {
4531 PyObject
*resultobj
;
4532 bool arg1
= (bool) True
;
4533 otk::Configuration
*result
;
4534 PyObject
* obj0
= 0 ;
4536 if(!PyArg_ParseTuple(args
,(char *)"|O:new_Configuration",&obj0
)) goto fail
;
4538 arg1
= (bool) PyInt_AsLong(obj0
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 result
= (otk::Configuration
*)new otk::Configuration(arg1
);
4543 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Configuration
, 1);
4550 static PyObject
*_wrap_new_Configuration(PyObject
*self
, PyObject
*args
) {
4555 argc
= PyObject_Length(args
);
4556 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
4557 argv
[ii
] = PyTuple_GetItem(args
,ii
);
4559 if ((argc
>= 0) && (argc
<= 1)) {
4562 return _wrap_new_Configuration__SWIG_1(self
,args
);
4565 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4568 return _wrap_new_Configuration__SWIG_1(self
,args
);
4571 if ((argc
>= 1) && (argc
<= 2)) {
4574 _v
= PyString_Check(argv
[0]) ? 1 : 0;
4578 return _wrap_new_Configuration__SWIG_0(self
,args
);
4581 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4584 return _wrap_new_Configuration__SWIG_0(self
,args
);
4589 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Configuration'");
4594 static PyObject
*_wrap_delete_Configuration(PyObject
*self
, PyObject
*args
) {
4595 PyObject
*resultobj
;
4596 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4599 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Configuration",&obj0
)) goto fail
;
4600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4603 Py_INCREF(Py_None
); resultobj
= Py_None
;
4610 static PyObject
*_wrap_Configuration_file(PyObject
*self
, PyObject
*args
) {
4611 PyObject
*resultobj
;
4612 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4613 std::string
*result
;
4614 PyObject
* obj0
= 0 ;
4616 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_file",&obj0
)) goto fail
;
4617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4619 std::string
const &_result_ref
= ((otk::Configuration
const *)arg1
)->file();
4620 result
= (std::string
*) &_result_ref
;
4624 resultobj
= PyString_FromString(result
->c_str());
4632 static PyObject
*_wrap_Configuration_setFile(PyObject
*self
, PyObject
*args
) {
4633 PyObject
*resultobj
;
4634 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4635 std::string
*arg2
= 0 ;
4637 PyObject
* obj0
= 0 ;
4638 PyObject
* obj1
= 0 ;
4640 if(!PyArg_ParseTuple(args
,(char *)"OO:Configuration_setFile",&obj0
,&obj1
)) goto fail
;
4641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4643 if (PyString_Check(obj1
)) {
4644 temp2
= std::string(PyString_AsString(obj1
));
4647 SWIG_exception(SWIG_TypeError
, "string expected");
4650 (arg1
)->setFile((std::string
const &)*arg2
);
4652 Py_INCREF(Py_None
); resultobj
= Py_None
;
4659 static PyObject
*_wrap_Configuration_autoSave(PyObject
*self
, PyObject
*args
) {
4660 PyObject
*resultobj
;
4661 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4665 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_autoSave",&obj0
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4667 result
= (bool)((otk::Configuration
const *)arg1
)->autoSave();
4669 resultobj
= PyInt_FromLong((long)result
);
4676 static PyObject
*_wrap_Configuration_setAutoSave(PyObject
*self
, PyObject
*args
) {
4677 PyObject
*resultobj
;
4678 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4683 if(!PyArg_ParseTuple(args
,(char *)"OO:Configuration_setAutoSave",&obj0
,&obj1
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4685 arg2
= (bool) PyInt_AsLong(obj1
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4687 (arg1
)->setAutoSave(arg2
);
4689 Py_INCREF(Py_None
); resultobj
= Py_None
;
4696 static PyObject
*_wrap_Configuration_isModified(PyObject
*self
, PyObject
*args
) {
4697 PyObject
*resultobj
;
4698 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4700 PyObject
* obj0
= 0 ;
4702 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_isModified",&obj0
)) goto fail
;
4703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4704 result
= (bool)((otk::Configuration
const *)arg1
)->isModified();
4706 resultobj
= PyInt_FromLong((long)result
);
4713 static PyObject
*_wrap_Configuration_save(PyObject
*self
, PyObject
*args
) {
4714 PyObject
*resultobj
;
4715 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4716 PyObject
* obj0
= 0 ;
4718 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_save",&obj0
)) goto fail
;
4719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4722 Py_INCREF(Py_None
); resultobj
= Py_None
;
4729 static PyObject
*_wrap_Configuration_load(PyObject
*self
, PyObject
*args
) {
4730 PyObject
*resultobj
;
4731 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4733 PyObject
* obj0
= 0 ;
4735 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_load",&obj0
)) goto fail
;
4736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4737 result
= (bool)(arg1
)->load();
4739 resultobj
= PyInt_FromLong((long)result
);
4746 static PyObject
*_wrap_Configuration_merge(PyObject
*self
, PyObject
*args
) {
4747 PyObject
*resultobj
;
4748 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4749 std::string
*arg2
= 0 ;
4750 bool arg3
= (bool) False
;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4755 PyObject
* obj2
= 0 ;
4757 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Configuration_merge",&obj0
,&obj1
,&obj2
)) goto fail
;
4758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4760 if (PyString_Check(obj1
)) {
4761 temp2
= std::string(PyString_AsString(obj1
));
4764 SWIG_exception(SWIG_TypeError
, "string expected");
4768 arg3
= (bool) PyInt_AsLong(obj2
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 result
= (bool)(arg1
)->merge((std::string
const &)*arg2
,arg3
);
4773 resultobj
= PyInt_FromLong((long)result
);
4780 static PyObject
*_wrap_Configuration_create(PyObject
*self
, PyObject
*args
) {
4781 PyObject
*resultobj
;
4782 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4783 PyObject
* obj0
= 0 ;
4785 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_create",&obj0
)) goto fail
;
4786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4789 Py_INCREF(Py_None
); resultobj
= Py_None
;
4796 static PyObject
*_wrap_Configuration_setValue_bool(PyObject
*self
, PyObject
*args
) {
4797 PyObject
*resultobj
;
4798 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4799 std::string
*arg2
= 0 ;
4802 PyObject
* obj0
= 0 ;
4803 PyObject
* obj1
= 0 ;
4804 PyObject
* obj2
= 0 ;
4806 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_setValue_bool",&obj0
,&obj1
,&obj2
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4809 if (PyString_Check(obj1
)) {
4810 temp2
= std::string(PyString_AsString(obj1
));
4813 SWIG_exception(SWIG_TypeError
, "string expected");
4816 arg3
= (bool) PyInt_AsLong(obj2
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4818 (arg1
)->setValue((std::string
const &)*arg2
,arg3
);
4820 Py_INCREF(Py_None
); resultobj
= Py_None
;
4827 static PyObject
*_wrap_Configuration_setValue(PyObject
*self
, PyObject
*args
) {
4828 PyObject
*resultobj
;
4829 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4830 std::string
*arg2
= 0 ;
4833 PyObject
* obj0
= 0 ;
4834 PyObject
* obj1
= 0 ;
4836 if(!PyArg_ParseTuple(args
,(char *)"OOi:Configuration_setValue",&obj0
,&obj1
,&arg3
)) goto fail
;
4837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4839 if (PyString_Check(obj1
)) {
4840 temp2
= std::string(PyString_AsString(obj1
));
4843 SWIG_exception(SWIG_TypeError
, "string expected");
4846 (arg1
)->setValue((std::string
const &)*arg2
,arg3
);
4848 Py_INCREF(Py_None
); resultobj
= Py_None
;
4855 static PyObject
*_wrap_Configuration_setValue_unsigned(PyObject
*self
, PyObject
*args
) {
4856 PyObject
*resultobj
;
4857 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4858 std::string
*arg2
= 0 ;
4861 PyObject
* obj0
= 0 ;
4862 PyObject
* obj1
= 0 ;
4863 PyObject
* obj2
= 0 ;
4865 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_setValue_unsigned",&obj0
,&obj1
,&obj2
)) goto fail
;
4866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4868 if (PyString_Check(obj1
)) {
4869 temp2
= std::string(PyString_AsString(obj1
));
4872 SWIG_exception(SWIG_TypeError
, "string expected");
4875 arg3
= (unsigned int) PyInt_AsLong(obj2
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4877 (arg1
)->setValue((std::string
const &)*arg2
,arg3
);
4879 Py_INCREF(Py_None
); resultobj
= Py_None
;
4886 static PyObject
*_wrap_Configuration_setValue_long(PyObject
*self
, PyObject
*args
) {
4887 PyObject
*resultobj
;
4888 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4889 std::string
*arg2
= 0 ;
4892 PyObject
* obj0
= 0 ;
4893 PyObject
* obj1
= 0 ;
4895 if(!PyArg_ParseTuple(args
,(char *)"OOl:Configuration_setValue_long",&obj0
,&obj1
,&arg3
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4898 if (PyString_Check(obj1
)) {
4899 temp2
= std::string(PyString_AsString(obj1
));
4902 SWIG_exception(SWIG_TypeError
, "string expected");
4905 (arg1
)->setValue((std::string
const &)*arg2
,arg3
);
4907 Py_INCREF(Py_None
); resultobj
= Py_None
;
4914 static PyObject
*_wrap_Configuration_setValue_unsignedlong(PyObject
*self
, PyObject
*args
) {
4915 PyObject
*resultobj
;
4916 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4917 std::string
*arg2
= 0 ;
4918 unsigned long arg3
;
4920 PyObject
* obj0
= 0 ;
4921 PyObject
* obj1
= 0 ;
4922 PyObject
* obj2
= 0 ;
4924 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0
,&obj1
,&obj2
)) goto fail
;
4925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4927 if (PyString_Check(obj1
)) {
4928 temp2
= std::string(PyString_AsString(obj1
));
4931 SWIG_exception(SWIG_TypeError
, "string expected");
4934 arg3
= (unsigned long) PyInt_AsLong(obj2
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4936 (arg1
)->setValue((std::string
const &)*arg2
,arg3
);
4938 Py_INCREF(Py_None
); resultobj
= Py_None
;
4945 static PyObject
*_wrap_Configuration_setValue_string(PyObject
*self
, PyObject
*args
) {
4946 PyObject
*resultobj
;
4947 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4948 std::string
*arg2
= 0 ;
4949 std::string
*arg3
= 0 ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4954 PyObject
* obj2
= 0 ;
4956 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_setValue_string",&obj0
,&obj1
,&obj2
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4959 if (PyString_Check(obj1
)) {
4960 temp2
= std::string(PyString_AsString(obj1
));
4963 SWIG_exception(SWIG_TypeError
, "string expected");
4967 if (PyString_Check(obj2
)) {
4968 temp3
= std::string(PyString_AsString(obj2
));
4971 SWIG_exception(SWIG_TypeError
, "string expected");
4974 (arg1
)->setValue((std::string
const &)*arg2
,(std::string
const &)*arg3
);
4976 Py_INCREF(Py_None
); resultobj
= Py_None
;
4983 static PyObject
*_wrap_Configuration_setValue_charptr(PyObject
*self
, PyObject
*args
) {
4984 PyObject
*resultobj
;
4985 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4986 std::string
*arg2
= 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4992 if(!PyArg_ParseTuple(args
,(char *)"OOs:Configuration_setValue_charptr",&obj0
,&obj1
,&arg3
)) goto fail
;
4993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4995 if (PyString_Check(obj1
)) {
4996 temp2
= std::string(PyString_AsString(obj1
));
4999 SWIG_exception(SWIG_TypeError
, "string expected");
5002 (arg1
)->setValue((std::string
const &)*arg2
,(char const *)arg3
);
5004 Py_INCREF(Py_None
); resultobj
= Py_None
;
5011 static PyObject
*_wrap_Configuration_getValue__SWIG_0(PyObject
*self
, PyObject
*args
) {
5012 PyObject
*resultobj
;
5013 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
5014 std::string
*arg2
= 0 ;
5018 PyObject
* obj0
= 0 ;
5019 PyObject
* obj1
= 0 ;
5020 PyObject
* obj2
= 0 ;
5022 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
5023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5025 if (PyString_Check(obj1
)) {
5026 temp2
= std::string(PyString_AsString(obj1
));
5029 SWIG_exception(SWIG_TypeError
, "string expected");
5032 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_bool
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5034 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5036 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5038 resultobj
= PyInt_FromLong((long)result
);
5045 static PyObject
*_wrap_Configuration_getValue__SWIG_1(PyObject
*self
, PyObject
*args
) {
5046 PyObject
*resultobj
;
5047 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
5048 std::string
*arg2
= 0 ;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5054 PyObject
* obj2
= 0 ;
5056 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5059 if (PyString_Check(obj1
)) {
5060 temp2
= std::string(PyString_AsString(obj1
));
5063 SWIG_exception(SWIG_TypeError
, "string expected");
5066 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5068 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5070 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5072 resultobj
= PyInt_FromLong((long)result
);
5079 static PyObject
*_wrap_Configuration_getValue__SWIG_2(PyObject
*self
, PyObject
*args
) {
5080 PyObject
*resultobj
;
5081 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
5082 std::string
*arg2
= 0 ;
5083 unsigned int *arg3
= 0 ;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5088 PyObject
* obj2
= 0 ;
5090 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5093 if (PyString_Check(obj1
)) {
5094 temp2
= std::string(PyString_AsString(obj1
));
5097 SWIG_exception(SWIG_TypeError
, "string expected");
5100 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5104 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5106 resultobj
= PyInt_FromLong((long)result
);
5113 static PyObject
*_wrap_Configuration_getValue__SWIG_3(PyObject
*self
, PyObject
*args
) {
5114 PyObject
*resultobj
;
5115 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
5116 std::string
*arg2
= 0 ;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5122 PyObject
* obj2
= 0 ;
5124 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
5125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5127 if (PyString_Check(obj1
)) {
5128 temp2
= std::string(PyString_AsString(obj1
));
5131 SWIG_exception(SWIG_TypeError
, "string expected");
5134 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5136 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5138 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5140 resultobj
= PyInt_FromLong((long)result
);
5147 static PyObject
*_wrap_Configuration_getValue__SWIG_4(PyObject
*self
, PyObject
*args
) {
5148 PyObject
*resultobj
;
5149 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
5150 std::string
*arg2
= 0 ;
5151 unsigned long *arg3
= 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 PyObject
* obj2
= 0 ;
5158 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
5159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5161 if (PyString_Check(obj1
)) {
5162 temp2
= std::string(PyString_AsString(obj1
));
5165 SWIG_exception(SWIG_TypeError
, "string expected");
5168 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5170 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5172 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5174 resultobj
= PyInt_FromLong((long)result
);
5181 static PyObject
*_wrap_Configuration_getValue__SWIG_5(PyObject
*self
, PyObject
*args
) {
5182 PyObject
*resultobj
;
5183 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
5184 std::string
*arg2
= 0 ;
5185 std::string
*arg3
= 0 ;
5188 PyObject
* obj0
= 0 ;
5189 PyObject
* obj1
= 0 ;
5190 PyObject
* obj2
= 0 ;
5192 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
5193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5195 if (PyString_Check(obj1
)) {
5196 temp2
= std::string(PyString_AsString(obj1
));
5199 SWIG_exception(SWIG_TypeError
, "string expected");
5202 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_std__string
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5204 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5206 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5208 resultobj
= PyInt_FromLong((long)result
);
5215 static PyObject
*_wrap_Configuration_getValue(PyObject
*self
, PyObject
*args
) {
5220 argc
= PyObject_Length(args
);
5221 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
5222 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5228 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5237 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5242 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_bool
, 0) == -1) {
5250 return _wrap_Configuration_getValue__SWIG_0(self
,args
);
5259 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5268 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5273 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_int
, 0) == -1) {
5281 return _wrap_Configuration_getValue__SWIG_1(self
,args
);
5290 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5299 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5304 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_unsigned_int
, 0) == -1) {
5312 return _wrap_Configuration_getValue__SWIG_2(self
,args
);
5321 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5330 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5335 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_long
, 0) == -1) {
5343 return _wrap_Configuration_getValue__SWIG_3(self
,args
);
5352 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5361 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5366 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
5374 return _wrap_Configuration_getValue__SWIG_4(self
,args
);
5383 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5392 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5397 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_std__string
, 0) == -1) {
5405 return _wrap_Configuration_getValue__SWIG_5(self
,args
);
5411 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Configuration_getValue'");
5416 static PyObject
* Configuration_swigregister(PyObject
*self
, PyObject
*args
) {
5418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5419 SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration
, obj
);
5421 return Py_BuildValue((char *)"");
5423 static int _wrap_OBDisplay_display_set(PyObject
*_val
) {
5426 if ((SWIG_ConvertPtr(_val
,(void **) &temp
, SWIGTYPE_p_Display
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) {
5427 PyErr_SetString(PyExc_TypeError
, "C variable 'otk::OBDisplay::display (Display *)'");
5430 otk::OBDisplay::display
= (Display
*) temp
;
5436 static PyObject
*_wrap_OBDisplay_display_get() {
5439 pyobj
= SWIG_NewPointerObj((void *) otk::OBDisplay::display
, SWIGTYPE_p_Display
, 0);
5444 static PyObject
*_wrap_OBDisplay_initialize(PyObject
*self
, PyObject
*args
) {
5445 PyObject
*resultobj
;
5448 if(!PyArg_ParseTuple(args
,(char *)"s:OBDisplay_initialize",&arg1
)) goto fail
;
5449 otk::OBDisplay::initialize(arg1
);
5451 Py_INCREF(Py_None
); resultobj
= Py_None
;
5458 static PyObject
*_wrap_OBDisplay_destroy(PyObject
*self
, PyObject
*args
) {
5459 PyObject
*resultobj
;
5461 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_destroy")) goto fail
;
5462 otk::OBDisplay::destroy();
5464 Py_INCREF(Py_None
); resultobj
= Py_None
;
5471 static PyObject
*_wrap_OBDisplay_gcCache(PyObject
*self
, PyObject
*args
) {
5472 PyObject
*resultobj
;
5473 otk::BGCCache
*result
;
5475 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_gcCache")) goto fail
;
5476 result
= (otk::BGCCache
*)otk::OBDisplay::gcCache();
5478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BGCCache
, 0);
5485 static PyObject
*_wrap_OBDisplay_screenInfo(PyObject
*self
, PyObject
*args
) {
5486 PyObject
*resultobj
;
5488 otk::ScreenInfo
*result
;
5490 if(!PyArg_ParseTuple(args
,(char *)"i:OBDisplay_screenInfo",&arg1
)) goto fail
;
5491 result
= (otk::ScreenInfo
*)otk::OBDisplay::screenInfo(arg1
);
5493 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
5500 static PyObject
*_wrap_OBDisplay_shape(PyObject
*self
, PyObject
*args
) {
5501 PyObject
*resultobj
;
5504 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_shape")) goto fail
;
5505 result
= (bool)otk::OBDisplay::shape();
5507 resultobj
= PyInt_FromLong((long)result
);
5514 static PyObject
*_wrap_OBDisplay_shapeEventBase(PyObject
*self
, PyObject
*args
) {
5515 PyObject
*resultobj
;
5518 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_shapeEventBase")) goto fail
;
5519 result
= (int)otk::OBDisplay::shapeEventBase();
5521 resultobj
= PyInt_FromLong((long)result
);
5528 static PyObject
*_wrap_OBDisplay_xinerama(PyObject
*self
, PyObject
*args
) {
5529 PyObject
*resultobj
;
5532 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_xinerama")) goto fail
;
5533 result
= (bool)otk::OBDisplay::xinerama();
5535 resultobj
= PyInt_FromLong((long)result
);
5542 static PyObject
*_wrap_OBDisplay_numLockMask(PyObject
*self
, PyObject
*args
) {
5543 PyObject
*resultobj
;
5544 unsigned int result
;
5546 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_numLockMask")) goto fail
;
5547 result
= (unsigned int)otk::OBDisplay::numLockMask();
5549 resultobj
= PyInt_FromLong((long)result
);
5556 static PyObject
*_wrap_OBDisplay_scrollLockMask(PyObject
*self
, PyObject
*args
) {
5557 PyObject
*resultobj
;
5558 unsigned int result
;
5560 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_scrollLockMask")) goto fail
;
5561 result
= (unsigned int)otk::OBDisplay::scrollLockMask();
5563 resultobj
= PyInt_FromLong((long)result
);
5570 static PyObject
*_wrap_OBDisplay_grab(PyObject
*self
, PyObject
*args
) {
5571 PyObject
*resultobj
;
5573 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_grab")) goto fail
;
5574 otk::OBDisplay::grab();
5576 Py_INCREF(Py_None
); resultobj
= Py_None
;
5583 static PyObject
*_wrap_OBDisplay_ungrab(PyObject
*self
, PyObject
*args
) {
5584 PyObject
*resultobj
;
5586 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_ungrab")) goto fail
;
5587 otk::OBDisplay::ungrab();
5589 Py_INCREF(Py_None
); resultobj
= Py_None
;
5596 static PyObject
*_wrap_OBDisplay_grabButton(PyObject
*self
, PyObject
*args
) {
5597 PyObject
*resultobj
;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5613 PyObject
* obj2
= 0 ;
5614 PyObject
* obj3
= 0 ;
5615 PyObject
* obj4
= 0 ;
5616 PyObject
* obj7
= 0 ;
5617 PyObject
* obj8
= 0 ;
5618 PyObject
* obj9
= 0 ;
5620 if(!PyArg_ParseTuple(args
,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
5621 arg1
= (unsigned int) PyInt_AsLong(obj0
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5623 arg2
= (unsigned int) PyInt_AsLong(obj1
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5625 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5627 arg4
= (bool) PyInt_AsLong(obj3
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5629 arg5
= (unsigned int) PyInt_AsLong(obj4
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5631 if ((SWIG_ConvertPtr(obj7
,(void **) &argp8
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5633 if ((SWIG_ConvertPtr(obj8
,(void **) &argp9
, SWIGTYPE_p_Cursor
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5635 arg10
= (bool) PyInt_AsLong(obj9
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5637 otk::OBDisplay::grabButton(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5639 Py_INCREF(Py_None
); resultobj
= Py_None
;
5646 static PyObject
*_wrap_OBDisplay_ungrabButton(PyObject
*self
, PyObject
*args
) {
5647 PyObject
*resultobj
;
5652 PyObject
* obj0
= 0 ;
5653 PyObject
* obj1
= 0 ;
5654 PyObject
* obj2
= 0 ;
5656 if(!PyArg_ParseTuple(args
,(char *)"OOO:OBDisplay_ungrabButton",&obj0
,&obj1
,&obj2
)) goto fail
;
5657 arg1
= (unsigned int) PyInt_AsLong(obj0
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5659 arg2
= (unsigned int) PyInt_AsLong(obj1
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5661 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5663 otk::OBDisplay::ungrabButton(arg1
,arg2
,arg3
);
5665 Py_INCREF(Py_None
); resultobj
= Py_None
;
5672 static PyObject
*_wrap_OBDisplay_grabKey(PyObject
*self
, PyObject
*args
) {
5673 PyObject
*resultobj
;
5682 PyObject
* obj0
= 0 ;
5683 PyObject
* obj1
= 0 ;
5684 PyObject
* obj2
= 0 ;
5685 PyObject
* obj3
= 0 ;
5686 PyObject
* obj6
= 0 ;
5688 if(!PyArg_ParseTuple(args
,(char *)"OOOOiiO:OBDisplay_grabKey",&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
5689 arg1
= (unsigned int) PyInt_AsLong(obj0
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5691 arg2
= (unsigned int) PyInt_AsLong(obj1
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5693 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5695 arg4
= (bool) PyInt_AsLong(obj3
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5697 arg7
= (bool) PyInt_AsLong(obj6
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5699 otk::OBDisplay::grabKey(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5701 Py_INCREF(Py_None
); resultobj
= Py_None
;
5708 static PyObject
*_wrap_OBDisplay_ungrabKey(PyObject
*self
, PyObject
*args
) {
5709 PyObject
*resultobj
;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5716 PyObject
* obj2
= 0 ;
5718 if(!PyArg_ParseTuple(args
,(char *)"OOO:OBDisplay_ungrabKey",&obj0
,&obj1
,&obj2
)) goto fail
;
5719 arg1
= (unsigned int) PyInt_AsLong(obj0
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5721 arg2
= (unsigned int) PyInt_AsLong(obj1
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5723 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5725 otk::OBDisplay::ungrabKey(arg1
,arg2
,arg3
);
5727 Py_INCREF(Py_None
); resultobj
= Py_None
;
5734 static PyObject
*_wrap_delete_OBDisplay(PyObject
*self
, PyObject
*args
) {
5735 PyObject
*resultobj
;
5736 otk::OBDisplay
*arg1
= (otk::OBDisplay
*) 0 ;
5737 PyObject
* obj0
= 0 ;
5739 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OBDisplay",&obj0
)) goto fail
;
5740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBDisplay
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 static PyObject
* OBDisplay_swigregister(PyObject
*self
, PyObject
*args
) {
5752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5753 SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay
, obj
);
5755 return Py_BuildValue((char *)"");
5757 static PyObject
*_wrap_BFont_fallbackFont(PyObject
*self
, PyObject
*args
) {
5758 PyObject
*resultobj
;
5761 if(!PyArg_ParseTuple(args
,(char *)":BFont_fallbackFont")) goto fail
;
5762 result
= otk::BFont::fallbackFont();
5765 resultobj
= PyString_FromString((&result
)->c_str());
5773 static PyObject
*_wrap_BFont_setFallbackFont(PyObject
*self
, PyObject
*args
) {
5774 PyObject
*resultobj
;
5775 std::string
*arg1
= 0 ;
5777 PyObject
* obj0
= 0 ;
5779 if(!PyArg_ParseTuple(args
,(char *)"O:BFont_setFallbackFont",&obj0
)) goto fail
;
5781 if (PyString_Check(obj0
)) {
5782 temp1
= std::string(PyString_AsString(obj0
));
5785 SWIG_exception(SWIG_TypeError
, "string expected");
5788 otk::BFont::setFallbackFont((std::string
const &)*arg1
);
5790 Py_INCREF(Py_None
); resultobj
= Py_None
;
5797 static PyObject
*_wrap_new_BFont(PyObject
*self
, PyObject
*args
) {
5798 PyObject
*resultobj
;
5800 std::string
*arg2
= 0 ;
5802 unsigned char arg4
;
5803 unsigned char arg5
;
5806 PyObject
* obj1
= 0 ;
5807 PyObject
* obj2
= 0 ;
5808 PyObject
* obj3
= 0 ;
5809 PyObject
* obj4
= 0 ;
5811 if(!PyArg_ParseTuple(args
,(char *)"iOOOO:new_BFont",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5813 if (PyString_Check(obj1
)) {
5814 temp2
= std::string(PyString_AsString(obj1
));
5817 SWIG_exception(SWIG_TypeError
, "string expected");
5820 arg3
= (bool) PyInt_AsLong(obj2
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5822 arg4
= (unsigned char) PyInt_AsLong(obj3
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5824 arg5
= (unsigned char) PyInt_AsLong(obj4
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5826 result
= (otk::BFont
*)new otk::BFont(arg1
,(std::string
const &)*arg2
,arg3
,arg4
,arg5
);
5828 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BFont
, 1);
5835 static PyObject
*_wrap_delete_BFont(PyObject
*self
, PyObject
*args
) {
5836 PyObject
*resultobj
;
5837 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5840 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BFont",&obj0
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5844 Py_INCREF(Py_None
); resultobj
= Py_None
;
5851 static PyObject
*_wrap_BFont_fontstring(PyObject
*self
, PyObject
*args
) {
5852 PyObject
*resultobj
;
5853 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5854 std::string
*result
;
5855 PyObject
* obj0
= 0 ;
5857 if(!PyArg_ParseTuple(args
,(char *)"O:BFont_fontstring",&obj0
)) goto fail
;
5858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5860 std::string
const &_result_ref
= ((otk::BFont
const *)arg1
)->fontstring();
5861 result
= (std::string
*) &_result_ref
;
5865 resultobj
= PyString_FromString(result
->c_str());
5873 static PyObject
*_wrap_BFont_height(PyObject
*self
, PyObject
*args
) {
5874 PyObject
*resultobj
;
5875 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5876 unsigned int result
;
5877 PyObject
* obj0
= 0 ;
5879 if(!PyArg_ParseTuple(args
,(char *)"O:BFont_height",&obj0
)) goto fail
;
5880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5881 result
= (unsigned int)((otk::BFont
const *)arg1
)->height();
5883 resultobj
= PyInt_FromLong((long)result
);
5890 static PyObject
*_wrap_BFont_maxCharWidth(PyObject
*self
, PyObject
*args
) {
5891 PyObject
*resultobj
;
5892 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5893 unsigned int result
;
5894 PyObject
* obj0
= 0 ;
5896 if(!PyArg_ParseTuple(args
,(char *)"O:BFont_maxCharWidth",&obj0
)) goto fail
;
5897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5898 result
= (unsigned int)((otk::BFont
const *)arg1
)->maxCharWidth();
5900 resultobj
= PyInt_FromLong((long)result
);
5907 static PyObject
*_wrap_BFont_measureString(PyObject
*self
, PyObject
*args
) {
5908 PyObject
*resultobj
;
5909 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5910 std::string
*arg2
= 0 ;
5911 bool arg3
= (bool) false ;
5912 unsigned int result
;
5914 PyObject
* obj0
= 0 ;
5915 PyObject
* obj1
= 0 ;
5916 PyObject
* obj2
= 0 ;
5918 if(!PyArg_ParseTuple(args
,(char *)"OO|O:BFont_measureString",&obj0
,&obj1
,&obj2
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5921 if (PyString_Check(obj1
)) {
5922 temp2
= std::string(PyString_AsString(obj1
));
5925 SWIG_exception(SWIG_TypeError
, "string expected");
5929 arg3
= (bool) PyInt_AsLong(obj2
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 result
= (unsigned int)((otk::BFont
const *)arg1
)->measureString((std::string
const &)*arg2
,arg3
);
5934 resultobj
= PyInt_FromLong((long)result
);
5941 static PyObject
*_wrap_BFont_drawString(PyObject
*self
, PyObject
*args
) {
5942 PyObject
*resultobj
;
5943 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5944 XftDraw
*arg2
= (XftDraw
*) 0 ;
5947 otk::BColor
*arg5
= 0 ;
5948 std::string
*arg6
= 0 ;
5949 bool arg7
= (bool) false ;
5951 PyObject
* obj0
= 0 ;
5952 PyObject
* obj1
= 0 ;
5953 PyObject
* obj4
= 0 ;
5954 PyObject
* obj5
= 0 ;
5955 PyObject
* obj6
= 0 ;
5957 if(!PyArg_ParseTuple(args
,(char *)"OOiiOO|O:BFont_drawString",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XftDraw
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5960 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5965 if (PyString_Check(obj5
)) {
5966 temp6
= std::string(PyString_AsString(obj5
));
5969 SWIG_exception(SWIG_TypeError
, "string expected");
5973 arg7
= (bool) PyInt_AsLong(obj6
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 ((otk::BFont
const *)arg1
)->drawString(arg2
,arg3
,arg4
,(otk::BColor
const &)*arg5
,(std::string
const &)*arg6
,arg7
);
5978 Py_INCREF(Py_None
); resultobj
= Py_None
;
5985 static PyObject
* BFont_swigregister(PyObject
*self
, PyObject
*args
) {
5987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5988 SWIG_TypeClientData(SWIGTYPE_p_otk__BFont
, obj
);
5990 return Py_BuildValue((char *)"");
5992 static PyObject
*_wrap_BGCCacheContext_set__SWIG_0(PyObject
*self
, PyObject
*args
) {
5993 PyObject
*resultobj
;
5994 otk::BGCCacheContext
*arg1
= (otk::BGCCacheContext
*) 0 ;
5995 otk::BColor
*arg2
= 0 ;
5996 XFontStruct
*arg3
= (XFontStruct
*) (XFontStruct
*)0 ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6002 PyObject
* obj2
= 0 ;
6004 if(!PyArg_ParseTuple(args
,(char *)"OOOiii:BGCCacheContext_set",&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
6005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCacheContext
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6010 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_XFontStruct
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6011 (arg1
)->set((otk::BColor
const &)*arg2
,(XFontStruct
const *)arg3
,arg4
,arg5
,arg6
);
6013 Py_INCREF(Py_None
); resultobj
= Py_None
;
6020 static PyObject
*_wrap_BGCCacheContext_set__SWIG_1(PyObject
*self
, PyObject
*args
) {
6021 PyObject
*resultobj
;
6022 otk::BGCCacheContext
*arg1
= (otk::BGCCacheContext
*) 0 ;
6023 XFontStruct
*arg2
= (XFontStruct
*) (XFontStruct
*)0 ;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6027 if(!PyArg_ParseTuple(args
,(char *)"OO:BGCCacheContext_set",&obj0
,&obj1
)) goto fail
;
6028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCacheContext
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFontStruct
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6030 (arg1
)->set((XFontStruct
const *)arg2
);
6032 Py_INCREF(Py_None
); resultobj
= Py_None
;
6039 static PyObject
*_wrap_BGCCacheContext_set(PyObject
*self
, PyObject
*args
) {
6044 argc
= PyObject_Length(args
);
6045 for (ii
= 0; (ii
< argc
) && (ii
< 6); ii
++) {
6046 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6052 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__BGCCacheContext
, 0) == -1) {
6062 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_XFontStruct
, 0) == -1) {
6070 return _wrap_BGCCacheContext_set__SWIG_1(self
,args
);
6078 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__BGCCacheContext
, 0) == -1) {
6088 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__BColor
, 0) == -1) {
6098 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_XFontStruct
, 0) == -1) {
6107 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
6111 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
6115 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
6118 return _wrap_BGCCacheContext_set__SWIG_0(self
,args
);
6127 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'BGCCacheContext_set'");
6132 static PyObject
*_wrap_delete_BGCCacheContext(PyObject
*self
, PyObject
*args
) {
6133 PyObject
*resultobj
;
6134 otk::BGCCacheContext
*arg1
= (otk::BGCCacheContext
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6137 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BGCCacheContext",&obj0
)) goto fail
;
6138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCacheContext
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6141 Py_INCREF(Py_None
); resultobj
= Py_None
;
6148 static PyObject
* BGCCacheContext_swigregister(PyObject
*self
, PyObject
*args
) {
6150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6151 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext
, obj
);
6153 return Py_BuildValue((char *)"");
6155 static PyObject
*_wrap_BGCCacheItem_gc(PyObject
*self
, PyObject
*args
) {
6156 PyObject
*resultobj
;
6157 otk::BGCCacheItem
*arg1
= (otk::BGCCacheItem
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6161 if(!PyArg_ParseTuple(args
,(char *)"O:BGCCacheItem_gc",&obj0
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCacheItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6164 GC
const &_result_ref
= ((otk::BGCCacheItem
const *)arg1
)->gc();
6165 result
= (GC
*) &_result_ref
;
6168 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_GC
, 0);
6175 static PyObject
*_wrap_delete_BGCCacheItem(PyObject
*self
, PyObject
*args
) {
6176 PyObject
*resultobj
;
6177 otk::BGCCacheItem
*arg1
= (otk::BGCCacheItem
*) 0 ;
6178 PyObject
* obj0
= 0 ;
6180 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BGCCacheItem",&obj0
)) goto fail
;
6181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCacheItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6184 Py_INCREF(Py_None
); resultobj
= Py_None
;
6191 static PyObject
* BGCCacheItem_swigregister(PyObject
*self
, PyObject
*args
) {
6193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6194 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem
, obj
);
6196 return Py_BuildValue((char *)"");
6198 static PyObject
*_wrap_new_BGCCache(PyObject
*self
, PyObject
*args
) {
6199 PyObject
*resultobj
;
6201 otk::BGCCache
*result
;
6202 PyObject
* obj0
= 0 ;
6204 if(!PyArg_ParseTuple(args
,(char *)"O:new_BGCCache",&obj0
)) goto fail
;
6205 arg1
= (unsigned int) PyInt_AsLong(obj0
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6207 result
= (otk::BGCCache
*)new otk::BGCCache(arg1
);
6209 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BGCCache
, 1);
6216 static PyObject
*_wrap_delete_BGCCache(PyObject
*self
, PyObject
*args
) {
6217 PyObject
*resultobj
;
6218 otk::BGCCache
*arg1
= (otk::BGCCache
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6221 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BGCCache",&obj0
)) goto fail
;
6222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCache
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6225 Py_INCREF(Py_None
); resultobj
= Py_None
;
6232 static PyObject
*_wrap_BGCCache_purge(PyObject
*self
, PyObject
*args
) {
6233 PyObject
*resultobj
;
6234 otk::BGCCache
*arg1
= (otk::BGCCache
*) 0 ;
6235 PyObject
* obj0
= 0 ;
6237 if(!PyArg_ParseTuple(args
,(char *)"O:BGCCache_purge",&obj0
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCache
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6241 Py_INCREF(Py_None
); resultobj
= Py_None
;
6248 static PyObject
*_wrap_BGCCache_find(PyObject
*self
, PyObject
*args
) {
6249 PyObject
*resultobj
;
6250 otk::BGCCache
*arg1
= (otk::BGCCache
*) 0 ;
6251 otk::BColor
*arg2
= 0 ;
6252 XFontStruct
*arg3
= (XFontStruct
*) (XFontStruct
*)0 ;
6253 int arg4
= (int) GXcopy
;
6254 int arg5
= (int) ClipByChildren
;
6255 int arg6
= (int) 0 ;
6256 otk::BGCCacheItem
*result
;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6259 PyObject
* obj2
= 0 ;
6261 if(!PyArg_ParseTuple(args
,(char *)"OO|Oiii:BGCCache_find",&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
6262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCache
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6263 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6265 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6268 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_XFontStruct
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6270 result
= (otk::BGCCacheItem
*)(arg1
)->find((otk::BColor
const &)*arg2
,(XFontStruct
const *)arg3
,arg4
,arg5
,arg6
);
6272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BGCCacheItem
, 0);
6279 static PyObject
*_wrap_BGCCache_release(PyObject
*self
, PyObject
*args
) {
6280 PyObject
*resultobj
;
6281 otk::BGCCache
*arg1
= (otk::BGCCache
*) 0 ;
6282 otk::BGCCacheItem
*arg2
= (otk::BGCCacheItem
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6284 PyObject
* obj1
= 0 ;
6286 if(!PyArg_ParseTuple(args
,(char *)"OO:BGCCache_release",&obj0
,&obj1
)) goto fail
;
6287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCache
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6288 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BGCCacheItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6289 (arg1
)->release(arg2
);
6291 Py_INCREF(Py_None
); resultobj
= Py_None
;
6298 static PyObject
* BGCCache_swigregister(PyObject
*self
, PyObject
*args
) {
6300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6301 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache
, obj
);
6303 return Py_BuildValue((char *)"");
6305 static PyObject
*_wrap_new_BPen(PyObject
*self
, PyObject
*args
) {
6306 PyObject
*resultobj
;
6307 otk::BColor
*arg1
= 0 ;
6308 XFontStruct
*arg2
= (XFontStruct
*) (XFontStruct
*)0 ;
6309 int arg3
= (int) 0 ;
6310 int arg4
= (int) GXcopy
;
6311 int arg5
= (int) ClipByChildren
;
6313 PyObject
* obj0
= 0 ;
6314 PyObject
* obj1
= 0 ;
6316 if(!PyArg_ParseTuple(args
,(char *)"O|Oiii:new_BPen",&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6319 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFontStruct
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6324 result
= (otk::BPen
*)new otk::BPen((otk::BColor
const &)*arg1
,(XFontStruct
const *)arg2
,arg3
,arg4
,arg5
);
6326 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BPen
, 1);
6333 static PyObject
*_wrap_delete_BPen(PyObject
*self
, PyObject
*args
) {
6334 PyObject
*resultobj
;
6335 otk::BPen
*arg1
= (otk::BPen
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6338 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BPen",&obj0
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6342 Py_INCREF(Py_None
); resultobj
= Py_None
;
6349 static PyObject
*_wrap_BPen_gc(PyObject
*self
, PyObject
*args
) {
6350 PyObject
*resultobj
;
6351 otk::BPen
*arg1
= (otk::BPen
*) 0 ;
6353 PyObject
* obj0
= 0 ;
6355 if(!PyArg_ParseTuple(args
,(char *)"O:BPen_gc",&obj0
)) goto fail
;
6356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6358 GC
const &_result_ref
= ((otk::BPen
const *)arg1
)->gc();
6359 result
= (GC
*) &_result_ref
;
6362 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_GC
, 0);
6369 static PyObject
* BPen_swigregister(PyObject
*self
, PyObject
*args
) {
6371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6372 SWIG_TypeClientData(SWIGTYPE_p_otk__BPen
, obj
);
6374 return Py_BuildValue((char *)"");
6376 static PyObject
*_wrap_new_BImage(PyObject
*self
, PyObject
*args
) {
6377 PyObject
*resultobj
;
6378 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6381 otk::BImage
*result
;
6382 PyObject
* obj0
= 0 ;
6384 if(!PyArg_ParseTuple(args
,(char *)"Oii:new_BImage",&obj0
,&arg2
,&arg3
)) goto fail
;
6385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6386 result
= (otk::BImage
*)new otk::BImage(arg1
,arg2
,arg3
);
6388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BImage
, 1);
6395 static PyObject
*_wrap_delete_BImage(PyObject
*self
, PyObject
*args
) {
6396 PyObject
*resultobj
;
6397 otk::BImage
*arg1
= (otk::BImage
*) 0 ;
6398 PyObject
* obj0
= 0 ;
6400 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BImage",&obj0
)) goto fail
;
6401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6404 Py_INCREF(Py_None
); resultobj
= Py_None
;
6411 static PyObject
*_wrap_BImage_render(PyObject
*self
, PyObject
*args
) {
6412 PyObject
*resultobj
;
6413 otk::BImage
*arg1
= (otk::BImage
*) 0 ;
6414 otk::BTexture
*arg2
= 0 ;
6416 PyObject
* obj0
= 0 ;
6417 PyObject
* obj1
= 0 ;
6419 if(!PyArg_ParseTuple(args
,(char *)"OO:BImage_render",&obj0
,&obj1
)) goto fail
;
6420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6421 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6423 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6425 result
= (arg1
)->render((otk::BTexture
const &)*arg2
);
6429 resultptr
= new Pixmap((Pixmap
&) result
);
6430 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Pixmap
, 1);
6438 static PyObject
* BImage_swigregister(PyObject
*self
, PyObject
*args
) {
6440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6441 SWIG_TypeClientData(SWIGTYPE_p_otk__BImage
, obj
);
6443 return Py_BuildValue((char *)"");
6445 static PyObject
*_wrap_new_BImageControl(PyObject
*self
, PyObject
*args
) {
6446 PyObject
*resultobj
;
6447 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
6448 otk::ScreenInfo
*arg2
= (otk::ScreenInfo
*) 0 ;
6449 bool arg3
= (bool) False
;
6450 int arg4
= (int) 4 ;
6451 unsigned long arg5
= (unsigned long) 300000l ;
6452 unsigned long arg6
= (unsigned long) 200l ;
6453 otk::BImageControl
*result
;
6454 PyObject
* obj0
= 0 ;
6455 PyObject
* obj1
= 0 ;
6456 PyObject
* obj2
= 0 ;
6457 PyObject
* obj4
= 0 ;
6458 PyObject
* obj5
= 0 ;
6460 if(!PyArg_ParseTuple(args
,(char *)"OO|OiOO:new_BImageControl",&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
)) goto fail
;
6461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6464 arg3
= (bool) PyInt_AsLong(obj2
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6468 arg5
= (unsigned long) PyInt_AsLong(obj4
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 arg6
= (unsigned long) PyInt_AsLong(obj5
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6475 result
= (otk::BImageControl
*)new otk::BImageControl(arg1
,(otk::ScreenInfo
const *)arg2
,arg3
,arg4
,arg5
,arg6
);
6477 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BImageControl
, 1);
6484 static PyObject
*_wrap_delete_BImageControl(PyObject
*self
, PyObject
*args
) {
6485 PyObject
*resultobj
;
6486 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6487 PyObject
* obj0
= 0 ;
6489 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BImageControl",&obj0
)) goto fail
;
6490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6493 Py_INCREF(Py_None
); resultobj
= Py_None
;
6500 static PyObject
*_wrap_BImageControl_doDither(PyObject
*self
, PyObject
*args
) {
6501 PyObject
*resultobj
;
6502 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6504 PyObject
* obj0
= 0 ;
6506 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_doDither",&obj0
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6508 result
= (bool)(arg1
)->doDither();
6510 resultobj
= PyInt_FromLong((long)result
);
6517 static PyObject
*_wrap_BImageControl_getScreenInfo(PyObject
*self
, PyObject
*args
) {
6518 PyObject
*resultobj
;
6519 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6520 otk::ScreenInfo
*result
;
6521 PyObject
* obj0
= 0 ;
6523 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getScreenInfo",&obj0
)) goto fail
;
6524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6525 result
= (otk::ScreenInfo
*)((otk::BImageControl
const *)arg1
)->getScreenInfo();
6527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
6534 static PyObject
*_wrap_BImageControl_getDrawable(PyObject
*self
, PyObject
*args
) {
6535 PyObject
*resultobj
;
6536 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6538 PyObject
* obj0
= 0 ;
6540 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getDrawable",&obj0
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6542 result
= ((otk::BImageControl
const *)arg1
)->getDrawable();
6546 resultptr
= new Window((Window
&) result
);
6547 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Window
, 1);
6555 static PyObject
*_wrap_BImageControl_getVisual(PyObject
*self
, PyObject
*args
) {
6556 PyObject
*resultobj
;
6557 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6559 PyObject
* obj0
= 0 ;
6561 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getVisual",&obj0
)) goto fail
;
6562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6563 result
= (Visual
*)(arg1
)->getVisual();
6565 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Visual
, 0);
6572 static PyObject
*_wrap_BImageControl_getBitsPerPixel(PyObject
*self
, PyObject
*args
) {
6573 PyObject
*resultobj
;
6574 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6576 PyObject
* obj0
= 0 ;
6578 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getBitsPerPixel",&obj0
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6580 result
= (int)((otk::BImageControl
const *)arg1
)->getBitsPerPixel();
6582 resultobj
= PyInt_FromLong((long)result
);
6589 static PyObject
*_wrap_BImageControl_getDepth(PyObject
*self
, PyObject
*args
) {
6590 PyObject
*resultobj
;
6591 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6595 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getDepth",&obj0
)) goto fail
;
6596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6597 result
= (int)((otk::BImageControl
const *)arg1
)->getDepth();
6599 resultobj
= PyInt_FromLong((long)result
);
6606 static PyObject
*_wrap_BImageControl_getColorsPerChannel(PyObject
*self
, PyObject
*args
) {
6607 PyObject
*resultobj
;
6608 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getColorsPerChannel",&obj0
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6614 result
= (int)((otk::BImageControl
const *)arg1
)->getColorsPerChannel();
6616 resultobj
= PyInt_FromLong((long)result
);
6623 static PyObject
*_wrap_BImageControl_getSqrt(PyObject
*self
, PyObject
*args
) {
6624 PyObject
*resultobj
;
6625 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6627 unsigned long result
;
6628 PyObject
* obj0
= 0 ;
6629 PyObject
* obj1
= 0 ;
6631 if(!PyArg_ParseTuple(args
,(char *)"OO:BImageControl_getSqrt",&obj0
,&obj1
)) goto fail
;
6632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6633 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6635 result
= (unsigned long)(arg1
)->getSqrt(arg2
);
6637 resultobj
= PyInt_FromLong((long)result
);
6644 static PyObject
*_wrap_BImageControl_renderImage(PyObject
*self
, PyObject
*args
) {
6645 PyObject
*resultobj
;
6646 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6649 otk::BTexture
*arg4
= 0 ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6653 PyObject
* obj2
= 0 ;
6654 PyObject
* obj3
= 0 ;
6656 if(!PyArg_ParseTuple(args
,(char *)"OOOO:BImageControl_renderImage",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6658 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6660 arg3
= (unsigned int) PyInt_AsLong(obj2
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6662 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6664 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6666 result
= (arg1
)->renderImage(arg2
,arg3
,(otk::BTexture
const &)*arg4
);
6670 resultptr
= new Pixmap((Pixmap
&) result
);
6671 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Pixmap
, 1);
6679 static PyObject
*_wrap_BImageControl_installRootColormap(PyObject
*self
, PyObject
*args
) {
6680 PyObject
*resultobj
;
6681 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6684 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_installRootColormap",&obj0
)) goto fail
;
6685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6686 (arg1
)->installRootColormap();
6688 Py_INCREF(Py_None
); resultobj
= Py_None
;
6695 static PyObject
*_wrap_BImageControl_removeImage(PyObject
*self
, PyObject
*args
) {
6696 PyObject
*resultobj
;
6697 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6703 if(!PyArg_ParseTuple(args
,(char *)"OO:BImageControl_removeImage",&obj0
,&obj1
)) goto fail
;
6704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6705 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Pixmap
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6707 (arg1
)->removeImage(arg2
);
6709 Py_INCREF(Py_None
); resultobj
= Py_None
;
6716 static PyObject
*_wrap_BImageControl_getColorTables(PyObject
*self
, PyObject
*args
) {
6717 PyObject
*resultobj
;
6718 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6719 unsigned char **arg2
= (unsigned char **) 0 ;
6720 unsigned char **arg3
= (unsigned char **) 0 ;
6721 unsigned char **arg4
= (unsigned char **) 0 ;
6722 int *arg5
= (int *) 0 ;
6723 int *arg6
= (int *) 0 ;
6724 int *arg7
= (int *) 0 ;
6725 int *arg8
= (int *) 0 ;
6726 int *arg9
= (int *) 0 ;
6727 int *arg10
= (int *) 0 ;
6728 PyObject
* obj0
= 0 ;
6729 PyObject
* obj1
= 0 ;
6730 PyObject
* obj2
= 0 ;
6731 PyObject
* obj3
= 0 ;
6732 PyObject
* obj4
= 0 ;
6733 PyObject
* obj5
= 0 ;
6734 PyObject
* obj6
= 0 ;
6735 PyObject
* obj7
= 0 ;
6736 PyObject
* obj8
= 0 ;
6737 PyObject
* obj9
= 0 ;
6739 if(!PyArg_ParseTuple(args
,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6742 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6743 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6744 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6745 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6746 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6747 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6748 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6749 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6750 (arg1
)->getColorTables(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6752 Py_INCREF(Py_None
); resultobj
= Py_None
;
6759 static PyObject
*_wrap_BImageControl_getXColorTable(PyObject
*self
, PyObject
*args
) {
6760 PyObject
*resultobj
;
6761 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6762 XColor
**arg2
= (XColor
**) 0 ;
6763 int *arg3
= (int *) 0 ;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6766 PyObject
* obj2
= 0 ;
6768 if(!PyArg_ParseTuple(args
,(char *)"OOO:BImageControl_getXColorTable",&obj0
,&obj1
,&obj2
)) goto fail
;
6769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6770 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_p_XColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6771 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6772 (arg1
)->getXColorTable(arg2
,arg3
);
6774 Py_INCREF(Py_None
); resultobj
= Py_None
;
6781 static PyObject
*_wrap_BImageControl_getGradientBuffers(PyObject
*self
, PyObject
*args
) {
6782 PyObject
*resultobj
;
6783 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6786 unsigned int **arg4
= (unsigned int **) 0 ;
6787 unsigned int **arg5
= (unsigned int **) 0 ;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6790 PyObject
* obj2
= 0 ;
6791 PyObject
* obj3
= 0 ;
6792 PyObject
* obj4
= 0 ;
6794 if(!PyArg_ParseTuple(args
,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6796 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6798 arg3
= (unsigned int) PyInt_AsLong(obj2
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6800 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_p_unsigned_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6801 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_p_unsigned_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6802 (arg1
)->getGradientBuffers(arg2
,arg3
,arg4
,arg5
);
6804 Py_INCREF(Py_None
); resultobj
= Py_None
;
6811 static PyObject
*_wrap_BImageControl_setDither(PyObject
*self
, PyObject
*args
) {
6812 PyObject
*resultobj
;
6813 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6815 PyObject
* obj0
= 0 ;
6816 PyObject
* obj1
= 0 ;
6818 if(!PyArg_ParseTuple(args
,(char *)"OO:BImageControl_setDither",&obj0
,&obj1
)) goto fail
;
6819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6820 arg2
= (bool) PyInt_AsLong(obj1
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6822 (arg1
)->setDither(arg2
);
6824 Py_INCREF(Py_None
); resultobj
= Py_None
;
6831 static PyObject
*_wrap_BImageControl_setColorsPerChannel(PyObject
*self
, PyObject
*args
) {
6832 PyObject
*resultobj
;
6833 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6835 PyObject
* obj0
= 0 ;
6837 if(!PyArg_ParseTuple(args
,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0
,&arg2
)) goto fail
;
6838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6839 (arg1
)->setColorsPerChannel(arg2
);
6841 Py_INCREF(Py_None
); resultobj
= Py_None
;
6848 static PyObject
*_wrap_BImageControl_timeout(PyObject
*self
, PyObject
*args
) {
6849 PyObject
*resultobj
;
6850 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6851 PyObject
* obj0
= 0 ;
6853 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_timeout",&obj0
)) goto fail
;
6854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6855 otk::BImageControl::timeout(arg1
);
6857 Py_INCREF(Py_None
); resultobj
= Py_None
;
6864 static PyObject
* BImageControl_swigregister(PyObject
*self
, PyObject
*args
) {
6866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6867 SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl
, obj
);
6869 return Py_BuildValue((char *)"");
6871 static PyObject
*_wrap_new_Point__SWIG_0(PyObject
*self
, PyObject
*args
) {
6872 PyObject
*resultobj
;
6875 if(!PyArg_ParseTuple(args
,(char *)":new_Point")) goto fail
;
6876 result
= (otk::Point
*)new otk::Point();
6878 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
6885 static PyObject
*_wrap_new_Point__SWIG_1(PyObject
*self
, PyObject
*args
) {
6886 PyObject
*resultobj
;
6891 if(!PyArg_ParseTuple(args
,(char *)"ii:new_Point",&arg1
,&arg2
)) goto fail
;
6892 result
= (otk::Point
*)new otk::Point(arg1
,arg2
);
6894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
6901 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
) {
6906 argc
= PyObject_Length(args
);
6907 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
6908 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6911 return _wrap_new_Point__SWIG_0(self
,args
);
6916 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
6920 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6923 return _wrap_new_Point__SWIG_1(self
,args
);
6928 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Point'");
6933 static PyObject
*_wrap_Point_setX(PyObject
*self
, PyObject
*args
) {
6934 PyObject
*resultobj
;
6935 otk::Point
*arg1
= (otk::Point
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6939 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setX",&obj0
,&arg2
)) goto fail
;
6940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6943 Py_INCREF(Py_None
); resultobj
= Py_None
;
6950 static PyObject
*_wrap_Point_x(PyObject
*self
, PyObject
*args
) {
6951 PyObject
*resultobj
;
6952 otk::Point
*arg1
= (otk::Point
*) 0 ;
6954 PyObject
* obj0
= 0 ;
6956 if(!PyArg_ParseTuple(args
,(char *)"O:Point_x",&obj0
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6958 result
= (int)((otk::Point
const *)arg1
)->x();
6960 resultobj
= PyInt_FromLong((long)result
);
6967 static PyObject
*_wrap_Point_setY(PyObject
*self
, PyObject
*args
) {
6968 PyObject
*resultobj
;
6969 otk::Point
*arg1
= (otk::Point
*) 0 ;
6971 PyObject
* obj0
= 0 ;
6973 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setY",&obj0
,&arg2
)) goto fail
;
6974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6977 Py_INCREF(Py_None
); resultobj
= Py_None
;
6984 static PyObject
*_wrap_Point_y(PyObject
*self
, PyObject
*args
) {
6985 PyObject
*resultobj
;
6986 otk::Point
*arg1
= (otk::Point
*) 0 ;
6988 PyObject
* obj0
= 0 ;
6990 if(!PyArg_ParseTuple(args
,(char *)"O:Point_y",&obj0
)) goto fail
;
6991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6992 result
= (int)((otk::Point
const *)arg1
)->y();
6994 resultobj
= PyInt_FromLong((long)result
);
7001 static PyObject
*_wrap_Point_setPoint(PyObject
*self
, PyObject
*args
) {
7002 PyObject
*resultobj
;
7003 otk::Point
*arg1
= (otk::Point
*) 0 ;
7006 PyObject
* obj0
= 0 ;
7008 if(!PyArg_ParseTuple(args
,(char *)"Oii:Point_setPoint",&obj0
,&arg2
,&arg3
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7010 (arg1
)->setPoint(arg2
,arg3
);
7012 Py_INCREF(Py_None
); resultobj
= Py_None
;
7019 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
) {
7020 PyObject
*resultobj
;
7021 otk::Point
*arg1
= (otk::Point
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7024 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Point",&obj0
)) 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
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
7037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7038 SWIG_TypeClientData(SWIGTYPE_p_otk__Point
, obj
);
7040 return Py_BuildValue((char *)"");
7042 static PyObject
*_wrap_new_OBProperty(PyObject
*self
, PyObject
*args
) {
7043 PyObject
*resultobj
;
7044 otk::OBProperty
*result
;
7046 if(!PyArg_ParseTuple(args
,(char *)":new_OBProperty")) goto fail
;
7047 result
= (otk::OBProperty
*)new otk::OBProperty();
7049 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OBProperty
, 1);
7056 static PyObject
*_wrap_delete_OBProperty(PyObject
*self
, PyObject
*args
) {
7057 PyObject
*resultobj
;
7058 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7059 PyObject
* obj0
= 0 ;
7061 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OBProperty",&obj0
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7065 Py_INCREF(Py_None
); resultobj
= Py_None
;
7072 static PyObject
*_wrap_OBProperty_set__SWIG_0(PyObject
*self
, PyObject
*args
) {
7073 PyObject
*resultobj
;
7074 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7078 unsigned long arg5
;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7082 PyObject
* obj4
= 0 ;
7084 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
7085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7086 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7088 arg5
= (unsigned long) PyInt_AsLong(obj4
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7090 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
);
7092 Py_INCREF(Py_None
); resultobj
= Py_None
;
7099 static PyObject
*_wrap_OBProperty_set__SWIG_1(PyObject
*self
, PyObject
*args
) {
7100 PyObject
*resultobj
;
7101 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7105 unsigned long *arg5
;
7108 PyObject
* obj0
= 0 ;
7109 PyObject
* obj1
= 0 ;
7110 PyObject
* obj4
= 0 ;
7112 if(!PyArg_ParseTuple(args
,(char *)"OOiiOi:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&arg6
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7114 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7116 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7117 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
,arg6
);
7119 Py_INCREF(Py_None
); resultobj
= Py_None
;
7126 static PyObject
*_wrap_OBProperty_set__SWIG_2(PyObject
*self
, PyObject
*args
) {
7127 PyObject
*resultobj
;
7128 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7132 std::string
*arg5
= 0 ;
7135 PyObject
* obj0
= 0 ;
7136 PyObject
* obj1
= 0 ;
7137 PyObject
* obj4
= 0 ;
7139 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
7140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7141 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7144 if (PyString_Check(obj4
)) {
7145 temp5
= std::string(PyString_AsString(obj4
));
7148 SWIG_exception(SWIG_TypeError
, "string expected");
7151 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,(std::string
const &)*arg5
);
7153 Py_INCREF(Py_None
); resultobj
= Py_None
;
7160 static PyObject
*_wrap_OBProperty_set__SWIG_3(PyObject
*self
, PyObject
*args
) {
7161 PyObject
*resultobj
;
7162 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7166 otk::OBProperty::StringVect
*arg5
= 0 ;
7168 PyObject
* obj0
= 0 ;
7169 PyObject
* obj1
= 0 ;
7170 PyObject
* obj4
= 0 ;
7172 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
7173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7174 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7176 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_otk__OBProperty__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7178 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7180 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,(otk::OBProperty::StringVect
const &)*arg5
);
7182 Py_INCREF(Py_None
); resultobj
= Py_None
;
7189 static PyObject
*_wrap_OBProperty_set(PyObject
*self
, PyObject
*args
) {
7194 argc
= PyObject_Length(args
);
7195 for (ii
= 0; (ii
< argc
) && (ii
< 6); ii
++) {
7196 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7202 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7212 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7221 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7225 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7230 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty__StringVect
, 0) == -1) {
7238 return _wrap_OBProperty_set__SWIG_3(self
,args
);
7249 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7259 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7268 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7272 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7276 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
7279 return _wrap_OBProperty_set__SWIG_0(self
,args
);
7290 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7300 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7309 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7313 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7317 _v
= PyString_Check(argv
[4]) ? 1 : 0;
7320 return _wrap_OBProperty_set__SWIG_2(self
,args
);
7331 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7341 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7350 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7354 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7359 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
7368 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
7371 return _wrap_OBProperty_set__SWIG_1(self
,args
);
7380 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OBProperty_set'");
7385 static PyObject
*_wrap_OBProperty_get__SWIG_0(PyObject
*self
, PyObject
*args
) {
7386 PyObject
*resultobj
;
7387 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7391 unsigned long *arg5
= (unsigned long *) 0 ;
7392 unsigned long **arg6
= (unsigned long **) 0 ;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7397 PyObject
* obj4
= 0 ;
7398 PyObject
* obj5
= 0 ;
7400 if(!PyArg_ParseTuple(args
,(char *)"OOiiOO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
)) goto fail
;
7401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7402 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7404 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7405 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7406 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
,arg6
);
7408 resultobj
= PyInt_FromLong((long)result
);
7415 static PyObject
*_wrap_OBProperty_get__SWIG_1(PyObject
*self
, PyObject
*args
) {
7416 PyObject
*resultobj
;
7417 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7421 unsigned long *arg5
= (unsigned long *) 0 ;
7424 PyObject
* obj0
= 0 ;
7425 PyObject
* obj1
= 0 ;
7426 PyObject
* obj4
= 0 ;
7428 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
7429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7430 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7432 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7433 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
);
7435 resultobj
= PyInt_FromLong((long)result
);
7442 static PyObject
*_wrap_OBProperty_get__SWIG_2(PyObject
*self
, PyObject
*args
) {
7443 PyObject
*resultobj
;
7444 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7448 std::string
*arg5
= (std::string
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7453 PyObject
* obj4
= 0 ;
7455 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
7456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7457 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7459 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_std__string
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7460 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,arg5
);
7462 resultobj
= PyInt_FromLong((long)result
);
7469 static PyObject
*_wrap_OBProperty_get__SWIG_3(PyObject
*self
, PyObject
*args
) {
7470 PyObject
*resultobj
;
7471 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7475 unsigned long *arg5
= (unsigned long *) 0 ;
7476 otk::OBProperty::StringVect
*arg6
= (otk::OBProperty::StringVect
*) 0 ;
7479 PyObject
* obj0
= 0 ;
7480 PyObject
* obj1
= 0 ;
7481 PyObject
* obj4
= 0 ;
7482 PyObject
* obj5
= 0 ;
7484 if(!PyArg_ParseTuple(args
,(char *)"OOiiOO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
)) goto fail
;
7485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7486 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7488 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7489 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_otk__OBProperty__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7490 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,arg5
,arg6
);
7492 resultobj
= PyInt_FromLong((long)result
);
7499 static PyObject
*_wrap_OBProperty_get(PyObject
*self
, PyObject
*args
) {
7504 argc
= PyObject_Length(args
);
7505 for (ii
= 0; (ii
< argc
) && (ii
< 6); ii
++) {
7506 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7512 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7522 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7531 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7535 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7540 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
7548 return _wrap_OBProperty_get__SWIG_1(self
,args
);
7559 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7569 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7578 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7582 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7587 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_std__string
, 0) == -1) {
7595 return _wrap_OBProperty_get__SWIG_2(self
,args
);
7606 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7616 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7625 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7629 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7634 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
7644 if (SWIG_ConvertPtr(argv
[5], (void **) &ptr
, SWIGTYPE_p_p_unsigned_long
, 0) == -1) {
7652 return _wrap_OBProperty_get__SWIG_0(self
,args
);
7664 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7674 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7683 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7687 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7692 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
7702 if (SWIG_ConvertPtr(argv
[5], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty__StringVect
, 0) == -1) {
7710 return _wrap_OBProperty_get__SWIG_3(self
,args
);
7719 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OBProperty_get'");
7724 static PyObject
*_wrap_OBProperty_erase(PyObject
*self
, PyObject
*args
) {
7725 PyObject
*resultobj
;
7726 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7731 PyObject
* obj1
= 0 ;
7733 if(!PyArg_ParseTuple(args
,(char *)"OOi:OBProperty_erase",&obj0
,&obj1
,&arg3
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7735 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7737 ((otk::OBProperty
const *)arg1
)->erase(arg2
,(otk::OBProperty::Atoms
)arg3
);
7739 Py_INCREF(Py_None
); resultobj
= Py_None
;
7746 static PyObject
*_wrap_OBProperty_atom(PyObject
*self
, PyObject
*args
) {
7747 PyObject
*resultobj
;
7748 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7753 if(!PyArg_ParseTuple(args
,(char *)"Oi:OBProperty_atom",&obj0
,&arg2
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7755 result
= ((otk::OBProperty
const *)arg1
)->atom((otk::OBProperty::Atoms
)arg2
);
7759 resultptr
= new Atom((Atom
&) result
);
7760 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Atom
, 1);
7768 static PyObject
* OBProperty_swigregister(PyObject
*self
, PyObject
*args
) {
7770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7771 SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty
, obj
);
7773 return Py_BuildValue((char *)"");
7775 static PyObject
*_wrap_new_Rect__SWIG_0(PyObject
*self
, PyObject
*args
) {
7776 PyObject
*resultobj
;
7779 if(!PyArg_ParseTuple(args
,(char *)":new_Rect")) goto fail
;
7780 result
= (otk::Rect
*)new otk::Rect();
7782 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
7789 static PyObject
*_wrap_new_Rect__SWIG_1(PyObject
*self
, PyObject
*args
) {
7790 PyObject
*resultobj
;
7797 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Rect",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
7798 result
= (otk::Rect
*)new otk::Rect(arg1
,arg2
,arg3
,arg4
);
7800 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
7807 static PyObject
*_wrap_new_Rect__SWIG_2(PyObject
*self
, PyObject
*args
) {
7808 PyObject
*resultobj
;
7809 otk::Point
*arg1
= 0 ;
7810 otk::Point
*arg2
= 0 ;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7815 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Rect",&obj0
,&obj1
)) goto fail
;
7816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7818 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7822 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7824 result
= (otk::Rect
*)new otk::Rect((otk::Point
const &)*arg1
,(otk::Point
const &)*arg2
);
7826 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
7833 static PyObject
*_wrap_new_Rect__SWIG_3(PyObject
*self
, PyObject
*args
) {
7834 PyObject
*resultobj
;
7835 otk::Rect
*arg1
= 0 ;
7837 PyObject
* obj0
= 0 ;
7839 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
7840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7844 result
= (otk::Rect
*)new otk::Rect((otk::Rect
const &)*arg1
);
7846 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
7853 static PyObject
*_wrap_new_Rect__SWIG_4(PyObject
*self
, PyObject
*args
) {
7854 PyObject
*resultobj
;
7855 XRectangle
*arg1
= 0 ;
7857 PyObject
* obj0
= 0 ;
7859 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_XRectangle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7862 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7864 result
= (otk::Rect
*)new otk::Rect((XRectangle
const &)*arg1
);
7866 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
7873 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
) {
7878 argc
= PyObject_Length(args
);
7879 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
7880 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7883 return _wrap_new_Rect__SWIG_0(self
,args
);
7889 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
7897 return _wrap_new_Rect__SWIG_3(self
,args
);
7904 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_XRectangle
, 0) == -1) {
7912 return _wrap_new_Rect__SWIG_4(self
,args
);
7919 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
7929 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
7937 return _wrap_new_Rect__SWIG_2(self
,args
);
7944 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
7948 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
7952 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7956 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7959 return _wrap_new_Rect__SWIG_1(self
,args
);
7966 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Rect'");
7971 static PyObject
*_wrap_Rect_left(PyObject
*self
, PyObject
*args
) {
7972 PyObject
*resultobj
;
7973 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
7975 PyObject
* obj0
= 0 ;
7977 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_left",&obj0
)) goto fail
;
7978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7979 result
= (int)((otk::Rect
const *)arg1
)->left();
7981 resultobj
= PyInt_FromLong((long)result
);
7988 static PyObject
*_wrap_Rect_top(PyObject
*self
, PyObject
*args
) {
7989 PyObject
*resultobj
;
7990 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7994 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_top",&obj0
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7996 result
= (int)((otk::Rect
const *)arg1
)->top();
7998 resultobj
= PyInt_FromLong((long)result
);
8005 static PyObject
*_wrap_Rect_right(PyObject
*self
, PyObject
*args
) {
8006 PyObject
*resultobj
;
8007 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8011 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_right",&obj0
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8013 result
= (int)((otk::Rect
const *)arg1
)->right();
8015 resultobj
= PyInt_FromLong((long)result
);
8022 static PyObject
*_wrap_Rect_bottom(PyObject
*self
, PyObject
*args
) {
8023 PyObject
*resultobj
;
8024 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8026 PyObject
* obj0
= 0 ;
8028 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_bottom",&obj0
)) goto fail
;
8029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8030 result
= (int)((otk::Rect
const *)arg1
)->bottom();
8032 resultobj
= PyInt_FromLong((long)result
);
8039 static PyObject
*_wrap_Rect_x(PyObject
*self
, PyObject
*args
) {
8040 PyObject
*resultobj
;
8041 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8045 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_x",&obj0
)) goto fail
;
8046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8047 result
= (int)((otk::Rect
const *)arg1
)->x();
8049 resultobj
= PyInt_FromLong((long)result
);
8056 static PyObject
*_wrap_Rect_y(PyObject
*self
, PyObject
*args
) {
8057 PyObject
*resultobj
;
8058 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8060 PyObject
* obj0
= 0 ;
8062 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_y",&obj0
)) goto fail
;
8063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8064 result
= (int)((otk::Rect
const *)arg1
)->y();
8066 resultobj
= PyInt_FromLong((long)result
);
8073 static PyObject
*_wrap_Rect_location(PyObject
*self
, PyObject
*args
) {
8074 PyObject
*resultobj
;
8075 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8079 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_location",&obj0
)) goto fail
;
8080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8081 result
= ((otk::Rect
const *)arg1
)->location();
8084 otk::Point
* resultptr
;
8085 resultptr
= new otk::Point((otk::Point
&) result
);
8086 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
8094 static PyObject
*_wrap_Rect_setX(PyObject
*self
, PyObject
*args
) {
8095 PyObject
*resultobj
;
8096 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8098 PyObject
* obj0
= 0 ;
8100 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setX",&obj0
,&arg2
)) goto fail
;
8101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8111 static PyObject
*_wrap_Rect_setY(PyObject
*self
, PyObject
*args
) {
8112 PyObject
*resultobj
;
8113 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8117 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setY",&obj0
,&arg2
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8121 Py_INCREF(Py_None
); resultobj
= Py_None
;
8128 static PyObject
*_wrap_Rect_setPos__SWIG_0(PyObject
*self
, PyObject
*args
) {
8129 PyObject
*resultobj
;
8130 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setPos",&obj0
,&arg2
,&arg3
)) goto fail
;
8136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8137 (arg1
)->setPos(arg2
,arg3
);
8139 Py_INCREF(Py_None
); resultobj
= Py_None
;
8146 static PyObject
*_wrap_Rect_setPos__SWIG_1(PyObject
*self
, PyObject
*args
) {
8147 PyObject
*resultobj
;
8148 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8149 otk::Point
*arg2
= 0 ;
8150 PyObject
* obj0
= 0 ;
8151 PyObject
* obj1
= 0 ;
8153 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setPos",&obj0
,&obj1
)) goto fail
;
8154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8157 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8159 (arg1
)->setPos((otk::Point
const &)*arg2
);
8161 Py_INCREF(Py_None
); resultobj
= Py_None
;
8168 static PyObject
*_wrap_Rect_setPos(PyObject
*self
, PyObject
*args
) {
8173 argc
= PyObject_Length(args
);
8174 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8175 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8181 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8191 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8199 return _wrap_Rect_setPos__SWIG_1(self
,args
);
8207 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8216 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
8220 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8223 return _wrap_Rect_setPos__SWIG_0(self
,args
);
8229 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setPos'");
8234 static PyObject
*_wrap_Rect_width(PyObject
*self
, PyObject
*args
) {
8235 PyObject
*resultobj
;
8236 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8238 PyObject
* obj0
= 0 ;
8240 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_width",&obj0
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8242 result
= (int)((otk::Rect
const *)arg1
)->width();
8244 resultobj
= PyInt_FromLong((long)result
);
8251 static PyObject
*_wrap_Rect_height(PyObject
*self
, PyObject
*args
) {
8252 PyObject
*resultobj
;
8253 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8255 PyObject
* obj0
= 0 ;
8257 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_height",&obj0
)) goto fail
;
8258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8259 result
= (int)((otk::Rect
const *)arg1
)->height();
8261 resultobj
= PyInt_FromLong((long)result
);
8268 static PyObject
*_wrap_Rect_size(PyObject
*self
, PyObject
*args
) {
8269 PyObject
*resultobj
;
8270 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8272 PyObject
* obj0
= 0 ;
8274 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_size",&obj0
)) goto fail
;
8275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8276 result
= ((otk::Rect
const *)arg1
)->size();
8279 otk::Point
* resultptr
;
8280 resultptr
= new otk::Point((otk::Point
&) result
);
8281 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
8289 static PyObject
*_wrap_Rect_setWidth(PyObject
*self
, PyObject
*args
) {
8290 PyObject
*resultobj
;
8291 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8293 PyObject
* obj0
= 0 ;
8295 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setWidth",&obj0
,&arg2
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8297 (arg1
)->setWidth(arg2
);
8299 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_Rect_setHeight(PyObject
*self
, PyObject
*args
) {
8307 PyObject
*resultobj
;
8308 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8310 PyObject
* obj0
= 0 ;
8312 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setHeight",&obj0
,&arg2
)) goto fail
;
8313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8314 (arg1
)->setHeight(arg2
);
8316 Py_INCREF(Py_None
); resultobj
= Py_None
;
8323 static PyObject
*_wrap_Rect_setSize__SWIG_0(PyObject
*self
, PyObject
*args
) {
8324 PyObject
*resultobj
;
8325 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8328 PyObject
* obj0
= 0 ;
8330 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setSize",&obj0
,&arg2
,&arg3
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8332 (arg1
)->setSize(arg2
,arg3
);
8334 Py_INCREF(Py_None
); resultobj
= Py_None
;
8341 static PyObject
*_wrap_Rect_setSize__SWIG_1(PyObject
*self
, PyObject
*args
) {
8342 PyObject
*resultobj
;
8343 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8344 otk::Point
*arg2
= 0 ;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8348 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setSize",&obj0
,&obj1
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8352 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8354 (arg1
)->setSize((otk::Point
const &)*arg2
);
8356 Py_INCREF(Py_None
); resultobj
= Py_None
;
8363 static PyObject
*_wrap_Rect_setSize(PyObject
*self
, PyObject
*args
) {
8368 argc
= PyObject_Length(args
);
8369 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8370 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8376 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8386 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8394 return _wrap_Rect_setSize__SWIG_1(self
,args
);
8402 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8411 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
8415 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8418 return _wrap_Rect_setSize__SWIG_0(self
,args
);
8424 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setSize'");
8429 static PyObject
*_wrap_Rect_setRect__SWIG_0(PyObject
*self
, PyObject
*args
) {
8430 PyObject
*resultobj
;
8431 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8438 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setRect",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
8439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8440 (arg1
)->setRect(arg2
,arg3
,arg4
,arg5
);
8442 Py_INCREF(Py_None
); resultobj
= Py_None
;
8449 static PyObject
*_wrap_Rect_setRect__SWIG_1(PyObject
*self
, PyObject
*args
) {
8450 PyObject
*resultobj
;
8451 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8452 otk::Point
*arg2
= 0 ;
8453 otk::Point
*arg3
= 0 ;
8454 PyObject
* obj0
= 0 ;
8455 PyObject
* obj1
= 0 ;
8456 PyObject
* obj2
= 0 ;
8458 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setRect",&obj0
,&obj1
,&obj2
)) goto fail
;
8459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8464 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8466 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8468 (arg1
)->setRect((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
8470 Py_INCREF(Py_None
); resultobj
= Py_None
;
8477 static PyObject
*_wrap_Rect_setRect(PyObject
*self
, PyObject
*args
) {
8482 argc
= PyObject_Length(args
);
8483 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
8484 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8490 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8500 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8510 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8518 return _wrap_Rect_setRect__SWIG_1(self
,args
);
8527 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8536 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
8540 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8544 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
8548 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
8551 return _wrap_Rect_setRect__SWIG_0(self
,args
);
8559 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setRect'");
8564 static PyObject
*_wrap_Rect_setCoords__SWIG_0(PyObject
*self
, PyObject
*args
) {
8565 PyObject
*resultobj
;
8566 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8571 PyObject
* obj0
= 0 ;
8573 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setCoords",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
8574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8575 (arg1
)->setCoords(arg2
,arg3
,arg4
,arg5
);
8577 Py_INCREF(Py_None
); resultobj
= Py_None
;
8584 static PyObject
*_wrap_Rect_setCoords__SWIG_1(PyObject
*self
, PyObject
*args
) {
8585 PyObject
*resultobj
;
8586 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8587 otk::Point
*arg2
= 0 ;
8588 otk::Point
*arg3
= 0 ;
8589 PyObject
* obj0
= 0 ;
8590 PyObject
* obj1
= 0 ;
8591 PyObject
* obj2
= 0 ;
8593 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setCoords",&obj0
,&obj1
,&obj2
)) goto fail
;
8594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8599 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8603 (arg1
)->setCoords((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
8605 Py_INCREF(Py_None
); resultobj
= Py_None
;
8612 static PyObject
*_wrap_Rect_setCoords(PyObject
*self
, PyObject
*args
) {
8617 argc
= PyObject_Length(args
);
8618 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
8619 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8625 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8635 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8645 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8653 return _wrap_Rect_setCoords__SWIG_1(self
,args
);
8662 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8671 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
8675 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8679 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
8683 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
8686 return _wrap_Rect_setCoords__SWIG_0(self
,args
);
8694 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setCoords'");
8699 static PyObject
*_wrap_Rect_equals(PyObject
*self
, PyObject
*args
) {
8700 PyObject
*resultobj
;
8701 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8702 otk::Rect
*arg2
= 0 ;
8704 PyObject
* obj0
= 0 ;
8705 PyObject
* obj1
= 0 ;
8707 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_equals",&obj0
,&obj1
)) goto fail
;
8708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8709 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8711 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8713 result
= (bool)(arg1
)->operator ==((otk::Rect
const &)*arg2
);
8715 resultobj
= PyInt_FromLong((long)result
);
8722 static PyObject
*_wrap_Rect_valid(PyObject
*self
, PyObject
*args
) {
8723 PyObject
*resultobj
;
8724 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8726 PyObject
* obj0
= 0 ;
8728 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_valid",&obj0
)) goto fail
;
8729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8730 result
= (bool)((otk::Rect
const *)arg1
)->valid();
8732 resultobj
= PyInt_FromLong((long)result
);
8739 static PyObject
*_wrap_Rect_intersects(PyObject
*self
, PyObject
*args
) {
8740 PyObject
*resultobj
;
8741 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8742 otk::Rect
*arg2
= 0 ;
8744 PyObject
* obj0
= 0 ;
8745 PyObject
* obj1
= 0 ;
8747 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_intersects",&obj0
,&obj1
)) goto fail
;
8748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8749 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8751 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8753 result
= (bool)((otk::Rect
const *)arg1
)->intersects((otk::Rect
const &)*arg2
);
8755 resultobj
= PyInt_FromLong((long)result
);
8762 static PyObject
*_wrap_Rect_contains__SWIG_0(PyObject
*self
, PyObject
*args
) {
8763 PyObject
*resultobj
;
8764 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8768 PyObject
* obj0
= 0 ;
8770 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_contains",&obj0
,&arg2
,&arg3
)) goto fail
;
8771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8772 result
= (bool)((otk::Rect
const *)arg1
)->contains(arg2
,arg3
);
8774 resultobj
= PyInt_FromLong((long)result
);
8781 static PyObject
*_wrap_Rect_contains__SWIG_1(PyObject
*self
, PyObject
*args
) {
8782 PyObject
*resultobj
;
8783 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8784 otk::Point
*arg2
= 0 ;
8786 PyObject
* obj0
= 0 ;
8787 PyObject
* obj1
= 0 ;
8789 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
8790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8791 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8793 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8795 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Point
const &)*arg2
);
8797 resultobj
= PyInt_FromLong((long)result
);
8804 static PyObject
*_wrap_Rect_contains__SWIG_2(PyObject
*self
, PyObject
*args
) {
8805 PyObject
*resultobj
;
8806 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8807 otk::Rect
*arg2
= 0 ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8812 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8818 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Rect
const &)*arg2
);
8820 resultobj
= PyInt_FromLong((long)result
);
8827 static PyObject
*_wrap_Rect_contains(PyObject
*self
, PyObject
*args
) {
8832 argc
= PyObject_Length(args
);
8833 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8834 argv
[ii
] = PyTuple_GetItem(args
,ii
);
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__Point
, 0) == -1) {
8858 return _wrap_Rect_contains__SWIG_1(self
,args
);
8866 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8876 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8884 return _wrap_Rect_contains__SWIG_2(self
,args
);
8892 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8901 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
8905 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8908 return _wrap_Rect_contains__SWIG_0(self
,args
);
8914 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_contains'");
8919 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
) {
8920 PyObject
*resultobj
;
8921 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8924 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Rect",&obj0
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8928 Py_INCREF(Py_None
); resultobj
= Py_None
;
8935 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
8937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8938 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect
, obj
);
8940 return Py_BuildValue((char *)"");
8942 static PyObject
*_wrap_new_ScreenInfo(PyObject
*self
, PyObject
*args
) {
8943 PyObject
*resultobj
;
8945 otk::ScreenInfo
*result
;
8946 PyObject
* obj0
= 0 ;
8948 if(!PyArg_ParseTuple(args
,(char *)"O:new_ScreenInfo",&obj0
)) goto fail
;
8949 arg1
= (unsigned int) PyInt_AsLong(obj0
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8951 result
= (otk::ScreenInfo
*)new otk::ScreenInfo(arg1
);
8953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 1);
8960 static PyObject
*_wrap_ScreenInfo_visual(PyObject
*self
, PyObject
*args
) {
8961 PyObject
*resultobj
;
8962 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
8964 PyObject
* obj0
= 0 ;
8966 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_visual",&obj0
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8968 result
= (Visual
*)((otk::ScreenInfo
const *)arg1
)->visual();
8970 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Visual
, 0);
8977 static PyObject
*_wrap_ScreenInfo_rootWindow(PyObject
*self
, PyObject
*args
) {
8978 PyObject
*resultobj
;
8979 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
8981 PyObject
* obj0
= 0 ;
8983 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rootWindow",&obj0
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8985 result
= ((otk::ScreenInfo
const *)arg1
)->rootWindow();
8989 resultptr
= new Window((Window
&) result
);
8990 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Window
, 1);
8998 static PyObject
*_wrap_ScreenInfo_colormap(PyObject
*self
, PyObject
*args
) {
8999 PyObject
*resultobj
;
9000 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9004 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_colormap",&obj0
)) goto fail
;
9005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9006 result
= ((otk::ScreenInfo
const *)arg1
)->colormap();
9009 Colormap
* resultptr
;
9010 resultptr
= new Colormap((Colormap
&) result
);
9011 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Colormap
, 1);
9019 static PyObject
*_wrap_ScreenInfo_depth(PyObject
*self
, PyObject
*args
) {
9020 PyObject
*resultobj
;
9021 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
9023 PyObject
* obj0
= 0 ;
9025 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_depth",&obj0
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9027 result
= (int)((otk::ScreenInfo
const *)arg1
)->depth();
9029 resultobj
= PyInt_FromLong((long)result
);
9036 static PyObject
*_wrap_ScreenInfo_screen(PyObject
*self
, PyObject
*args
) {
9037 PyObject
*resultobj
;
9038 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
9039 unsigned int result
;
9040 PyObject
* obj0
= 0 ;
9042 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_screen",&obj0
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9044 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->screen();
9046 resultobj
= PyInt_FromLong((long)result
);
9053 static PyObject
*_wrap_ScreenInfo_rect(PyObject
*self
, PyObject
*args
) {
9054 PyObject
*resultobj
;
9055 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
9057 PyObject
* obj0
= 0 ;
9059 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rect",&obj0
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9062 otk::Rect
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->rect();
9063 result
= (otk::Rect
*) &_result_ref
;
9066 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
9073 static PyObject
*_wrap_ScreenInfo_width(PyObject
*self
, PyObject
*args
) {
9074 PyObject
*resultobj
;
9075 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
9076 unsigned int result
;
9077 PyObject
* obj0
= 0 ;
9079 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_width",&obj0
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9081 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->width();
9083 resultobj
= PyInt_FromLong((long)result
);
9090 static PyObject
*_wrap_ScreenInfo_height(PyObject
*self
, PyObject
*args
) {
9091 PyObject
*resultobj
;
9092 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
9093 unsigned int result
;
9094 PyObject
* obj0
= 0 ;
9096 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_height",&obj0
)) goto fail
;
9097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9098 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->height();
9100 resultobj
= PyInt_FromLong((long)result
);
9107 static PyObject
*_wrap_ScreenInfo_displayString(PyObject
*self
, PyObject
*args
) {
9108 PyObject
*resultobj
;
9109 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
9110 std::string
*result
;
9111 PyObject
* obj0
= 0 ;
9113 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_displayString",&obj0
)) goto fail
;
9114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9116 std::string
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->displayString();
9117 result
= (std::string
*) &_result_ref
;
9121 resultobj
= PyString_FromString(result
->c_str());
9129 static PyObject
*_wrap_delete_ScreenInfo(PyObject
*self
, PyObject
*args
) {
9130 PyObject
*resultobj
;
9131 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9134 if(!PyArg_ParseTuple(args
,(char *)"O:delete_ScreenInfo",&obj0
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9138 Py_INCREF(Py_None
); resultobj
= Py_None
;
9145 static PyObject
* ScreenInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9148 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo
, obj
);
9150 return Py_BuildValue((char *)"");
9152 static PyObject
*_wrap_Strut_top_set(PyObject
*self
, PyObject
*args
) {
9153 PyObject
*resultobj
;
9154 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9159 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_top_set",&obj0
,&obj1
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9161 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9163 if (arg1
) (arg1
)->top
= arg2
;
9165 Py_INCREF(Py_None
); resultobj
= Py_None
;
9172 static PyObject
*_wrap_Strut_top_get(PyObject
*self
, PyObject
*args
) {
9173 PyObject
*resultobj
;
9174 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9175 unsigned int result
;
9176 PyObject
* obj0
= 0 ;
9178 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_top_get",&obj0
)) goto fail
;
9179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9180 result
= (unsigned int) ((arg1
)->top
);
9182 resultobj
= PyInt_FromLong((long)result
);
9189 static PyObject
*_wrap_Strut_bottom_set(PyObject
*self
, PyObject
*args
) {
9190 PyObject
*resultobj
;
9191 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9193 PyObject
* obj0
= 0 ;
9194 PyObject
* obj1
= 0 ;
9196 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_bottom_set",&obj0
,&obj1
)) goto fail
;
9197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9198 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9200 if (arg1
) (arg1
)->bottom
= arg2
;
9202 Py_INCREF(Py_None
); resultobj
= Py_None
;
9209 static PyObject
*_wrap_Strut_bottom_get(PyObject
*self
, PyObject
*args
) {
9210 PyObject
*resultobj
;
9211 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9212 unsigned int result
;
9213 PyObject
* obj0
= 0 ;
9215 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_bottom_get",&obj0
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9217 result
= (unsigned int) ((arg1
)->bottom
);
9219 resultobj
= PyInt_FromLong((long)result
);
9226 static PyObject
*_wrap_Strut_left_set(PyObject
*self
, PyObject
*args
) {
9227 PyObject
*resultobj
;
9228 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9233 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_left_set",&obj0
,&obj1
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9235 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9237 if (arg1
) (arg1
)->left
= arg2
;
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
*_wrap_Strut_left_get(PyObject
*self
, PyObject
*args
) {
9247 PyObject
*resultobj
;
9248 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9249 unsigned int result
;
9250 PyObject
* obj0
= 0 ;
9252 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_left_get",&obj0
)) goto fail
;
9253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9254 result
= (unsigned int) ((arg1
)->left
);
9256 resultobj
= PyInt_FromLong((long)result
);
9263 static PyObject
*_wrap_Strut_right_set(PyObject
*self
, PyObject
*args
) {
9264 PyObject
*resultobj
;
9265 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9267 PyObject
* obj0
= 0 ;
9268 PyObject
* obj1
= 0 ;
9270 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_right_set",&obj0
,&obj1
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9272 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9274 if (arg1
) (arg1
)->right
= arg2
;
9276 Py_INCREF(Py_None
); resultobj
= Py_None
;
9283 static PyObject
*_wrap_Strut_right_get(PyObject
*self
, PyObject
*args
) {
9284 PyObject
*resultobj
;
9285 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9286 unsigned int result
;
9287 PyObject
* obj0
= 0 ;
9289 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_right_get",&obj0
)) goto fail
;
9290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9291 result
= (unsigned int) ((arg1
)->right
);
9293 resultobj
= PyInt_FromLong((long)result
);
9300 static PyObject
*_wrap_new_Strut__SWIG_0(PyObject
*self
, PyObject
*args
) {
9301 PyObject
*resultobj
;
9304 if(!PyArg_ParseTuple(args
,(char *)":new_Strut")) goto fail
;
9305 result
= (otk::Strut
*)new otk::Strut();
9307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
9314 static PyObject
*_wrap_new_Strut__SWIG_1(PyObject
*self
, PyObject
*args
) {
9315 PyObject
*resultobj
;
9322 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Strut",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
9323 result
= (otk::Strut
*)new otk::Strut(arg1
,arg2
,arg3
,arg4
);
9325 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
9332 static PyObject
*_wrap_new_Strut(PyObject
*self
, PyObject
*args
) {
9337 argc
= PyObject_Length(args
);
9338 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
9339 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9342 return _wrap_new_Strut__SWIG_0(self
,args
);
9347 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
9351 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
9355 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
9359 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
9362 return _wrap_new_Strut__SWIG_1(self
,args
);
9369 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Strut'");
9374 static PyObject
*_wrap_delete_Strut(PyObject
*self
, PyObject
*args
) {
9375 PyObject
*resultobj
;
9376 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9379 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Strut",&obj0
)) goto fail
;
9380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9383 Py_INCREF(Py_None
); resultobj
= Py_None
;
9390 static PyObject
* Strut_swigregister(PyObject
*self
, PyObject
*args
) {
9392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9393 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut
, obj
);
9395 return Py_BuildValue((char *)"");
9397 static PyObject
*_wrap_PixmapMask_mask_set(PyObject
*self
, PyObject
*args
) {
9398 PyObject
*resultobj
;
9399 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9402 PyObject
* obj0
= 0 ;
9403 PyObject
* obj1
= 0 ;
9405 if(!PyArg_ParseTuple(args
,(char *)"OO:PixmapMask_mask_set",&obj0
,&obj1
)) goto fail
;
9406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9407 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Pixmap
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
9409 if (arg1
) (arg1
)->mask
= arg2
;
9411 Py_INCREF(Py_None
); resultobj
= Py_None
;
9418 static PyObject
*_wrap_PixmapMask_mask_get(PyObject
*self
, PyObject
*args
) {
9419 PyObject
*resultobj
;
9420 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9422 PyObject
* obj0
= 0 ;
9424 if(!PyArg_ParseTuple(args
,(char *)"O:PixmapMask_mask_get",&obj0
)) goto fail
;
9425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9426 result
= ((arg1
)->mask
);
9430 resultptr
= new Pixmap((Pixmap
&) result
);
9431 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Pixmap
, 1);
9439 static PyObject
*_wrap_PixmapMask_w_set(PyObject
*self
, PyObject
*args
) {
9440 PyObject
*resultobj
;
9441 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9446 if(!PyArg_ParseTuple(args
,(char *)"OO:PixmapMask_w_set",&obj0
,&obj1
)) goto fail
;
9447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9448 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9450 if (arg1
) (arg1
)->w
= arg2
;
9452 Py_INCREF(Py_None
); resultobj
= Py_None
;
9459 static PyObject
*_wrap_PixmapMask_w_get(PyObject
*self
, PyObject
*args
) {
9460 PyObject
*resultobj
;
9461 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9462 unsigned int result
;
9463 PyObject
* obj0
= 0 ;
9465 if(!PyArg_ParseTuple(args
,(char *)"O:PixmapMask_w_get",&obj0
)) goto fail
;
9466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9467 result
= (unsigned int) ((arg1
)->w
);
9469 resultobj
= PyInt_FromLong((long)result
);
9476 static PyObject
*_wrap_PixmapMask_h_set(PyObject
*self
, PyObject
*args
) {
9477 PyObject
*resultobj
;
9478 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9480 PyObject
* obj0
= 0 ;
9481 PyObject
* obj1
= 0 ;
9483 if(!PyArg_ParseTuple(args
,(char *)"OO:PixmapMask_h_set",&obj0
,&obj1
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9485 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9487 if (arg1
) (arg1
)->h
= arg2
;
9489 Py_INCREF(Py_None
); resultobj
= Py_None
;
9496 static PyObject
*_wrap_PixmapMask_h_get(PyObject
*self
, PyObject
*args
) {
9497 PyObject
*resultobj
;
9498 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9499 unsigned int result
;
9500 PyObject
* obj0
= 0 ;
9502 if(!PyArg_ParseTuple(args
,(char *)"O:PixmapMask_h_get",&obj0
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9504 result
= (unsigned int) ((arg1
)->h
);
9506 resultobj
= PyInt_FromLong((long)result
);
9513 static PyObject
*_wrap_new_PixmapMask(PyObject
*self
, PyObject
*args
) {
9514 PyObject
*resultobj
;
9515 otk::PixmapMask
*result
;
9517 if(!PyArg_ParseTuple(args
,(char *)":new_PixmapMask")) goto fail
;
9518 result
= (otk::PixmapMask
*)new otk::PixmapMask();
9520 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 1);
9527 static PyObject
*_wrap_delete_PixmapMask(PyObject
*self
, PyObject
*args
) {
9528 PyObject
*resultobj
;
9529 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9530 PyObject
* obj0
= 0 ;
9532 if(!PyArg_ParseTuple(args
,(char *)"O:delete_PixmapMask",&obj0
)) goto fail
;
9533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9536 Py_INCREF(Py_None
); resultobj
= Py_None
;
9543 static PyObject
* PixmapMask_swigregister(PyObject
*self
, PyObject
*args
) {
9545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9546 SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask
, obj
);
9548 return Py_BuildValue((char *)"");
9550 static PyObject
*_wrap_Style_image_control_set(PyObject
*self
, PyObject
*args
) {
9551 PyObject
*resultobj
;
9552 otk::Style
*arg1
= (otk::Style
*) 0 ;
9553 otk::BImageControl
*arg2
= (otk::BImageControl
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9557 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_image_control_set",&obj0
,&obj1
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9559 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
9560 if (arg1
) (arg1
)->image_control
= arg2
;
9562 Py_INCREF(Py_None
); resultobj
= Py_None
;
9569 static PyObject
*_wrap_Style_image_control_get(PyObject
*self
, PyObject
*args
) {
9570 PyObject
*resultobj
;
9571 otk::Style
*arg1
= (otk::Style
*) 0 ;
9572 otk::BImageControl
*result
;
9573 PyObject
* obj0
= 0 ;
9575 if(!PyArg_ParseTuple(args
,(char *)"O:Style_image_control_get",&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9577 result
= (otk::BImageControl
*) ((arg1
)->image_control
);
9579 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BImageControl
, 0);
9586 static PyObject
*_wrap_Style_l_text_focus_set(PyObject
*self
, PyObject
*args
) {
9587 PyObject
*resultobj
;
9588 otk::Style
*arg1
= (otk::Style
*) 0 ;
9589 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9591 PyObject
* obj1
= 0 ;
9593 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_l_text_focus_set",&obj0
,&obj1
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9596 if (arg1
) (arg1
)->l_text_focus
= *arg2
;
9598 Py_INCREF(Py_None
); resultobj
= Py_None
;
9605 static PyObject
*_wrap_Style_l_text_focus_get(PyObject
*self
, PyObject
*args
) {
9606 PyObject
*resultobj
;
9607 otk::Style
*arg1
= (otk::Style
*) 0 ;
9608 otk::BColor
*result
;
9609 PyObject
* obj0
= 0 ;
9611 if(!PyArg_ParseTuple(args
,(char *)"O:Style_l_text_focus_get",&obj0
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9613 result
= (otk::BColor
*)& ((arg1
)->l_text_focus
);
9615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
9622 static PyObject
*_wrap_Style_l_text_unfocus_set(PyObject
*self
, PyObject
*args
) {
9623 PyObject
*resultobj
;
9624 otk::Style
*arg1
= (otk::Style
*) 0 ;
9625 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
9626 PyObject
* obj0
= 0 ;
9627 PyObject
* obj1
= 0 ;
9629 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_l_text_unfocus_set",&obj0
,&obj1
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9632 if (arg1
) (arg1
)->l_text_unfocus
= *arg2
;
9634 Py_INCREF(Py_None
); resultobj
= Py_None
;
9641 static PyObject
*_wrap_Style_l_text_unfocus_get(PyObject
*self
, PyObject
*args
) {
9642 PyObject
*resultobj
;
9643 otk::Style
*arg1
= (otk::Style
*) 0 ;
9644 otk::BColor
*result
;
9645 PyObject
* obj0
= 0 ;
9647 if(!PyArg_ParseTuple(args
,(char *)"O:Style_l_text_unfocus_get",&obj0
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9649 result
= (otk::BColor
*)& ((arg1
)->l_text_unfocus
);
9651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
9658 static PyObject
*_wrap_Style_b_pic_focus_set(PyObject
*self
, PyObject
*args
) {
9659 PyObject
*resultobj
;
9660 otk::Style
*arg1
= (otk::Style
*) 0 ;
9661 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9665 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_pic_focus_set",&obj0
,&obj1
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9668 if (arg1
) (arg1
)->b_pic_focus
= *arg2
;
9670 Py_INCREF(Py_None
); resultobj
= Py_None
;
9677 static PyObject
*_wrap_Style_b_pic_focus_get(PyObject
*self
, PyObject
*args
) {
9678 PyObject
*resultobj
;
9679 otk::Style
*arg1
= (otk::Style
*) 0 ;
9680 otk::BColor
*result
;
9681 PyObject
* obj0
= 0 ;
9683 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_pic_focus_get",&obj0
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9685 result
= (otk::BColor
*)& ((arg1
)->b_pic_focus
);
9687 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
9694 static PyObject
*_wrap_Style_b_pic_unfocus_set(PyObject
*self
, PyObject
*args
) {
9695 PyObject
*resultobj
;
9696 otk::Style
*arg1
= (otk::Style
*) 0 ;
9697 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9701 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_pic_unfocus_set",&obj0
,&obj1
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9704 if (arg1
) (arg1
)->b_pic_unfocus
= *arg2
;
9706 Py_INCREF(Py_None
); resultobj
= Py_None
;
9713 static PyObject
*_wrap_Style_b_pic_unfocus_get(PyObject
*self
, PyObject
*args
) {
9714 PyObject
*resultobj
;
9715 otk::Style
*arg1
= (otk::Style
*) 0 ;
9716 otk::BColor
*result
;
9717 PyObject
* obj0
= 0 ;
9719 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_pic_unfocus_get",&obj0
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9721 result
= (otk::BColor
*)& ((arg1
)->b_pic_unfocus
);
9723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
9730 static PyObject
*_wrap_Style_border_color_set(PyObject
*self
, PyObject
*args
) {
9731 PyObject
*resultobj
;
9732 otk::Style
*arg1
= (otk::Style
*) 0 ;
9733 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9737 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_border_color_set",&obj0
,&obj1
)) goto fail
;
9738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9739 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9740 if (arg1
) (arg1
)->border_color
= *arg2
;
9742 Py_INCREF(Py_None
); resultobj
= Py_None
;
9749 static PyObject
*_wrap_Style_border_color_get(PyObject
*self
, PyObject
*args
) {
9750 PyObject
*resultobj
;
9751 otk::Style
*arg1
= (otk::Style
*) 0 ;
9752 otk::BColor
*result
;
9753 PyObject
* obj0
= 0 ;
9755 if(!PyArg_ParseTuple(args
,(char *)"O:Style_border_color_get",&obj0
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9757 result
= (otk::BColor
*)& ((arg1
)->border_color
);
9759 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
9766 static PyObject
*_wrap_Style_font_set(PyObject
*self
, PyObject
*args
) {
9767 PyObject
*resultobj
;
9768 otk::Style
*arg1
= (otk::Style
*) 0 ;
9769 otk::BFont
*arg2
= (otk::BFont
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9773 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_font_set",&obj0
,&obj1
)) goto fail
;
9774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9775 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
9776 if (arg1
) (arg1
)->font
= arg2
;
9778 Py_INCREF(Py_None
); resultobj
= Py_None
;
9785 static PyObject
*_wrap_Style_font_get(PyObject
*self
, PyObject
*args
) {
9786 PyObject
*resultobj
;
9787 otk::Style
*arg1
= (otk::Style
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9791 if(!PyArg_ParseTuple(args
,(char *)"O:Style_font_get",&obj0
)) goto fail
;
9792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9793 result
= (otk::BFont
*) ((arg1
)->font
);
9795 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BFont
, 0);
9802 static PyObject
*_wrap_Style_f_focus_set(PyObject
*self
, PyObject
*args
) {
9803 PyObject
*resultobj
;
9804 otk::Style
*arg1
= (otk::Style
*) 0 ;
9805 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9807 PyObject
* obj1
= 0 ;
9809 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_f_focus_set",&obj0
,&obj1
)) goto fail
;
9810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9811 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9812 if (arg1
) (arg1
)->f_focus
= *arg2
;
9814 Py_INCREF(Py_None
); resultobj
= Py_None
;
9821 static PyObject
*_wrap_Style_f_focus_get(PyObject
*self
, PyObject
*args
) {
9822 PyObject
*resultobj
;
9823 otk::Style
*arg1
= (otk::Style
*) 0 ;
9824 otk::BTexture
*result
;
9825 PyObject
* obj0
= 0 ;
9827 if(!PyArg_ParseTuple(args
,(char *)"O:Style_f_focus_get",&obj0
)) goto fail
;
9828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9829 result
= (otk::BTexture
*)& ((arg1
)->f_focus
);
9831 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9838 static PyObject
*_wrap_Style_f_unfocus_set(PyObject
*self
, PyObject
*args
) {
9839 PyObject
*resultobj
;
9840 otk::Style
*arg1
= (otk::Style
*) 0 ;
9841 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9845 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_f_unfocus_set",&obj0
,&obj1
)) goto fail
;
9846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9848 if (arg1
) (arg1
)->f_unfocus
= *arg2
;
9850 Py_INCREF(Py_None
); resultobj
= Py_None
;
9857 static PyObject
*_wrap_Style_f_unfocus_get(PyObject
*self
, PyObject
*args
) {
9858 PyObject
*resultobj
;
9859 otk::Style
*arg1
= (otk::Style
*) 0 ;
9860 otk::BTexture
*result
;
9861 PyObject
* obj0
= 0 ;
9863 if(!PyArg_ParseTuple(args
,(char *)"O:Style_f_unfocus_get",&obj0
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9865 result
= (otk::BTexture
*)& ((arg1
)->f_unfocus
);
9867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9874 static PyObject
*_wrap_Style_t_focus_set(PyObject
*self
, PyObject
*args
) {
9875 PyObject
*resultobj
;
9876 otk::Style
*arg1
= (otk::Style
*) 0 ;
9877 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9881 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_t_focus_set",&obj0
,&obj1
)) goto fail
;
9882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9883 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9884 if (arg1
) (arg1
)->t_focus
= *arg2
;
9886 Py_INCREF(Py_None
); resultobj
= Py_None
;
9893 static PyObject
*_wrap_Style_t_focus_get(PyObject
*self
, PyObject
*args
) {
9894 PyObject
*resultobj
;
9895 otk::Style
*arg1
= (otk::Style
*) 0 ;
9896 otk::BTexture
*result
;
9897 PyObject
* obj0
= 0 ;
9899 if(!PyArg_ParseTuple(args
,(char *)"O:Style_t_focus_get",&obj0
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9901 result
= (otk::BTexture
*)& ((arg1
)->t_focus
);
9903 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9910 static PyObject
*_wrap_Style_t_unfocus_set(PyObject
*self
, PyObject
*args
) {
9911 PyObject
*resultobj
;
9912 otk::Style
*arg1
= (otk::Style
*) 0 ;
9913 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9915 PyObject
* obj1
= 0 ;
9917 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_t_unfocus_set",&obj0
,&obj1
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9919 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9920 if (arg1
) (arg1
)->t_unfocus
= *arg2
;
9922 Py_INCREF(Py_None
); resultobj
= Py_None
;
9929 static PyObject
*_wrap_Style_t_unfocus_get(PyObject
*self
, PyObject
*args
) {
9930 PyObject
*resultobj
;
9931 otk::Style
*arg1
= (otk::Style
*) 0 ;
9932 otk::BTexture
*result
;
9933 PyObject
* obj0
= 0 ;
9935 if(!PyArg_ParseTuple(args
,(char *)"O:Style_t_unfocus_get",&obj0
)) goto fail
;
9936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9937 result
= (otk::BTexture
*)& ((arg1
)->t_unfocus
);
9939 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9946 static PyObject
*_wrap_Style_l_focus_set(PyObject
*self
, PyObject
*args
) {
9947 PyObject
*resultobj
;
9948 otk::Style
*arg1
= (otk::Style
*) 0 ;
9949 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9951 PyObject
* obj1
= 0 ;
9953 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_l_focus_set",&obj0
,&obj1
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9956 if (arg1
) (arg1
)->l_focus
= *arg2
;
9958 Py_INCREF(Py_None
); resultobj
= Py_None
;
9965 static PyObject
*_wrap_Style_l_focus_get(PyObject
*self
, PyObject
*args
) {
9966 PyObject
*resultobj
;
9967 otk::Style
*arg1
= (otk::Style
*) 0 ;
9968 otk::BTexture
*result
;
9969 PyObject
* obj0
= 0 ;
9971 if(!PyArg_ParseTuple(args
,(char *)"O:Style_l_focus_get",&obj0
)) goto fail
;
9972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9973 result
= (otk::BTexture
*)& ((arg1
)->l_focus
);
9975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9982 static PyObject
*_wrap_Style_l_unfocus_set(PyObject
*self
, PyObject
*args
) {
9983 PyObject
*resultobj
;
9984 otk::Style
*arg1
= (otk::Style
*) 0 ;
9985 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9986 PyObject
* obj0
= 0 ;
9987 PyObject
* obj1
= 0 ;
9989 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_l_unfocus_set",&obj0
,&obj1
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9992 if (arg1
) (arg1
)->l_unfocus
= *arg2
;
9994 Py_INCREF(Py_None
); resultobj
= Py_None
;
10001 static PyObject
*_wrap_Style_l_unfocus_get(PyObject
*self
, PyObject
*args
) {
10002 PyObject
*resultobj
;
10003 otk::Style
*arg1
= (otk::Style
*) 0 ;
10004 otk::BTexture
*result
;
10005 PyObject
* obj0
= 0 ;
10007 if(!PyArg_ParseTuple(args
,(char *)"O:Style_l_unfocus_get",&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10009 result
= (otk::BTexture
*)& ((arg1
)->l_unfocus
);
10011 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10018 static PyObject
*_wrap_Style_h_focus_set(PyObject
*self
, PyObject
*args
) {
10019 PyObject
*resultobj
;
10020 otk::Style
*arg1
= (otk::Style
*) 0 ;
10021 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10022 PyObject
* obj0
= 0 ;
10023 PyObject
* obj1
= 0 ;
10025 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_h_focus_set",&obj0
,&obj1
)) goto fail
;
10026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10028 if (arg1
) (arg1
)->h_focus
= *arg2
;
10030 Py_INCREF(Py_None
); resultobj
= Py_None
;
10037 static PyObject
*_wrap_Style_h_focus_get(PyObject
*self
, PyObject
*args
) {
10038 PyObject
*resultobj
;
10039 otk::Style
*arg1
= (otk::Style
*) 0 ;
10040 otk::BTexture
*result
;
10041 PyObject
* obj0
= 0 ;
10043 if(!PyArg_ParseTuple(args
,(char *)"O:Style_h_focus_get",&obj0
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10045 result
= (otk::BTexture
*)& ((arg1
)->h_focus
);
10047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10054 static PyObject
*_wrap_Style_h_unfocus_set(PyObject
*self
, PyObject
*args
) {
10055 PyObject
*resultobj
;
10056 otk::Style
*arg1
= (otk::Style
*) 0 ;
10057 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10058 PyObject
* obj0
= 0 ;
10059 PyObject
* obj1
= 0 ;
10061 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_h_unfocus_set",&obj0
,&obj1
)) goto fail
;
10062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10064 if (arg1
) (arg1
)->h_unfocus
= *arg2
;
10066 Py_INCREF(Py_None
); resultobj
= Py_None
;
10073 static PyObject
*_wrap_Style_h_unfocus_get(PyObject
*self
, PyObject
*args
) {
10074 PyObject
*resultobj
;
10075 otk::Style
*arg1
= (otk::Style
*) 0 ;
10076 otk::BTexture
*result
;
10077 PyObject
* obj0
= 0 ;
10079 if(!PyArg_ParseTuple(args
,(char *)"O:Style_h_unfocus_get",&obj0
)) goto fail
;
10080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10081 result
= (otk::BTexture
*)& ((arg1
)->h_unfocus
);
10083 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10090 static PyObject
*_wrap_Style_b_focus_set(PyObject
*self
, PyObject
*args
) {
10091 PyObject
*resultobj
;
10092 otk::Style
*arg1
= (otk::Style
*) 0 ;
10093 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10095 PyObject
* obj1
= 0 ;
10097 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_focus_set",&obj0
,&obj1
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10099 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10100 if (arg1
) (arg1
)->b_focus
= *arg2
;
10102 Py_INCREF(Py_None
); resultobj
= Py_None
;
10109 static PyObject
*_wrap_Style_b_focus_get(PyObject
*self
, PyObject
*args
) {
10110 PyObject
*resultobj
;
10111 otk::Style
*arg1
= (otk::Style
*) 0 ;
10112 otk::BTexture
*result
;
10113 PyObject
* obj0
= 0 ;
10115 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_focus_get",&obj0
)) goto fail
;
10116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10117 result
= (otk::BTexture
*)& ((arg1
)->b_focus
);
10119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10126 static PyObject
*_wrap_Style_b_unfocus_set(PyObject
*self
, PyObject
*args
) {
10127 PyObject
*resultobj
;
10128 otk::Style
*arg1
= (otk::Style
*) 0 ;
10129 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10133 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_unfocus_set",&obj0
,&obj1
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10136 if (arg1
) (arg1
)->b_unfocus
= *arg2
;
10138 Py_INCREF(Py_None
); resultobj
= Py_None
;
10145 static PyObject
*_wrap_Style_b_unfocus_get(PyObject
*self
, PyObject
*args
) {
10146 PyObject
*resultobj
;
10147 otk::Style
*arg1
= (otk::Style
*) 0 ;
10148 otk::BTexture
*result
;
10149 PyObject
* obj0
= 0 ;
10151 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_unfocus_get",&obj0
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10153 result
= (otk::BTexture
*)& ((arg1
)->b_unfocus
);
10155 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10162 static PyObject
*_wrap_Style_b_pressed_focus_set(PyObject
*self
, PyObject
*args
) {
10163 PyObject
*resultobj
;
10164 otk::Style
*arg1
= (otk::Style
*) 0 ;
10165 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10166 PyObject
* obj0
= 0 ;
10167 PyObject
* obj1
= 0 ;
10169 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_pressed_focus_set",&obj0
,&obj1
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10172 if (arg1
) (arg1
)->b_pressed_focus
= *arg2
;
10174 Py_INCREF(Py_None
); resultobj
= Py_None
;
10181 static PyObject
*_wrap_Style_b_pressed_focus_get(PyObject
*self
, PyObject
*args
) {
10182 PyObject
*resultobj
;
10183 otk::Style
*arg1
= (otk::Style
*) 0 ;
10184 otk::BTexture
*result
;
10185 PyObject
* obj0
= 0 ;
10187 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_pressed_focus_get",&obj0
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10189 result
= (otk::BTexture
*)& ((arg1
)->b_pressed_focus
);
10191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10198 static PyObject
*_wrap_Style_b_pressed_unfocus_set(PyObject
*self
, PyObject
*args
) {
10199 PyObject
*resultobj
;
10200 otk::Style
*arg1
= (otk::Style
*) 0 ;
10201 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10205 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_pressed_unfocus_set",&obj0
,&obj1
)) goto fail
;
10206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10208 if (arg1
) (arg1
)->b_pressed_unfocus
= *arg2
;
10210 Py_INCREF(Py_None
); resultobj
= Py_None
;
10217 static PyObject
*_wrap_Style_b_pressed_unfocus_get(PyObject
*self
, PyObject
*args
) {
10218 PyObject
*resultobj
;
10219 otk::Style
*arg1
= (otk::Style
*) 0 ;
10220 otk::BTexture
*result
;
10221 PyObject
* obj0
= 0 ;
10223 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_pressed_unfocus_get",&obj0
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10225 result
= (otk::BTexture
*)& ((arg1
)->b_pressed_unfocus
);
10227 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10234 static PyObject
*_wrap_Style_g_focus_set(PyObject
*self
, PyObject
*args
) {
10235 PyObject
*resultobj
;
10236 otk::Style
*arg1
= (otk::Style
*) 0 ;
10237 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10241 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_g_focus_set",&obj0
,&obj1
)) goto fail
;
10242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10244 if (arg1
) (arg1
)->g_focus
= *arg2
;
10246 Py_INCREF(Py_None
); resultobj
= Py_None
;
10253 static PyObject
*_wrap_Style_g_focus_get(PyObject
*self
, PyObject
*args
) {
10254 PyObject
*resultobj
;
10255 otk::Style
*arg1
= (otk::Style
*) 0 ;
10256 otk::BTexture
*result
;
10257 PyObject
* obj0
= 0 ;
10259 if(!PyArg_ParseTuple(args
,(char *)"O:Style_g_focus_get",&obj0
)) goto fail
;
10260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10261 result
= (otk::BTexture
*)& ((arg1
)->g_focus
);
10263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10270 static PyObject
*_wrap_Style_g_unfocus_set(PyObject
*self
, PyObject
*args
) {
10271 PyObject
*resultobj
;
10272 otk::Style
*arg1
= (otk::Style
*) 0 ;
10273 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10277 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_g_unfocus_set",&obj0
,&obj1
)) goto fail
;
10278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10279 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10280 if (arg1
) (arg1
)->g_unfocus
= *arg2
;
10282 Py_INCREF(Py_None
); resultobj
= Py_None
;
10289 static PyObject
*_wrap_Style_g_unfocus_get(PyObject
*self
, PyObject
*args
) {
10290 PyObject
*resultobj
;
10291 otk::Style
*arg1
= (otk::Style
*) 0 ;
10292 otk::BTexture
*result
;
10293 PyObject
* obj0
= 0 ;
10295 if(!PyArg_ParseTuple(args
,(char *)"O:Style_g_unfocus_get",&obj0
)) goto fail
;
10296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10297 result
= (otk::BTexture
*)& ((arg1
)->g_unfocus
);
10299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10306 static PyObject
*_wrap_Style_close_button_set(PyObject
*self
, PyObject
*args
) {
10307 PyObject
*resultobj
;
10308 otk::Style
*arg1
= (otk::Style
*) 0 ;
10309 otk::PixmapMask
*arg2
= (otk::PixmapMask
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10313 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_close_button_set",&obj0
,&obj1
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10315 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10316 if (arg1
) (arg1
)->close_button
= *arg2
;
10318 Py_INCREF(Py_None
); resultobj
= Py_None
;
10325 static PyObject
*_wrap_Style_close_button_get(PyObject
*self
, PyObject
*args
) {
10326 PyObject
*resultobj
;
10327 otk::Style
*arg1
= (otk::Style
*) 0 ;
10328 otk::PixmapMask
*result
;
10329 PyObject
* obj0
= 0 ;
10331 if(!PyArg_ParseTuple(args
,(char *)"O:Style_close_button_get",&obj0
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10333 result
= (otk::PixmapMask
*)& ((arg1
)->close_button
);
10335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
10342 static PyObject
*_wrap_Style_max_button_set(PyObject
*self
, PyObject
*args
) {
10343 PyObject
*resultobj
;
10344 otk::Style
*arg1
= (otk::Style
*) 0 ;
10345 otk::PixmapMask
*arg2
= (otk::PixmapMask
*) 0 ;
10346 PyObject
* obj0
= 0 ;
10347 PyObject
* obj1
= 0 ;
10349 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_max_button_set",&obj0
,&obj1
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10352 if (arg1
) (arg1
)->max_button
= *arg2
;
10354 Py_INCREF(Py_None
); resultobj
= Py_None
;
10361 static PyObject
*_wrap_Style_max_button_get(PyObject
*self
, PyObject
*args
) {
10362 PyObject
*resultobj
;
10363 otk::Style
*arg1
= (otk::Style
*) 0 ;
10364 otk::PixmapMask
*result
;
10365 PyObject
* obj0
= 0 ;
10367 if(!PyArg_ParseTuple(args
,(char *)"O:Style_max_button_get",&obj0
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10369 result
= (otk::PixmapMask
*)& ((arg1
)->max_button
);
10371 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
10378 static PyObject
*_wrap_Style_icon_button_set(PyObject
*self
, PyObject
*args
) {
10379 PyObject
*resultobj
;
10380 otk::Style
*arg1
= (otk::Style
*) 0 ;
10381 otk::PixmapMask
*arg2
= (otk::PixmapMask
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 PyObject
* obj1
= 0 ;
10385 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_icon_button_set",&obj0
,&obj1
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10388 if (arg1
) (arg1
)->icon_button
= *arg2
;
10390 Py_INCREF(Py_None
); resultobj
= Py_None
;
10397 static PyObject
*_wrap_Style_icon_button_get(PyObject
*self
, PyObject
*args
) {
10398 PyObject
*resultobj
;
10399 otk::Style
*arg1
= (otk::Style
*) 0 ;
10400 otk::PixmapMask
*result
;
10401 PyObject
* obj0
= 0 ;
10403 if(!PyArg_ParseTuple(args
,(char *)"O:Style_icon_button_get",&obj0
)) goto fail
;
10404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10405 result
= (otk::PixmapMask
*)& ((arg1
)->icon_button
);
10407 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
10414 static PyObject
*_wrap_Style_stick_button_set(PyObject
*self
, PyObject
*args
) {
10415 PyObject
*resultobj
;
10416 otk::Style
*arg1
= (otk::Style
*) 0 ;
10417 otk::PixmapMask
*arg2
= (otk::PixmapMask
*) 0 ;
10418 PyObject
* obj0
= 0 ;
10419 PyObject
* obj1
= 0 ;
10421 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_stick_button_set",&obj0
,&obj1
)) goto fail
;
10422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10423 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10424 if (arg1
) (arg1
)->stick_button
= *arg2
;
10426 Py_INCREF(Py_None
); resultobj
= Py_None
;
10433 static PyObject
*_wrap_Style_stick_button_get(PyObject
*self
, PyObject
*args
) {
10434 PyObject
*resultobj
;
10435 otk::Style
*arg1
= (otk::Style
*) 0 ;
10436 otk::PixmapMask
*result
;
10437 PyObject
* obj0
= 0 ;
10439 if(!PyArg_ParseTuple(args
,(char *)"O:Style_stick_button_get",&obj0
)) goto fail
;
10440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10441 result
= (otk::PixmapMask
*)& ((arg1
)->stick_button
);
10443 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
10450 static PyObject
*_wrap_Style_justify_set(PyObject
*self
, PyObject
*args
) {
10451 PyObject
*resultobj
;
10452 otk::Style
*arg1
= (otk::Style
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10456 if(!PyArg_ParseTuple(args
,(char *)"Oi:Style_justify_set",&obj0
,&arg2
)) goto fail
;
10457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10458 if (arg1
) (arg1
)->justify
= (otk::Style::TextJustify
)arg2
;
10460 Py_INCREF(Py_None
); resultobj
= Py_None
;
10467 static PyObject
*_wrap_Style_justify_get(PyObject
*self
, PyObject
*args
) {
10468 PyObject
*resultobj
;
10469 otk::Style
*arg1
= (otk::Style
*) 0 ;
10471 PyObject
* obj0
= 0 ;
10473 if(!PyArg_ParseTuple(args
,(char *)"O:Style_justify_get",&obj0
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10475 result
= (int) ((arg1
)->justify
);
10477 resultobj
= PyInt_FromLong((long)result
);
10484 static PyObject
*_wrap_Style_bullet_type_set(PyObject
*self
, PyObject
*args
) {
10485 PyObject
*resultobj
;
10486 otk::Style
*arg1
= (otk::Style
*) 0 ;
10488 PyObject
* obj0
= 0 ;
10490 if(!PyArg_ParseTuple(args
,(char *)"Oi:Style_bullet_type_set",&obj0
,&arg2
)) goto fail
;
10491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10492 if (arg1
) (arg1
)->bullet_type
= (otk::Style::BulletType
)arg2
;
10494 Py_INCREF(Py_None
); resultobj
= Py_None
;
10501 static PyObject
*_wrap_Style_bullet_type_get(PyObject
*self
, PyObject
*args
) {
10502 PyObject
*resultobj
;
10503 otk::Style
*arg1
= (otk::Style
*) 0 ;
10505 PyObject
* obj0
= 0 ;
10507 if(!PyArg_ParseTuple(args
,(char *)"O:Style_bullet_type_get",&obj0
)) goto fail
;
10508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10509 result
= (int) ((arg1
)->bullet_type
);
10511 resultobj
= PyInt_FromLong((long)result
);
10518 static PyObject
*_wrap_Style_handle_width_set(PyObject
*self
, PyObject
*args
) {
10519 PyObject
*resultobj
;
10520 otk::Style
*arg1
= (otk::Style
*) 0 ;
10521 unsigned int arg2
;
10522 PyObject
* obj0
= 0 ;
10523 PyObject
* obj1
= 0 ;
10525 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_handle_width_set",&obj0
,&obj1
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10527 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10529 if (arg1
) (arg1
)->handle_width
= arg2
;
10531 Py_INCREF(Py_None
); resultobj
= Py_None
;
10538 static PyObject
*_wrap_Style_handle_width_get(PyObject
*self
, PyObject
*args
) {
10539 PyObject
*resultobj
;
10540 otk::Style
*arg1
= (otk::Style
*) 0 ;
10541 unsigned int result
;
10542 PyObject
* obj0
= 0 ;
10544 if(!PyArg_ParseTuple(args
,(char *)"O:Style_handle_width_get",&obj0
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10546 result
= (unsigned int) ((arg1
)->handle_width
);
10548 resultobj
= PyInt_FromLong((long)result
);
10555 static PyObject
*_wrap_Style_bevel_width_set(PyObject
*self
, PyObject
*args
) {
10556 PyObject
*resultobj
;
10557 otk::Style
*arg1
= (otk::Style
*) 0 ;
10558 unsigned int arg2
;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10562 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_bevel_width_set",&obj0
,&obj1
)) goto fail
;
10563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10564 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10566 if (arg1
) (arg1
)->bevel_width
= arg2
;
10568 Py_INCREF(Py_None
); resultobj
= Py_None
;
10575 static PyObject
*_wrap_Style_bevel_width_get(PyObject
*self
, PyObject
*args
) {
10576 PyObject
*resultobj
;
10577 otk::Style
*arg1
= (otk::Style
*) 0 ;
10578 unsigned int result
;
10579 PyObject
* obj0
= 0 ;
10581 if(!PyArg_ParseTuple(args
,(char *)"O:Style_bevel_width_get",&obj0
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10583 result
= (unsigned int) ((arg1
)->bevel_width
);
10585 resultobj
= PyInt_FromLong((long)result
);
10592 static PyObject
*_wrap_Style_frame_width_set(PyObject
*self
, PyObject
*args
) {
10593 PyObject
*resultobj
;
10594 otk::Style
*arg1
= (otk::Style
*) 0 ;
10595 unsigned int arg2
;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10599 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_frame_width_set",&obj0
,&obj1
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10601 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10603 if (arg1
) (arg1
)->frame_width
= arg2
;
10605 Py_INCREF(Py_None
); resultobj
= Py_None
;
10612 static PyObject
*_wrap_Style_frame_width_get(PyObject
*self
, PyObject
*args
) {
10613 PyObject
*resultobj
;
10614 otk::Style
*arg1
= (otk::Style
*) 0 ;
10615 unsigned int result
;
10616 PyObject
* obj0
= 0 ;
10618 if(!PyArg_ParseTuple(args
,(char *)"O:Style_frame_width_get",&obj0
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10620 result
= (unsigned int) ((arg1
)->frame_width
);
10622 resultobj
= PyInt_FromLong((long)result
);
10629 static PyObject
*_wrap_Style_border_width_set(PyObject
*self
, PyObject
*args
) {
10630 PyObject
*resultobj
;
10631 otk::Style
*arg1
= (otk::Style
*) 0 ;
10632 unsigned int arg2
;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10636 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_border_width_set",&obj0
,&obj1
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10638 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10640 if (arg1
) (arg1
)->border_width
= arg2
;
10642 Py_INCREF(Py_None
); resultobj
= Py_None
;
10649 static PyObject
*_wrap_Style_border_width_get(PyObject
*self
, PyObject
*args
) {
10650 PyObject
*resultobj
;
10651 otk::Style
*arg1
= (otk::Style
*) 0 ;
10652 unsigned int result
;
10653 PyObject
* obj0
= 0 ;
10655 if(!PyArg_ParseTuple(args
,(char *)"O:Style_border_width_get",&obj0
)) goto fail
;
10656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10657 result
= (unsigned int) ((arg1
)->border_width
);
10659 resultobj
= PyInt_FromLong((long)result
);
10666 static PyObject
*_wrap_Style_screen_number_set(PyObject
*self
, PyObject
*args
) {
10667 PyObject
*resultobj
;
10668 otk::Style
*arg1
= (otk::Style
*) 0 ;
10669 unsigned int arg2
;
10670 PyObject
* obj0
= 0 ;
10671 PyObject
* obj1
= 0 ;
10673 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_screen_number_set",&obj0
,&obj1
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10675 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10677 if (arg1
) (arg1
)->screen_number
= arg2
;
10679 Py_INCREF(Py_None
); resultobj
= Py_None
;
10686 static PyObject
*_wrap_Style_screen_number_get(PyObject
*self
, PyObject
*args
) {
10687 PyObject
*resultobj
;
10688 otk::Style
*arg1
= (otk::Style
*) 0 ;
10689 unsigned int result
;
10690 PyObject
* obj0
= 0 ;
10692 if(!PyArg_ParseTuple(args
,(char *)"O:Style_screen_number_get",&obj0
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10694 result
= (unsigned int) ((arg1
)->screen_number
);
10696 resultobj
= PyInt_FromLong((long)result
);
10703 static PyObject
*_wrap_Style_shadow_fonts_set(PyObject
*self
, PyObject
*args
) {
10704 PyObject
*resultobj
;
10705 otk::Style
*arg1
= (otk::Style
*) 0 ;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10710 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_shadow_fonts_set",&obj0
,&obj1
)) goto fail
;
10711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10712 arg2
= (bool) PyInt_AsLong(obj1
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10714 if (arg1
) (arg1
)->shadow_fonts
= arg2
;
10716 Py_INCREF(Py_None
); resultobj
= Py_None
;
10723 static PyObject
*_wrap_Style_shadow_fonts_get(PyObject
*self
, PyObject
*args
) {
10724 PyObject
*resultobj
;
10725 otk::Style
*arg1
= (otk::Style
*) 0 ;
10727 PyObject
* obj0
= 0 ;
10729 if(!PyArg_ParseTuple(args
,(char *)"O:Style_shadow_fonts_get",&obj0
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10731 result
= (bool) ((arg1
)->shadow_fonts
);
10733 resultobj
= PyInt_FromLong((long)result
);
10740 static PyObject
*_wrap_Style_aa_fonts_set(PyObject
*self
, PyObject
*args
) {
10741 PyObject
*resultobj
;
10742 otk::Style
*arg1
= (otk::Style
*) 0 ;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10747 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_aa_fonts_set",&obj0
,&obj1
)) goto fail
;
10748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10749 arg2
= (bool) PyInt_AsLong(obj1
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10751 if (arg1
) (arg1
)->aa_fonts
= arg2
;
10753 Py_INCREF(Py_None
); resultobj
= Py_None
;
10760 static PyObject
*_wrap_Style_aa_fonts_get(PyObject
*self
, PyObject
*args
) {
10761 PyObject
*resultobj
;
10762 otk::Style
*arg1
= (otk::Style
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10766 if(!PyArg_ParseTuple(args
,(char *)"O:Style_aa_fonts_get",&obj0
)) goto fail
;
10767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10768 result
= (bool) ((arg1
)->aa_fonts
);
10770 resultobj
= PyInt_FromLong((long)result
);
10777 static PyObject
*_wrap_new_Style__SWIG_0(PyObject
*self
, PyObject
*args
) {
10778 PyObject
*resultobj
;
10779 otk::Style
*result
;
10781 if(!PyArg_ParseTuple(args
,(char *)":new_Style")) goto fail
;
10782 result
= (otk::Style
*)new otk::Style();
10784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 1);
10791 static PyObject
*_wrap_new_Style__SWIG_1(PyObject
*self
, PyObject
*args
) {
10792 PyObject
*resultobj
;
10793 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
10794 otk::Style
*result
;
10795 PyObject
* obj0
= 0 ;
10797 if(!PyArg_ParseTuple(args
,(char *)"O:new_Style",&obj0
)) goto fail
;
10798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10799 result
= (otk::Style
*)new otk::Style(arg1
);
10801 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 1);
10808 static PyObject
*_wrap_new_Style(PyObject
*self
, PyObject
*args
) {
10813 argc
= PyObject_Length(args
);
10814 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
10815 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10818 return _wrap_new_Style__SWIG_0(self
,args
);
10824 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__BImageControl
, 0) == -1) {
10832 return _wrap_new_Style__SWIG_1(self
,args
);
10836 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Style'");
10841 static PyObject
*_wrap_delete_Style(PyObject
*self
, PyObject
*args
) {
10842 PyObject
*resultobj
;
10843 otk::Style
*arg1
= (otk::Style
*) 0 ;
10844 PyObject
* obj0
= 0 ;
10846 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Style",&obj0
)) goto fail
;
10847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10850 Py_INCREF(Py_None
); resultobj
= Py_None
;
10857 static PyObject
*_wrap_Style_readDatabaseMask(PyObject
*self
, PyObject
*args
) {
10858 PyObject
*resultobj
;
10859 otk::Style
*arg1
= (otk::Style
*) 0 ;
10860 std::string
*arg2
= 0 ;
10861 otk::PixmapMask
*arg3
= 0 ;
10862 otk::Configuration
*arg4
= 0 ;
10863 std::string temp2
;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 PyObject
* obj2
= 0 ;
10867 PyObject
* obj3
= 0 ;
10869 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Style_readDatabaseMask",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10872 if (PyString_Check(obj1
)) {
10873 temp2
= std::string(PyString_AsString(obj1
));
10876 SWIG_exception(SWIG_TypeError
, "string expected");
10879 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10880 if (arg3
== NULL
) {
10881 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10883 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10884 if (arg4
== NULL
) {
10885 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10887 (arg1
)->readDatabaseMask((std::string
const &)*arg2
,*arg3
,(otk::Configuration
const &)*arg4
);
10889 Py_INCREF(Py_None
); resultobj
= Py_None
;
10896 static PyObject
*_wrap_Style_readDatabaseTexture(PyObject
*self
, PyObject
*args
) {
10897 PyObject
*resultobj
;
10898 otk::Style
*arg1
= (otk::Style
*) 0 ;
10899 std::string
*arg2
= 0 ;
10900 std::string
*arg3
= 0 ;
10901 otk::Configuration
*arg4
= 0 ;
10902 bool arg5
= (bool) false ;
10903 otk::BTexture result
;
10904 std::string temp2
;
10905 std::string temp3
;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 PyObject
* obj2
= 0 ;
10909 PyObject
* obj3
= 0 ;
10910 PyObject
* obj4
= 0 ;
10912 if(!PyArg_ParseTuple(args
,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10915 if (PyString_Check(obj1
)) {
10916 temp2
= std::string(PyString_AsString(obj1
));
10919 SWIG_exception(SWIG_TypeError
, "string expected");
10923 if (PyString_Check(obj2
)) {
10924 temp3
= std::string(PyString_AsString(obj2
));
10927 SWIG_exception(SWIG_TypeError
, "string expected");
10930 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10931 if (arg4
== NULL
) {
10932 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10935 arg5
= (bool) PyInt_AsLong(obj4
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 result
= (arg1
)->readDatabaseTexture((std::string
const &)*arg2
,(std::string
const &)*arg3
,(otk::Configuration
const &)*arg4
,arg5
);
10941 otk::BTexture
* resultptr
;
10942 resultptr
= new otk::BTexture((otk::BTexture
&) result
);
10943 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__BTexture
, 1);
10951 static PyObject
*_wrap_Style_readDatabaseColor(PyObject
*self
, PyObject
*args
) {
10952 PyObject
*resultobj
;
10953 otk::Style
*arg1
= (otk::Style
*) 0 ;
10954 std::string
*arg2
= 0 ;
10955 std::string
*arg3
= 0 ;
10956 otk::Configuration
*arg4
= 0 ;
10957 otk::BColor result
;
10958 std::string temp2
;
10959 std::string temp3
;
10960 PyObject
* obj0
= 0 ;
10961 PyObject
* obj1
= 0 ;
10962 PyObject
* obj2
= 0 ;
10963 PyObject
* obj3
= 0 ;
10965 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Style_readDatabaseColor",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10968 if (PyString_Check(obj1
)) {
10969 temp2
= std::string(PyString_AsString(obj1
));
10972 SWIG_exception(SWIG_TypeError
, "string expected");
10976 if (PyString_Check(obj2
)) {
10977 temp3
= std::string(PyString_AsString(obj2
));
10980 SWIG_exception(SWIG_TypeError
, "string expected");
10983 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10984 if (arg4
== NULL
) {
10985 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10987 result
= (arg1
)->readDatabaseColor((std::string
const &)*arg2
,(std::string
const &)*arg3
,(otk::Configuration
const &)*arg4
);
10990 otk::BColor
* resultptr
;
10991 resultptr
= new otk::BColor((otk::BColor
&) result
);
10992 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__BColor
, 1);
11000 static PyObject
*_wrap_Style_readDatabaseFont(PyObject
*self
, PyObject
*args
) {
11001 PyObject
*resultobj
;
11002 otk::Style
*arg1
= (otk::Style
*) 0 ;
11003 std::string
*arg2
= 0 ;
11004 otk::Configuration
*arg3
= 0 ;
11005 otk::BFont
*result
;
11006 std::string temp2
;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 PyObject
* obj2
= 0 ;
11011 if(!PyArg_ParseTuple(args
,(char *)"OOO:Style_readDatabaseFont",&obj0
,&obj1
,&obj2
)) goto fail
;
11012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11014 if (PyString_Check(obj1
)) {
11015 temp2
= std::string(PyString_AsString(obj1
));
11018 SWIG_exception(SWIG_TypeError
, "string expected");
11021 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11022 if (arg3
== NULL
) {
11023 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11025 result
= (otk::BFont
*)(arg1
)->readDatabaseFont((std::string
const &)*arg2
,(otk::Configuration
const &)*arg3
);
11027 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BFont
, 0);
11034 static PyObject
*_wrap_Style_load(PyObject
*self
, PyObject
*args
) {
11035 PyObject
*resultobj
;
11036 otk::Style
*arg1
= (otk::Style
*) 0 ;
11037 otk::Configuration
*arg2
= 0 ;
11038 PyObject
* obj0
= 0 ;
11039 PyObject
* obj1
= 0 ;
11041 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_load",&obj0
,&obj1
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11043 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11044 if (arg2
== NULL
) {
11045 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11047 (arg1
)->load((otk::Configuration
const &)*arg2
);
11049 Py_INCREF(Py_None
); resultobj
= Py_None
;
11056 static PyObject
*_wrap_Style_getCloseButtonMask(PyObject
*self
, PyObject
*args
) {
11057 PyObject
*resultobj
;
11058 otk::Style
*arg1
= (otk::Style
*) 0 ;
11059 otk::PixmapMask
*result
;
11060 PyObject
* obj0
= 0 ;
11062 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getCloseButtonMask",&obj0
)) goto fail
;
11063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11064 result
= (otk::PixmapMask
*)(arg1
)->getCloseButtonMask();
11066 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
11073 static PyObject
*_wrap_Style_getMaximizeButtonMask(PyObject
*self
, PyObject
*args
) {
11074 PyObject
*resultobj
;
11075 otk::Style
*arg1
= (otk::Style
*) 0 ;
11076 otk::PixmapMask
*result
;
11077 PyObject
* obj0
= 0 ;
11079 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getMaximizeButtonMask",&obj0
)) goto fail
;
11080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11081 result
= (otk::PixmapMask
*)(arg1
)->getMaximizeButtonMask();
11083 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
11090 static PyObject
*_wrap_Style_getIconifyButtonMask(PyObject
*self
, PyObject
*args
) {
11091 PyObject
*resultobj
;
11092 otk::Style
*arg1
= (otk::Style
*) 0 ;
11093 otk::PixmapMask
*result
;
11094 PyObject
* obj0
= 0 ;
11096 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getIconifyButtonMask",&obj0
)) goto fail
;
11097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11098 result
= (otk::PixmapMask
*)(arg1
)->getIconifyButtonMask();
11100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
11107 static PyObject
*_wrap_Style_getStickyButtonMask(PyObject
*self
, PyObject
*args
) {
11108 PyObject
*resultobj
;
11109 otk::Style
*arg1
= (otk::Style
*) 0 ;
11110 otk::PixmapMask
*result
;
11111 PyObject
* obj0
= 0 ;
11113 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getStickyButtonMask",&obj0
)) goto fail
;
11114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11115 result
= (otk::PixmapMask
*)(arg1
)->getStickyButtonMask();
11117 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
11124 static PyObject
*_wrap_Style_getTextFocus(PyObject
*self
, PyObject
*args
) {
11125 PyObject
*resultobj
;
11126 otk::Style
*arg1
= (otk::Style
*) 0 ;
11127 otk::BColor
*result
;
11128 PyObject
* obj0
= 0 ;
11130 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getTextFocus",&obj0
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11132 result
= (otk::BColor
*)(arg1
)->getTextFocus();
11134 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11141 static PyObject
*_wrap_Style_getTextUnfocus(PyObject
*self
, PyObject
*args
) {
11142 PyObject
*resultobj
;
11143 otk::Style
*arg1
= (otk::Style
*) 0 ;
11144 otk::BColor
*result
;
11145 PyObject
* obj0
= 0 ;
11147 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getTextUnfocus",&obj0
)) goto fail
;
11148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11149 result
= (otk::BColor
*)(arg1
)->getTextUnfocus();
11151 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11158 static PyObject
*_wrap_Style_getButtonPicFocus(PyObject
*self
, PyObject
*args
) {
11159 PyObject
*resultobj
;
11160 otk::Style
*arg1
= (otk::Style
*) 0 ;
11161 otk::BColor
*result
;
11162 PyObject
* obj0
= 0 ;
11164 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonPicFocus",&obj0
)) goto fail
;
11165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11166 result
= (otk::BColor
*)(arg1
)->getButtonPicFocus();
11168 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11175 static PyObject
*_wrap_Style_getButtonPicUnfocus(PyObject
*self
, PyObject
*args
) {
11176 PyObject
*resultobj
;
11177 otk::Style
*arg1
= (otk::Style
*) 0 ;
11178 otk::BColor
*result
;
11179 PyObject
* obj0
= 0 ;
11181 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonPicUnfocus",&obj0
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11183 result
= (otk::BColor
*)(arg1
)->getButtonPicUnfocus();
11185 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11192 static PyObject
*_wrap_Style_getTitleFocus(PyObject
*self
, PyObject
*args
) {
11193 PyObject
*resultobj
;
11194 otk::Style
*arg1
= (otk::Style
*) 0 ;
11195 otk::BTexture
*result
;
11196 PyObject
* obj0
= 0 ;
11198 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getTitleFocus",&obj0
)) goto fail
;
11199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11200 result
= (otk::BTexture
*)(arg1
)->getTitleFocus();
11202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11209 static PyObject
*_wrap_Style_getTitleUnfocus(PyObject
*self
, PyObject
*args
) {
11210 PyObject
*resultobj
;
11211 otk::Style
*arg1
= (otk::Style
*) 0 ;
11212 otk::BTexture
*result
;
11213 PyObject
* obj0
= 0 ;
11215 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getTitleUnfocus",&obj0
)) goto fail
;
11216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11217 result
= (otk::BTexture
*)(arg1
)->getTitleUnfocus();
11219 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11226 static PyObject
*_wrap_Style_getLabelFocus(PyObject
*self
, PyObject
*args
) {
11227 PyObject
*resultobj
;
11228 otk::Style
*arg1
= (otk::Style
*) 0 ;
11229 otk::BTexture
*result
;
11230 PyObject
* obj0
= 0 ;
11232 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getLabelFocus",&obj0
)) goto fail
;
11233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11234 result
= (otk::BTexture
*)(arg1
)->getLabelFocus();
11236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11243 static PyObject
*_wrap_Style_getLabelUnfocus(PyObject
*self
, PyObject
*args
) {
11244 PyObject
*resultobj
;
11245 otk::Style
*arg1
= (otk::Style
*) 0 ;
11246 otk::BTexture
*result
;
11247 PyObject
* obj0
= 0 ;
11249 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getLabelUnfocus",&obj0
)) goto fail
;
11250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11251 result
= (otk::BTexture
*)(arg1
)->getLabelUnfocus();
11253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11260 static PyObject
*_wrap_Style_getHandleFocus(PyObject
*self
, PyObject
*args
) {
11261 PyObject
*resultobj
;
11262 otk::Style
*arg1
= (otk::Style
*) 0 ;
11263 otk::BTexture
*result
;
11264 PyObject
* obj0
= 0 ;
11266 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getHandleFocus",&obj0
)) goto fail
;
11267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11268 result
= (otk::BTexture
*)(arg1
)->getHandleFocus();
11270 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11277 static PyObject
*_wrap_Style_getHandleUnfocus(PyObject
*self
, PyObject
*args
) {
11278 PyObject
*resultobj
;
11279 otk::Style
*arg1
= (otk::Style
*) 0 ;
11280 otk::BTexture
*result
;
11281 PyObject
* obj0
= 0 ;
11283 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getHandleUnfocus",&obj0
)) goto fail
;
11284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11285 result
= (otk::BTexture
*)(arg1
)->getHandleUnfocus();
11287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11294 static PyObject
*_wrap_Style_getButtonFocus(PyObject
*self
, PyObject
*args
) {
11295 PyObject
*resultobj
;
11296 otk::Style
*arg1
= (otk::Style
*) 0 ;
11297 otk::BTexture
*result
;
11298 PyObject
* obj0
= 0 ;
11300 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonFocus",&obj0
)) goto fail
;
11301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11302 result
= (otk::BTexture
*)(arg1
)->getButtonFocus();
11304 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11311 static PyObject
*_wrap_Style_getButtonUnfocus(PyObject
*self
, PyObject
*args
) {
11312 PyObject
*resultobj
;
11313 otk::Style
*arg1
= (otk::Style
*) 0 ;
11314 otk::BTexture
*result
;
11315 PyObject
* obj0
= 0 ;
11317 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonUnfocus",&obj0
)) goto fail
;
11318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11319 result
= (otk::BTexture
*)(arg1
)->getButtonUnfocus();
11321 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11328 static PyObject
*_wrap_Style_getButtonPressedFocus(PyObject
*self
, PyObject
*args
) {
11329 PyObject
*resultobj
;
11330 otk::Style
*arg1
= (otk::Style
*) 0 ;
11331 otk::BTexture
*result
;
11332 PyObject
* obj0
= 0 ;
11334 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonPressedFocus",&obj0
)) goto fail
;
11335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11336 result
= (otk::BTexture
*)(arg1
)->getButtonPressedFocus();
11338 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11345 static PyObject
*_wrap_Style_getButtonPressedUnfocus(PyObject
*self
, PyObject
*args
) {
11346 PyObject
*resultobj
;
11347 otk::Style
*arg1
= (otk::Style
*) 0 ;
11348 otk::BTexture
*result
;
11349 PyObject
* obj0
= 0 ;
11351 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonPressedUnfocus",&obj0
)) goto fail
;
11352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11353 result
= (otk::BTexture
*)(arg1
)->getButtonPressedUnfocus();
11355 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11362 static PyObject
*_wrap_Style_getGripFocus(PyObject
*self
, PyObject
*args
) {
11363 PyObject
*resultobj
;
11364 otk::Style
*arg1
= (otk::Style
*) 0 ;
11365 otk::BTexture
*result
;
11366 PyObject
* obj0
= 0 ;
11368 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getGripFocus",&obj0
)) goto fail
;
11369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11370 result
= (otk::BTexture
*)(arg1
)->getGripFocus();
11372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11379 static PyObject
*_wrap_Style_getGripUnfocus(PyObject
*self
, PyObject
*args
) {
11380 PyObject
*resultobj
;
11381 otk::Style
*arg1
= (otk::Style
*) 0 ;
11382 otk::BTexture
*result
;
11383 PyObject
* obj0
= 0 ;
11385 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getGripUnfocus",&obj0
)) goto fail
;
11386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11387 result
= (otk::BTexture
*)(arg1
)->getGripUnfocus();
11389 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11396 static PyObject
*_wrap_Style_getHandleWidth(PyObject
*self
, PyObject
*args
) {
11397 PyObject
*resultobj
;
11398 otk::Style
*arg1
= (otk::Style
*) 0 ;
11399 unsigned int result
;
11400 PyObject
* obj0
= 0 ;
11402 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getHandleWidth",&obj0
)) goto fail
;
11403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11404 result
= (unsigned int)((otk::Style
const *)arg1
)->getHandleWidth();
11406 resultobj
= PyInt_FromLong((long)result
);
11413 static PyObject
*_wrap_Style_getBevelWidth(PyObject
*self
, PyObject
*args
) {
11414 PyObject
*resultobj
;
11415 otk::Style
*arg1
= (otk::Style
*) 0 ;
11416 unsigned int result
;
11417 PyObject
* obj0
= 0 ;
11419 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getBevelWidth",&obj0
)) goto fail
;
11420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11421 result
= (unsigned int)((otk::Style
const *)arg1
)->getBevelWidth();
11423 resultobj
= PyInt_FromLong((long)result
);
11430 static PyObject
*_wrap_Style_getFrameWidth(PyObject
*self
, PyObject
*args
) {
11431 PyObject
*resultobj
;
11432 otk::Style
*arg1
= (otk::Style
*) 0 ;
11433 unsigned int result
;
11434 PyObject
* obj0
= 0 ;
11436 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getFrameWidth",&obj0
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11438 result
= (unsigned int)((otk::Style
const *)arg1
)->getFrameWidth();
11440 resultobj
= PyInt_FromLong((long)result
);
11447 static PyObject
*_wrap_Style_getBorderWidth(PyObject
*self
, PyObject
*args
) {
11448 PyObject
*resultobj
;
11449 otk::Style
*arg1
= (otk::Style
*) 0 ;
11450 unsigned int result
;
11451 PyObject
* obj0
= 0 ;
11453 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getBorderWidth",&obj0
)) goto fail
;
11454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11455 result
= (unsigned int)((otk::Style
const *)arg1
)->getBorderWidth();
11457 resultobj
= PyInt_FromLong((long)result
);
11464 static PyObject
*_wrap_Style_getFont(PyObject
*self
, PyObject
*args
) {
11465 PyObject
*resultobj
;
11466 otk::Style
*arg1
= (otk::Style
*) 0 ;
11467 otk::BFont
*result
;
11468 PyObject
* obj0
= 0 ;
11470 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getFont",&obj0
)) goto fail
;
11471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11472 result
= (otk::BFont
*)((otk::Style
const *)arg1
)->getFont();
11474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BFont
, 0);
11481 static PyObject
*_wrap_Style_setShadowFonts(PyObject
*self
, PyObject
*args
) {
11482 PyObject
*resultobj
;
11483 otk::Style
*arg1
= (otk::Style
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11488 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_setShadowFonts",&obj0
,&obj1
)) goto fail
;
11489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11490 arg2
= (bool) PyInt_AsLong(obj1
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11492 (arg1
)->setShadowFonts(arg2
);
11494 Py_INCREF(Py_None
); resultobj
= Py_None
;
11501 static PyObject
*_wrap_Style_hasShadowFonts(PyObject
*self
, PyObject
*args
) {
11502 PyObject
*resultobj
;
11503 otk::Style
*arg1
= (otk::Style
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11507 if(!PyArg_ParseTuple(args
,(char *)"O:Style_hasShadowFonts",&obj0
)) goto fail
;
11508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11509 result
= (bool)((otk::Style
const *)arg1
)->hasShadowFonts();
11511 resultobj
= PyInt_FromLong((long)result
);
11518 static PyObject
*_wrap_Style_setAAFonts(PyObject
*self
, PyObject
*args
) {
11519 PyObject
*resultobj
;
11520 otk::Style
*arg1
= (otk::Style
*) 0 ;
11522 PyObject
* obj0
= 0 ;
11523 PyObject
* obj1
= 0 ;
11525 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_setAAFonts",&obj0
,&obj1
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11527 arg2
= (bool) PyInt_AsLong(obj1
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11529 (arg1
)->setAAFonts(arg2
);
11531 Py_INCREF(Py_None
); resultobj
= Py_None
;
11538 static PyObject
*_wrap_Style_hasAAFonts(PyObject
*self
, PyObject
*args
) {
11539 PyObject
*resultobj
;
11540 otk::Style
*arg1
= (otk::Style
*) 0 ;
11542 PyObject
* obj0
= 0 ;
11544 if(!PyArg_ParseTuple(args
,(char *)"O:Style_hasAAFonts",&obj0
)) goto fail
;
11545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11546 result
= (bool)((otk::Style
const *)arg1
)->hasAAFonts();
11548 resultobj
= PyInt_FromLong((long)result
);
11555 static PyObject
*_wrap_Style_textJustify(PyObject
*self
, PyObject
*args
) {
11556 PyObject
*resultobj
;
11557 otk::Style
*arg1
= (otk::Style
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11561 if(!PyArg_ParseTuple(args
,(char *)"O:Style_textJustify",&obj0
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11563 result
= (int)(arg1
)->textJustify();
11565 resultobj
= PyInt_FromLong((long)result
);
11572 static PyObject
*_wrap_Style_bulletType(PyObject
*self
, PyObject
*args
) {
11573 PyObject
*resultobj
;
11574 otk::Style
*arg1
= (otk::Style
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11578 if(!PyArg_ParseTuple(args
,(char *)"O:Style_bulletType",&obj0
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11580 result
= (int)(arg1
)->bulletType();
11582 resultobj
= PyInt_FromLong((long)result
);
11589 static PyObject
*_wrap_Style_getBorderColor(PyObject
*self
, PyObject
*args
) {
11590 PyObject
*resultobj
;
11591 otk::Style
*arg1
= (otk::Style
*) 0 ;
11592 otk::BColor
*result
;
11593 PyObject
* obj0
= 0 ;
11595 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getBorderColor",&obj0
)) goto fail
;
11596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11597 result
= (otk::BColor
*)((otk::Style
const *)arg1
)->getBorderColor();
11599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11606 static PyObject
*_wrap_Style_getFrameFocus(PyObject
*self
, PyObject
*args
) {
11607 PyObject
*resultobj
;
11608 otk::Style
*arg1
= (otk::Style
*) 0 ;
11609 otk::BTexture
*result
;
11610 PyObject
* obj0
= 0 ;
11612 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getFrameFocus",&obj0
)) goto fail
;
11613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11614 result
= (otk::BTexture
*)((otk::Style
const *)arg1
)->getFrameFocus();
11616 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11623 static PyObject
*_wrap_Style_getFrameUnfocus(PyObject
*self
, PyObject
*args
) {
11624 PyObject
*resultobj
;
11625 otk::Style
*arg1
= (otk::Style
*) 0 ;
11626 otk::BTexture
*result
;
11627 PyObject
* obj0
= 0 ;
11629 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getFrameUnfocus",&obj0
)) goto fail
;
11630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11631 result
= (otk::BTexture
*)((otk::Style
const *)arg1
)->getFrameUnfocus();
11633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11640 static PyObject
*_wrap_Style_setImageControl(PyObject
*self
, PyObject
*args
) {
11641 PyObject
*resultobj
;
11642 otk::Style
*arg1
= (otk::Style
*) 0 ;
11643 otk::BImageControl
*arg2
= (otk::BImageControl
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11647 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_setImageControl",&obj0
,&obj1
)) goto fail
;
11648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11650 (arg1
)->setImageControl(arg2
);
11652 Py_INCREF(Py_None
); resultobj
= Py_None
;
11659 static PyObject
*_wrap_Style_getScreen(PyObject
*self
, PyObject
*args
) {
11660 PyObject
*resultobj
;
11661 otk::Style
*arg1
= (otk::Style
*) 0 ;
11662 unsigned int result
;
11663 PyObject
* obj0
= 0 ;
11665 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getScreen",&obj0
)) goto fail
;
11666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11667 result
= (unsigned int)(arg1
)->getScreen();
11669 resultobj
= PyInt_FromLong((long)result
);
11676 static PyObject
* Style_swigregister(PyObject
*self
, PyObject
*args
) {
11678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11679 SWIG_TypeClientData(SWIGTYPE_p_otk__Style
, obj
);
11681 return Py_BuildValue((char *)"");
11683 static PyObject
*_wrap_new_BTexture__SWIG_0(PyObject
*self
, PyObject
*args
) {
11684 PyObject
*resultobj
;
11685 unsigned int arg1
= (unsigned int) ~(0u) ;
11686 otk::BImageControl
*arg2
= (otk::BImageControl
*) 0 ;
11687 otk::BTexture
*result
;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11691 if(!PyArg_ParseTuple(args
,(char *)"|OO:new_BTexture",&obj0
,&obj1
)) goto fail
;
11693 arg1
= (unsigned int) PyInt_AsLong(obj0
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11697 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11699 result
= (otk::BTexture
*)new otk::BTexture(arg1
,arg2
);
11701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 1);
11708 static PyObject
*_wrap_new_BTexture__SWIG_1(PyObject
*self
, PyObject
*args
) {
11709 PyObject
*resultobj
;
11710 std::string
*arg1
= 0 ;
11711 unsigned int arg2
= (unsigned int) ~(0u) ;
11712 otk::BImageControl
*arg3
= (otk::BImageControl
*) 0 ;
11713 otk::BTexture
*result
;
11714 std::string temp1
;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 PyObject
* obj2
= 0 ;
11719 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BTexture",&obj0
,&obj1
,&obj2
)) goto fail
;
11721 if (PyString_Check(obj0
)) {
11722 temp1
= std::string(PyString_AsString(obj0
));
11725 SWIG_exception(SWIG_TypeError
, "string expected");
11729 arg2
= (unsigned int) PyInt_AsLong(obj1
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11733 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11735 result
= (otk::BTexture
*)new otk::BTexture((std::string
const &)*arg1
,arg2
,arg3
);
11737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 1);
11744 static PyObject
*_wrap_new_BTexture(PyObject
*self
, PyObject
*args
) {
11749 argc
= PyObject_Length(args
);
11750 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11751 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11753 if ((argc
>= 0) && (argc
<= 2)) {
11756 return _wrap_new_BTexture__SWIG_0(self
,args
);
11759 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
11763 return _wrap_new_BTexture__SWIG_0(self
,args
);
11767 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__BImageControl
, 0) == -1) {
11775 return _wrap_new_BTexture__SWIG_0(self
,args
);
11779 if ((argc
>= 1) && (argc
<= 3)) {
11782 _v
= PyString_Check(argv
[0]) ? 1 : 0;
11786 return _wrap_new_BTexture__SWIG_1(self
,args
);
11789 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
11793 return _wrap_new_BTexture__SWIG_1(self
,args
);
11797 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__BImageControl
, 0) == -1) {
11805 return _wrap_new_BTexture__SWIG_1(self
,args
);
11811 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BTexture'");
11816 static PyObject
*_wrap_BTexture_setColor(PyObject
*self
, PyObject
*args
) {
11817 PyObject
*resultobj
;
11818 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11819 otk::BColor
*arg2
= 0 ;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11823 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setColor",&obj0
,&obj1
)) goto fail
;
11824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11825 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11826 if (arg2
== NULL
) {
11827 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11829 (arg1
)->setColor((otk::BColor
const &)*arg2
);
11831 Py_INCREF(Py_None
); resultobj
= Py_None
;
11838 static PyObject
*_wrap_BTexture_setColorTo(PyObject
*self
, PyObject
*args
) {
11839 PyObject
*resultobj
;
11840 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11841 otk::BColor
*arg2
= 0 ;
11842 PyObject
* obj0
= 0 ;
11843 PyObject
* obj1
= 0 ;
11845 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setColorTo",&obj0
,&obj1
)) goto fail
;
11846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11848 if (arg2
== NULL
) {
11849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11851 (arg1
)->setColorTo((otk::BColor
const &)*arg2
);
11853 Py_INCREF(Py_None
); resultobj
= Py_None
;
11860 static PyObject
*_wrap_BTexture_setBorderColor(PyObject
*self
, PyObject
*args
) {
11861 PyObject
*resultobj
;
11862 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11863 otk::BColor
*arg2
= 0 ;
11864 PyObject
* obj0
= 0 ;
11865 PyObject
* obj1
= 0 ;
11867 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setBorderColor",&obj0
,&obj1
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11869 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11870 if (arg2
== NULL
) {
11871 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11873 (arg1
)->setBorderColor((otk::BColor
const &)*arg2
);
11875 Py_INCREF(Py_None
); resultobj
= Py_None
;
11882 static PyObject
*_wrap_BTexture_color(PyObject
*self
, PyObject
*args
) {
11883 PyObject
*resultobj
;
11884 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11885 otk::BColor
*result
;
11886 PyObject
* obj0
= 0 ;
11888 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_color",&obj0
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11891 otk::BColor
const &_result_ref
= ((otk::BTexture
const *)arg1
)->color();
11892 result
= (otk::BColor
*) &_result_ref
;
11895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11902 static PyObject
*_wrap_BTexture_colorTo(PyObject
*self
, PyObject
*args
) {
11903 PyObject
*resultobj
;
11904 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11905 otk::BColor
*result
;
11906 PyObject
* obj0
= 0 ;
11908 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_colorTo",&obj0
)) goto fail
;
11909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11911 otk::BColor
const &_result_ref
= ((otk::BTexture
const *)arg1
)->colorTo();
11912 result
= (otk::BColor
*) &_result_ref
;
11915 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11922 static PyObject
*_wrap_BTexture_lightColor(PyObject
*self
, PyObject
*args
) {
11923 PyObject
*resultobj
;
11924 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11925 otk::BColor
*result
;
11926 PyObject
* obj0
= 0 ;
11928 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_lightColor",&obj0
)) goto fail
;
11929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11931 otk::BColor
const &_result_ref
= ((otk::BTexture
const *)arg1
)->lightColor();
11932 result
= (otk::BColor
*) &_result_ref
;
11935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11942 static PyObject
*_wrap_BTexture_shadowColor(PyObject
*self
, PyObject
*args
) {
11943 PyObject
*resultobj
;
11944 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11945 otk::BColor
*result
;
11946 PyObject
* obj0
= 0 ;
11948 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_shadowColor",&obj0
)) goto fail
;
11949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11951 otk::BColor
const &_result_ref
= ((otk::BTexture
const *)arg1
)->shadowColor();
11952 result
= (otk::BColor
*) &_result_ref
;
11955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11962 static PyObject
*_wrap_BTexture_borderColor(PyObject
*self
, PyObject
*args
) {
11963 PyObject
*resultobj
;
11964 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11965 otk::BColor
*result
;
11966 PyObject
* obj0
= 0 ;
11968 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_borderColor",&obj0
)) goto fail
;
11969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11971 otk::BColor
const &_result_ref
= ((otk::BTexture
const *)arg1
)->borderColor();
11972 result
= (otk::BColor
*) &_result_ref
;
11975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11982 static PyObject
*_wrap_BTexture_texture(PyObject
*self
, PyObject
*args
) {
11983 PyObject
*resultobj
;
11984 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11985 unsigned long result
;
11986 PyObject
* obj0
= 0 ;
11988 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_texture",&obj0
)) goto fail
;
11989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11990 result
= (unsigned long)((otk::BTexture
const *)arg1
)->texture();
11992 resultobj
= PyInt_FromLong((long)result
);
11999 static PyObject
*_wrap_BTexture_setTexture(PyObject
*self
, PyObject
*args
) {
12000 PyObject
*resultobj
;
12001 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
12002 unsigned long arg2
;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12006 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setTexture",&obj0
,&obj1
)) goto fail
;
12007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12008 arg2
= (unsigned long) PyInt_AsLong(obj1
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12010 (arg1
)->setTexture(arg2
);
12012 Py_INCREF(Py_None
); resultobj
= Py_None
;
12019 static PyObject
*_wrap_BTexture_addTexture(PyObject
*self
, PyObject
*args
) {
12020 PyObject
*resultobj
;
12021 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
12022 unsigned long arg2
;
12023 PyObject
* obj0
= 0 ;
12024 PyObject
* obj1
= 0 ;
12026 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_addTexture",&obj0
,&obj1
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12028 arg2
= (unsigned long) PyInt_AsLong(obj1
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12030 (arg1
)->addTexture(arg2
);
12032 Py_INCREF(Py_None
); resultobj
= Py_None
;
12039 static PyObject
*_wrap_BTexture_equals(PyObject
*self
, PyObject
*args
) {
12040 PyObject
*resultobj
;
12041 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
12042 otk::BTexture
*arg2
= 0 ;
12044 PyObject
* obj0
= 0 ;
12045 PyObject
* obj1
= 0 ;
12047 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_equals",&obj0
,&obj1
)) goto fail
;
12048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12049 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12050 if (arg2
== NULL
) {
12051 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12053 result
= (bool)(arg1
)->operator ==((otk::BTexture
const &)*arg2
);
12055 resultobj
= PyInt_FromLong((long)result
);
12062 static PyObject
*_wrap_BTexture_screen(PyObject
*self
, PyObject
*args
) {
12063 PyObject
*resultobj
;
12064 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
12065 unsigned int result
;
12066 PyObject
* obj0
= 0 ;
12068 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_screen",&obj0
)) goto fail
;
12069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12070 result
= (unsigned int)((otk::BTexture
const *)arg1
)->screen();
12072 resultobj
= PyInt_FromLong((long)result
);
12079 static PyObject
*_wrap_BTexture_setScreen(PyObject
*self
, PyObject
*args
) {
12080 PyObject
*resultobj
;
12081 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
12082 unsigned int arg2
;
12083 PyObject
* obj0
= 0 ;
12084 PyObject
* obj1
= 0 ;
12086 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setScreen",&obj0
,&obj1
)) goto fail
;
12087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12088 arg2
= (unsigned int) PyInt_AsLong(obj1
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12090 (arg1
)->setScreen(arg2
);
12092 Py_INCREF(Py_None
); resultobj
= Py_None
;
12099 static PyObject
*_wrap_BTexture_setImageControl(PyObject
*self
, PyObject
*args
) {
12100 PyObject
*resultobj
;
12101 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
12102 otk::BImageControl
*arg2
= (otk::BImageControl
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 PyObject
* obj1
= 0 ;
12106 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setImageControl",&obj0
,&obj1
)) goto fail
;
12107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12109 (arg1
)->setImageControl(arg2
);
12111 Py_INCREF(Py_None
); resultobj
= Py_None
;
12118 static PyObject
*_wrap_BTexture_description(PyObject
*self
, PyObject
*args
) {
12119 PyObject
*resultobj
;
12120 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
12121 std::string
*result
;
12122 PyObject
* obj0
= 0 ;
12124 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_description",&obj0
)) goto fail
;
12125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12127 std::string
const &_result_ref
= ((otk::BTexture
const *)arg1
)->description();
12128 result
= (std::string
*) &_result_ref
;
12132 resultobj
= PyString_FromString(result
->c_str());
12140 static PyObject
*_wrap_BTexture_setDescription(PyObject
*self
, PyObject
*args
) {
12141 PyObject
*resultobj
;
12142 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
12143 std::string
*arg2
= 0 ;
12144 std::string temp2
;
12145 PyObject
* obj0
= 0 ;
12146 PyObject
* obj1
= 0 ;
12148 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setDescription",&obj0
,&obj1
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12151 if (PyString_Check(obj1
)) {
12152 temp2
= std::string(PyString_AsString(obj1
));
12155 SWIG_exception(SWIG_TypeError
, "string expected");
12158 (arg1
)->setDescription((std::string
const &)*arg2
);
12160 Py_INCREF(Py_None
); resultobj
= Py_None
;
12167 static PyObject
*_wrap_BTexture_render(PyObject
*self
, PyObject
*args
) {
12168 PyObject
*resultobj
;
12169 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
12170 unsigned int arg2
;
12171 unsigned int arg3
;
12172 Pixmap arg4
= (Pixmap
) (Pixmap
)0 ;
12175 PyObject
* obj0
= 0 ;
12176 PyObject
* obj1
= 0 ;
12177 PyObject
* obj2
= 0 ;
12178 PyObject
* obj3
= 0 ;
12180 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:BTexture_render",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12182 arg2
= (unsigned int) PyInt_AsLong(obj1
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12184 arg3
= (unsigned int) PyInt_AsLong(obj2
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 if ((SWIG_ConvertPtr(obj3
,(void **) &argp4
, SWIGTYPE_p_Pixmap
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
12190 result
= (arg1
)->render(arg2
,arg3
,arg4
);
12193 Pixmap
* resultptr
;
12194 resultptr
= new Pixmap((Pixmap
&) result
);
12195 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Pixmap
, 1);
12203 static PyObject
*_wrap_delete_BTexture(PyObject
*self
, PyObject
*args
) {
12204 PyObject
*resultobj
;
12205 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12208 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BTexture",&obj0
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 static PyObject
* BTexture_swigregister(PyObject
*self
, PyObject
*args
) {
12221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12222 SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture
, obj
);
12224 return Py_BuildValue((char *)"");
12226 static PyObject
*_wrap_new_OBTimer(PyObject
*self
, PyObject
*args
) {
12227 PyObject
*resultobj
;
12228 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
12229 otk::OBTimeoutHandler arg2
= (otk::OBTimeoutHandler
) 0 ;
12230 otk::OBTimeoutData arg3
= (otk::OBTimeoutData
) 0 ;
12231 otk::OBTimer
*result
;
12232 PyObject
* obj0
= 0 ;
12233 PyObject
* obj1
= 0 ;
12234 PyObject
* obj2
= 0 ;
12236 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_OBTimer",&obj0
,&obj1
,&obj2
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12238 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_otk__OBTimeoutHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12239 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12240 result
= (otk::OBTimer
*)new otk::OBTimer(arg1
,arg2
,arg3
);
12242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OBTimer
, 1);
12249 static PyObject
*_wrap_delete_OBTimer(PyObject
*self
, PyObject
*args
) {
12250 PyObject
*resultobj
;
12251 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12252 PyObject
* obj0
= 0 ;
12254 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OBTimer",&obj0
)) goto fail
;
12255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12258 Py_INCREF(Py_None
); resultobj
= Py_None
;
12265 static PyObject
*_wrap_OBTimer_fire(PyObject
*self
, PyObject
*args
) {
12266 PyObject
*resultobj
;
12267 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12268 PyObject
* obj0
= 0 ;
12270 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_fire",&obj0
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12274 Py_INCREF(Py_None
); resultobj
= Py_None
;
12281 static PyObject
*_wrap_OBTimer_timing(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_timing",&obj0
)) goto fail
;
12288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12289 result
= (bool)((otk::OBTimer
const *)arg1
)->timing();
12291 resultobj
= PyInt_FromLong((long)result
);
12298 static PyObject
*_wrap_OBTimer_recurring(PyObject
*self
, PyObject
*args
) {
12299 PyObject
*resultobj
;
12300 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12304 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_recurring",&obj0
)) goto fail
;
12305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12306 result
= (bool)((otk::OBTimer
const *)arg1
)->recurring();
12308 resultobj
= PyInt_FromLong((long)result
);
12315 static PyObject
*_wrap_OBTimer_timeout(PyObject
*self
, PyObject
*args
) {
12316 PyObject
*resultobj
;
12317 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12321 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_timeout",&obj0
)) goto fail
;
12322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12324 timeval
const &_result_ref
= ((otk::OBTimer
const *)arg1
)->timeout();
12325 result
= (timeval
*) &_result_ref
;
12328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_timeval
, 0);
12335 static PyObject
*_wrap_OBTimer_startTime(PyObject
*self
, PyObject
*args
) {
12336 PyObject
*resultobj
;
12337 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12341 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_startTime",&obj0
)) goto fail
;
12342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12344 timeval
const &_result_ref
= ((otk::OBTimer
const *)arg1
)->startTime();
12345 result
= (timeval
*) &_result_ref
;
12348 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_timeval
, 0);
12355 static PyObject
*_wrap_OBTimer_remainingTime(PyObject
*self
, PyObject
*args
) {
12356 PyObject
*resultobj
;
12357 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12358 timeval
*arg2
= 0 ;
12360 PyObject
* obj0
= 0 ;
12361 PyObject
* obj1
= 0 ;
12363 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimer_remainingTime",&obj0
,&obj1
)) goto fail
;
12364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_timeval
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12366 if (arg2
== NULL
) {
12367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12369 result
= ((otk::OBTimer
const *)arg1
)->remainingTime((timeval
const &)*arg2
);
12372 timeval
* resultptr
;
12373 resultptr
= new timeval((timeval
&) result
);
12374 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_timeval
, 1);
12382 static PyObject
*_wrap_OBTimer_shouldFire(PyObject
*self
, PyObject
*args
) {
12383 PyObject
*resultobj
;
12384 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12385 timeval
*arg2
= 0 ;
12387 PyObject
* obj0
= 0 ;
12388 PyObject
* obj1
= 0 ;
12390 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimer_shouldFire",&obj0
,&obj1
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_timeval
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12393 if (arg2
== NULL
) {
12394 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12396 result
= (bool)((otk::OBTimer
const *)arg1
)->shouldFire((timeval
const &)*arg2
);
12398 resultobj
= PyInt_FromLong((long)result
);
12405 static PyObject
*_wrap_OBTimer_endTime(PyObject
*self
, PyObject
*args
) {
12406 PyObject
*resultobj
;
12407 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12411 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_endTime",&obj0
)) goto fail
;
12412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12413 result
= ((otk::OBTimer
const *)arg1
)->endTime();
12416 timeval
* resultptr
;
12417 resultptr
= new timeval((timeval
&) result
);
12418 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_timeval
, 1);
12426 static PyObject
*_wrap_OBTimer_setRecurring(PyObject
*self
, PyObject
*args
) {
12427 PyObject
*resultobj
;
12428 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12433 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimer_setRecurring",&obj0
,&obj1
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12435 arg2
= (bool) PyInt_AsLong(obj1
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12437 (arg1
)->setRecurring(arg2
);
12439 Py_INCREF(Py_None
); resultobj
= Py_None
;
12446 static PyObject
*_wrap_OBTimer_setTimeout__SWIG_0(PyObject
*self
, PyObject
*args
) {
12447 PyObject
*resultobj
;
12448 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12450 PyObject
* obj0
= 0 ;
12452 if(!PyArg_ParseTuple(args
,(char *)"Ol:OBTimer_setTimeout",&obj0
,&arg2
)) goto fail
;
12453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12454 (arg1
)->setTimeout(arg2
);
12456 Py_INCREF(Py_None
); resultobj
= Py_None
;
12463 static PyObject
*_wrap_OBTimer_setTimeout__SWIG_1(PyObject
*self
, PyObject
*args
) {
12464 PyObject
*resultobj
;
12465 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12466 timeval
*arg2
= 0 ;
12467 PyObject
* obj0
= 0 ;
12468 PyObject
* obj1
= 0 ;
12470 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimer_setTimeout",&obj0
,&obj1
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_timeval
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12473 if (arg2
== NULL
) {
12474 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12476 (arg1
)->setTimeout((timeval
const &)*arg2
);
12478 Py_INCREF(Py_None
); resultobj
= Py_None
;
12485 static PyObject
*_wrap_OBTimer_setTimeout(PyObject
*self
, PyObject
*args
) {
12490 argc
= PyObject_Length(args
);
12491 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
12492 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12498 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBTimer
, 0) == -1) {
12508 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_timeval
, 0) == -1) {
12516 return _wrap_OBTimer_setTimeout__SWIG_1(self
,args
);
12524 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBTimer
, 0) == -1) {
12533 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
12536 return _wrap_OBTimer_setTimeout__SWIG_0(self
,args
);
12541 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OBTimer_setTimeout'");
12546 static PyObject
*_wrap_OBTimer_start(PyObject
*self
, PyObject
*args
) {
12547 PyObject
*resultobj
;
12548 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12549 PyObject
* obj0
= 0 ;
12551 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_start",&obj0
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12555 Py_INCREF(Py_None
); resultobj
= Py_None
;
12562 static PyObject
*_wrap_OBTimer_stop(PyObject
*self
, PyObject
*args
) {
12563 PyObject
*resultobj
;
12564 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12565 PyObject
* obj0
= 0 ;
12567 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_stop",&obj0
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12571 Py_INCREF(Py_None
); resultobj
= Py_None
;
12578 static PyObject
* OBTimer_swigregister(PyObject
*self
, PyObject
*args
) {
12580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12581 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer
, obj
);
12583 return Py_BuildValue((char *)"");
12585 static PyObject
*_wrap_new_OBTimerQueueManager(PyObject
*self
, PyObject
*args
) {
12586 PyObject
*resultobj
;
12587 otk::OBTimerQueueManager
*result
;
12589 if(!PyArg_ParseTuple(args
,(char *)":new_OBTimerQueueManager")) goto fail
;
12590 result
= (otk::OBTimerQueueManager
*)new otk::OBTimerQueueManager();
12592 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OBTimerQueueManager
, 1);
12599 static PyObject
*_wrap_delete_OBTimerQueueManager(PyObject
*self
, PyObject
*args
) {
12600 PyObject
*resultobj
;
12601 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12604 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OBTimerQueueManager",&obj0
)) goto fail
;
12605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12608 Py_INCREF(Py_None
); resultobj
= Py_None
;
12615 static PyObject
*_wrap_OBTimerQueueManager_fire(PyObject
*self
, PyObject
*args
) {
12616 PyObject
*resultobj
;
12617 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
12618 PyObject
* obj0
= 0 ;
12620 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimerQueueManager_fire",&obj0
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12624 Py_INCREF(Py_None
); resultobj
= Py_None
;
12631 static PyObject
*_wrap_OBTimerQueueManager_addTimer(PyObject
*self
, PyObject
*args
) {
12632 PyObject
*resultobj
;
12633 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
12634 otk::OBTimer
*arg2
= (otk::OBTimer
*) 0 ;
12635 PyObject
* obj0
= 0 ;
12636 PyObject
* obj1
= 0 ;
12638 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimerQueueManager_addTimer",&obj0
,&obj1
)) goto fail
;
12639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12641 (arg1
)->addTimer(arg2
);
12643 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_OBTimerQueueManager_removeTimer(PyObject
*self
, PyObject
*args
) {
12651 PyObject
*resultobj
;
12652 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
12653 otk::OBTimer
*arg2
= (otk::OBTimer
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12657 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0
,&obj1
)) goto fail
;
12658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12659 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12660 (arg1
)->removeTimer(arg2
);
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
* OBTimerQueueManager_swigregister(PyObject
*self
, PyObject
*args
) {
12671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12672 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager
, obj
);
12674 return Py_BuildValue((char *)"");
12676 static int _wrap_BSENTINEL_set(PyObject
*_val
) {
12677 PyErr_SetString(PyExc_TypeError
,"Variable BSENTINEL is read-only.");
12682 static PyObject
*_wrap_BSENTINEL_get() {
12685 pyobj
= PyInt_FromLong((long)otk::BSENTINEL
);
12690 static PyObject
*_wrap_expandTilde(PyObject
*self
, PyObject
*args
) {
12691 PyObject
*resultobj
;
12692 std::string
*arg1
= 0 ;
12693 std::string result
;
12694 std::string temp1
;
12695 PyObject
* obj0
= 0 ;
12697 if(!PyArg_ParseTuple(args
,(char *)"O:expandTilde",&obj0
)) goto fail
;
12699 if (PyString_Check(obj0
)) {
12700 temp1
= std::string(PyString_AsString(obj0
));
12703 SWIG_exception(SWIG_TypeError
, "string expected");
12706 result
= otk::expandTilde((std::string
const &)*arg1
);
12709 resultobj
= PyString_FromString((&result
)->c_str());
12717 static PyObject
*_wrap_bexec(PyObject
*self
, PyObject
*args
) {
12718 PyObject
*resultobj
;
12719 std::string
*arg1
= 0 ;
12720 std::string
*arg2
= 0 ;
12721 std::string temp1
;
12722 std::string temp2
;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12726 if(!PyArg_ParseTuple(args
,(char *)"OO:bexec",&obj0
,&obj1
)) goto fail
;
12728 if (PyString_Check(obj0
)) {
12729 temp1
= std::string(PyString_AsString(obj0
));
12732 SWIG_exception(SWIG_TypeError
, "string expected");
12736 if (PyString_Check(obj1
)) {
12737 temp2
= std::string(PyString_AsString(obj1
));
12740 SWIG_exception(SWIG_TypeError
, "string expected");
12743 otk::bexec((std::string
const &)*arg1
,(std::string
const &)*arg2
);
12745 Py_INCREF(Py_None
); resultobj
= Py_None
;
12752 static PyObject
*_wrap_textPropertyToString(PyObject
*self
, PyObject
*args
) {
12753 PyObject
*resultobj
;
12754 Display
*arg1
= (Display
*) 0 ;
12755 XTextProperty
*arg2
= 0 ;
12756 std::string result
;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12760 if(!PyArg_ParseTuple(args
,(char *)"OO:textPropertyToString",&obj0
,&obj1
)) goto fail
;
12761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XTextProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12763 if (arg2
== NULL
) {
12764 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12766 result
= otk::textPropertyToString(arg1
,*arg2
);
12769 resultobj
= PyString_FromString((&result
)->c_str());
12777 static PyObject
*_wrap_itostring_unsigned_long(PyObject
*self
, PyObject
*args
) {
12778 PyObject
*resultobj
;
12779 unsigned long arg1
;
12780 std::string result
;
12781 PyObject
* obj0
= 0 ;
12783 if(!PyArg_ParseTuple(args
,(char *)"O:itostring_unsigned_long",&obj0
)) goto fail
;
12784 arg1
= (unsigned long) PyInt_AsLong(obj0
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12786 result
= otk::itostring(arg1
);
12789 resultobj
= PyString_FromString((&result
)->c_str());
12797 static PyObject
*_wrap_itostring_long(PyObject
*self
, PyObject
*args
) {
12798 PyObject
*resultobj
;
12800 std::string result
;
12802 if(!PyArg_ParseTuple(args
,(char *)"l:itostring_long",&arg1
)) goto fail
;
12803 result
= otk::itostring(arg1
);
12806 resultobj
= PyString_FromString((&result
)->c_str());
12814 static PyObject
*_wrap_itostring_unsigned(PyObject
*self
, PyObject
*args
) {
12815 PyObject
*resultobj
;
12816 unsigned int arg1
;
12817 std::string result
;
12818 PyObject
* obj0
= 0 ;
12820 if(!PyArg_ParseTuple(args
,(char *)"O:itostring_unsigned",&obj0
)) goto fail
;
12821 arg1
= (unsigned int) PyInt_AsLong(obj0
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12823 result
= otk::itostring(arg1
);
12826 resultobj
= PyString_FromString((&result
)->c_str());
12834 static PyObject
*_wrap_itostring(PyObject
*self
, PyObject
*args
) {
12835 PyObject
*resultobj
;
12837 std::string result
;
12839 if(!PyArg_ParseTuple(args
,(char *)"i:itostring",&arg1
)) goto fail
;
12840 result
= otk::itostring(arg1
);
12843 resultobj
= PyString_FromString((&result
)->c_str());
12851 static PyObject
*_wrap_basename(PyObject
*self
, PyObject
*args
) {
12852 PyObject
*resultobj
;
12853 std::string
*arg1
= 0 ;
12854 std::string result
;
12855 std::string temp1
;
12856 PyObject
* obj0
= 0 ;
12858 if(!PyArg_ParseTuple(args
,(char *)"O:basename",&obj0
)) goto fail
;
12860 if (PyString_Check(obj0
)) {
12861 temp1
= std::string(PyString_AsString(obj0
));
12864 SWIG_exception(SWIG_TypeError
, "string expected");
12867 result
= otk::basename((std::string
const &)*arg1
);
12870 resultobj
= PyString_FromString((&result
)->c_str());
12878 static PyMethodDef SwigMethods
[] = {
12879 { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher
, METH_VARARGS
},
12880 { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher
, METH_VARARGS
},
12881 { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers
, METH_VARARGS
},
12882 { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler
, METH_VARARGS
},
12883 { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler
, METH_VARARGS
},
12884 { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents
, METH_VARARGS
},
12885 { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler
, METH_VARARGS
},
12886 { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler
, METH_VARARGS
},
12887 { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler
, METH_VARARGS
},
12888 { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler
, METH_VARARGS
},
12889 { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler
, METH_VARARGS
},
12890 { (char *)"OtkEventDispatcher_lastTime", _wrap_OtkEventDispatcher_lastTime
, METH_VARARGS
},
12891 { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister
, METH_VARARGS
},
12892 { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle
, METH_VARARGS
},
12893 { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler
, METH_VARARGS
},
12894 { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler
, METH_VARARGS
},
12895 { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler
, METH_VARARGS
},
12896 { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler
, METH_VARARGS
},
12897 { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler
, METH_VARARGS
},
12898 { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler
, METH_VARARGS
},
12899 { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler
, METH_VARARGS
},
12900 { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler
, METH_VARARGS
},
12901 { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler
, METH_VARARGS
},
12902 { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler
, METH_VARARGS
},
12903 { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler
, METH_VARARGS
},
12904 { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler
, METH_VARARGS
},
12905 { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler
, METH_VARARGS
},
12906 { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler
, METH_VARARGS
},
12907 { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler
, METH_VARARGS
},
12908 { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler
, METH_VARARGS
},
12909 { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler
, METH_VARARGS
},
12910 { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler
, METH_VARARGS
},
12911 { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler
, METH_VARARGS
},
12912 { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler
, METH_VARARGS
},
12913 { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler
, METH_VARARGS
},
12914 { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler
, METH_VARARGS
},
12915 { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler
, METH_VARARGS
},
12916 { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler
, METH_VARARGS
},
12917 { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler
, METH_VARARGS
},
12918 { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler
, METH_VARARGS
},
12919 { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler
, METH_VARARGS
},
12920 { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler
, METH_VARARGS
},
12921 { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler
, METH_VARARGS
},
12922 { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler
, METH_VARARGS
},
12923 { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler
, METH_VARARGS
},
12924 { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler
, METH_VARARGS
},
12925 { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler
, METH_VARARGS
},
12926 { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister
, METH_VARARGS
},
12927 { (char *)"new_OtkWidget", _wrap_new_OtkWidget
, METH_VARARGS
},
12928 { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget
, METH_VARARGS
},
12929 { (char *)"OtkWidget_update", _wrap_OtkWidget_update
, METH_VARARGS
},
12930 { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler
, METH_VARARGS
},
12931 { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler
, METH_VARARGS
},
12932 { (char *)"OtkWidget_window", _wrap_OtkWidget_window
, METH_VARARGS
},
12933 { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent
, METH_VARARGS
},
12934 { (char *)"OtkWidget_children", _wrap_OtkWidget_children
, METH_VARARGS
},
12935 { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen
, METH_VARARGS
},
12936 { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect
, METH_VARARGS
},
12937 { (char *)"OtkWidget_move", _wrap_OtkWidget_move
, METH_VARARGS
},
12938 { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth
, METH_VARARGS
},
12939 { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight
, METH_VARARGS
},
12940 { (char *)"OtkWidget_width", _wrap_OtkWidget_width
, METH_VARARGS
},
12941 { (char *)"OtkWidget_height", _wrap_OtkWidget_height
, METH_VARARGS
},
12942 { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize
, METH_VARARGS
},
12943 { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry
, METH_VARARGS
},
12944 { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible
, METH_VARARGS
},
12945 { (char *)"OtkWidget_show", _wrap_OtkWidget_show
, METH_VARARGS
},
12946 { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide
, METH_VARARGS
},
12947 { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused
, METH_VARARGS
},
12948 { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus
, METH_VARARGS
},
12949 { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus
, METH_VARARGS
},
12950 { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse
, METH_VARARGS
},
12951 { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse
, METH_VARARGS
},
12952 { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse
, METH_VARARGS
},
12953 { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard
, METH_VARARGS
},
12954 { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard
, METH_VARARGS
},
12955 { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard
, METH_VARARGS
},
12956 { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture
, METH_VARARGS
},
12957 { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture
, METH_VARARGS
},
12958 { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor
, METH_VARARGS
},
12959 { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor
, METH_VARARGS
},
12960 { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth
, METH_VARARGS
},
12961 { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth
, METH_VARARGS
},
12962 { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild
, METH_VARARGS
},
12963 { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild
, METH_VARARGS
},
12964 { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz
, METH_VARARGS
},
12965 { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz
, METH_VARARGS
},
12966 { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert
, METH_VARARGS
},
12967 { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert
, METH_VARARGS
},
12968 { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor
, METH_VARARGS
},
12969 { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor
, METH_VARARGS
},
12970 { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth
, METH_VARARGS
},
12971 { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth
, METH_VARARGS
},
12972 { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction
, METH_VARARGS
},
12973 { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection
, METH_VARARGS
},
12974 { (char *)"OtkWidget_style", _wrap_OtkWidget_style
, METH_VARARGS
},
12975 { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle
, METH_VARARGS
},
12976 { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher
, METH_VARARGS
},
12977 { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher
, METH_VARARGS
},
12978 { (char *)"OtkWidget_swigregister", OtkWidget_swigregister
, METH_VARARGS
},
12979 { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget
, METH_VARARGS
},
12980 { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget
, METH_VARARGS
},
12981 { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus
, METH_VARARGS
},
12982 { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus
, METH_VARARGS
},
12983 { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture
, METH_VARARGS
},
12984 { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor
, METH_VARARGS
},
12985 { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture
, METH_VARARGS
},
12986 { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture
, METH_VARARGS
},
12987 { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor
, METH_VARARGS
},
12988 { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor
, METH_VARARGS
},
12989 { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused
, METH_VARARGS
},
12990 { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused
, METH_VARARGS
},
12991 { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister
, METH_VARARGS
},
12992 { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel
, METH_VARARGS
},
12993 { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel
, METH_VARARGS
},
12994 { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText
, METH_VARARGS
},
12995 { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText
, METH_VARARGS
},
12996 { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update
, METH_VARARGS
},
12997 { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle
, METH_VARARGS
},
12998 { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister
, METH_VARARGS
},
12999 { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget
, METH_VARARGS
},
13000 { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget
, METH_VARARGS
},
13001 { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show
, METH_VARARGS
},
13002 { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide
, METH_VARARGS
},
13003 { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler
, METH_VARARGS
},
13004 { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister
, METH_VARARGS
},
13005 { (char *)"new_OtkApplication", _wrap_new_OtkApplication
, METH_VARARGS
},
13006 { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication
, METH_VARARGS
},
13007 { (char *)"OtkApplication_run", _wrap_OtkApplication_run
, METH_VARARGS
},
13008 { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable
, METH_VARARGS
},
13009 { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable
, METH_VARARGS
},
13010 { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle
, METH_VARARGS
},
13011 { (char *)"OtkApplication_swigregister", OtkApplication_swigregister
, METH_VARARGS
},
13012 { (char *)"new_PointerAssassin", _wrap_new_PointerAssassin
, METH_VARARGS
},
13013 { (char *)"delete_PointerAssassin", _wrap_delete_PointerAssassin
, METH_VARARGS
},
13014 { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister
, METH_VARARGS
},
13015 { (char *)"new_OtkButton", _wrap_new_OtkButton
, METH_VARARGS
},
13016 { (char *)"delete_OtkButton", _wrap_delete_OtkButton
, METH_VARARGS
},
13017 { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture
, METH_VARARGS
},
13018 { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture
, METH_VARARGS
},
13019 { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture
, METH_VARARGS
},
13020 { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture
, METH_VARARGS
},
13021 { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture
, METH_VARARGS
},
13022 { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture
, METH_VARARGS
},
13023 { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed
, METH_VARARGS
},
13024 { (char *)"OtkButton_press", _wrap_OtkButton_press
, METH_VARARGS
},
13025 { (char *)"OtkButton_release", _wrap_OtkButton_release
, METH_VARARGS
},
13026 { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler
, METH_VARARGS
},
13027 { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler
, METH_VARARGS
},
13028 { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle
, METH_VARARGS
},
13029 { (char *)"OtkButton_swigregister", OtkButton_swigregister
, METH_VARARGS
},
13030 { (char *)"new_BColor", _wrap_new_BColor
, METH_VARARGS
},
13031 { (char *)"delete_BColor", _wrap_delete_BColor
, METH_VARARGS
},
13032 { (char *)"BColor_name", _wrap_BColor_name
, METH_VARARGS
},
13033 { (char *)"BColor_red", _wrap_BColor_red
, METH_VARARGS
},
13034 { (char *)"BColor_green", _wrap_BColor_green
, METH_VARARGS
},
13035 { (char *)"BColor_blue", _wrap_BColor_blue
, METH_VARARGS
},
13036 { (char *)"BColor_setRGB", _wrap_BColor_setRGB
, METH_VARARGS
},
13037 { (char *)"BColor_screen", _wrap_BColor_screen
, METH_VARARGS
},
13038 { (char *)"BColor_setScreen", _wrap_BColor_setScreen
, METH_VARARGS
},
13039 { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated
, METH_VARARGS
},
13040 { (char *)"BColor_isValid", _wrap_BColor_isValid
, METH_VARARGS
},
13041 { (char *)"BColor_pixel", _wrap_BColor_pixel
, METH_VARARGS
},
13042 { (char *)"BColor_equals", _wrap_BColor_equals
, METH_VARARGS
},
13043 { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache
, METH_VARARGS
},
13044 { (char *)"BColor_swigregister", BColor_swigregister
, METH_VARARGS
},
13045 { (char *)"new_Configuration", _wrap_new_Configuration
, METH_VARARGS
},
13046 { (char *)"delete_Configuration", _wrap_delete_Configuration
, METH_VARARGS
},
13047 { (char *)"Configuration_file", _wrap_Configuration_file
, METH_VARARGS
},
13048 { (char *)"Configuration_setFile", _wrap_Configuration_setFile
, METH_VARARGS
},
13049 { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave
, METH_VARARGS
},
13050 { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave
, METH_VARARGS
},
13051 { (char *)"Configuration_isModified", _wrap_Configuration_isModified
, METH_VARARGS
},
13052 { (char *)"Configuration_save", _wrap_Configuration_save
, METH_VARARGS
},
13053 { (char *)"Configuration_load", _wrap_Configuration_load
, METH_VARARGS
},
13054 { (char *)"Configuration_merge", _wrap_Configuration_merge
, METH_VARARGS
},
13055 { (char *)"Configuration_create", _wrap_Configuration_create
, METH_VARARGS
},
13056 { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool
, METH_VARARGS
},
13057 { (char *)"Configuration_setValue", _wrap_Configuration_setValue
, METH_VARARGS
},
13058 { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned
, METH_VARARGS
},
13059 { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long
, METH_VARARGS
},
13060 { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong
, METH_VARARGS
},
13061 { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string
, METH_VARARGS
},
13062 { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr
, METH_VARARGS
},
13063 { (char *)"Configuration_getValue", _wrap_Configuration_getValue
, METH_VARARGS
},
13064 { (char *)"Configuration_swigregister", Configuration_swigregister
, METH_VARARGS
},
13065 { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize
, METH_VARARGS
},
13066 { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy
, METH_VARARGS
},
13067 { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache
, METH_VARARGS
},
13068 { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo
, METH_VARARGS
},
13069 { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape
, METH_VARARGS
},
13070 { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase
, METH_VARARGS
},
13071 { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama
, METH_VARARGS
},
13072 { (char *)"OBDisplay_numLockMask", _wrap_OBDisplay_numLockMask
, METH_VARARGS
},
13073 { (char *)"OBDisplay_scrollLockMask", _wrap_OBDisplay_scrollLockMask
, METH_VARARGS
},
13074 { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab
, METH_VARARGS
},
13075 { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab
, METH_VARARGS
},
13076 { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton
, METH_VARARGS
},
13077 { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton
, METH_VARARGS
},
13078 { (char *)"OBDisplay_grabKey", _wrap_OBDisplay_grabKey
, METH_VARARGS
},
13079 { (char *)"OBDisplay_ungrabKey", _wrap_OBDisplay_ungrabKey
, METH_VARARGS
},
13080 { (char *)"delete_OBDisplay", _wrap_delete_OBDisplay
, METH_VARARGS
},
13081 { (char *)"OBDisplay_swigregister", OBDisplay_swigregister
, METH_VARARGS
},
13082 { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont
, METH_VARARGS
},
13083 { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont
, METH_VARARGS
},
13084 { (char *)"new_BFont", _wrap_new_BFont
, METH_VARARGS
},
13085 { (char *)"delete_BFont", _wrap_delete_BFont
, METH_VARARGS
},
13086 { (char *)"BFont_fontstring", _wrap_BFont_fontstring
, METH_VARARGS
},
13087 { (char *)"BFont_height", _wrap_BFont_height
, METH_VARARGS
},
13088 { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth
, METH_VARARGS
},
13089 { (char *)"BFont_measureString", _wrap_BFont_measureString
, METH_VARARGS
},
13090 { (char *)"BFont_drawString", _wrap_BFont_drawString
, METH_VARARGS
},
13091 { (char *)"BFont_swigregister", BFont_swigregister
, METH_VARARGS
},
13092 { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set
, METH_VARARGS
},
13093 { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext
, METH_VARARGS
},
13094 { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister
, METH_VARARGS
},
13095 { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc
, METH_VARARGS
},
13096 { (char *)"delete_BGCCacheItem", _wrap_delete_BGCCacheItem
, METH_VARARGS
},
13097 { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister
, METH_VARARGS
},
13098 { (char *)"new_BGCCache", _wrap_new_BGCCache
, METH_VARARGS
},
13099 { (char *)"delete_BGCCache", _wrap_delete_BGCCache
, METH_VARARGS
},
13100 { (char *)"BGCCache_purge", _wrap_BGCCache_purge
, METH_VARARGS
},
13101 { (char *)"BGCCache_find", _wrap_BGCCache_find
, METH_VARARGS
},
13102 { (char *)"BGCCache_release", _wrap_BGCCache_release
, METH_VARARGS
},
13103 { (char *)"BGCCache_swigregister", BGCCache_swigregister
, METH_VARARGS
},
13104 { (char *)"new_BPen", _wrap_new_BPen
, METH_VARARGS
},
13105 { (char *)"delete_BPen", _wrap_delete_BPen
, METH_VARARGS
},
13106 { (char *)"BPen_gc", _wrap_BPen_gc
, METH_VARARGS
},
13107 { (char *)"BPen_swigregister", BPen_swigregister
, METH_VARARGS
},
13108 { (char *)"new_BImage", _wrap_new_BImage
, METH_VARARGS
},
13109 { (char *)"delete_BImage", _wrap_delete_BImage
, METH_VARARGS
},
13110 { (char *)"BImage_render", _wrap_BImage_render
, METH_VARARGS
},
13111 { (char *)"BImage_swigregister", BImage_swigregister
, METH_VARARGS
},
13112 { (char *)"new_BImageControl", _wrap_new_BImageControl
, METH_VARARGS
},
13113 { (char *)"delete_BImageControl", _wrap_delete_BImageControl
, METH_VARARGS
},
13114 { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither
, METH_VARARGS
},
13115 { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo
, METH_VARARGS
},
13116 { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable
, METH_VARARGS
},
13117 { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual
, METH_VARARGS
},
13118 { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel
, METH_VARARGS
},
13119 { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth
, METH_VARARGS
},
13120 { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel
, METH_VARARGS
},
13121 { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt
, METH_VARARGS
},
13122 { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage
, METH_VARARGS
},
13123 { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap
, METH_VARARGS
},
13124 { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage
, METH_VARARGS
},
13125 { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables
, METH_VARARGS
},
13126 { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable
, METH_VARARGS
},
13127 { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers
, METH_VARARGS
},
13128 { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither
, METH_VARARGS
},
13129 { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel
, METH_VARARGS
},
13130 { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout
, METH_VARARGS
},
13131 { (char *)"BImageControl_swigregister", BImageControl_swigregister
, METH_VARARGS
},
13132 { (char *)"new_Point", _wrap_new_Point
, METH_VARARGS
},
13133 { (char *)"Point_setX", _wrap_Point_setX
, METH_VARARGS
},
13134 { (char *)"Point_x", _wrap_Point_x
, METH_VARARGS
},
13135 { (char *)"Point_setY", _wrap_Point_setY
, METH_VARARGS
},
13136 { (char *)"Point_y", _wrap_Point_y
, METH_VARARGS
},
13137 { (char *)"Point_setPoint", _wrap_Point_setPoint
, METH_VARARGS
},
13138 { (char *)"delete_Point", _wrap_delete_Point
, METH_VARARGS
},
13139 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
13140 { (char *)"new_OBProperty", _wrap_new_OBProperty
, METH_VARARGS
},
13141 { (char *)"delete_OBProperty", _wrap_delete_OBProperty
, METH_VARARGS
},
13142 { (char *)"OBProperty_set", _wrap_OBProperty_set
, METH_VARARGS
},
13143 { (char *)"OBProperty_get", _wrap_OBProperty_get
, METH_VARARGS
},
13144 { (char *)"OBProperty_erase", _wrap_OBProperty_erase
, METH_VARARGS
},
13145 { (char *)"OBProperty_atom", _wrap_OBProperty_atom
, METH_VARARGS
},
13146 { (char *)"OBProperty_swigregister", OBProperty_swigregister
, METH_VARARGS
},
13147 { (char *)"new_Rect", _wrap_new_Rect
, METH_VARARGS
},
13148 { (char *)"Rect_left", _wrap_Rect_left
, METH_VARARGS
},
13149 { (char *)"Rect_top", _wrap_Rect_top
, METH_VARARGS
},
13150 { (char *)"Rect_right", _wrap_Rect_right
, METH_VARARGS
},
13151 { (char *)"Rect_bottom", _wrap_Rect_bottom
, METH_VARARGS
},
13152 { (char *)"Rect_x", _wrap_Rect_x
, METH_VARARGS
},
13153 { (char *)"Rect_y", _wrap_Rect_y
, METH_VARARGS
},
13154 { (char *)"Rect_location", _wrap_Rect_location
, METH_VARARGS
},
13155 { (char *)"Rect_setX", _wrap_Rect_setX
, METH_VARARGS
},
13156 { (char *)"Rect_setY", _wrap_Rect_setY
, METH_VARARGS
},
13157 { (char *)"Rect_setPos", _wrap_Rect_setPos
, METH_VARARGS
},
13158 { (char *)"Rect_width", _wrap_Rect_width
, METH_VARARGS
},
13159 { (char *)"Rect_height", _wrap_Rect_height
, METH_VARARGS
},
13160 { (char *)"Rect_size", _wrap_Rect_size
, METH_VARARGS
},
13161 { (char *)"Rect_setWidth", _wrap_Rect_setWidth
, METH_VARARGS
},
13162 { (char *)"Rect_setHeight", _wrap_Rect_setHeight
, METH_VARARGS
},
13163 { (char *)"Rect_setSize", _wrap_Rect_setSize
, METH_VARARGS
},
13164 { (char *)"Rect_setRect", _wrap_Rect_setRect
, METH_VARARGS
},
13165 { (char *)"Rect_setCoords", _wrap_Rect_setCoords
, METH_VARARGS
},
13166 { (char *)"Rect_equals", _wrap_Rect_equals
, METH_VARARGS
},
13167 { (char *)"Rect_valid", _wrap_Rect_valid
, METH_VARARGS
},
13168 { (char *)"Rect_intersects", _wrap_Rect_intersects
, METH_VARARGS
},
13169 { (char *)"Rect_contains", _wrap_Rect_contains
, METH_VARARGS
},
13170 { (char *)"delete_Rect", _wrap_delete_Rect
, METH_VARARGS
},
13171 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
13172 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo
, METH_VARARGS
},
13173 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual
, METH_VARARGS
},
13174 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow
, METH_VARARGS
},
13175 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap
, METH_VARARGS
},
13176 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth
, METH_VARARGS
},
13177 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen
, METH_VARARGS
},
13178 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect
, METH_VARARGS
},
13179 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width
, METH_VARARGS
},
13180 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height
, METH_VARARGS
},
13181 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString
, METH_VARARGS
},
13182 { (char *)"delete_ScreenInfo", _wrap_delete_ScreenInfo
, METH_VARARGS
},
13183 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister
, METH_VARARGS
},
13184 { (char *)"Strut_top_set", _wrap_Strut_top_set
, METH_VARARGS
},
13185 { (char *)"Strut_top_get", _wrap_Strut_top_get
, METH_VARARGS
},
13186 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set
, METH_VARARGS
},
13187 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get
, METH_VARARGS
},
13188 { (char *)"Strut_left_set", _wrap_Strut_left_set
, METH_VARARGS
},
13189 { (char *)"Strut_left_get", _wrap_Strut_left_get
, METH_VARARGS
},
13190 { (char *)"Strut_right_set", _wrap_Strut_right_set
, METH_VARARGS
},
13191 { (char *)"Strut_right_get", _wrap_Strut_right_get
, METH_VARARGS
},
13192 { (char *)"new_Strut", _wrap_new_Strut
, METH_VARARGS
},
13193 { (char *)"delete_Strut", _wrap_delete_Strut
, METH_VARARGS
},
13194 { (char *)"Strut_swigregister", Strut_swigregister
, METH_VARARGS
},
13195 { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set
, METH_VARARGS
},
13196 { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get
, METH_VARARGS
},
13197 { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set
, METH_VARARGS
},
13198 { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get
, METH_VARARGS
},
13199 { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set
, METH_VARARGS
},
13200 { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get
, METH_VARARGS
},
13201 { (char *)"new_PixmapMask", _wrap_new_PixmapMask
, METH_VARARGS
},
13202 { (char *)"delete_PixmapMask", _wrap_delete_PixmapMask
, METH_VARARGS
},
13203 { (char *)"PixmapMask_swigregister", PixmapMask_swigregister
, METH_VARARGS
},
13204 { (char *)"Style_image_control_set", _wrap_Style_image_control_set
, METH_VARARGS
},
13205 { (char *)"Style_image_control_get", _wrap_Style_image_control_get
, METH_VARARGS
},
13206 { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set
, METH_VARARGS
},
13207 { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get
, METH_VARARGS
},
13208 { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set
, METH_VARARGS
},
13209 { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get
, METH_VARARGS
},
13210 { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set
, METH_VARARGS
},
13211 { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get
, METH_VARARGS
},
13212 { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set
, METH_VARARGS
},
13213 { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get
, METH_VARARGS
},
13214 { (char *)"Style_border_color_set", _wrap_Style_border_color_set
, METH_VARARGS
},
13215 { (char *)"Style_border_color_get", _wrap_Style_border_color_get
, METH_VARARGS
},
13216 { (char *)"Style_font_set", _wrap_Style_font_set
, METH_VARARGS
},
13217 { (char *)"Style_font_get", _wrap_Style_font_get
, METH_VARARGS
},
13218 { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set
, METH_VARARGS
},
13219 { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get
, METH_VARARGS
},
13220 { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set
, METH_VARARGS
},
13221 { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get
, METH_VARARGS
},
13222 { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set
, METH_VARARGS
},
13223 { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get
, METH_VARARGS
},
13224 { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set
, METH_VARARGS
},
13225 { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get
, METH_VARARGS
},
13226 { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set
, METH_VARARGS
},
13227 { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get
, METH_VARARGS
},
13228 { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set
, METH_VARARGS
},
13229 { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get
, METH_VARARGS
},
13230 { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set
, METH_VARARGS
},
13231 { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get
, METH_VARARGS
},
13232 { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set
, METH_VARARGS
},
13233 { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get
, METH_VARARGS
},
13234 { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set
, METH_VARARGS
},
13235 { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get
, METH_VARARGS
},
13236 { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set
, METH_VARARGS
},
13237 { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get
, METH_VARARGS
},
13238 { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set
, METH_VARARGS
},
13239 { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get
, METH_VARARGS
},
13240 { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set
, METH_VARARGS
},
13241 { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get
, METH_VARARGS
},
13242 { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set
, METH_VARARGS
},
13243 { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get
, METH_VARARGS
},
13244 { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set
, METH_VARARGS
},
13245 { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get
, METH_VARARGS
},
13246 { (char *)"Style_close_button_set", _wrap_Style_close_button_set
, METH_VARARGS
},
13247 { (char *)"Style_close_button_get", _wrap_Style_close_button_get
, METH_VARARGS
},
13248 { (char *)"Style_max_button_set", _wrap_Style_max_button_set
, METH_VARARGS
},
13249 { (char *)"Style_max_button_get", _wrap_Style_max_button_get
, METH_VARARGS
},
13250 { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set
, METH_VARARGS
},
13251 { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get
, METH_VARARGS
},
13252 { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set
, METH_VARARGS
},
13253 { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get
, METH_VARARGS
},
13254 { (char *)"Style_justify_set", _wrap_Style_justify_set
, METH_VARARGS
},
13255 { (char *)"Style_justify_get", _wrap_Style_justify_get
, METH_VARARGS
},
13256 { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set
, METH_VARARGS
},
13257 { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get
, METH_VARARGS
},
13258 { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set
, METH_VARARGS
},
13259 { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get
, METH_VARARGS
},
13260 { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set
, METH_VARARGS
},
13261 { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get
, METH_VARARGS
},
13262 { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set
, METH_VARARGS
},
13263 { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get
, METH_VARARGS
},
13264 { (char *)"Style_border_width_set", _wrap_Style_border_width_set
, METH_VARARGS
},
13265 { (char *)"Style_border_width_get", _wrap_Style_border_width_get
, METH_VARARGS
},
13266 { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set
, METH_VARARGS
},
13267 { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get
, METH_VARARGS
},
13268 { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set
, METH_VARARGS
},
13269 { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get
, METH_VARARGS
},
13270 { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set
, METH_VARARGS
},
13271 { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get
, METH_VARARGS
},
13272 { (char *)"new_Style", _wrap_new_Style
, METH_VARARGS
},
13273 { (char *)"delete_Style", _wrap_delete_Style
, METH_VARARGS
},
13274 { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask
, METH_VARARGS
},
13275 { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture
, METH_VARARGS
},
13276 { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor
, METH_VARARGS
},
13277 { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont
, METH_VARARGS
},
13278 { (char *)"Style_load", _wrap_Style_load
, METH_VARARGS
},
13279 { (char *)"Style_getCloseButtonMask", _wrap_Style_getCloseButtonMask
, METH_VARARGS
},
13280 { (char *)"Style_getMaximizeButtonMask", _wrap_Style_getMaximizeButtonMask
, METH_VARARGS
},
13281 { (char *)"Style_getIconifyButtonMask", _wrap_Style_getIconifyButtonMask
, METH_VARARGS
},
13282 { (char *)"Style_getStickyButtonMask", _wrap_Style_getStickyButtonMask
, METH_VARARGS
},
13283 { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus
, METH_VARARGS
},
13284 { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus
, METH_VARARGS
},
13285 { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus
, METH_VARARGS
},
13286 { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus
, METH_VARARGS
},
13287 { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus
, METH_VARARGS
},
13288 { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus
, METH_VARARGS
},
13289 { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus
, METH_VARARGS
},
13290 { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus
, METH_VARARGS
},
13291 { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus
, METH_VARARGS
},
13292 { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus
, METH_VARARGS
},
13293 { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus
, METH_VARARGS
},
13294 { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus
, METH_VARARGS
},
13295 { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus
, METH_VARARGS
},
13296 { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus
, METH_VARARGS
},
13297 { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus
, METH_VARARGS
},
13298 { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus
, METH_VARARGS
},
13299 { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth
, METH_VARARGS
},
13300 { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth
, METH_VARARGS
},
13301 { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth
, METH_VARARGS
},
13302 { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth
, METH_VARARGS
},
13303 { (char *)"Style_getFont", _wrap_Style_getFont
, METH_VARARGS
},
13304 { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts
, METH_VARARGS
},
13305 { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts
, METH_VARARGS
},
13306 { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts
, METH_VARARGS
},
13307 { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts
, METH_VARARGS
},
13308 { (char *)"Style_textJustify", _wrap_Style_textJustify
, METH_VARARGS
},
13309 { (char *)"Style_bulletType", _wrap_Style_bulletType
, METH_VARARGS
},
13310 { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor
, METH_VARARGS
},
13311 { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus
, METH_VARARGS
},
13312 { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus
, METH_VARARGS
},
13313 { (char *)"Style_setImageControl", _wrap_Style_setImageControl
, METH_VARARGS
},
13314 { (char *)"Style_getScreen", _wrap_Style_getScreen
, METH_VARARGS
},
13315 { (char *)"Style_swigregister", Style_swigregister
, METH_VARARGS
},
13316 { (char *)"new_BTexture", _wrap_new_BTexture
, METH_VARARGS
},
13317 { (char *)"BTexture_setColor", _wrap_BTexture_setColor
, METH_VARARGS
},
13318 { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo
, METH_VARARGS
},
13319 { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor
, METH_VARARGS
},
13320 { (char *)"BTexture_color", _wrap_BTexture_color
, METH_VARARGS
},
13321 { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo
, METH_VARARGS
},
13322 { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor
, METH_VARARGS
},
13323 { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor
, METH_VARARGS
},
13324 { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor
, METH_VARARGS
},
13325 { (char *)"BTexture_texture", _wrap_BTexture_texture
, METH_VARARGS
},
13326 { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture
, METH_VARARGS
},
13327 { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture
, METH_VARARGS
},
13328 { (char *)"BTexture_equals", _wrap_BTexture_equals
, METH_VARARGS
},
13329 { (char *)"BTexture_screen", _wrap_BTexture_screen
, METH_VARARGS
},
13330 { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen
, METH_VARARGS
},
13331 { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl
, METH_VARARGS
},
13332 { (char *)"BTexture_description", _wrap_BTexture_description
, METH_VARARGS
},
13333 { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription
, METH_VARARGS
},
13334 { (char *)"BTexture_render", _wrap_BTexture_render
, METH_VARARGS
},
13335 { (char *)"delete_BTexture", _wrap_delete_BTexture
, METH_VARARGS
},
13336 { (char *)"BTexture_swigregister", BTexture_swigregister
, METH_VARARGS
},
13337 { (char *)"new_OBTimer", _wrap_new_OBTimer
, METH_VARARGS
},
13338 { (char *)"delete_OBTimer", _wrap_delete_OBTimer
, METH_VARARGS
},
13339 { (char *)"OBTimer_fire", _wrap_OBTimer_fire
, METH_VARARGS
},
13340 { (char *)"OBTimer_timing", _wrap_OBTimer_timing
, METH_VARARGS
},
13341 { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring
, METH_VARARGS
},
13342 { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout
, METH_VARARGS
},
13343 { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime
, METH_VARARGS
},
13344 { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime
, METH_VARARGS
},
13345 { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire
, METH_VARARGS
},
13346 { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime
, METH_VARARGS
},
13347 { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring
, METH_VARARGS
},
13348 { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout
, METH_VARARGS
},
13349 { (char *)"OBTimer_start", _wrap_OBTimer_start
, METH_VARARGS
},
13350 { (char *)"OBTimer_stop", _wrap_OBTimer_stop
, METH_VARARGS
},
13351 { (char *)"OBTimer_swigregister", OBTimer_swigregister
, METH_VARARGS
},
13352 { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager
, METH_VARARGS
},
13353 { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager
, METH_VARARGS
},
13354 { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire
, METH_VARARGS
},
13355 { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer
, METH_VARARGS
},
13356 { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer
, METH_VARARGS
},
13357 { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister
, METH_VARARGS
},
13358 { (char *)"expandTilde", _wrap_expandTilde
, METH_VARARGS
},
13359 { (char *)"bexec", _wrap_bexec
, METH_VARARGS
},
13360 { (char *)"textPropertyToString", _wrap_textPropertyToString
, METH_VARARGS
},
13361 { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long
, METH_VARARGS
},
13362 { (char *)"itostring_long", _wrap_itostring_long
, METH_VARARGS
},
13363 { (char *)"itostring_unsigned", _wrap_itostring_unsigned
, METH_VARARGS
},
13364 { (char *)"itostring", _wrap_itostring
, METH_VARARGS
},
13365 { (char *)"basename", _wrap_basename
, METH_VARARGS
},
13370 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13372 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x
) {
13373 return (void *)((otk::OtkFocusWidget
*) (otk::OtkFocusLabel
*) ((otk::OtkButton
*) x
));
13375 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x
) {
13376 return (void *)((otk::OtkFocusWidget
*) ((otk::OtkFocusLabel
*) x
));
13378 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x
) {
13379 return (void *)((otk::OtkWidget
*) (otk::OtkFocusWidget
*)(otk::OtkFocusLabel
*) ((otk::OtkButton
*) x
));
13381 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x
) {
13382 return (void *)((otk::OtkWidget
*) ((otk::OtkAppWidget
*) x
));
13384 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x
) {
13385 return (void *)((otk::OtkWidget
*) ((otk::OtkFocusWidget
*) x
));
13387 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x
) {
13388 return (void *)((otk::OtkWidget
*) (otk::OtkFocusWidget
*) ((otk::OtkFocusLabel
*) x
));
13390 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x
) {
13391 return (void *)((otk::OtkEventHandler
*) (otk::OtkWidget
*)(otk::OtkFocusWidget
*)(otk::OtkFocusLabel
*) ((otk::OtkButton
*) x
));
13393 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x
) {
13394 return (void *)((otk::OtkEventHandler
*) (otk::OtkWidget
*) ((otk::OtkAppWidget
*) x
));
13396 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x
) {
13397 return (void *)((otk::OtkEventHandler
*) ((otk::OtkWidget
*) x
));
13399 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x
) {
13400 return (void *)((otk::OtkEventHandler
*) (otk::OtkWidget
*) ((otk::OtkFocusWidget
*) x
));
13402 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x
) {
13403 return (void *)((otk::OtkEventHandler
*) (otk::OtkWidget
*)(otk::OtkFocusWidget
*) ((otk::OtkFocusLabel
*) x
));
13405 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x
) {
13406 return (void *)((otk::OtkFocusLabel
*) ((otk::OtkButton
*) x
));
13408 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x
) {
13409 return (void *)((otk::OtkEventDispatcher
*) ((otk::OtkApplication
*) x
));
13411 static swig_type_info _swigt__p_otk__BGCCache
[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
13412 static swig_type_info _swigt__p_otk__BColor
[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
13413 static swig_type_info _swigt__p_otk__OBProperty__StringVect
[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
13414 static swig_type_info _swigt__p_XFontStruct
[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
13415 static swig_type_info _swigt__p_otk__Configuration
[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
13416 static swig_type_info _swigt__p_otk__PixmapMask
[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
13417 static swig_type_info _swigt__p_Atom
[] = {{"_p_Atom", 0, "Atom *", 0},{"_p_Atom"},{0}};
13418 static swig_type_info _swigt__p_otk__PointerAssassin
[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
13419 static swig_type_info _swigt__p_otk__BImage
[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
13420 static swig_type_info _swigt__p_otk__OBTimer
[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
13421 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList
[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
13422 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
13423 static swig_type_info _swigt__p_otk__OBDisplay
[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
13424 static swig_type_info _swigt__p_Display
[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
13425 static swig_type_info _swigt__p_p_XColor
[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
13426 static swig_type_info _swigt__p_XReparentEvent
[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
13427 static swig_type_info _swigt__p_otk__BPen
[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
13428 static swig_type_info _swigt__p_otk__BImageControl
[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
13429 static swig_type_info _swigt__p_otk__OtkButton
[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
13430 static swig_type_info _swigt__p_otk__Rect
[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
13431 static swig_type_info _swigt__p_otk__Style
[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
13432 static swig_type_info _swigt__p_XSelectionClearEvent
[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
13433 static swig_type_info _swigt__p_Visual
[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
13434 static swig_type_info _swigt__p_timeval
[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
13435 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13436 static swig_type_info _swigt__p_otk__Strut
[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
13437 static swig_type_info _swigt__p_otk__OtkApplication
[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
13438 static swig_type_info _swigt__p_XRectangle
[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
13439 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}};
13440 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}};
13441 static swig_type_info _swigt__p_Cursor
[] = {{"_p_Cursor", 0, "Cursor *", 0},{"_p_Cursor"},{0}};
13442 static swig_type_info _swigt__p_Colormap
[] = {{"_p_Colormap", 0, "Colormap *", 0},{"_p_Colormap"},{0}};
13443 static swig_type_info _swigt__p_XGravityEvent
[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
13444 static swig_type_info _swigt__p_XVisibilityEvent
[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
13445 static swig_type_info _swigt__p_XPropertyEvent
[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
13446 static swig_type_info _swigt__p_Window
[] = {{"_p_Window", 0, "Window *", 0},{"_p_Window"},{0}};
13447 static swig_type_info _swigt__p_otk__BGCCacheContext
[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
13448 static swig_type_info _swigt__p_XCreateWindowEvent
[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
13449 static swig_type_info _swigt__p_XDestroyWindowEvent
[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
13450 static swig_type_info _swigt__p_Time
[] = {{"_p_Time", 0, "Time *", 0},{"_p_Time"},{0}};
13451 static swig_type_info _swigt__p_XCirculateEvent
[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
13452 static swig_type_info _swigt__p_XConfigureEvent
[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
13453 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
13454 static swig_type_info _swigt__p_otk__OBProperty
[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
13455 static swig_type_info _swigt__p_XTextProperty
[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
13456 static swig_type_info _swigt__p_otk__OtkEventHandler
[] = {{"_p_otk__OtkEventHandler", 0, "otk::OtkEventHandler *", 0},{"_p_otk__OtkEventHandler"},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkEventHandler
},{"_p_otk__OtkAppWidget", _p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler
},{"_p_otk__OtkWidget", _p_otk__OtkWidgetTo_p_otk__OtkEventHandler
},{"_p_otk__OtkFocusWidget", _p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler
},{"_p_otk__OtkFocusLabel", _p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler
},{0}};
13457 static swig_type_info _swigt__p_XSelectionRequestEvent
[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
13458 static swig_type_info _swigt__p_XCirculateRequestEvent
[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
13459 static swig_type_info _swigt__p_XConfigureRequestEvent
[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
13460 static swig_type_info _swigt__p_XMapRequestEvent
[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
13461 static swig_type_info _swigt__p_XResizeRequestEvent
[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
13462 static swig_type_info _swigt__otk__OBTimeoutHandler
[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
13463 static swig_type_info _swigt__p_XftDraw
[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
13464 static swig_type_info _swigt__p_otk__ScreenInfo
[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
13465 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}};
13466 static swig_type_info _swigt__p_otk__BTexture
[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
13467 static swig_type_info _swigt__p_otk__OtkEventDispatcher
[] = {{"_p_otk__OtkEventDispatcher", 0, "otk::OtkEventDispatcher *", 0},{"_p_otk__OtkApplication", _p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher
},{"_p_otk__OtkEventDispatcher"},{0}};
13468 static swig_type_info _swigt__p_otk__BFont
[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
13469 static swig_type_info _swigt__p_otk__Point
[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
13470 static swig_type_info _swigt__p_p_char
[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
13471 static swig_type_info _swigt__p_XMotionEvent
[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
13472 static swig_type_info _swigt__p_XButtonEvent
[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
13473 static swig_type_info _swigt__p_XSelectionEvent
[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
13474 static swig_type_info _swigt__p_Pixmap
[] = {{"_p_Pixmap", 0, "Pixmap *", 0},{"_p_Pixmap"},{0}};
13475 static swig_type_info _swigt__p_GC
[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
13476 static swig_type_info _swigt__p_otk__OBTimerQueueManager
[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
13477 static swig_type_info _swigt__p_otk__OtkAppWidget
[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
13478 static swig_type_info _swigt__p_XKeyEvent
[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
13479 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
13480 static swig_type_info _swigt__p_XEvent
[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
13481 static swig_type_info _swigt__p_p_unsigned_long
[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
13482 static swig_type_info _swigt__p_std__string
[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
13483 static swig_type_info _swigt__p_XCrossingEvent
[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
13484 static swig_type_info _swigt__p_XMappingEvent
[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
13485 static swig_type_info _swigt__p_otk__BGCCacheItem
[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
13486 static swig_type_info _swigt__p_p_unsigned_int
[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
13487 static swig_type_info _swigt__p_unsigned_int
[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
13488 static swig_type_info _swigt__p_p_unsigned_char
[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
13489 static swig_type_info _swigt__p_XClientMessageEvent
[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
13490 static swig_type_info _swigt__p_XExposeEvent
[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
13491 static swig_type_info _swigt__p_XFocusChangeEvent
[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
13492 static swig_type_info _swigt__p_XGraphicsExposeEvent
[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
13493 static swig_type_info _swigt__p_XNoExposeEvent
[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
13494 static swig_type_info _swigt__p_XMapEvent
[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
13495 static swig_type_info _swigt__p_XUnmapEvent
[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
13496 static swig_type_info _swigt__p_XColormapEvent
[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
13498 static swig_type_info
*swig_types_initial
[] = {
13499 _swigt__p_otk__BGCCache
,
13500 _swigt__p_otk__BColor
,
13501 _swigt__p_otk__OBProperty__StringVect
,
13502 _swigt__p_XFontStruct
,
13503 _swigt__p_otk__Configuration
,
13504 _swigt__p_otk__PixmapMask
,
13506 _swigt__p_otk__PointerAssassin
,
13507 _swigt__p_otk__BImage
,
13508 _swigt__p_otk__OBTimer
,
13509 _swigt__p_otk__OtkWidget__OtkWidgetList
,
13511 _swigt__p_otk__OBDisplay
,
13513 _swigt__p_p_XColor
,
13514 _swigt__p_XReparentEvent
,
13515 _swigt__p_otk__BPen
,
13516 _swigt__p_otk__BImageControl
,
13517 _swigt__p_otk__OtkButton
,
13518 _swigt__p_otk__Rect
,
13519 _swigt__p_otk__Style
,
13520 _swigt__p_XSelectionClearEvent
,
13524 _swigt__p_otk__Strut
,
13525 _swigt__p_otk__OtkApplication
,
13526 _swigt__p_XRectangle
,
13527 _swigt__p_otk__OtkFocusWidget
,
13528 _swigt__p_otk__OtkWidget
,
13530 _swigt__p_Colormap
,
13531 _swigt__p_XGravityEvent
,
13532 _swigt__p_XVisibilityEvent
,
13533 _swigt__p_XPropertyEvent
,
13535 _swigt__p_otk__BGCCacheContext
,
13536 _swigt__p_XCreateWindowEvent
,
13537 _swigt__p_XDestroyWindowEvent
,
13539 _swigt__p_XCirculateEvent
,
13540 _swigt__p_XConfigureEvent
,
13542 _swigt__p_otk__OBProperty
,
13543 _swigt__p_XTextProperty
,
13544 _swigt__p_otk__OtkEventHandler
,
13545 _swigt__p_XSelectionRequestEvent
,
13546 _swigt__p_XCirculateRequestEvent
,
13547 _swigt__p_XConfigureRequestEvent
,
13548 _swigt__p_XMapRequestEvent
,
13549 _swigt__p_XResizeRequestEvent
,
13550 _swigt__otk__OBTimeoutHandler
,
13552 _swigt__p_otk__ScreenInfo
,
13553 _swigt__p_otk__OtkFocusLabel
,
13554 _swigt__p_otk__BTexture
,
13555 _swigt__p_otk__OtkEventDispatcher
,
13556 _swigt__p_otk__BFont
,
13557 _swigt__p_otk__Point
,
13559 _swigt__p_XMotionEvent
,
13560 _swigt__p_XButtonEvent
,
13561 _swigt__p_XSelectionEvent
,
13564 _swigt__p_otk__OBTimerQueueManager
,
13565 _swigt__p_otk__OtkAppWidget
,
13566 _swigt__p_XKeyEvent
,
13567 _swigt__p_unsigned_long
,
13569 _swigt__p_p_unsigned_long
,
13570 _swigt__p_std__string
,
13571 _swigt__p_XCrossingEvent
,
13572 _swigt__p_XMappingEvent
,
13573 _swigt__p_otk__BGCCacheItem
,
13574 _swigt__p_p_unsigned_int
,
13575 _swigt__p_unsigned_int
,
13576 _swigt__p_p_unsigned_char
,
13577 _swigt__p_XClientMessageEvent
,
13578 _swigt__p_XExposeEvent
,
13579 _swigt__p_XFocusChangeEvent
,
13580 _swigt__p_XGraphicsExposeEvent
,
13581 _swigt__p_XNoExposeEvent
,
13582 _swigt__p_XMapEvent
,
13583 _swigt__p_XUnmapEvent
,
13584 _swigt__p_XColormapEvent
,
13589 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13591 static swig_const_info swig_const_table
[] = {
13592 { SWIG_PY_INT
, (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal
, 0, 0, 0},
13593 { SWIG_PY_INT
, (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical
, 0, 0, 0},
13594 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal
, 0, 0, 0},
13595 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window
, 0, 0, 0},
13596 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap
, 0, 0, 0},
13597 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom
, 0, 0, 0},
13598 { SWIG_PY_INT
, (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String
, 0, 0, 0},
13599 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8
, 0, 0, 0},
13600 { SWIG_PY_INT
, (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid
, 0, 0, 0},
13601 { SWIG_PY_INT
, (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows
, 0, 0, 0},
13602 { SWIG_PY_INT
, (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols
, 0, 0, 0},
13603 { SWIG_PY_INT
, (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state
, 0, 0, 0},
13604 { SWIG_PY_INT
, (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window
, 0, 0, 0},
13605 { SWIG_PY_INT
, (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus
, 0, 0, 0},
13606 { SWIG_PY_INT
, (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state
, 0, 0, 0},
13607 { SWIG_PY_INT
, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name
, 0, 0, 0},
13608 { SWIG_PY_INT
, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name
, 0, 0, 0},
13609 { SWIG_PY_INT
, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class
, 0, 0, 0},
13610 { SWIG_PY_INT
, (char *)"OBProperty_wm_window_role", (long) otk::OBProperty::wm_window_role
, 0, 0, 0},
13611 { SWIG_PY_INT
, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints
, 0, 0, 0},
13612 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes
, 0, 0, 0},
13613 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes
, 0, 0, 0},
13614 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints
, 0, 0, 0},
13615 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages
, 0, 0, 0},
13616 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup
, 0, 0, 0},
13617 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add
, 0, 0, 0},
13618 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del
, 0, 0, 0},
13619 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus
, 0, 0, 0},
13620 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace
, 0, 0, 0},
13621 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count
, 0, 0, 0},
13622 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise
, 0, 0, 0},
13623 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower
, 0, 0, 0},
13624 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace
, 0, 0, 0},
13625 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus
, 0, 0, 0},
13626 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus
, 0, 0, 0},
13627 { SWIG_PY_INT
, (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu
, 0, 0, 0},
13628 { SWIG_PY_INT
, (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu
, 0, 0, 0},
13629 { SWIG_PY_INT
, (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported
, 0, 0, 0},
13630 { SWIG_PY_INT
, (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list
, 0, 0, 0},
13631 { SWIG_PY_INT
, (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking
, 0, 0, 0},
13632 { SWIG_PY_INT
, (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops
, 0, 0, 0},
13633 { SWIG_PY_INT
, (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry
, 0, 0, 0},
13634 { SWIG_PY_INT
, (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport
, 0, 0, 0},
13635 { SWIG_PY_INT
, (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop
, 0, 0, 0},
13636 { SWIG_PY_INT
, (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names
, 0, 0, 0},
13637 { SWIG_PY_INT
, (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window
, 0, 0, 0},
13638 { SWIG_PY_INT
, (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea
, 0, 0, 0},
13639 { SWIG_PY_INT
, (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check
, 0, 0, 0},
13640 { SWIG_PY_INT
, (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window
, 0, 0, 0},
13641 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize
, 0, 0, 0},
13642 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name
, 0, 0, 0},
13643 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name
, 0, 0, 0},
13644 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name
, 0, 0, 0},
13645 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name
, 0, 0, 0},
13646 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop
, 0, 0, 0},
13647 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type
, 0, 0, 0},
13648 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state
, 0, 0, 0},
13649 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut
, 0, 0, 0},
13650 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions
, 0, 0, 0},
13651 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop
, 0, 0, 0},
13652 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock
, 0, 0, 0},
13653 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar
, 0, 0, 0},
13654 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu
, 0, 0, 0},
13655 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility
, 0, 0, 0},
13656 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash
, 0, 0, 0},
13657 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog
, 0, 0, 0},
13658 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal
, 0, 0, 0},
13659 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft
, 0, 0, 0},
13660 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright
, 0, 0, 0},
13661 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft
, 0, 0, 0},
13662 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright
, 0, 0, 0},
13663 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move
, 0, 0, 0},
13664 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move
, 0, 0, 0},
13665 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize
, 0, 0, 0},
13666 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade
, 0, 0, 0},
13667 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz
, 0, 0, 0},
13668 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert
, 0, 0, 0},
13669 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop
, 0, 0, 0},
13670 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close
, 0, 0, 0},
13671 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal
, 0, 0, 0},
13672 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_sticky", (long) otk::OBProperty::net_wm_state_sticky
, 0, 0, 0},
13673 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert
, 0, 0, 0},
13674 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz
, 0, 0, 0},
13675 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded
, 0, 0, 0},
13676 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar
, 0, 0, 0},
13677 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager
, 0, 0, 0},
13678 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden
, 0, 0, 0},
13679 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen
, 0, 0, 0},
13680 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_above", (long) otk::OBProperty::net_wm_state_above
, 0, 0, 0},
13681 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_below", (long) otk::OBProperty::net_wm_state_below
, 0, 0, 0},
13682 { SWIG_PY_INT
, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows
, 0, 0, 0},
13683 { 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},
13684 { SWIG_PY_INT
, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override
, 0, 0, 0},
13685 { SWIG_PY_INT
, (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS
, 0, 0, 0},
13686 { SWIG_PY_INT
, (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii
, 0, 0, 0},
13687 { SWIG_PY_INT
, (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8
, 0, 0, 0},
13688 { SWIG_PY_INT
, (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE
, 0, 0, 0},
13689 { SWIG_PY_INT
, (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus
, 0, 0, 0},
13690 { SWIG_PY_INT
, (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus
, 0, 0, 0},
13691 { SWIG_PY_INT
, (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus
, 0, 0, 0},
13692 { SWIG_PY_INT
, (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus
, 0, 0, 0},
13693 { SWIG_PY_INT
, (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus
, 0, 0, 0},
13694 { SWIG_PY_INT
, (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus
, 0, 0, 0},
13695 { SWIG_PY_INT
, (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus
, 0, 0, 0},
13696 { SWIG_PY_INT
, (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus
, 0, 0, 0},
13697 { SWIG_PY_INT
, (char *)"Style_GripFocus", (long) otk::Style::GripFocus
, 0, 0, 0},
13698 { SWIG_PY_INT
, (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus
, 0, 0, 0},
13699 { SWIG_PY_INT
, (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify
, 0, 0, 0},
13700 { SWIG_PY_INT
, (char *)"Style_RightJustify", (long) otk::Style::RightJustify
, 0, 0, 0},
13701 { SWIG_PY_INT
, (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify
, 0, 0, 0},
13702 { SWIG_PY_INT
, (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet
, 0, 0, 0},
13703 { SWIG_PY_INT
, (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet
, 0, 0, 0},
13704 { SWIG_PY_INT
, (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet
, 0, 0, 0},
13705 { SWIG_PY_INT
, (char *)"Style_NoBullet", (long) otk::Style::NoBullet
, 0, 0, 0},
13706 { SWIG_PY_INT
, (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture
, 0, 0, 0},
13707 { SWIG_PY_INT
, (char *)"BTexture_Flat", (long) otk::BTexture::Flat
, 0, 0, 0},
13708 { SWIG_PY_INT
, (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken
, 0, 0, 0},
13709 { SWIG_PY_INT
, (char *)"BTexture_Raised", (long) otk::BTexture::Raised
, 0, 0, 0},
13710 { SWIG_PY_INT
, (char *)"BTexture_Solid", (long) otk::BTexture::Solid
, 0, 0, 0},
13711 { SWIG_PY_INT
, (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient
, 0, 0, 0},
13712 { SWIG_PY_INT
, (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal
, 0, 0, 0},
13713 { SWIG_PY_INT
, (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical
, 0, 0, 0},
13714 { SWIG_PY_INT
, (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal
, 0, 0, 0},
13715 { SWIG_PY_INT
, (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal
, 0, 0, 0},
13716 { SWIG_PY_INT
, (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle
, 0, 0, 0},
13717 { SWIG_PY_INT
, (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid
, 0, 0, 0},
13718 { SWIG_PY_INT
, (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross
, 0, 0, 0},
13719 { SWIG_PY_INT
, (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic
, 0, 0, 0},
13720 { SWIG_PY_INT
, (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1
, 0, 0, 0},
13721 { SWIG_PY_INT
, (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2
, 0, 0, 0},
13722 { SWIG_PY_INT
, (char *)"BTexture_Border", (long) otk::BTexture::Border
, 0, 0, 0},
13723 { SWIG_PY_INT
, (char *)"BTexture_Invert", (long) otk::BTexture::Invert
, 0, 0, 0},
13724 { SWIG_PY_INT
, (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative
, 0, 0, 0},
13725 { SWIG_PY_INT
, (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced
, 0, 0, 0},
13735 SWIGEXPORT(void) SWIG_init(void) {
13736 static PyObject
*SWIG_globals
= 0;
13737 static int typeinit
= 0;
13740 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
13741 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
13742 d
= PyModule_GetDict(m
);
13745 for (i
= 0; swig_types_initial
[i
]; i
++) {
13746 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
13750 SWIG_InstallConstants(d
,swig_const_table
);
13752 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
13753 SWIG_addvarlink(SWIG_globals
,(char*)"OBDisplay_display",_wrap_OBDisplay_display_get
, _wrap_OBDisplay_display_set
);
13754 SWIG_addvarlink(SWIG_globals
,(char*)"BSENTINEL",_wrap_BSENTINEL_get
, _wrap_BSENTINEL_set
);