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_XCirculateEvent swig_types[39]
688 #define SWIGTYPE_p_XConfigureEvent swig_types[40]
689 #define SWIGTYPE_p_otk__OBProperty swig_types[41]
690 #define SWIGTYPE_p_long swig_types[42]
691 #define SWIGTYPE_p_XTextProperty swig_types[43]
692 #define SWIGTYPE_p_otk__OtkEventHandler swig_types[44]
693 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[45]
694 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[46]
695 #define SWIGTYPE_p_XMapRequestEvent swig_types[47]
696 #define SWIGTYPE_p_XResizeRequestEvent swig_types[48]
697 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[49]
698 #define SWIGTYPE_otk__OBTimeoutHandler swig_types[50]
699 #define SWIGTYPE_p_XftDraw swig_types[51]
700 #define SWIGTYPE_p_otk__ScreenInfo swig_types[52]
701 #define SWIGTYPE_p_otk__OtkFocusLabel swig_types[53]
702 #define SWIGTYPE_p_otk__BTexture swig_types[54]
703 #define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[55]
704 #define SWIGTYPE_p_otk__BFont swig_types[56]
705 #define SWIGTYPE_p_otk__Point swig_types[57]
706 #define SWIGTYPE_p_p_char swig_types[58]
707 #define SWIGTYPE_p_XMotionEvent swig_types[59]
708 #define SWIGTYPE_p_XButtonEvent swig_types[60]
709 #define SWIGTYPE_p_XSelectionEvent swig_types[61]
710 #define SWIGTYPE_p_Pixmap swig_types[62]
711 #define SWIGTYPE_p_GC swig_types[63]
712 #define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[64]
713 #define SWIGTYPE_p_otk__OtkAppWidget swig_types[65]
714 #define SWIGTYPE_p_XKeyEvent swig_types[66]
715 #define SWIGTYPE_p_unsigned_long swig_types[67]
716 #define SWIGTYPE_p_XEvent swig_types[68]
717 #define SWIGTYPE_p_p_unsigned_long swig_types[69]
718 #define SWIGTYPE_p_std__string swig_types[70]
719 #define SWIGTYPE_p_XCrossingEvent swig_types[71]
720 #define SWIGTYPE_p_XMappingEvent swig_types[72]
721 #define SWIGTYPE_p_otk__BGCCacheItem swig_types[73]
722 #define SWIGTYPE_p_p_unsigned_int swig_types[74]
723 #define SWIGTYPE_p_unsigned_int swig_types[75]
724 #define SWIGTYPE_p_p_unsigned_char swig_types[76]
725 #define SWIGTYPE_p_XClientMessageEvent swig_types[77]
726 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[78]
727 #define SWIGTYPE_p_XExposeEvent swig_types[79]
728 #define SWIGTYPE_p_XFocusChangeEvent swig_types[80]
729 #define SWIGTYPE_p_XNoExposeEvent swig_types[81]
730 #define SWIGTYPE_p_XMapEvent swig_types[82]
731 #define SWIGTYPE_p_XUnmapEvent swig_types[83]
732 #define SWIGTYPE_p_XColormapEvent swig_types[84]
733 static swig_type_info
*swig_types
[86];
735 /* -------- TYPES TABLE (END) -------- */
738 /*-----------------------------------------------
740 ------------------------------------------------*/
741 #define SWIG_init init_otk
743 #define SWIG_name "_otk"
746 # include "../config.h"
749 #include "application.hh"
750 #include "appwidget.hh"
751 #include "assassin.hh"
754 #include "configuration.hh"
755 #include "display.hh"
756 #include "eventdispatcher.hh"
757 #include "eventhandler.hh"
758 #include "focuslabel.hh"
759 #include "focuswidget.hh"
761 #include "gccache.hh"
765 #include "property.hh"
767 #include "screeninfo.hh"
770 #include "texture.hh"
772 #include "timerqueue.hh"
773 #include "timerqueuemanager.hh"
778 #define SWIG_MemoryError 1
779 #define SWIG_IOError 2
780 #define SWIG_RuntimeError 3
781 #define SWIG_IndexError 4
782 #define SWIG_TypeError 5
783 #define SWIG_DivisionByZero 6
784 #define SWIG_OverflowError 7
785 #define SWIG_SyntaxError 8
786 #define SWIG_ValueError 9
787 #define SWIG_SystemError 10
788 #define SWIG_UnknownError 99
791 static void _SWIG_exception(int code
, const char *msg
) {
793 case SWIG_MemoryError
:
794 PyErr_SetString(PyExc_MemoryError
,msg
);
797 PyErr_SetString(PyExc_IOError
,msg
);
799 case SWIG_RuntimeError
:
800 PyErr_SetString(PyExc_RuntimeError
,msg
);
802 case SWIG_IndexError
:
803 PyErr_SetString(PyExc_IndexError
,msg
);
806 PyErr_SetString(PyExc_TypeError
,msg
);
808 case SWIG_DivisionByZero
:
809 PyErr_SetString(PyExc_ZeroDivisionError
,msg
);
811 case SWIG_OverflowError
:
812 PyErr_SetString(PyExc_OverflowError
,msg
);
814 case SWIG_SyntaxError
:
815 PyErr_SetString(PyExc_SyntaxError
,msg
);
817 case SWIG_ValueError
:
818 PyErr_SetString(PyExc_ValueError
,msg
);
820 case SWIG_SystemError
:
821 PyErr_SetString(PyExc_SystemError
,msg
);
824 PyErr_SetString(PyExc_RuntimeError
,msg
);
829 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
837 static PyObject
* SwigInt_FromBool(bool b
) {
838 return PyInt_FromLong(b
? 1L : 0L);
840 static double SwigNumber_Check(PyObject
* o
) {
841 return PyFloat_Check(o
) || PyInt_Check(o
);
843 static double SwigNumber_AsDouble(PyObject
* o
) {
844 return (PyFloat_Check(o
) ? PyFloat_AsDouble(o
) : double(PyInt_AsLong(o
)));
846 static PyObject
* SwigString_FromString(const std::string
& s
) {
847 return PyString_FromString(s
.c_str());
849 static std::string
SwigString_AsString(PyObject
* o
) {
850 return std::string(PyString_AsString(o
));
861 static PyObject
*_wrap_new_OtkEventDispatcher(PyObject
*self
, PyObject
*args
) {
863 otk::OtkEventDispatcher
*result
;
865 if(!PyArg_ParseTuple(args
,(char *)":new_OtkEventDispatcher")) goto fail
;
866 result
= (otk::OtkEventDispatcher
*)new otk::OtkEventDispatcher();
868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventDispatcher
, 1);
875 static PyObject
*_wrap_delete_OtkEventDispatcher(PyObject
*self
, PyObject
*args
) {
877 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
878 PyObject
* obj0
= 0 ;
880 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkEventDispatcher",&obj0
)) goto fail
;
881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
884 Py_INCREF(Py_None
); resultobj
= Py_None
;
891 static PyObject
*_wrap_OtkEventDispatcher_clearAllHandlers(PyObject
*self
, PyObject
*args
) {
893 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
894 PyObject
* obj0
= 0 ;
896 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_clearAllHandlers",&obj0
)) goto fail
;
897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
898 (arg1
)->clearAllHandlers();
900 Py_INCREF(Py_None
); resultobj
= Py_None
;
907 static PyObject
*_wrap_OtkEventDispatcher_registerHandler(PyObject
*self
, PyObject
*args
) {
909 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
911 otk::OtkEventHandler
*arg3
= (otk::OtkEventHandler
*) 0 ;
913 PyObject
* obj0
= 0 ;
914 PyObject
* obj1
= 0 ;
915 PyObject
* obj2
= 0 ;
917 if(!PyArg_ParseTuple(args
,(char *)"OOO:OtkEventDispatcher_registerHandler",&obj0
,&obj1
,&obj2
)) goto fail
;
918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
919 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
921 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
922 (arg1
)->registerHandler(arg2
,arg3
);
924 Py_INCREF(Py_None
); resultobj
= Py_None
;
931 static PyObject
*_wrap_OtkEventDispatcher_clearHandler(PyObject
*self
, PyObject
*args
) {
933 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
936 PyObject
* obj0
= 0 ;
937 PyObject
* obj1
= 0 ;
939 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_clearHandler",&obj0
,&obj1
)) goto fail
;
940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
941 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
943 (arg1
)->clearHandler(arg2
);
945 Py_INCREF(Py_None
); resultobj
= Py_None
;
952 static PyObject
*_wrap_OtkEventDispatcher_dispatchEvents(PyObject
*self
, PyObject
*args
) {
954 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
955 PyObject
* obj0
= 0 ;
957 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_dispatchEvents",&obj0
)) goto fail
;
958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
959 (arg1
)->dispatchEvents();
961 Py_INCREF(Py_None
); resultobj
= Py_None
;
968 static PyObject
*_wrap_OtkEventDispatcher_setFallbackHandler(PyObject
*self
, PyObject
*args
) {
970 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
971 otk::OtkEventHandler
*arg2
= (otk::OtkEventHandler
*) 0 ;
972 PyObject
* obj0
= 0 ;
973 PyObject
* obj1
= 0 ;
975 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_setFallbackHandler",&obj0
,&obj1
)) goto fail
;
976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
978 (arg1
)->setFallbackHandler(arg2
);
980 Py_INCREF(Py_None
); resultobj
= Py_None
;
987 static PyObject
*_wrap_OtkEventDispatcher_getFallbackHandler(PyObject
*self
, PyObject
*args
) {
989 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
990 otk::OtkEventHandler
*result
;
991 PyObject
* obj0
= 0 ;
993 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_getFallbackHandler",&obj0
)) goto fail
;
994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
995 result
= (otk::OtkEventHandler
*)((otk::OtkEventDispatcher
const *)arg1
)->getFallbackHandler();
997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventHandler
, 0);
1004 static PyObject
*_wrap_OtkEventDispatcher_setMasterHandler(PyObject
*self
, PyObject
*args
) {
1005 PyObject
*resultobj
;
1006 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
1007 otk::OtkEventHandler
*arg2
= (otk::OtkEventHandler
*) 0 ;
1008 PyObject
* obj0
= 0 ;
1009 PyObject
* obj1
= 0 ;
1011 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_setMasterHandler",&obj0
,&obj1
)) goto fail
;
1012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1014 (arg1
)->setMasterHandler(arg2
);
1016 Py_INCREF(Py_None
); resultobj
= Py_None
;
1023 static PyObject
*_wrap_OtkEventDispatcher_getMasterHandler(PyObject
*self
, PyObject
*args
) {
1024 PyObject
*resultobj
;
1025 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
1026 otk::OtkEventHandler
*result
;
1027 PyObject
* obj0
= 0 ;
1029 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_getMasterHandler",&obj0
)) goto fail
;
1030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1031 result
= (otk::OtkEventHandler
*)((otk::OtkEventDispatcher
const *)arg1
)->getMasterHandler();
1033 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventHandler
, 0);
1040 static PyObject
*_wrap_OtkEventDispatcher_findHandler(PyObject
*self
, PyObject
*args
) {
1041 PyObject
*resultobj
;
1042 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
1044 otk::OtkEventHandler
*result
;
1046 PyObject
* obj0
= 0 ;
1047 PyObject
* obj1
= 0 ;
1049 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_findHandler",&obj0
,&obj1
)) goto fail
;
1050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1051 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
1053 result
= (otk::OtkEventHandler
*)(arg1
)->findHandler(arg2
);
1055 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventHandler
, 0);
1062 static PyObject
* OtkEventDispatcher_swigregister(PyObject
*self
, PyObject
*args
) {
1064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1065 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventDispatcher
, obj
);
1067 return Py_BuildValue((char *)"");
1069 static PyObject
*_wrap_OtkEventHandler_handle(PyObject
*self
, PyObject
*args
) {
1070 PyObject
*resultobj
;
1071 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1073 PyObject
* obj0
= 0 ;
1074 PyObject
* obj1
= 0 ;
1076 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_handle",&obj0
,&obj1
)) goto fail
;
1077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1080 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1082 (arg1
)->handle((XEvent
const &)*arg2
);
1084 Py_INCREF(Py_None
); resultobj
= Py_None
;
1091 static PyObject
*_wrap_OtkEventHandler_keyPressHandler(PyObject
*self
, PyObject
*args
) {
1092 PyObject
*resultobj
;
1093 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1094 XKeyEvent
*arg2
= 0 ;
1095 PyObject
* obj0
= 0 ;
1096 PyObject
* obj1
= 0 ;
1098 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_keyPressHandler",&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_XKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1104 (arg1
)->keyPressHandler((XKeyEvent
const &)*arg2
);
1106 Py_INCREF(Py_None
); resultobj
= Py_None
;
1113 static PyObject
*_wrap_OtkEventHandler_keyReleaseHandler(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_keyReleaseHandler",&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
)->keyReleaseHandler((XKeyEvent
const &)*arg2
);
1128 Py_INCREF(Py_None
); resultobj
= Py_None
;
1135 static PyObject
*_wrap_OtkEventHandler_buttonPressHandler(PyObject
*self
, PyObject
*args
) {
1136 PyObject
*resultobj
;
1137 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1138 XButtonEvent
*arg2
= 0 ;
1139 PyObject
* obj0
= 0 ;
1140 PyObject
* obj1
= 0 ;
1142 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_buttonPressHandler",&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_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1146 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1148 (arg1
)->buttonPressHandler((XButtonEvent
const &)*arg2
);
1150 Py_INCREF(Py_None
); resultobj
= Py_None
;
1157 static PyObject
*_wrap_OtkEventHandler_buttonReleaseHandler(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_buttonReleaseHandler",&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
)->buttonReleaseHandler((XButtonEvent
const &)*arg2
);
1172 Py_INCREF(Py_None
); resultobj
= Py_None
;
1179 static PyObject
*_wrap_OtkEventHandler_motionHandler(PyObject
*self
, PyObject
*args
) {
1180 PyObject
*resultobj
;
1181 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1182 XMotionEvent
*arg2
= 0 ;
1183 PyObject
* obj0
= 0 ;
1184 PyObject
* obj1
= 0 ;
1186 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_motionHandler",&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_XMotionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1190 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1192 (arg1
)->motionHandler((XMotionEvent
const &)*arg2
);
1194 Py_INCREF(Py_None
); resultobj
= Py_None
;
1201 static PyObject
*_wrap_OtkEventHandler_enterHandler(PyObject
*self
, PyObject
*args
) {
1202 PyObject
*resultobj
;
1203 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1204 XCrossingEvent
*arg2
= 0 ;
1205 PyObject
* obj0
= 0 ;
1206 PyObject
* obj1
= 0 ;
1208 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_enterHandler",&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_XCrossingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1214 (arg1
)->enterHandler((XCrossingEvent
const &)*arg2
);
1216 Py_INCREF(Py_None
); resultobj
= Py_None
;
1223 static PyObject
*_wrap_OtkEventHandler_leaveHandler(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_leaveHandler",&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
)->leaveHandler((XCrossingEvent
const &)*arg2
);
1238 Py_INCREF(Py_None
); resultobj
= Py_None
;
1245 static PyObject
*_wrap_OtkEventHandler_focusHandler(PyObject
*self
, PyObject
*args
) {
1246 PyObject
*resultobj
;
1247 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1248 XFocusChangeEvent
*arg2
= 0 ;
1249 PyObject
* obj0
= 0 ;
1250 PyObject
* obj1
= 0 ;
1252 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_focusHandler",&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_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1256 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1258 (arg1
)->focusHandler((XFocusChangeEvent
const &)*arg2
);
1260 Py_INCREF(Py_None
); resultobj
= Py_None
;
1267 static PyObject
*_wrap_OtkEventHandler_unfocusHandler(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_unfocusHandler",&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
)->unfocusHandler((XFocusChangeEvent
const &)*arg2
);
1282 Py_INCREF(Py_None
); resultobj
= Py_None
;
1289 static PyObject
*_wrap_OtkEventHandler_exposeHandler(PyObject
*self
, PyObject
*args
) {
1290 PyObject
*resultobj
;
1291 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1292 XExposeEvent
*arg2
= 0 ;
1293 PyObject
* obj0
= 0 ;
1294 PyObject
* obj1
= 0 ;
1296 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_exposeHandler",&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_XExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1302 (arg1
)->exposeHandler((XExposeEvent
const &)*arg2
);
1304 Py_INCREF(Py_None
); resultobj
= Py_None
;
1311 static PyObject
*_wrap_OtkEventHandler_graphicsExposeHandler(PyObject
*self
, PyObject
*args
) {
1312 PyObject
*resultobj
;
1313 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1314 XGraphicsExposeEvent
*arg2
= 0 ;
1315 PyObject
* obj0
= 0 ;
1316 PyObject
* obj1
= 0 ;
1318 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_graphicsExposeHandler",&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_XGraphicsExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1324 (arg1
)->graphicsExposeHandler((XGraphicsExposeEvent
const &)*arg2
);
1326 Py_INCREF(Py_None
); resultobj
= Py_None
;
1333 static PyObject
*_wrap_OtkEventHandler_noExposeEventHandler(PyObject
*self
, PyObject
*args
) {
1334 PyObject
*resultobj
;
1335 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1336 XNoExposeEvent
*arg2
= 0 ;
1337 PyObject
* obj0
= 0 ;
1338 PyObject
* obj1
= 0 ;
1340 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_noExposeEventHandler",&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_XNoExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1344 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1346 (arg1
)->noExposeEventHandler((XNoExposeEvent
const &)*arg2
);
1348 Py_INCREF(Py_None
); resultobj
= Py_None
;
1355 static PyObject
*_wrap_OtkEventHandler_circulateRequestHandler(PyObject
*self
, PyObject
*args
) {
1356 PyObject
*resultobj
;
1357 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1358 XCirculateRequestEvent
*arg2
= 0 ;
1359 PyObject
* obj0
= 0 ;
1360 PyObject
* obj1
= 0 ;
1362 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_circulateRequestHandler",&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_XCirculateRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1368 (arg1
)->circulateRequestHandler((XCirculateRequestEvent
const &)*arg2
);
1370 Py_INCREF(Py_None
); resultobj
= Py_None
;
1377 static PyObject
*_wrap_OtkEventHandler_configureRequestHandler(PyObject
*self
, PyObject
*args
) {
1378 PyObject
*resultobj
;
1379 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1380 XConfigureRequestEvent
*arg2
= 0 ;
1381 PyObject
* obj0
= 0 ;
1382 PyObject
* obj1
= 0 ;
1384 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_configureRequestHandler",&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_XConfigureRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1388 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1390 (arg1
)->configureRequestHandler((XConfigureRequestEvent
const &)*arg2
);
1392 Py_INCREF(Py_None
); resultobj
= Py_None
;
1399 static PyObject
*_wrap_OtkEventHandler_mapRequestHandler(PyObject
*self
, PyObject
*args
) {
1400 PyObject
*resultobj
;
1401 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1402 XMapRequestEvent
*arg2
= 0 ;
1403 PyObject
* obj0
= 0 ;
1404 PyObject
* obj1
= 0 ;
1406 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_mapRequestHandler",&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_XMapRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1410 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1412 (arg1
)->mapRequestHandler((XMapRequestEvent
const &)*arg2
);
1414 Py_INCREF(Py_None
); resultobj
= Py_None
;
1421 static PyObject
*_wrap_OtkEventHandler_resizeRequestHandler(PyObject
*self
, PyObject
*args
) {
1422 PyObject
*resultobj
;
1423 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1424 XResizeRequestEvent
*arg2
= 0 ;
1425 PyObject
* obj0
= 0 ;
1426 PyObject
* obj1
= 0 ;
1428 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_resizeRequestHandler",&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_XResizeRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1434 (arg1
)->resizeRequestHandler((XResizeRequestEvent
const &)*arg2
);
1436 Py_INCREF(Py_None
); resultobj
= Py_None
;
1443 static PyObject
*_wrap_OtkEventHandler_circulateHandler(PyObject
*self
, PyObject
*args
) {
1444 PyObject
*resultobj
;
1445 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1446 XCirculateEvent
*arg2
= 0 ;
1447 PyObject
* obj0
= 0 ;
1448 PyObject
* obj1
= 0 ;
1450 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_circulateHandler",&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_XCirculateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1456 (arg1
)->circulateHandler((XCirculateEvent
const &)*arg2
);
1458 Py_INCREF(Py_None
); resultobj
= Py_None
;
1465 static PyObject
*_wrap_OtkEventHandler_configureHandler(PyObject
*self
, PyObject
*args
) {
1466 PyObject
*resultobj
;
1467 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1468 XConfigureEvent
*arg2
= 0 ;
1469 PyObject
* obj0
= 0 ;
1470 PyObject
* obj1
= 0 ;
1472 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_configureHandler",&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_XConfigureEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1478 (arg1
)->configureHandler((XConfigureEvent
const &)*arg2
);
1480 Py_INCREF(Py_None
); resultobj
= Py_None
;
1487 static PyObject
*_wrap_OtkEventHandler_createHandler(PyObject
*self
, PyObject
*args
) {
1488 PyObject
*resultobj
;
1489 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1490 XCreateWindowEvent
*arg2
= 0 ;
1491 PyObject
* obj0
= 0 ;
1492 PyObject
* obj1
= 0 ;
1494 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_createHandler",&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_XCreateWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1498 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1500 (arg1
)->createHandler((XCreateWindowEvent
const &)*arg2
);
1502 Py_INCREF(Py_None
); resultobj
= Py_None
;
1509 static PyObject
*_wrap_OtkEventHandler_destroyHandler(PyObject
*self
, PyObject
*args
) {
1510 PyObject
*resultobj
;
1511 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1512 XDestroyWindowEvent
*arg2
= 0 ;
1513 PyObject
* obj0
= 0 ;
1514 PyObject
* obj1
= 0 ;
1516 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_destroyHandler",&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_XDestroyWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1520 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1522 (arg1
)->destroyHandler((XDestroyWindowEvent
const &)*arg2
);
1524 Py_INCREF(Py_None
); resultobj
= Py_None
;
1531 static PyObject
*_wrap_OtkEventHandler_gravityHandler(PyObject
*self
, PyObject
*args
) {
1532 PyObject
*resultobj
;
1533 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1534 XGravityEvent
*arg2
= 0 ;
1535 PyObject
* obj0
= 0 ;
1536 PyObject
* obj1
= 0 ;
1538 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_gravityHandler",&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_XGravityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1542 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1544 (arg1
)->gravityHandler((XGravityEvent
const &)*arg2
);
1546 Py_INCREF(Py_None
); resultobj
= Py_None
;
1553 static PyObject
*_wrap_OtkEventHandler_mapHandler(PyObject
*self
, PyObject
*args
) {
1554 PyObject
*resultobj
;
1555 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1556 XMapEvent
*arg2
= 0 ;
1557 PyObject
* obj0
= 0 ;
1558 PyObject
* obj1
= 0 ;
1560 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_mapHandler",&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_XMapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1566 (arg1
)->mapHandler((XMapEvent
const &)*arg2
);
1568 Py_INCREF(Py_None
); resultobj
= Py_None
;
1575 static PyObject
*_wrap_OtkEventHandler_mappingHandler(PyObject
*self
, PyObject
*args
) {
1576 PyObject
*resultobj
;
1577 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1578 XMappingEvent
*arg2
= 0 ;
1579 PyObject
* obj0
= 0 ;
1580 PyObject
* obj1
= 0 ;
1582 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_mappingHandler",&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_XMappingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1586 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1588 (arg1
)->mappingHandler((XMappingEvent
const &)*arg2
);
1590 Py_INCREF(Py_None
); resultobj
= Py_None
;
1597 static PyObject
*_wrap_OtkEventHandler_reparentHandler(PyObject
*self
, PyObject
*args
) {
1598 PyObject
*resultobj
;
1599 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1600 XReparentEvent
*arg2
= 0 ;
1601 PyObject
* obj0
= 0 ;
1602 PyObject
* obj1
= 0 ;
1604 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_reparentHandler",&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_XReparentEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1608 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1610 (arg1
)->reparentHandler((XReparentEvent
const &)*arg2
);
1612 Py_INCREF(Py_None
); resultobj
= Py_None
;
1619 static PyObject
*_wrap_OtkEventHandler_unmapHandler(PyObject
*self
, PyObject
*args
) {
1620 PyObject
*resultobj
;
1621 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1622 XUnmapEvent
*arg2
= 0 ;
1623 PyObject
* obj0
= 0 ;
1624 PyObject
* obj1
= 0 ;
1626 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_unmapHandler",&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_XUnmapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1632 (arg1
)->unmapHandler((XUnmapEvent
const &)*arg2
);
1634 Py_INCREF(Py_None
); resultobj
= Py_None
;
1641 static PyObject
*_wrap_OtkEventHandler_visibilityHandler(PyObject
*self
, PyObject
*args
) {
1642 PyObject
*resultobj
;
1643 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1644 XVisibilityEvent
*arg2
= 0 ;
1645 PyObject
* obj0
= 0 ;
1646 PyObject
* obj1
= 0 ;
1648 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_visibilityHandler",&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_XVisibilityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1652 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1654 (arg1
)->visibilityHandler((XVisibilityEvent
const &)*arg2
);
1656 Py_INCREF(Py_None
); resultobj
= Py_None
;
1663 static PyObject
*_wrap_OtkEventHandler_colorMapHandler(PyObject
*self
, PyObject
*args
) {
1664 PyObject
*resultobj
;
1665 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1666 XColormapEvent
*arg2
= 0 ;
1667 PyObject
* obj0
= 0 ;
1668 PyObject
* obj1
= 0 ;
1670 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_colorMapHandler",&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_XColormapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1674 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1676 (arg1
)->colorMapHandler((XColormapEvent
const &)*arg2
);
1678 Py_INCREF(Py_None
); resultobj
= Py_None
;
1685 static PyObject
*_wrap_OtkEventHandler_propertyHandler(PyObject
*self
, PyObject
*args
) {
1686 PyObject
*resultobj
;
1687 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1688 XPropertyEvent
*arg2
= 0 ;
1689 PyObject
* obj0
= 0 ;
1690 PyObject
* obj1
= 0 ;
1692 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_propertyHandler",&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_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1696 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1698 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
1700 Py_INCREF(Py_None
); resultobj
= Py_None
;
1707 static PyObject
*_wrap_OtkEventHandler_selectionClearHandler(PyObject
*self
, PyObject
*args
) {
1708 PyObject
*resultobj
;
1709 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1710 XSelectionClearEvent
*arg2
= 0 ;
1711 PyObject
* obj0
= 0 ;
1712 PyObject
* obj1
= 0 ;
1714 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_selectionClearHandler",&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_XSelectionClearEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1718 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1720 (arg1
)->selectionClearHandler((XSelectionClearEvent
const &)*arg2
);
1722 Py_INCREF(Py_None
); resultobj
= Py_None
;
1729 static PyObject
*_wrap_OtkEventHandler_selectionHandler(PyObject
*self
, PyObject
*args
) {
1730 PyObject
*resultobj
;
1731 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1732 XSelectionEvent
*arg2
= 0 ;
1733 PyObject
* obj0
= 0 ;
1734 PyObject
* obj1
= 0 ;
1736 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_selectionHandler",&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_XSelectionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1740 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1742 (arg1
)->selectionHandler((XSelectionEvent
const &)*arg2
);
1744 Py_INCREF(Py_None
); resultobj
= Py_None
;
1751 static PyObject
*_wrap_OtkEventHandler_selectionRequestHandler(PyObject
*self
, PyObject
*args
) {
1752 PyObject
*resultobj
;
1753 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1754 XSelectionRequestEvent
*arg2
= 0 ;
1755 PyObject
* obj0
= 0 ;
1756 PyObject
* obj1
= 0 ;
1758 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_selectionRequestHandler",&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_XSelectionRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1762 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1764 (arg1
)->selectionRequestHandler((XSelectionRequestEvent
const &)*arg2
);
1766 Py_INCREF(Py_None
); resultobj
= Py_None
;
1773 static PyObject
*_wrap_OtkEventHandler_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
1774 PyObject
*resultobj
;
1775 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1776 XClientMessageEvent
*arg2
= 0 ;
1777 PyObject
* obj0
= 0 ;
1778 PyObject
* obj1
= 0 ;
1780 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_clientMessageHandler",&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_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1784 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1786 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
1788 Py_INCREF(Py_None
); resultobj
= Py_None
;
1795 static PyObject
*_wrap_delete_OtkEventHandler(PyObject
*self
, PyObject
*args
) {
1796 PyObject
*resultobj
;
1797 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
1798 PyObject
* obj0
= 0 ;
1800 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkEventHandler",&obj0
)) goto fail
;
1801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1804 Py_INCREF(Py_None
); resultobj
= Py_None
;
1811 static PyObject
* OtkEventHandler_swigregister(PyObject
*self
, PyObject
*args
) {
1813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1814 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventHandler
, obj
);
1816 return Py_BuildValue((char *)"");
1818 static PyObject
*_wrap_new_OtkWidget__SWIG_0(PyObject
*self
, PyObject
*args
) {
1819 PyObject
*resultobj
;
1820 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
1821 int arg2
= (int) otk::OtkWidget::Horizontal
;
1822 otk::OtkWidget
*result
;
1823 PyObject
* obj0
= 0 ;
1825 if(!PyArg_ParseTuple(args
,(char *)"O|i:new_OtkWidget",&obj0
,&arg2
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1827 result
= (otk::OtkWidget
*)new otk::OtkWidget(arg1
,(otk::OtkWidget::Direction
)arg2
);
1829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkWidget
, 1);
1836 static PyObject
*_wrap_new_OtkWidget__SWIG_1(PyObject
*self
, PyObject
*args
) {
1837 PyObject
*resultobj
;
1838 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
1839 otk::Style
*arg2
= (otk::Style
*) 0 ;
1840 int arg3
= (int) otk::OtkWidget::Horizontal
;
1841 Cursor arg4
= (Cursor
) 0 ;
1842 int arg5
= (int) 1 ;
1843 otk::OtkWidget
*result
;
1845 PyObject
* obj0
= 0 ;
1846 PyObject
* obj1
= 0 ;
1847 PyObject
* obj3
= 0 ;
1849 if(!PyArg_ParseTuple(args
,(char *)"OO|iOi:new_OtkWidget",&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1851 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1853 if ((SWIG_ConvertPtr(obj3
,(void **) &argp4
, SWIGTYPE_p_Cursor
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
1856 result
= (otk::OtkWidget
*)new otk::OtkWidget(arg1
,arg2
,(otk::OtkWidget::Direction
)arg3
,arg4
,arg5
);
1858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkWidget
, 1);
1865 static PyObject
*_wrap_new_OtkWidget(PyObject
*self
, PyObject
*args
) {
1870 argc
= PyObject_Length(args
);
1871 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
1872 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1874 if ((argc
>= 1) && (argc
<= 2)) {
1878 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
1887 return _wrap_new_OtkWidget__SWIG_0(self
,args
);
1890 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1893 return _wrap_new_OtkWidget__SWIG_0(self
,args
);
1897 if ((argc
>= 2) && (argc
<= 5)) {
1901 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkEventDispatcher
, 0) == -1) {
1911 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Style
, 0) == -1) {
1920 return _wrap_new_OtkWidget__SWIG_1(self
,args
);
1923 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1927 return _wrap_new_OtkWidget__SWIG_1(self
,args
);
1931 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_Cursor
, 0) == -1) {
1940 return _wrap_new_OtkWidget__SWIG_1(self
,args
);
1943 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
1946 return _wrap_new_OtkWidget__SWIG_1(self
,args
);
1954 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_OtkWidget'");
1959 static PyObject
*_wrap_delete_OtkWidget(PyObject
*self
, PyObject
*args
) {
1960 PyObject
*resultobj
;
1961 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
1962 PyObject
* obj0
= 0 ;
1964 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkWidget",&obj0
)) goto fail
;
1965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1968 Py_INCREF(Py_None
); resultobj
= Py_None
;
1975 static PyObject
*_wrap_OtkWidget_update(PyObject
*self
, PyObject
*args
) {
1976 PyObject
*resultobj
;
1977 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
1978 PyObject
* obj0
= 0 ;
1980 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_update",&obj0
)) goto fail
;
1981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1984 Py_INCREF(Py_None
); resultobj
= Py_None
;
1991 static PyObject
*_wrap_OtkWidget_exposeHandler(PyObject
*self
, PyObject
*args
) {
1992 PyObject
*resultobj
;
1993 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
1994 XExposeEvent
*arg2
= 0 ;
1995 PyObject
* obj0
= 0 ;
1996 PyObject
* obj1
= 0 ;
1998 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_exposeHandler",&obj0
,&obj1
)) goto fail
;
1999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2004 (arg1
)->exposeHandler((XExposeEvent
const &)*arg2
);
2006 Py_INCREF(Py_None
); resultobj
= Py_None
;
2013 static PyObject
*_wrap_OtkWidget_configureHandler(PyObject
*self
, PyObject
*args
) {
2014 PyObject
*resultobj
;
2015 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2016 XConfigureEvent
*arg2
= 0 ;
2017 PyObject
* obj0
= 0 ;
2018 PyObject
* obj1
= 0 ;
2020 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_configureHandler",&obj0
,&obj1
)) goto fail
;
2021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2024 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2026 (arg1
)->configureHandler((XConfigureEvent
const &)*arg2
);
2028 Py_INCREF(Py_None
); resultobj
= Py_None
;
2035 static PyObject
*_wrap_OtkWidget_window(PyObject
*self
, PyObject
*args
) {
2036 PyObject
*resultobj
;
2037 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2039 PyObject
* obj0
= 0 ;
2041 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_window",&obj0
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2043 result
= ((otk::OtkWidget
const *)arg1
)->window();
2047 resultptr
= new Window((Window
&) result
);
2048 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Window
, 1);
2056 static PyObject
*_wrap_OtkWidget_parent(PyObject
*self
, PyObject
*args
) {
2057 PyObject
*resultobj
;
2058 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2059 otk::OtkWidget
*result
;
2060 PyObject
* obj0
= 0 ;
2062 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_parent",&obj0
)) goto fail
;
2063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2064 result
= (otk::OtkWidget
*)((otk::OtkWidget
const *)arg1
)->parent();
2066 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkWidget
, 0);
2073 static PyObject
*_wrap_OtkWidget_children(PyObject
*self
, PyObject
*args
) {
2074 PyObject
*resultobj
;
2075 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2076 otk::OtkWidget::OtkWidgetList
*result
;
2077 PyObject
* obj0
= 0 ;
2079 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_children",&obj0
)) goto fail
;
2080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2082 otk::OtkWidget::OtkWidgetList
const &_result_ref
= ((otk::OtkWidget
const *)arg1
)->children();
2083 result
= (otk::OtkWidget::OtkWidgetList
*) &_result_ref
;
2086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkWidget__OtkWidgetList
, 0);
2093 static PyObject
*_wrap_OtkWidget_screen(PyObject
*self
, PyObject
*args
) {
2094 PyObject
*resultobj
;
2095 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2096 unsigned int result
;
2097 PyObject
* obj0
= 0 ;
2099 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_screen",&obj0
)) goto fail
;
2100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2101 result
= (unsigned int)((otk::OtkWidget
const *)arg1
)->screen();
2103 resultobj
= PyInt_FromLong((long)result
);
2110 static PyObject
*_wrap_OtkWidget_rect(PyObject
*self
, PyObject
*args
) {
2111 PyObject
*resultobj
;
2112 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2114 PyObject
* obj0
= 0 ;
2116 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_rect",&obj0
)) goto fail
;
2117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2119 otk::Rect
const &_result_ref
= ((otk::OtkWidget
const *)arg1
)->rect();
2120 result
= (otk::Rect
*) &_result_ref
;
2123 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
2130 static PyObject
*_wrap_OtkWidget_move__SWIG_0(PyObject
*self
, PyObject
*args
) {
2131 PyObject
*resultobj
;
2132 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2133 otk::Point
*arg2
= 0 ;
2134 PyObject
* obj0
= 0 ;
2135 PyObject
* obj1
= 0 ;
2137 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_move",&obj0
,&obj1
)) goto fail
;
2138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2143 (arg1
)->move((otk::Point
const &)*arg2
);
2145 Py_INCREF(Py_None
); resultobj
= Py_None
;
2152 static PyObject
*_wrap_OtkWidget_move__SWIG_1(PyObject
*self
, PyObject
*args
) {
2153 PyObject
*resultobj
;
2154 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2157 PyObject
* obj0
= 0 ;
2159 if(!PyArg_ParseTuple(args
,(char *)"Oii:OtkWidget_move",&obj0
,&arg2
,&arg3
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2161 (arg1
)->move(arg2
,arg3
);
2163 Py_INCREF(Py_None
); resultobj
= Py_None
;
2170 static PyObject
*_wrap_OtkWidget_move(PyObject
*self
, PyObject
*args
) {
2175 argc
= PyObject_Length(args
);
2176 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2177 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2183 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2193 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2201 return _wrap_OtkWidget_move__SWIG_0(self
,args
);
2209 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2218 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2222 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2225 return _wrap_OtkWidget_move__SWIG_1(self
,args
);
2231 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OtkWidget_move'");
2236 static PyObject
*_wrap_OtkWidget_setWidth(PyObject
*self
, PyObject
*args
) {
2237 PyObject
*resultobj
;
2238 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2240 PyObject
* obj0
= 0 ;
2242 if(!PyArg_ParseTuple(args
,(char *)"Oi:OtkWidget_setWidth",&obj0
,&arg2
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2244 (arg1
)->setWidth(arg2
);
2246 Py_INCREF(Py_None
); resultobj
= Py_None
;
2253 static PyObject
*_wrap_OtkWidget_setHeight(PyObject
*self
, PyObject
*args
) {
2254 PyObject
*resultobj
;
2255 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2257 PyObject
* obj0
= 0 ;
2259 if(!PyArg_ParseTuple(args
,(char *)"Oi:OtkWidget_setHeight",&obj0
,&arg2
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2261 (arg1
)->setHeight(arg2
);
2263 Py_INCREF(Py_None
); resultobj
= Py_None
;
2270 static PyObject
*_wrap_OtkWidget_width(PyObject
*self
, PyObject
*args
) {
2271 PyObject
*resultobj
;
2272 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2274 PyObject
* obj0
= 0 ;
2276 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_width",&obj0
)) goto fail
;
2277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2278 result
= (int)((otk::OtkWidget
const *)arg1
)->width();
2280 resultobj
= PyInt_FromLong((long)result
);
2287 static PyObject
*_wrap_OtkWidget_height(PyObject
*self
, PyObject
*args
) {
2288 PyObject
*resultobj
;
2289 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2293 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_height",&obj0
)) goto fail
;
2294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2295 result
= (int)((otk::OtkWidget
const *)arg1
)->height();
2297 resultobj
= PyInt_FromLong((long)result
);
2304 static PyObject
*_wrap_OtkWidget_resize__SWIG_0(PyObject
*self
, PyObject
*args
) {
2305 PyObject
*resultobj
;
2306 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2307 otk::Point
*arg2
= 0 ;
2308 PyObject
* obj0
= 0 ;
2309 PyObject
* obj1
= 0 ;
2311 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_resize",&obj0
,&obj1
)) goto fail
;
2312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2315 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2317 (arg1
)->resize((otk::Point
const &)*arg2
);
2319 Py_INCREF(Py_None
); resultobj
= Py_None
;
2326 static PyObject
*_wrap_OtkWidget_resize__SWIG_1(PyObject
*self
, PyObject
*args
) {
2327 PyObject
*resultobj
;
2328 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2331 PyObject
* obj0
= 0 ;
2333 if(!PyArg_ParseTuple(args
,(char *)"Oii:OtkWidget_resize",&obj0
,&arg2
,&arg3
)) goto fail
;
2334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2335 (arg1
)->resize(arg2
,arg3
);
2337 Py_INCREF(Py_None
); resultobj
= Py_None
;
2344 static PyObject
*_wrap_OtkWidget_resize(PyObject
*self
, PyObject
*args
) {
2349 argc
= PyObject_Length(args
);
2350 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2351 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2357 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2367 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2375 return _wrap_OtkWidget_resize__SWIG_0(self
,args
);
2383 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2392 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2396 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2399 return _wrap_OtkWidget_resize__SWIG_1(self
,args
);
2405 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OtkWidget_resize'");
2410 static PyObject
*_wrap_OtkWidget_setGeometry__SWIG_0(PyObject
*self
, PyObject
*args
) {
2411 PyObject
*resultobj
;
2412 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2413 otk::Rect
*arg2
= 0 ;
2414 PyObject
* obj0
= 0 ;
2415 PyObject
* obj1
= 0 ;
2417 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setGeometry",&obj0
,&obj1
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2423 (arg1
)->setGeometry((otk::Rect
const &)*arg2
);
2425 Py_INCREF(Py_None
); resultobj
= Py_None
;
2432 static PyObject
*_wrap_OtkWidget_setGeometry__SWIG_1(PyObject
*self
, PyObject
*args
) {
2433 PyObject
*resultobj
;
2434 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2435 otk::Point
*arg2
= 0 ;
2438 PyObject
* obj0
= 0 ;
2439 PyObject
* obj1
= 0 ;
2441 if(!PyArg_ParseTuple(args
,(char *)"OOii:OtkWidget_setGeometry",&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
2442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2443 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2445 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2447 (arg1
)->setGeometry((otk::Point
const &)*arg2
,arg3
,arg4
);
2449 Py_INCREF(Py_None
); resultobj
= Py_None
;
2456 static PyObject
*_wrap_OtkWidget_setGeometry__SWIG_2(PyObject
*self
, PyObject
*args
) {
2457 PyObject
*resultobj
;
2458 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2463 PyObject
* obj0
= 0 ;
2465 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:OtkWidget_setGeometry",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2467 (arg1
)->setGeometry(arg2
,arg3
,arg4
,arg5
);
2469 Py_INCREF(Py_None
); resultobj
= Py_None
;
2476 static PyObject
*_wrap_OtkWidget_setGeometry(PyObject
*self
, PyObject
*args
) {
2481 argc
= PyObject_Length(args
);
2482 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
2483 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2489 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2499 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2507 return _wrap_OtkWidget_setGeometry__SWIG_0(self
,args
);
2515 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2525 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2534 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2538 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
2541 return _wrap_OtkWidget_setGeometry__SWIG_1(self
,args
);
2551 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OtkWidget
, 0) == -1) {
2560 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2564 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2568 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
2572 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
2575 return _wrap_OtkWidget_setGeometry__SWIG_2(self
,args
);
2583 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OtkWidget_setGeometry'");
2588 static PyObject
*_wrap_OtkWidget_isVisible(PyObject
*self
, PyObject
*args
) {
2589 PyObject
*resultobj
;
2590 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2592 PyObject
* obj0
= 0 ;
2594 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_isVisible",&obj0
)) goto fail
;
2595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2596 result
= (bool)((otk::OtkWidget
const *)arg1
)->isVisible();
2598 resultobj
= PyInt_FromLong((long)result
);
2605 static PyObject
*_wrap_OtkWidget_show(PyObject
*self
, PyObject
*args
) {
2606 PyObject
*resultobj
;
2607 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2608 bool arg2
= (bool) false ;
2609 PyObject
* obj0
= 0 ;
2610 PyObject
* obj1
= 0 ;
2612 if(!PyArg_ParseTuple(args
,(char *)"O|O:OtkWidget_show",&obj0
,&obj1
)) goto fail
;
2613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2615 arg2
= (bool) PyInt_AsLong(obj1
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2620 Py_INCREF(Py_None
); resultobj
= Py_None
;
2627 static PyObject
*_wrap_OtkWidget_hide(PyObject
*self
, PyObject
*args
) {
2628 PyObject
*resultobj
;
2629 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2630 bool arg2
= (bool) false ;
2631 PyObject
* obj0
= 0 ;
2632 PyObject
* obj1
= 0 ;
2634 if(!PyArg_ParseTuple(args
,(char *)"O|O:OtkWidget_hide",&obj0
,&obj1
)) goto fail
;
2635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2637 arg2
= (bool) PyInt_AsLong(obj1
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2642 Py_INCREF(Py_None
); resultobj
= Py_None
;
2649 static PyObject
*_wrap_OtkWidget_isFocused(PyObject
*self
, PyObject
*args
) {
2650 PyObject
*resultobj
;
2651 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2653 PyObject
* obj0
= 0 ;
2655 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_isFocused",&obj0
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2657 result
= (bool)((otk::OtkWidget
const *)arg1
)->isFocused();
2659 resultobj
= PyInt_FromLong((long)result
);
2666 static PyObject
*_wrap_OtkWidget_focus(PyObject
*self
, PyObject
*args
) {
2667 PyObject
*resultobj
;
2668 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2669 PyObject
* obj0
= 0 ;
2671 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_focus",&obj0
)) goto fail
;
2672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2675 Py_INCREF(Py_None
); resultobj
= Py_None
;
2682 static PyObject
*_wrap_OtkWidget_unfocus(PyObject
*self
, PyObject
*args
) {
2683 PyObject
*resultobj
;
2684 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_unfocus",&obj0
)) goto fail
;
2688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2691 Py_INCREF(Py_None
); resultobj
= Py_None
;
2698 static PyObject
*_wrap_OtkWidget_hasGrabbedMouse(PyObject
*self
, PyObject
*args
) {
2699 PyObject
*resultobj
;
2700 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2702 PyObject
* obj0
= 0 ;
2704 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_hasGrabbedMouse",&obj0
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2706 result
= (bool)((otk::OtkWidget
const *)arg1
)->hasGrabbedMouse();
2708 resultobj
= PyInt_FromLong((long)result
);
2715 static PyObject
*_wrap_OtkWidget_grabMouse(PyObject
*self
, PyObject
*args
) {
2716 PyObject
*resultobj
;
2717 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2719 PyObject
* obj0
= 0 ;
2721 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_grabMouse",&obj0
)) goto fail
;
2722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2723 result
= (bool)(arg1
)->grabMouse();
2725 resultobj
= PyInt_FromLong((long)result
);
2732 static PyObject
*_wrap_OtkWidget_ungrabMouse(PyObject
*self
, PyObject
*args
) {
2733 PyObject
*resultobj
;
2734 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2735 PyObject
* obj0
= 0 ;
2737 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_ungrabMouse",&obj0
)) goto fail
;
2738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2739 (arg1
)->ungrabMouse();
2741 Py_INCREF(Py_None
); resultobj
= Py_None
;
2748 static PyObject
*_wrap_OtkWidget_hasGrabbedKeyboard(PyObject
*self
, PyObject
*args
) {
2749 PyObject
*resultobj
;
2750 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2752 PyObject
* obj0
= 0 ;
2754 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_hasGrabbedKeyboard",&obj0
)) goto fail
;
2755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2756 result
= (bool)((otk::OtkWidget
const *)arg1
)->hasGrabbedKeyboard();
2758 resultobj
= PyInt_FromLong((long)result
);
2765 static PyObject
*_wrap_OtkWidget_grabKeyboard(PyObject
*self
, PyObject
*args
) {
2766 PyObject
*resultobj
;
2767 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2769 PyObject
* obj0
= 0 ;
2771 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_grabKeyboard",&obj0
)) goto fail
;
2772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2773 result
= (bool)(arg1
)->grabKeyboard();
2775 resultobj
= PyInt_FromLong((long)result
);
2782 static PyObject
*_wrap_OtkWidget_ungrabKeyboard(PyObject
*self
, PyObject
*args
) {
2783 PyObject
*resultobj
;
2784 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2785 PyObject
* obj0
= 0 ;
2787 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_ungrabKeyboard",&obj0
)) goto fail
;
2788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2789 (arg1
)->ungrabKeyboard();
2791 Py_INCREF(Py_None
); resultobj
= Py_None
;
2798 static PyObject
*_wrap_OtkWidget_texture(PyObject
*self
, PyObject
*args
) {
2799 PyObject
*resultobj
;
2800 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2801 otk::BTexture
*result
;
2802 PyObject
* obj0
= 0 ;
2804 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_texture",&obj0
)) goto fail
;
2805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2806 result
= (otk::BTexture
*)((otk::OtkWidget
const *)arg1
)->texture();
2808 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
2815 static PyObject
*_wrap_OtkWidget_setTexture(PyObject
*self
, PyObject
*args
) {
2816 PyObject
*resultobj
;
2817 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2818 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2822 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setTexture",&obj0
,&obj1
)) goto fail
;
2823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2824 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2825 (arg1
)->setTexture(arg2
);
2827 Py_INCREF(Py_None
); resultobj
= Py_None
;
2834 static PyObject
*_wrap_OtkWidget_borderColor(PyObject
*self
, PyObject
*args
) {
2835 PyObject
*resultobj
;
2836 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2837 otk::BColor
*result
;
2838 PyObject
* obj0
= 0 ;
2840 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_borderColor",&obj0
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2842 result
= (otk::BColor
*)((otk::OtkWidget
const *)arg1
)->borderColor();
2844 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
2851 static PyObject
*_wrap_OtkWidget_setBorderColor(PyObject
*self
, PyObject
*args
) {
2852 PyObject
*resultobj
;
2853 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2854 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
2855 PyObject
* obj0
= 0 ;
2856 PyObject
* obj1
= 0 ;
2858 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setBorderColor",&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__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2861 (arg1
)->setBorderColor((otk::BColor
const *)arg2
);
2863 Py_INCREF(Py_None
); resultobj
= Py_None
;
2870 static PyObject
*_wrap_OtkWidget_borderWidth(PyObject
*self
, PyObject
*args
) {
2871 PyObject
*resultobj
;
2872 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2874 PyObject
* obj0
= 0 ;
2876 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_borderWidth",&obj0
)) goto fail
;
2877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2878 result
= (int)((otk::OtkWidget
const *)arg1
)->borderWidth();
2880 resultobj
= PyInt_FromLong((long)result
);
2887 static PyObject
*_wrap_OtkWidget_setBorderWidth(PyObject
*self
, PyObject
*args
) {
2888 PyObject
*resultobj
;
2889 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2891 PyObject
* obj0
= 0 ;
2893 if(!PyArg_ParseTuple(args
,(char *)"Oi:OtkWidget_setBorderWidth",&obj0
,&arg2
)) goto fail
;
2894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2895 (arg1
)->setBorderWidth(arg2
);
2897 Py_INCREF(Py_None
); resultobj
= Py_None
;
2904 static PyObject
*_wrap_OtkWidget_addChild(PyObject
*self
, PyObject
*args
) {
2905 PyObject
*resultobj
;
2906 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2907 otk::OtkWidget
*arg2
= (otk::OtkWidget
*) 0 ;
2908 bool arg3
= (bool) false ;
2909 PyObject
* obj0
= 0 ;
2910 PyObject
* obj1
= 0 ;
2911 PyObject
* obj2
= 0 ;
2913 if(!PyArg_ParseTuple(args
,(char *)"OO|O:OtkWidget_addChild",&obj0
,&obj1
,&obj2
)) goto fail
;
2914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2917 arg3
= (bool) PyInt_AsLong(obj2
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2920 (arg1
)->addChild(arg2
,arg3
);
2922 Py_INCREF(Py_None
); resultobj
= Py_None
;
2929 static PyObject
*_wrap_OtkWidget_removeChild(PyObject
*self
, PyObject
*args
) {
2930 PyObject
*resultobj
;
2931 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2932 otk::OtkWidget
*arg2
= (otk::OtkWidget
*) 0 ;
2933 PyObject
* obj0
= 0 ;
2934 PyObject
* obj1
= 0 ;
2936 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_removeChild",&obj0
,&obj1
)) goto fail
;
2937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2939 (arg1
)->removeChild(arg2
);
2941 Py_INCREF(Py_None
); resultobj
= Py_None
;
2948 static PyObject
*_wrap_OtkWidget_isStretchableHorz(PyObject
*self
, PyObject
*args
) {
2949 PyObject
*resultobj
;
2950 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2954 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_isStretchableHorz",&obj0
)) goto fail
;
2955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2956 result
= (bool)((otk::OtkWidget
const *)arg1
)->isStretchableHorz();
2958 resultobj
= PyInt_FromLong((long)result
);
2965 static PyObject
*_wrap_OtkWidget_setStretchableHorz(PyObject
*self
, PyObject
*args
) {
2966 PyObject
*resultobj
;
2967 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2968 bool arg2
= (bool) true ;
2969 PyObject
* obj0
= 0 ;
2970 PyObject
* obj1
= 0 ;
2972 if(!PyArg_ParseTuple(args
,(char *)"O|O:OtkWidget_setStretchableHorz",&obj0
,&obj1
)) goto fail
;
2973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2975 arg2
= (bool) PyInt_AsLong(obj1
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2978 (arg1
)->setStretchableHorz(arg2
);
2980 Py_INCREF(Py_None
); resultobj
= Py_None
;
2987 static PyObject
*_wrap_OtkWidget_isStretchableVert(PyObject
*self
, PyObject
*args
) {
2988 PyObject
*resultobj
;
2989 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
2991 PyObject
* obj0
= 0 ;
2993 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_isStretchableVert",&obj0
)) goto fail
;
2994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2995 result
= (bool)((otk::OtkWidget
const *)arg1
)->isStretchableVert();
2997 resultobj
= PyInt_FromLong((long)result
);
3004 static PyObject
*_wrap_OtkWidget_setStretchableVert(PyObject
*self
, PyObject
*args
) {
3005 PyObject
*resultobj
;
3006 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3007 bool arg2
= (bool) true ;
3008 PyObject
* obj0
= 0 ;
3009 PyObject
* obj1
= 0 ;
3011 if(!PyArg_ParseTuple(args
,(char *)"O|O:OtkWidget_setStretchableVert",&obj0
,&obj1
)) goto fail
;
3012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3014 arg2
= (bool) PyInt_AsLong(obj1
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3017 (arg1
)->setStretchableVert(arg2
);
3019 Py_INCREF(Py_None
); resultobj
= Py_None
;
3026 static PyObject
*_wrap_OtkWidget_cursor(PyObject
*self
, PyObject
*args
) {
3027 PyObject
*resultobj
;
3028 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3030 PyObject
* obj0
= 0 ;
3032 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_cursor",&obj0
)) goto fail
;
3033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3034 result
= ((otk::OtkWidget
const *)arg1
)->cursor();
3038 resultptr
= new Cursor((Cursor
&) result
);
3039 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Cursor
, 1);
3047 static PyObject
*_wrap_OtkWidget_setCursor(PyObject
*self
, PyObject
*args
) {
3048 PyObject
*resultobj
;
3049 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3052 PyObject
* obj0
= 0 ;
3053 PyObject
* obj1
= 0 ;
3055 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setCursor",&obj0
,&obj1
)) goto fail
;
3056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3057 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Cursor
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
3059 (arg1
)->setCursor(arg2
);
3061 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
*_wrap_OtkWidget_bevelWidth(PyObject
*self
, PyObject
*args
) {
3069 PyObject
*resultobj
;
3070 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3072 PyObject
* obj0
= 0 ;
3074 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_bevelWidth",&obj0
)) goto fail
;
3075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3076 result
= (int)((otk::OtkWidget
const *)arg1
)->bevelWidth();
3078 resultobj
= PyInt_FromLong((long)result
);
3085 static PyObject
*_wrap_OtkWidget_setBevelWidth(PyObject
*self
, PyObject
*args
) {
3086 PyObject
*resultobj
;
3087 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3089 PyObject
* obj0
= 0 ;
3091 if(!PyArg_ParseTuple(args
,(char *)"Oi:OtkWidget_setBevelWidth",&obj0
,&arg2
)) goto fail
;
3092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3093 (arg1
)->setBevelWidth(arg2
);
3095 Py_INCREF(Py_None
); resultobj
= Py_None
;
3102 static PyObject
*_wrap_OtkWidget_direction(PyObject
*self
, PyObject
*args
) {
3103 PyObject
*resultobj
;
3104 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3106 PyObject
* obj0
= 0 ;
3108 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_direction",&obj0
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3110 result
= (int)((otk::OtkWidget
const *)arg1
)->direction();
3112 resultobj
= PyInt_FromLong((long)result
);
3119 static PyObject
*_wrap_OtkWidget_setDirection(PyObject
*self
, PyObject
*args
) {
3120 PyObject
*resultobj
;
3121 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3123 PyObject
* obj0
= 0 ;
3125 if(!PyArg_ParseTuple(args
,(char *)"Oi:OtkWidget_setDirection",&obj0
,&arg2
)) goto fail
;
3126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3127 (arg1
)->setDirection((otk::OtkWidget::Direction
)arg2
);
3129 Py_INCREF(Py_None
); resultobj
= Py_None
;
3136 static PyObject
*_wrap_OtkWidget_style(PyObject
*self
, PyObject
*args
) {
3137 PyObject
*resultobj
;
3138 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3140 PyObject
* obj0
= 0 ;
3142 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_style",&obj0
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3144 result
= (otk::Style
*)((otk::OtkWidget
const *)arg1
)->style();
3146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 0);
3153 static PyObject
*_wrap_OtkWidget_setStyle(PyObject
*self
, PyObject
*args
) {
3154 PyObject
*resultobj
;
3155 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3156 otk::Style
*arg2
= (otk::Style
*) 0 ;
3157 PyObject
* obj0
= 0 ;
3158 PyObject
* obj1
= 0 ;
3160 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setStyle",&obj0
,&obj1
)) goto fail
;
3161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3162 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3163 (arg1
)->setStyle(arg2
);
3165 Py_INCREF(Py_None
); resultobj
= Py_None
;
3172 static PyObject
*_wrap_OtkWidget_eventDispatcher(PyObject
*self
, PyObject
*args
) {
3173 PyObject
*resultobj
;
3174 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3175 otk::OtkEventDispatcher
*result
;
3176 PyObject
* obj0
= 0 ;
3178 if(!PyArg_ParseTuple(args
,(char *)"O:OtkWidget_eventDispatcher",&obj0
)) goto fail
;
3179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3180 result
= (otk::OtkEventDispatcher
*)(arg1
)->eventDispatcher();
3182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventDispatcher
, 0);
3189 static PyObject
*_wrap_OtkWidget_setEventDispatcher(PyObject
*self
, PyObject
*args
) {
3190 PyObject
*resultobj
;
3191 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3192 otk::OtkEventDispatcher
*arg2
= (otk::OtkEventDispatcher
*) 0 ;
3193 PyObject
* obj0
= 0 ;
3194 PyObject
* obj1
= 0 ;
3196 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkWidget_setEventDispatcher",&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__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3199 (arg1
)->setEventDispatcher(arg2
);
3201 Py_INCREF(Py_None
); resultobj
= Py_None
;
3208 static PyObject
* OtkWidget_swigregister(PyObject
*self
, PyObject
*args
) {
3210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3211 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget
, obj
);
3213 return Py_BuildValue((char *)"");
3215 static PyObject
*_wrap_new_OtkFocusWidget(PyObject
*self
, PyObject
*args
) {
3216 PyObject
*resultobj
;
3217 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3218 int arg2
= (int) otk::OtkWidget::Horizontal
;
3219 otk::OtkFocusWidget
*result
;
3220 PyObject
* obj0
= 0 ;
3222 if(!PyArg_ParseTuple(args
,(char *)"O|i:new_OtkFocusWidget",&obj0
,&arg2
)) goto fail
;
3223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3224 result
= (otk::OtkFocusWidget
*)new otk::OtkFocusWidget(arg1
,(otk::OtkWidget::Direction
)arg2
);
3226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkFocusWidget
, 1);
3233 static PyObject
*_wrap_delete_OtkFocusWidget(PyObject
*self
, PyObject
*args
) {
3234 PyObject
*resultobj
;
3235 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3236 PyObject
* obj0
= 0 ;
3238 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkFocusWidget",&obj0
)) goto fail
;
3239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3242 Py_INCREF(Py_None
); resultobj
= Py_None
;
3249 static PyObject
*_wrap_OtkFocusWidget_focus(PyObject
*self
, PyObject
*args
) {
3250 PyObject
*resultobj
;
3251 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3252 PyObject
* obj0
= 0 ;
3254 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_focus",&obj0
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3258 Py_INCREF(Py_None
); resultobj
= Py_None
;
3265 static PyObject
*_wrap_OtkFocusWidget_unfocus(PyObject
*self
, PyObject
*args
) {
3266 PyObject
*resultobj
;
3267 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3268 PyObject
* obj0
= 0 ;
3270 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_unfocus",&obj0
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3274 Py_INCREF(Py_None
); resultobj
= Py_None
;
3281 static PyObject
*_wrap_OtkFocusWidget_setTexture(PyObject
*self
, PyObject
*args
) {
3282 PyObject
*resultobj
;
3283 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3284 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3286 PyObject
* obj1
= 0 ;
3288 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusWidget_setTexture",&obj0
,&obj1
)) goto fail
;
3289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3290 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3291 (arg1
)->setTexture(arg2
);
3293 Py_INCREF(Py_None
); resultobj
= Py_None
;
3300 static PyObject
*_wrap_OtkFocusWidget_setBorderColor(PyObject
*self
, PyObject
*args
) {
3301 PyObject
*resultobj
;
3302 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3303 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3307 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0
,&obj1
)) goto fail
;
3308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3310 (arg1
)->setBorderColor((otk::BColor
const *)arg2
);
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3319 static PyObject
*_wrap_OtkFocusWidget_setUnfocusTexture(PyObject
*self
, PyObject
*args
) {
3320 PyObject
*resultobj
;
3321 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3322 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
3323 PyObject
* obj0
= 0 ;
3324 PyObject
* obj1
= 0 ;
3326 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&obj0
,&obj1
)) goto fail
;
3327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3328 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3329 (arg1
)->setUnfocusTexture(arg2
);
3331 Py_INCREF(Py_None
); resultobj
= Py_None
;
3338 static PyObject
*_wrap_OtkFocusWidget_getUnfocusTexture(PyObject
*self
, PyObject
*args
) {
3339 PyObject
*resultobj
;
3340 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3341 otk::BTexture
*result
;
3342 PyObject
* obj0
= 0 ;
3344 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0
)) goto fail
;
3345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3346 result
= (otk::BTexture
*)((otk::OtkFocusWidget
const *)arg1
)->getUnfocusTexture();
3348 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
3355 static PyObject
*_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject
*self
, PyObject
*args
) {
3356 PyObject
*resultobj
;
3357 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3358 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
3359 PyObject
* obj0
= 0 ;
3360 PyObject
* obj1
= 0 ;
3362 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&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__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3365 (arg1
)->setUnfocusBorderColor((otk::BColor
const *)arg2
);
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject
*self
, PyObject
*args
) {
3375 PyObject
*resultobj
;
3376 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3377 otk::BColor
*result
;
3378 PyObject
* obj0
= 0 ;
3380 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0
)) goto fail
;
3381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3382 result
= (otk::BColor
*)((otk::OtkFocusWidget
const *)arg1
)->getUnfocusBorderColor();
3384 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
3391 static PyObject
*_wrap_OtkFocusWidget_isFocused(PyObject
*self
, PyObject
*args
) {
3392 PyObject
*resultobj
;
3393 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3397 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_isFocused",&obj0
)) goto fail
;
3398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3399 result
= (bool)((otk::OtkFocusWidget
const *)arg1
)->isFocused();
3401 resultobj
= PyInt_FromLong((long)result
);
3408 static PyObject
*_wrap_OtkFocusWidget_isUnfocused(PyObject
*self
, PyObject
*args
) {
3409 PyObject
*resultobj
;
3410 otk::OtkFocusWidget
*arg1
= (otk::OtkFocusWidget
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3414 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusWidget_isUnfocused",&obj0
)) goto fail
;
3415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3416 result
= (bool)((otk::OtkFocusWidget
const *)arg1
)->isUnfocused();
3418 resultobj
= PyInt_FromLong((long)result
);
3425 static PyObject
* OtkFocusWidget_swigregister(PyObject
*self
, PyObject
*args
) {
3427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3428 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget
, obj
);
3430 return Py_BuildValue((char *)"");
3432 static PyObject
*_wrap_new_OtkFocusLabel(PyObject
*self
, PyObject
*args
) {
3433 PyObject
*resultobj
;
3434 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3435 otk::OtkFocusLabel
*result
;
3436 PyObject
* obj0
= 0 ;
3438 if(!PyArg_ParseTuple(args
,(char *)"O:new_OtkFocusLabel",&obj0
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3440 result
= (otk::OtkFocusLabel
*)new otk::OtkFocusLabel(arg1
);
3442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkFocusLabel
, 1);
3449 static PyObject
*_wrap_delete_OtkFocusLabel(PyObject
*self
, PyObject
*args
) {
3450 PyObject
*resultobj
;
3451 otk::OtkFocusLabel
*arg1
= (otk::OtkFocusLabel
*) 0 ;
3452 PyObject
* obj0
= 0 ;
3454 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkFocusLabel",&obj0
)) goto fail
;
3455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusLabel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3458 Py_INCREF(Py_None
); resultobj
= Py_None
;
3465 static PyObject
*_wrap_OtkFocusLabel_getText(PyObject
*self
, PyObject
*args
) {
3466 PyObject
*resultobj
;
3467 otk::OtkFocusLabel
*arg1
= (otk::OtkFocusLabel
*) 0 ;
3468 std::string
*result
;
3469 PyObject
* obj0
= 0 ;
3471 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusLabel_getText",&obj0
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusLabel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3474 std::string
const &_result_ref
= ((otk::OtkFocusLabel
const *)arg1
)->getText();
3475 result
= (std::string
*) &_result_ref
;
3479 resultobj
= PyString_FromString(result
->c_str());
3487 static PyObject
*_wrap_OtkFocusLabel_setText(PyObject
*self
, PyObject
*args
) {
3488 PyObject
*resultobj
;
3489 otk::OtkFocusLabel
*arg1
= (otk::OtkFocusLabel
*) 0 ;
3490 std::string
*arg2
= 0 ;
3492 PyObject
* obj0
= 0 ;
3493 PyObject
* obj1
= 0 ;
3495 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusLabel_setText",&obj0
,&obj1
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusLabel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3498 if (PyString_Check(obj1
)) {
3499 temp2
= std::string(PyString_AsString(obj1
));
3502 SWIG_exception(SWIG_TypeError
, "string expected");
3505 (arg1
)->setText((std::string
const &)*arg2
);
3507 Py_INCREF(Py_None
); resultobj
= Py_None
;
3514 static PyObject
*_wrap_OtkFocusLabel_update(PyObject
*self
, PyObject
*args
) {
3515 PyObject
*resultobj
;
3516 otk::OtkFocusLabel
*arg1
= (otk::OtkFocusLabel
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3519 if(!PyArg_ParseTuple(args
,(char *)"O:OtkFocusLabel_update",&obj0
)) goto fail
;
3520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusLabel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3523 Py_INCREF(Py_None
); resultobj
= Py_None
;
3530 static PyObject
*_wrap_OtkFocusLabel_setStyle(PyObject
*self
, PyObject
*args
) {
3531 PyObject
*resultobj
;
3532 otk::OtkFocusLabel
*arg1
= (otk::OtkFocusLabel
*) 0 ;
3533 otk::Style
*arg2
= (otk::Style
*) 0 ;
3534 PyObject
* obj0
= 0 ;
3535 PyObject
* obj1
= 0 ;
3537 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkFocusLabel_setStyle",&obj0
,&obj1
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkFocusLabel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3540 (arg1
)->setStyle(arg2
);
3542 Py_INCREF(Py_None
); resultobj
= Py_None
;
3549 static PyObject
* OtkFocusLabel_swigregister(PyObject
*self
, PyObject
*args
) {
3551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3552 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel
, obj
);
3554 return Py_BuildValue((char *)"");
3556 static PyObject
*_wrap_new_OtkAppWidget(PyObject
*self
, PyObject
*args
) {
3557 PyObject
*resultobj
;
3558 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3559 int arg2
= (int) otk::OtkWidget::Horizontal
;
3560 Cursor arg3
= (Cursor
) 0 ;
3561 int arg4
= (int) 1 ;
3562 otk::OtkAppWidget
*result
;
3564 PyObject
* obj0
= 0 ;
3565 PyObject
* obj2
= 0 ;
3567 if(!PyArg_ParseTuple(args
,(char *)"O|iOi:new_OtkAppWidget",&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3570 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_Cursor
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
3573 result
= (otk::OtkAppWidget
*)new otk::OtkAppWidget(arg1
,(otk::OtkWidget::Direction
)arg2
,arg3
,arg4
);
3575 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkAppWidget
, 1);
3582 static PyObject
*_wrap_delete_OtkAppWidget(PyObject
*self
, PyObject
*args
) {
3583 PyObject
*resultobj
;
3584 otk::OtkAppWidget
*arg1
= (otk::OtkAppWidget
*) 0 ;
3585 PyObject
* obj0
= 0 ;
3587 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkAppWidget",&obj0
)) goto fail
;
3588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkAppWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3591 Py_INCREF(Py_None
); resultobj
= Py_None
;
3598 static PyObject
*_wrap_OtkAppWidget_show(PyObject
*self
, PyObject
*args
) {
3599 PyObject
*resultobj
;
3600 otk::OtkAppWidget
*arg1
= (otk::OtkAppWidget
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3603 if(!PyArg_ParseTuple(args
,(char *)"O:OtkAppWidget_show",&obj0
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkAppWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3607 Py_INCREF(Py_None
); resultobj
= Py_None
;
3614 static PyObject
*_wrap_OtkAppWidget_hide(PyObject
*self
, PyObject
*args
) {
3615 PyObject
*resultobj
;
3616 otk::OtkAppWidget
*arg1
= (otk::OtkAppWidget
*) 0 ;
3617 PyObject
* obj0
= 0 ;
3619 if(!PyArg_ParseTuple(args
,(char *)"O:OtkAppWidget_hide",&obj0
)) goto fail
;
3620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkAppWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3623 Py_INCREF(Py_None
); resultobj
= Py_None
;
3630 static PyObject
*_wrap_OtkAppWidget_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
3631 PyObject
*resultobj
;
3632 otk::OtkAppWidget
*arg1
= (otk::OtkAppWidget
*) 0 ;
3633 XClientMessageEvent
*arg2
= 0 ;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
3638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkAppWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3639 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3641 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3643 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
3645 Py_INCREF(Py_None
); resultobj
= Py_None
;
3652 static PyObject
* OtkAppWidget_swigregister(PyObject
*self
, PyObject
*args
) {
3654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3655 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget
, obj
);
3657 return Py_BuildValue((char *)"");
3659 static PyObject
*_wrap_new_OtkApplication(PyObject
*self
, PyObject
*args
) {
3660 PyObject
*resultobj
;
3662 char **arg2
= (char **) 0 ;
3663 otk::OtkApplication
*result
;
3664 PyObject
* obj1
= 0 ;
3666 if(!PyArg_ParseTuple(args
,(char *)"iO:new_OtkApplication",&arg1
,&obj1
)) goto fail
;
3667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_p_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3668 result
= (otk::OtkApplication
*)new otk::OtkApplication(arg1
,arg2
);
3670 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkApplication
, 1);
3677 static PyObject
*_wrap_delete_OtkApplication(PyObject
*self
, PyObject
*args
) {
3678 PyObject
*resultobj
;
3679 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3680 PyObject
* obj0
= 0 ;
3682 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkApplication",&obj0
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3686 Py_INCREF(Py_None
); resultobj
= Py_None
;
3693 static PyObject
*_wrap_OtkApplication_run(PyObject
*self
, PyObject
*args
) {
3694 PyObject
*resultobj
;
3695 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3696 PyObject
* obj0
= 0 ;
3698 if(!PyArg_ParseTuple(args
,(char *)"O:OtkApplication_run",&obj0
)) goto fail
;
3699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3702 Py_INCREF(Py_None
); resultobj
= Py_None
;
3709 static PyObject
*_wrap_OtkApplication_setDockable(PyObject
*self
, PyObject
*args
) {
3710 PyObject
*resultobj
;
3711 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3713 PyObject
* obj0
= 0 ;
3714 PyObject
* obj1
= 0 ;
3716 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkApplication_setDockable",&obj0
,&obj1
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3718 arg2
= (bool) PyInt_AsLong(obj1
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3720 (arg1
)->setDockable(arg2
);
3722 Py_INCREF(Py_None
); resultobj
= Py_None
;
3729 static PyObject
*_wrap_OtkApplication_isDockable(PyObject
*self
, PyObject
*args
) {
3730 PyObject
*resultobj
;
3731 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3733 PyObject
* obj0
= 0 ;
3735 if(!PyArg_ParseTuple(args
,(char *)"O:OtkApplication_isDockable",&obj0
)) goto fail
;
3736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3737 result
= (bool)((otk::OtkApplication
const *)arg1
)->isDockable();
3739 resultobj
= PyInt_FromLong((long)result
);
3746 static PyObject
*_wrap_OtkApplication_getStyle(PyObject
*self
, PyObject
*args
) {
3747 PyObject
*resultobj
;
3748 otk::OtkApplication
*arg1
= (otk::OtkApplication
*) 0 ;
3750 PyObject
* obj0
= 0 ;
3752 if(!PyArg_ParseTuple(args
,(char *)"O:OtkApplication_getStyle",&obj0
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkApplication
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3754 result
= (otk::Style
*)((otk::OtkApplication
const *)arg1
)->getStyle();
3756 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 0);
3763 static PyObject
* OtkApplication_swigregister(PyObject
*self
, PyObject
*args
) {
3765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3766 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication
, obj
);
3768 return Py_BuildValue((char *)"");
3770 static PyObject
*_wrap_new_PointerAssassin(PyObject
*self
, PyObject
*args
) {
3771 PyObject
*resultobj
;
3772 otk::PointerAssassin
*result
;
3774 if(!PyArg_ParseTuple(args
,(char *)":new_PointerAssassin")) goto fail
;
3775 result
= (otk::PointerAssassin
*)new otk::PointerAssassin();
3777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PointerAssassin
, 1);
3784 static PyObject
*_wrap_delete_PointerAssassin(PyObject
*self
, PyObject
*args
) {
3785 PyObject
*resultobj
;
3786 otk::PointerAssassin
*arg1
= (otk::PointerAssassin
*) 0 ;
3787 PyObject
* obj0
= 0 ;
3789 if(!PyArg_ParseTuple(args
,(char *)"O:delete_PointerAssassin",&obj0
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PointerAssassin
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3793 Py_INCREF(Py_None
); resultobj
= Py_None
;
3800 static PyObject
* PointerAssassin_swigregister(PyObject
*self
, PyObject
*args
) {
3802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3803 SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin
, obj
);
3805 return Py_BuildValue((char *)"");
3807 static PyObject
*_wrap_new_OtkButton(PyObject
*self
, PyObject
*args
) {
3808 PyObject
*resultobj
;
3809 otk::OtkWidget
*arg1
= (otk::OtkWidget
*) 0 ;
3810 otk::OtkButton
*result
;
3811 PyObject
* obj0
= 0 ;
3813 if(!PyArg_ParseTuple(args
,(char *)"O:new_OtkButton",&obj0
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkWidget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3815 result
= (otk::OtkButton
*)new otk::OtkButton(arg1
);
3817 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkButton
, 1);
3824 static PyObject
*_wrap_delete_OtkButton(PyObject
*self
, PyObject
*args
) {
3825 PyObject
*resultobj
;
3826 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3829 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkButton",&obj0
)) goto fail
;
3830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3833 Py_INCREF(Py_None
); resultobj
= Py_None
;
3840 static PyObject
*_wrap_OtkButton_getPressedFocusTexture(PyObject
*self
, PyObject
*args
) {
3841 PyObject
*resultobj
;
3842 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3843 otk::BTexture
*result
;
3844 PyObject
* obj0
= 0 ;
3846 if(!PyArg_ParseTuple(args
,(char *)"O:OtkButton_getPressedFocusTexture",&obj0
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3848 result
= (otk::BTexture
*)((otk::OtkButton
const *)arg1
)->getPressedFocusTexture();
3850 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
3857 static PyObject
*_wrap_OtkButton_setPressedFocusTexture(PyObject
*self
, PyObject
*args
) {
3858 PyObject
*resultobj
;
3859 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3860 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
3861 PyObject
* obj0
= 0 ;
3862 PyObject
* obj1
= 0 ;
3864 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_setPressedFocusTexture",&obj0
,&obj1
)) goto fail
;
3865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3866 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3867 (arg1
)->setPressedFocusTexture(arg2
);
3869 Py_INCREF(Py_None
); resultobj
= Py_None
;
3876 static PyObject
*_wrap_OtkButton_getPressedUnfocusTexture(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_getPressedUnfocusTexture",&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
)->getPressedUnfocusTexture();
3886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
3893 static PyObject
*_wrap_OtkButton_setPressedUnfocusTexture(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_setPressedUnfocusTexture",&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
)->setPressedUnfocusTexture(arg2
);
3905 Py_INCREF(Py_None
); resultobj
= Py_None
;
3912 static PyObject
*_wrap_OtkButton_setTexture(PyObject
*self
, PyObject
*args
) {
3913 PyObject
*resultobj
;
3914 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3915 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
3916 PyObject
* obj0
= 0 ;
3917 PyObject
* obj1
= 0 ;
3919 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_setTexture",&obj0
,&obj1
)) goto fail
;
3920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3921 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3922 (arg1
)->setTexture(arg2
);
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3931 static PyObject
*_wrap_OtkButton_setUnfocusTexture(PyObject
*self
, PyObject
*args
) {
3932 PyObject
*resultobj
;
3933 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3934 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3936 PyObject
* obj1
= 0 ;
3938 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_setUnfocusTexture",&obj0
,&obj1
)) goto fail
;
3939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3941 (arg1
)->setUnfocusTexture(arg2
);
3943 Py_INCREF(Py_None
); resultobj
= Py_None
;
3950 static PyObject
*_wrap_OtkButton_isPressed(PyObject
*self
, PyObject
*args
) {
3951 PyObject
*resultobj
;
3952 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3954 PyObject
* obj0
= 0 ;
3956 if(!PyArg_ParseTuple(args
,(char *)"O:OtkButton_isPressed",&obj0
)) goto fail
;
3957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3958 result
= (bool)((otk::OtkButton
const *)arg1
)->isPressed();
3960 resultobj
= PyInt_FromLong((long)result
);
3967 static PyObject
*_wrap_OtkButton_press(PyObject
*self
, PyObject
*args
) {
3968 PyObject
*resultobj
;
3969 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3971 PyObject
* obj0
= 0 ;
3972 PyObject
* obj1
= 0 ;
3974 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_press",&obj0
,&obj1
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3976 arg2
= (unsigned int) PyInt_AsLong(obj1
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3978 (arg1
)->press(arg2
);
3980 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 static PyObject
*_wrap_OtkButton_release(PyObject
*self
, PyObject
*args
) {
3988 PyObject
*resultobj
;
3989 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
3991 PyObject
* obj0
= 0 ;
3992 PyObject
* obj1
= 0 ;
3994 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_release",&obj0
,&obj1
)) goto fail
;
3995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3996 arg2
= (unsigned int) PyInt_AsLong(obj1
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3998 (arg1
)->release(arg2
);
4000 Py_INCREF(Py_None
); resultobj
= Py_None
;
4007 static PyObject
*_wrap_OtkButton_buttonPressHandler(PyObject
*self
, PyObject
*args
) {
4008 PyObject
*resultobj
;
4009 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
4010 XButtonEvent
*arg2
= 0 ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4014 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_buttonPressHandler",&obj0
,&obj1
)) goto fail
;
4015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4016 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4018 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4020 (arg1
)->buttonPressHandler((XButtonEvent
const &)*arg2
);
4022 Py_INCREF(Py_None
); resultobj
= Py_None
;
4029 static PyObject
*_wrap_OtkButton_buttonReleaseHandler(PyObject
*self
, PyObject
*args
) {
4030 PyObject
*resultobj
;
4031 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
4032 XButtonEvent
*arg2
= 0 ;
4033 PyObject
* obj0
= 0 ;
4034 PyObject
* obj1
= 0 ;
4036 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_buttonReleaseHandler",&obj0
,&obj1
)) goto fail
;
4037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4040 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4042 (arg1
)->buttonReleaseHandler((XButtonEvent
const &)*arg2
);
4044 Py_INCREF(Py_None
); resultobj
= Py_None
;
4051 static PyObject
*_wrap_OtkButton_setStyle(PyObject
*self
, PyObject
*args
) {
4052 PyObject
*resultobj
;
4053 otk::OtkButton
*arg1
= (otk::OtkButton
*) 0 ;
4054 otk::Style
*arg2
= (otk::Style
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkButton_setStyle",&obj0
,&obj1
)) goto fail
;
4059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4061 (arg1
)->setStyle(arg2
);
4063 Py_INCREF(Py_None
); resultobj
= Py_None
;
4070 static PyObject
* OtkButton_swigregister(PyObject
*self
, PyObject
*args
) {
4072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4073 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton
, obj
);
4075 return Py_BuildValue((char *)"");
4077 static PyObject
*_wrap_new_BColor__SWIG_0(PyObject
*self
, PyObject
*args
) {
4078 PyObject
*resultobj
;
4079 unsigned int arg1
= (unsigned int) ~(0u) ;
4080 otk::BColor
*result
;
4081 PyObject
* obj0
= 0 ;
4083 if(!PyArg_ParseTuple(args
,(char *)"|O:new_BColor",&obj0
)) goto fail
;
4085 arg1
= (unsigned int) PyInt_AsLong(obj0
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 result
= (otk::BColor
*)new otk::BColor(arg1
);
4090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 1);
4097 static PyObject
*_wrap_new_BColor__SWIG_1(PyObject
*self
, PyObject
*args
) {
4098 PyObject
*resultobj
;
4102 unsigned int arg4
= (unsigned int) ~(0u) ;
4103 otk::BColor
*result
;
4104 PyObject
* obj3
= 0 ;
4106 if(!PyArg_ParseTuple(args
,(char *)"iii|O:new_BColor",&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
4108 arg4
= (unsigned int) PyInt_AsLong(obj3
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 result
= (otk::BColor
*)new otk::BColor(arg1
,arg2
,arg3
,arg4
);
4113 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 1);
4120 static PyObject
*_wrap_new_BColor__SWIG_2(PyObject
*self
, PyObject
*args
) {
4121 PyObject
*resultobj
;
4122 std::string
*arg1
= 0 ;
4123 unsigned int arg2
= (unsigned int) ~(0u) ;
4124 otk::BColor
*result
;
4126 PyObject
* obj0
= 0 ;
4127 PyObject
* obj1
= 0 ;
4129 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_BColor",&obj0
,&obj1
)) goto fail
;
4131 if (PyString_Check(obj0
)) {
4132 temp1
= std::string(PyString_AsString(obj0
));
4135 SWIG_exception(SWIG_TypeError
, "string expected");
4139 arg2
= (unsigned int) PyInt_AsLong(obj1
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 result
= (otk::BColor
*)new otk::BColor((std::string
const &)*arg1
,arg2
);
4144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 1);
4151 static PyObject
*_wrap_new_BColor(PyObject
*self
, PyObject
*args
) {
4156 argc
= PyObject_Length(args
);
4157 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
4158 argv
[ii
] = PyTuple_GetItem(args
,ii
);
4160 if ((argc
>= 0) && (argc
<= 1)) {
4163 return _wrap_new_BColor__SWIG_0(self
,args
);
4166 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4169 return _wrap_new_BColor__SWIG_0(self
,args
);
4172 if ((argc
>= 1) && (argc
<= 2)) {
4175 _v
= PyString_Check(argv
[0]) ? 1 : 0;
4179 return _wrap_new_BColor__SWIG_2(self
,args
);
4182 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4185 return _wrap_new_BColor__SWIG_2(self
,args
);
4189 if ((argc
>= 3) && (argc
<= 4)) {
4192 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4196 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4200 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4204 return _wrap_new_BColor__SWIG_1(self
,args
);
4207 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
4210 return _wrap_new_BColor__SWIG_1(self
,args
);
4217 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BColor'");
4222 static PyObject
*_wrap_delete_BColor(PyObject
*self
, PyObject
*args
) {
4223 PyObject
*resultobj
;
4224 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4225 PyObject
* obj0
= 0 ;
4227 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BColor",&obj0
)) goto fail
;
4228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4231 Py_INCREF(Py_None
); resultobj
= Py_None
;
4238 static PyObject
*_wrap_BColor_name(PyObject
*self
, PyObject
*args
) {
4239 PyObject
*resultobj
;
4240 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4241 std::string
*result
;
4242 PyObject
* obj0
= 0 ;
4244 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_name",&obj0
)) goto fail
;
4245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4247 std::string
const &_result_ref
= ((otk::BColor
const *)arg1
)->name();
4248 result
= (std::string
*) &_result_ref
;
4252 resultobj
= PyString_FromString(result
->c_str());
4260 static PyObject
*_wrap_BColor_red(PyObject
*self
, PyObject
*args
) {
4261 PyObject
*resultobj
;
4262 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4264 PyObject
* obj0
= 0 ;
4266 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_red",&obj0
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4268 result
= (int)((otk::BColor
const *)arg1
)->red();
4270 resultobj
= PyInt_FromLong((long)result
);
4277 static PyObject
*_wrap_BColor_green(PyObject
*self
, PyObject
*args
) {
4278 PyObject
*resultobj
;
4279 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4283 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_green",&obj0
)) goto fail
;
4284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4285 result
= (int)((otk::BColor
const *)arg1
)->green();
4287 resultobj
= PyInt_FromLong((long)result
);
4294 static PyObject
*_wrap_BColor_blue(PyObject
*self
, PyObject
*args
) {
4295 PyObject
*resultobj
;
4296 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4298 PyObject
* obj0
= 0 ;
4300 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_blue",&obj0
)) goto fail
;
4301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4302 result
= (int)((otk::BColor
const *)arg1
)->blue();
4304 resultobj
= PyInt_FromLong((long)result
);
4311 static PyObject
*_wrap_BColor_setRGB(PyObject
*self
, PyObject
*args
) {
4312 PyObject
*resultobj
;
4313 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4317 PyObject
* obj0
= 0 ;
4319 if(!PyArg_ParseTuple(args
,(char *)"Oiii:BColor_setRGB",&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4321 (arg1
)->setRGB(arg2
,arg3
,arg4
);
4323 Py_INCREF(Py_None
); resultobj
= Py_None
;
4330 static PyObject
*_wrap_BColor_screen(PyObject
*self
, PyObject
*args
) {
4331 PyObject
*resultobj
;
4332 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4333 unsigned int result
;
4334 PyObject
* obj0
= 0 ;
4336 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_screen",&obj0
)) goto fail
;
4337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4338 result
= (unsigned int)((otk::BColor
const *)arg1
)->screen();
4340 resultobj
= PyInt_FromLong((long)result
);
4347 static PyObject
*_wrap_BColor_setScreen(PyObject
*self
, PyObject
*args
) {
4348 PyObject
*resultobj
;
4349 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4350 unsigned int arg2
= (unsigned int) ~(0u) ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4354 if(!PyArg_ParseTuple(args
,(char *)"O|O:BColor_setScreen",&obj0
,&obj1
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4357 arg2
= (unsigned int) PyInt_AsLong(obj1
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 (arg1
)->setScreen(arg2
);
4362 Py_INCREF(Py_None
); resultobj
= Py_None
;
4369 static PyObject
*_wrap_BColor_isAllocated(PyObject
*self
, PyObject
*args
) {
4370 PyObject
*resultobj
;
4371 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4375 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_isAllocated",&obj0
)) goto fail
;
4376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4377 result
= (bool)((otk::BColor
const *)arg1
)->isAllocated();
4379 resultobj
= PyInt_FromLong((long)result
);
4386 static PyObject
*_wrap_BColor_isValid(PyObject
*self
, PyObject
*args
) {
4387 PyObject
*resultobj
;
4388 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4392 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_isValid",&obj0
)) goto fail
;
4393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4394 result
= (bool)((otk::BColor
const *)arg1
)->isValid();
4396 resultobj
= PyInt_FromLong((long)result
);
4403 static PyObject
*_wrap_BColor_pixel(PyObject
*self
, PyObject
*args
) {
4404 PyObject
*resultobj
;
4405 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4406 unsigned long result
;
4407 PyObject
* obj0
= 0 ;
4409 if(!PyArg_ParseTuple(args
,(char *)"O:BColor_pixel",&obj0
)) goto fail
;
4410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4411 result
= (unsigned long)((otk::BColor
const *)arg1
)->pixel();
4413 resultobj
= PyInt_FromLong((long)result
);
4420 static PyObject
*_wrap_BColor_equals(PyObject
*self
, PyObject
*args
) {
4421 PyObject
*resultobj
;
4422 otk::BColor
*arg1
= (otk::BColor
*) 0 ;
4423 otk::BColor
*arg2
= 0 ;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4428 if(!PyArg_ParseTuple(args
,(char *)"OO:BColor_equals",&obj0
,&obj1
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4434 result
= (bool)((otk::BColor
const *)arg1
)->operator ==((otk::BColor
const &)*arg2
);
4436 resultobj
= PyInt_FromLong((long)result
);
4443 static PyObject
*_wrap_BColor_cleanupColorCache(PyObject
*self
, PyObject
*args
) {
4444 PyObject
*resultobj
;
4446 if(!PyArg_ParseTuple(args
,(char *)":BColor_cleanupColorCache")) goto fail
;
4447 otk::BColor::cleanupColorCache();
4449 Py_INCREF(Py_None
); resultobj
= Py_None
;
4456 static PyObject
* BColor_swigregister(PyObject
*self
, PyObject
*args
) {
4458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4459 SWIG_TypeClientData(SWIGTYPE_p_otk__BColor
, obj
);
4461 return Py_BuildValue((char *)"");
4463 static PyObject
*_wrap_new_Configuration__SWIG_0(PyObject
*self
, PyObject
*args
) {
4464 PyObject
*resultobj
;
4465 std::string
*arg1
= 0 ;
4466 bool arg2
= (bool) True
;
4467 otk::Configuration
*result
;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4472 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Configuration",&obj0
,&obj1
)) goto fail
;
4474 if (PyString_Check(obj0
)) {
4475 temp1
= std::string(PyString_AsString(obj0
));
4478 SWIG_exception(SWIG_TypeError
, "string expected");
4482 arg2
= (bool) PyInt_AsLong(obj1
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 result
= (otk::Configuration
*)new otk::Configuration((std::string
const &)*arg1
,arg2
);
4487 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Configuration
, 1);
4494 static PyObject
*_wrap_new_Configuration__SWIG_1(PyObject
*self
, PyObject
*args
) {
4495 PyObject
*resultobj
;
4496 bool arg1
= (bool) True
;
4497 otk::Configuration
*result
;
4498 PyObject
* obj0
= 0 ;
4500 if(!PyArg_ParseTuple(args
,(char *)"|O:new_Configuration",&obj0
)) goto fail
;
4502 arg1
= (bool) PyInt_AsLong(obj0
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 result
= (otk::Configuration
*)new otk::Configuration(arg1
);
4507 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Configuration
, 1);
4514 static PyObject
*_wrap_new_Configuration(PyObject
*self
, PyObject
*args
) {
4519 argc
= PyObject_Length(args
);
4520 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
4521 argv
[ii
] = PyTuple_GetItem(args
,ii
);
4523 if ((argc
>= 0) && (argc
<= 1)) {
4526 return _wrap_new_Configuration__SWIG_1(self
,args
);
4529 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4532 return _wrap_new_Configuration__SWIG_1(self
,args
);
4535 if ((argc
>= 1) && (argc
<= 2)) {
4538 _v
= PyString_Check(argv
[0]) ? 1 : 0;
4542 return _wrap_new_Configuration__SWIG_0(self
,args
);
4545 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4548 return _wrap_new_Configuration__SWIG_0(self
,args
);
4553 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Configuration'");
4558 static PyObject
*_wrap_delete_Configuration(PyObject
*self
, PyObject
*args
) {
4559 PyObject
*resultobj
;
4560 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4561 PyObject
* obj0
= 0 ;
4563 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Configuration",&obj0
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4567 Py_INCREF(Py_None
); resultobj
= Py_None
;
4574 static PyObject
*_wrap_Configuration_file(PyObject
*self
, PyObject
*args
) {
4575 PyObject
*resultobj
;
4576 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4577 std::string
*result
;
4578 PyObject
* obj0
= 0 ;
4580 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_file",&obj0
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4583 std::string
const &_result_ref
= ((otk::Configuration
const *)arg1
)->file();
4584 result
= (std::string
*) &_result_ref
;
4588 resultobj
= PyString_FromString(result
->c_str());
4596 static PyObject
*_wrap_Configuration_setFile(PyObject
*self
, PyObject
*args
) {
4597 PyObject
*resultobj
;
4598 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4599 std::string
*arg2
= 0 ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4604 if(!PyArg_ParseTuple(args
,(char *)"OO:Configuration_setFile",&obj0
,&obj1
)) goto fail
;
4605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4607 if (PyString_Check(obj1
)) {
4608 temp2
= std::string(PyString_AsString(obj1
));
4611 SWIG_exception(SWIG_TypeError
, "string expected");
4614 (arg1
)->setFile((std::string
const &)*arg2
);
4616 Py_INCREF(Py_None
); resultobj
= Py_None
;
4623 static PyObject
*_wrap_Configuration_autoSave(PyObject
*self
, PyObject
*args
) {
4624 PyObject
*resultobj
;
4625 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4629 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_autoSave",&obj0
)) goto fail
;
4630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4631 result
= (bool)((otk::Configuration
const *)arg1
)->autoSave();
4633 resultobj
= PyInt_FromLong((long)result
);
4640 static PyObject
*_wrap_Configuration_setAutoSave(PyObject
*self
, PyObject
*args
) {
4641 PyObject
*resultobj
;
4642 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4647 if(!PyArg_ParseTuple(args
,(char *)"OO:Configuration_setAutoSave",&obj0
,&obj1
)) goto fail
;
4648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4649 arg2
= (bool) PyInt_AsLong(obj1
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4651 (arg1
)->setAutoSave(arg2
);
4653 Py_INCREF(Py_None
); resultobj
= Py_None
;
4660 static PyObject
*_wrap_Configuration_isModified(PyObject
*self
, PyObject
*args
) {
4661 PyObject
*resultobj
;
4662 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4666 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_isModified",&obj0
)) goto fail
;
4667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4668 result
= (bool)((otk::Configuration
const *)arg1
)->isModified();
4670 resultobj
= PyInt_FromLong((long)result
);
4677 static PyObject
*_wrap_Configuration_save(PyObject
*self
, PyObject
*args
) {
4678 PyObject
*resultobj
;
4679 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4680 PyObject
* obj0
= 0 ;
4682 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_save",&obj0
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4686 Py_INCREF(Py_None
); resultobj
= Py_None
;
4693 static PyObject
*_wrap_Configuration_load(PyObject
*self
, PyObject
*args
) {
4694 PyObject
*resultobj
;
4695 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4699 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_load",&obj0
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4701 result
= (bool)(arg1
)->load();
4703 resultobj
= PyInt_FromLong((long)result
);
4710 static PyObject
*_wrap_Configuration_merge(PyObject
*self
, PyObject
*args
) {
4711 PyObject
*resultobj
;
4712 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4713 std::string
*arg2
= 0 ;
4714 bool arg3
= (bool) False
;
4717 PyObject
* obj0
= 0 ;
4718 PyObject
* obj1
= 0 ;
4719 PyObject
* obj2
= 0 ;
4721 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Configuration_merge",&obj0
,&obj1
,&obj2
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4724 if (PyString_Check(obj1
)) {
4725 temp2
= std::string(PyString_AsString(obj1
));
4728 SWIG_exception(SWIG_TypeError
, "string expected");
4732 arg3
= (bool) PyInt_AsLong(obj2
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 result
= (bool)(arg1
)->merge((std::string
const &)*arg2
,arg3
);
4737 resultobj
= PyInt_FromLong((long)result
);
4744 static PyObject
*_wrap_Configuration_create(PyObject
*self
, PyObject
*args
) {
4745 PyObject
*resultobj
;
4746 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4749 if(!PyArg_ParseTuple(args
,(char *)"O:Configuration_create",&obj0
)) goto fail
;
4750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4753 Py_INCREF(Py_None
); resultobj
= Py_None
;
4760 static PyObject
*_wrap_Configuration_setValue_bool(PyObject
*self
, PyObject
*args
) {
4761 PyObject
*resultobj
;
4762 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4763 std::string
*arg2
= 0 ;
4766 PyObject
* obj0
= 0 ;
4767 PyObject
* obj1
= 0 ;
4768 PyObject
* obj2
= 0 ;
4770 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_setValue_bool",&obj0
,&obj1
,&obj2
)) goto fail
;
4771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4773 if (PyString_Check(obj1
)) {
4774 temp2
= std::string(PyString_AsString(obj1
));
4777 SWIG_exception(SWIG_TypeError
, "string expected");
4780 arg3
= (bool) PyInt_AsLong(obj2
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4782 (arg1
)->setValue((std::string
const &)*arg2
,arg3
);
4784 Py_INCREF(Py_None
); resultobj
= Py_None
;
4791 static PyObject
*_wrap_Configuration_setValue(PyObject
*self
, PyObject
*args
) {
4792 PyObject
*resultobj
;
4793 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4794 std::string
*arg2
= 0 ;
4797 PyObject
* obj0
= 0 ;
4798 PyObject
* obj1
= 0 ;
4800 if(!PyArg_ParseTuple(args
,(char *)"OOi:Configuration_setValue",&obj0
,&obj1
,&arg3
)) goto fail
;
4801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4803 if (PyString_Check(obj1
)) {
4804 temp2
= std::string(PyString_AsString(obj1
));
4807 SWIG_exception(SWIG_TypeError
, "string expected");
4810 (arg1
)->setValue((std::string
const &)*arg2
,arg3
);
4812 Py_INCREF(Py_None
); resultobj
= Py_None
;
4819 static PyObject
*_wrap_Configuration_setValue_unsigned(PyObject
*self
, PyObject
*args
) {
4820 PyObject
*resultobj
;
4821 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4822 std::string
*arg2
= 0 ;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4827 PyObject
* obj2
= 0 ;
4829 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_setValue_unsigned",&obj0
,&obj1
,&obj2
)) goto fail
;
4830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4832 if (PyString_Check(obj1
)) {
4833 temp2
= std::string(PyString_AsString(obj1
));
4836 SWIG_exception(SWIG_TypeError
, "string expected");
4839 arg3
= (unsigned int) PyInt_AsLong(obj2
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4841 (arg1
)->setValue((std::string
const &)*arg2
,arg3
);
4843 Py_INCREF(Py_None
); resultobj
= Py_None
;
4850 static PyObject
*_wrap_Configuration_setValue_long(PyObject
*self
, PyObject
*args
) {
4851 PyObject
*resultobj
;
4852 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4853 std::string
*arg2
= 0 ;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4859 if(!PyArg_ParseTuple(args
,(char *)"OOl:Configuration_setValue_long",&obj0
,&obj1
,&arg3
)) goto fail
;
4860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4862 if (PyString_Check(obj1
)) {
4863 temp2
= std::string(PyString_AsString(obj1
));
4866 SWIG_exception(SWIG_TypeError
, "string expected");
4869 (arg1
)->setValue((std::string
const &)*arg2
,arg3
);
4871 Py_INCREF(Py_None
); resultobj
= Py_None
;
4878 static PyObject
*_wrap_Configuration_setValue_unsignedlong(PyObject
*self
, PyObject
*args
) {
4879 PyObject
*resultobj
;
4880 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4881 std::string
*arg2
= 0 ;
4882 unsigned long arg3
;
4884 PyObject
* obj0
= 0 ;
4885 PyObject
* obj1
= 0 ;
4886 PyObject
* obj2
= 0 ;
4888 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0
,&obj1
,&obj2
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4891 if (PyString_Check(obj1
)) {
4892 temp2
= std::string(PyString_AsString(obj1
));
4895 SWIG_exception(SWIG_TypeError
, "string expected");
4898 arg3
= (unsigned long) PyInt_AsLong(obj2
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4900 (arg1
)->setValue((std::string
const &)*arg2
,arg3
);
4902 Py_INCREF(Py_None
); resultobj
= Py_None
;
4909 static PyObject
*_wrap_Configuration_setValue_string(PyObject
*self
, PyObject
*args
) {
4910 PyObject
*resultobj
;
4911 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4912 std::string
*arg2
= 0 ;
4913 std::string
*arg3
= 0 ;
4916 PyObject
* obj0
= 0 ;
4917 PyObject
* obj1
= 0 ;
4918 PyObject
* obj2
= 0 ;
4920 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_setValue_string",&obj0
,&obj1
,&obj2
)) goto fail
;
4921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4923 if (PyString_Check(obj1
)) {
4924 temp2
= std::string(PyString_AsString(obj1
));
4927 SWIG_exception(SWIG_TypeError
, "string expected");
4931 if (PyString_Check(obj2
)) {
4932 temp3
= std::string(PyString_AsString(obj2
));
4935 SWIG_exception(SWIG_TypeError
, "string expected");
4938 (arg1
)->setValue((std::string
const &)*arg2
,(std::string
const &)*arg3
);
4940 Py_INCREF(Py_None
); resultobj
= Py_None
;
4947 static PyObject
*_wrap_Configuration_setValue_charptr(PyObject
*self
, PyObject
*args
) {
4948 PyObject
*resultobj
;
4949 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4950 std::string
*arg2
= 0 ;
4953 PyObject
* obj0
= 0 ;
4954 PyObject
* obj1
= 0 ;
4956 if(!PyArg_ParseTuple(args
,(char *)"OOs:Configuration_setValue_charptr",&obj0
,&obj1
,&arg3
)) 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");
4966 (arg1
)->setValue((std::string
const &)*arg2
,(char const *)arg3
);
4968 Py_INCREF(Py_None
); resultobj
= Py_None
;
4975 static PyObject
*_wrap_Configuration_getValue__SWIG_0(PyObject
*self
, PyObject
*args
) {
4976 PyObject
*resultobj
;
4977 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
4978 std::string
*arg2
= 0 ;
4982 PyObject
* obj0
= 0 ;
4983 PyObject
* obj1
= 0 ;
4984 PyObject
* obj2
= 0 ;
4986 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
4987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4989 if (PyString_Check(obj1
)) {
4990 temp2
= std::string(PyString_AsString(obj1
));
4993 SWIG_exception(SWIG_TypeError
, "string expected");
4996 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_bool
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4998 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5000 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5002 resultobj
= PyInt_FromLong((long)result
);
5009 static PyObject
*_wrap_Configuration_getValue__SWIG_1(PyObject
*self
, PyObject
*args
) {
5010 PyObject
*resultobj
;
5011 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
5012 std::string
*arg2
= 0 ;
5016 PyObject
* obj0
= 0 ;
5017 PyObject
* obj1
= 0 ;
5018 PyObject
* obj2
= 0 ;
5020 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
5021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5023 if (PyString_Check(obj1
)) {
5024 temp2
= std::string(PyString_AsString(obj1
));
5027 SWIG_exception(SWIG_TypeError
, "string expected");
5030 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5032 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5034 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5036 resultobj
= PyInt_FromLong((long)result
);
5043 static PyObject
*_wrap_Configuration_getValue__SWIG_2(PyObject
*self
, PyObject
*args
) {
5044 PyObject
*resultobj
;
5045 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
5046 std::string
*arg2
= 0 ;
5047 unsigned int *arg3
= 0 ;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5052 PyObject
* obj2
= 0 ;
5054 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
5055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5057 if (PyString_Check(obj1
)) {
5058 temp2
= std::string(PyString_AsString(obj1
));
5061 SWIG_exception(SWIG_TypeError
, "string expected");
5064 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5066 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5068 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5070 resultobj
= PyInt_FromLong((long)result
);
5077 static PyObject
*_wrap_Configuration_getValue__SWIG_3(PyObject
*self
, PyObject
*args
) {
5078 PyObject
*resultobj
;
5079 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
5080 std::string
*arg2
= 0 ;
5084 PyObject
* obj0
= 0 ;
5085 PyObject
* obj1
= 0 ;
5086 PyObject
* obj2
= 0 ;
5088 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5091 if (PyString_Check(obj1
)) {
5092 temp2
= std::string(PyString_AsString(obj1
));
5095 SWIG_exception(SWIG_TypeError
, "string expected");
5098 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5100 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5102 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5104 resultobj
= PyInt_FromLong((long)result
);
5111 static PyObject
*_wrap_Configuration_getValue__SWIG_4(PyObject
*self
, PyObject
*args
) {
5112 PyObject
*resultobj
;
5113 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
5114 std::string
*arg2
= 0 ;
5115 unsigned long *arg3
= 0 ;
5118 PyObject
* obj0
= 0 ;
5119 PyObject
* obj1
= 0 ;
5120 PyObject
* obj2
= 0 ;
5122 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
5123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5125 if (PyString_Check(obj1
)) {
5126 temp2
= std::string(PyString_AsString(obj1
));
5129 SWIG_exception(SWIG_TypeError
, "string expected");
5132 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5134 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5136 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5138 resultobj
= PyInt_FromLong((long)result
);
5145 static PyObject
*_wrap_Configuration_getValue__SWIG_5(PyObject
*self
, PyObject
*args
) {
5146 PyObject
*resultobj
;
5147 otk::Configuration
*arg1
= (otk::Configuration
*) 0 ;
5148 std::string
*arg2
= 0 ;
5149 std::string
*arg3
= 0 ;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5154 PyObject
* obj2
= 0 ;
5156 if(!PyArg_ParseTuple(args
,(char *)"OOO:Configuration_getValue",&obj0
,&obj1
,&obj2
)) goto fail
;
5157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5159 if (PyString_Check(obj1
)) {
5160 temp2
= std::string(PyString_AsString(obj1
));
5163 SWIG_exception(SWIG_TypeError
, "string expected");
5166 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_std__string
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5168 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5170 result
= (bool)((otk::Configuration
const *)arg1
)->getValue((std::string
const &)*arg2
,*arg3
);
5172 resultobj
= PyInt_FromLong((long)result
);
5179 static PyObject
*_wrap_Configuration_getValue(PyObject
*self
, PyObject
*args
) {
5184 argc
= PyObject_Length(args
);
5185 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
5186 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5192 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5201 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5206 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_bool
, 0) == -1) {
5214 return _wrap_Configuration_getValue__SWIG_0(self
,args
);
5223 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5232 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5237 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_int
, 0) == -1) {
5245 return _wrap_Configuration_getValue__SWIG_1(self
,args
);
5254 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5263 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5268 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_unsigned_int
, 0) == -1) {
5276 return _wrap_Configuration_getValue__SWIG_2(self
,args
);
5285 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5294 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5299 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_long
, 0) == -1) {
5307 return _wrap_Configuration_getValue__SWIG_3(self
,args
);
5316 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5325 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5330 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
5338 return _wrap_Configuration_getValue__SWIG_4(self
,args
);
5347 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Configuration
, 0) == -1) {
5356 _v
= PyString_Check(argv
[1]) ? 1 : 0;
5361 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_std__string
, 0) == -1) {
5369 return _wrap_Configuration_getValue__SWIG_5(self
,args
);
5375 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Configuration_getValue'");
5380 static PyObject
* Configuration_swigregister(PyObject
*self
, PyObject
*args
) {
5382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5383 SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration
, obj
);
5385 return Py_BuildValue((char *)"");
5387 static int _wrap_OBDisplay_display_set(PyObject
*_val
) {
5390 if ((SWIG_ConvertPtr(_val
,(void **) &temp
, SWIGTYPE_p_Display
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) {
5391 PyErr_SetString(PyExc_TypeError
, "C variable 'otk::OBDisplay::display (Display *)'");
5394 otk::OBDisplay::display
= (Display
*) temp
;
5400 static PyObject
*_wrap_OBDisplay_display_get() {
5403 pyobj
= SWIG_NewPointerObj((void *) otk::OBDisplay::display
, SWIGTYPE_p_Display
, 0);
5408 static PyObject
*_wrap_OBDisplay_initialize(PyObject
*self
, PyObject
*args
) {
5409 PyObject
*resultobj
;
5412 if(!PyArg_ParseTuple(args
,(char *)"s:OBDisplay_initialize",&arg1
)) goto fail
;
5413 otk::OBDisplay::initialize(arg1
);
5415 Py_INCREF(Py_None
); resultobj
= Py_None
;
5422 static PyObject
*_wrap_OBDisplay_destroy(PyObject
*self
, PyObject
*args
) {
5423 PyObject
*resultobj
;
5425 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_destroy")) goto fail
;
5426 otk::OBDisplay::destroy();
5428 Py_INCREF(Py_None
); resultobj
= Py_None
;
5435 static PyObject
*_wrap_OBDisplay_gcCache(PyObject
*self
, PyObject
*args
) {
5436 PyObject
*resultobj
;
5437 otk::BGCCache
*result
;
5439 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_gcCache")) goto fail
;
5440 result
= (otk::BGCCache
*)otk::OBDisplay::gcCache();
5442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BGCCache
, 0);
5449 static PyObject
*_wrap_OBDisplay_screenInfo(PyObject
*self
, PyObject
*args
) {
5450 PyObject
*resultobj
;
5452 otk::ScreenInfo
*result
;
5454 if(!PyArg_ParseTuple(args
,(char *)"i:OBDisplay_screenInfo",&arg1
)) goto fail
;
5455 result
= (otk::ScreenInfo
*)otk::OBDisplay::screenInfo(arg1
);
5457 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
5464 static PyObject
*_wrap_OBDisplay_shape(PyObject
*self
, PyObject
*args
) {
5465 PyObject
*resultobj
;
5468 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_shape")) goto fail
;
5469 result
= (bool)otk::OBDisplay::shape();
5471 resultobj
= PyInt_FromLong((long)result
);
5478 static PyObject
*_wrap_OBDisplay_shapeEventBase(PyObject
*self
, PyObject
*args
) {
5479 PyObject
*resultobj
;
5482 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_shapeEventBase")) goto fail
;
5483 result
= (int)otk::OBDisplay::shapeEventBase();
5485 resultobj
= PyInt_FromLong((long)result
);
5492 static PyObject
*_wrap_OBDisplay_xinerama(PyObject
*self
, PyObject
*args
) {
5493 PyObject
*resultobj
;
5496 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_xinerama")) goto fail
;
5497 result
= (bool)otk::OBDisplay::xinerama();
5499 resultobj
= PyInt_FromLong((long)result
);
5506 static PyObject
*_wrap_OBDisplay_grab(PyObject
*self
, PyObject
*args
) {
5507 PyObject
*resultobj
;
5509 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_grab")) goto fail
;
5510 otk::OBDisplay::grab();
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_OBDisplay_ungrab(PyObject
*self
, PyObject
*args
) {
5520 PyObject
*resultobj
;
5522 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_ungrab")) goto fail
;
5523 otk::OBDisplay::ungrab();
5525 Py_INCREF(Py_None
); resultobj
= Py_None
;
5532 static PyObject
*_wrap_OBDisplay_grabButton(PyObject
*self
, PyObject
*args
) {
5533 PyObject
*resultobj
;
5547 PyObject
* obj0
= 0 ;
5548 PyObject
* obj1
= 0 ;
5549 PyObject
* obj2
= 0 ;
5550 PyObject
* obj3
= 0 ;
5551 PyObject
* obj4
= 0 ;
5552 PyObject
* obj7
= 0 ;
5553 PyObject
* obj8
= 0 ;
5554 PyObject
* obj9
= 0 ;
5556 if(!PyArg_ParseTuple(args
,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
5557 arg1
= (unsigned int) PyInt_AsLong(obj0
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5559 arg2
= (unsigned int) PyInt_AsLong(obj1
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5561 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5563 arg4
= (bool) PyInt_AsLong(obj3
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5565 arg5
= (unsigned int) PyInt_AsLong(obj4
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5567 if ((SWIG_ConvertPtr(obj7
,(void **) &argp8
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5569 if ((SWIG_ConvertPtr(obj8
,(void **) &argp9
, SWIGTYPE_p_Cursor
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5571 arg10
= (bool) PyInt_AsLong(obj9
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5573 otk::OBDisplay::grabButton(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5575 Py_INCREF(Py_None
); resultobj
= Py_None
;
5582 static PyObject
*_wrap_OBDisplay_ungrabButton(PyObject
*self
, PyObject
*args
) {
5583 PyObject
*resultobj
;
5588 PyObject
* obj0
= 0 ;
5589 PyObject
* obj1
= 0 ;
5590 PyObject
* obj2
= 0 ;
5592 if(!PyArg_ParseTuple(args
,(char *)"OOO:OBDisplay_ungrabButton",&obj0
,&obj1
,&obj2
)) goto fail
;
5593 arg1
= (unsigned int) PyInt_AsLong(obj0
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5595 arg2
= (unsigned int) PyInt_AsLong(obj1
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5597 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5599 otk::OBDisplay::ungrabButton(arg1
,arg2
,arg3
);
5601 Py_INCREF(Py_None
); resultobj
= Py_None
;
5608 static PyObject
*_wrap_delete_OBDisplay(PyObject
*self
, PyObject
*args
) {
5609 PyObject
*resultobj
;
5610 otk::OBDisplay
*arg1
= (otk::OBDisplay
*) 0 ;
5611 PyObject
* obj0
= 0 ;
5613 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OBDisplay",&obj0
)) goto fail
;
5614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBDisplay
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5617 Py_INCREF(Py_None
); resultobj
= Py_None
;
5624 static PyObject
* OBDisplay_swigregister(PyObject
*self
, PyObject
*args
) {
5626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5627 SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay
, obj
);
5629 return Py_BuildValue((char *)"");
5631 static PyObject
*_wrap_BFont_fallbackFont(PyObject
*self
, PyObject
*args
) {
5632 PyObject
*resultobj
;
5635 if(!PyArg_ParseTuple(args
,(char *)":BFont_fallbackFont")) goto fail
;
5636 result
= otk::BFont::fallbackFont();
5639 resultobj
= PyString_FromString((&result
)->c_str());
5647 static PyObject
*_wrap_BFont_setFallbackFont(PyObject
*self
, PyObject
*args
) {
5648 PyObject
*resultobj
;
5649 std::string
*arg1
= 0 ;
5651 PyObject
* obj0
= 0 ;
5653 if(!PyArg_ParseTuple(args
,(char *)"O:BFont_setFallbackFont",&obj0
)) goto fail
;
5655 if (PyString_Check(obj0
)) {
5656 temp1
= std::string(PyString_AsString(obj0
));
5659 SWIG_exception(SWIG_TypeError
, "string expected");
5662 otk::BFont::setFallbackFont((std::string
const &)*arg1
);
5664 Py_INCREF(Py_None
); resultobj
= Py_None
;
5671 static PyObject
*_wrap_new_BFont(PyObject
*self
, PyObject
*args
) {
5672 PyObject
*resultobj
;
5674 std::string
*arg2
= 0 ;
5676 unsigned char arg4
;
5677 unsigned char arg5
;
5680 PyObject
* obj1
= 0 ;
5681 PyObject
* obj2
= 0 ;
5682 PyObject
* obj3
= 0 ;
5683 PyObject
* obj4
= 0 ;
5685 if(!PyArg_ParseTuple(args
,(char *)"iOOOO:new_BFont",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5687 if (PyString_Check(obj1
)) {
5688 temp2
= std::string(PyString_AsString(obj1
));
5691 SWIG_exception(SWIG_TypeError
, "string expected");
5694 arg3
= (bool) PyInt_AsLong(obj2
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5696 arg4
= (unsigned char) PyInt_AsLong(obj3
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5698 arg5
= (unsigned char) PyInt_AsLong(obj4
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5700 result
= (otk::BFont
*)new otk::BFont(arg1
,(std::string
const &)*arg2
,arg3
,arg4
,arg5
);
5702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BFont
, 1);
5709 static PyObject
*_wrap_delete_BFont(PyObject
*self
, PyObject
*args
) {
5710 PyObject
*resultobj
;
5711 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5712 PyObject
* obj0
= 0 ;
5714 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BFont",&obj0
)) goto fail
;
5715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5718 Py_INCREF(Py_None
); resultobj
= Py_None
;
5725 static PyObject
*_wrap_BFont_fontstring(PyObject
*self
, PyObject
*args
) {
5726 PyObject
*resultobj
;
5727 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5728 std::string
*result
;
5729 PyObject
* obj0
= 0 ;
5731 if(!PyArg_ParseTuple(args
,(char *)"O:BFont_fontstring",&obj0
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5734 std::string
const &_result_ref
= ((otk::BFont
const *)arg1
)->fontstring();
5735 result
= (std::string
*) &_result_ref
;
5739 resultobj
= PyString_FromString(result
->c_str());
5747 static PyObject
*_wrap_BFont_height(PyObject
*self
, PyObject
*args
) {
5748 PyObject
*resultobj
;
5749 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5750 unsigned int result
;
5751 PyObject
* obj0
= 0 ;
5753 if(!PyArg_ParseTuple(args
,(char *)"O:BFont_height",&obj0
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5755 result
= (unsigned int)((otk::BFont
const *)arg1
)->height();
5757 resultobj
= PyInt_FromLong((long)result
);
5764 static PyObject
*_wrap_BFont_maxCharWidth(PyObject
*self
, PyObject
*args
) {
5765 PyObject
*resultobj
;
5766 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5767 unsigned int result
;
5768 PyObject
* obj0
= 0 ;
5770 if(!PyArg_ParseTuple(args
,(char *)"O:BFont_maxCharWidth",&obj0
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5772 result
= (unsigned int)((otk::BFont
const *)arg1
)->maxCharWidth();
5774 resultobj
= PyInt_FromLong((long)result
);
5781 static PyObject
*_wrap_BFont_measureString(PyObject
*self
, PyObject
*args
) {
5782 PyObject
*resultobj
;
5783 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5784 std::string
*arg2
= 0 ;
5785 bool arg3
= (bool) false ;
5786 unsigned int result
;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj1
= 0 ;
5790 PyObject
* obj2
= 0 ;
5792 if(!PyArg_ParseTuple(args
,(char *)"OO|O:BFont_measureString",&obj0
,&obj1
,&obj2
)) goto fail
;
5793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5795 if (PyString_Check(obj1
)) {
5796 temp2
= std::string(PyString_AsString(obj1
));
5799 SWIG_exception(SWIG_TypeError
, "string expected");
5803 arg3
= (bool) PyInt_AsLong(obj2
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 result
= (unsigned int)((otk::BFont
const *)arg1
)->measureString((std::string
const &)*arg2
,arg3
);
5808 resultobj
= PyInt_FromLong((long)result
);
5815 static PyObject
*_wrap_BFont_drawString(PyObject
*self
, PyObject
*args
) {
5816 PyObject
*resultobj
;
5817 otk::BFont
*arg1
= (otk::BFont
*) 0 ;
5818 XftDraw
*arg2
= (XftDraw
*) 0 ;
5821 otk::BColor
*arg5
= 0 ;
5822 std::string
*arg6
= 0 ;
5823 bool arg7
= (bool) false ;
5825 PyObject
* obj0
= 0 ;
5826 PyObject
* obj1
= 0 ;
5827 PyObject
* obj4
= 0 ;
5828 PyObject
* obj5
= 0 ;
5829 PyObject
* obj6
= 0 ;
5831 if(!PyArg_ParseTuple(args
,(char *)"OOiiOO|O:BFont_drawString",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
5832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5833 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XftDraw
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5834 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5836 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5839 if (PyString_Check(obj5
)) {
5840 temp6
= std::string(PyString_AsString(obj5
));
5843 SWIG_exception(SWIG_TypeError
, "string expected");
5847 arg7
= (bool) PyInt_AsLong(obj6
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 ((otk::BFont
const *)arg1
)->drawString(arg2
,arg3
,arg4
,(otk::BColor
const &)*arg5
,(std::string
const &)*arg6
,arg7
);
5852 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
* BFont_swigregister(PyObject
*self
, PyObject
*args
) {
5861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5862 SWIG_TypeClientData(SWIGTYPE_p_otk__BFont
, obj
);
5864 return Py_BuildValue((char *)"");
5866 static PyObject
*_wrap_BGCCacheContext_set__SWIG_0(PyObject
*self
, PyObject
*args
) {
5867 PyObject
*resultobj
;
5868 otk::BGCCacheContext
*arg1
= (otk::BGCCacheContext
*) 0 ;
5869 otk::BColor
*arg2
= 0 ;
5870 XFontStruct
*arg3
= (XFontStruct
*) (XFontStruct
*)0 ;
5874 PyObject
* obj0
= 0 ;
5875 PyObject
* obj1
= 0 ;
5876 PyObject
* obj2
= 0 ;
5878 if(!PyArg_ParseTuple(args
,(char *)"OOOiii:BGCCacheContext_set",&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCacheContext
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5882 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5884 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_XFontStruct
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5885 (arg1
)->set((otk::BColor
const &)*arg2
,(XFontStruct
const *)arg3
,arg4
,arg5
,arg6
);
5887 Py_INCREF(Py_None
); resultobj
= Py_None
;
5894 static PyObject
*_wrap_BGCCacheContext_set__SWIG_1(PyObject
*self
, PyObject
*args
) {
5895 PyObject
*resultobj
;
5896 otk::BGCCacheContext
*arg1
= (otk::BGCCacheContext
*) 0 ;
5897 XFontStruct
*arg2
= (XFontStruct
*) (XFontStruct
*)0 ;
5898 PyObject
* obj0
= 0 ;
5899 PyObject
* obj1
= 0 ;
5901 if(!PyArg_ParseTuple(args
,(char *)"OO:BGCCacheContext_set",&obj0
,&obj1
)) goto fail
;
5902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCacheContext
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5903 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFontStruct
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5904 (arg1
)->set((XFontStruct
const *)arg2
);
5906 Py_INCREF(Py_None
); resultobj
= Py_None
;
5913 static PyObject
*_wrap_BGCCacheContext_set(PyObject
*self
, PyObject
*args
) {
5918 argc
= PyObject_Length(args
);
5919 for (ii
= 0; (ii
< argc
) && (ii
< 6); ii
++) {
5920 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5926 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__BGCCacheContext
, 0) == -1) {
5936 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_XFontStruct
, 0) == -1) {
5944 return _wrap_BGCCacheContext_set__SWIG_1(self
,args
);
5952 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__BGCCacheContext
, 0) == -1) {
5962 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__BColor
, 0) == -1) {
5972 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_XFontStruct
, 0) == -1) {
5981 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5985 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
5989 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
5992 return _wrap_BGCCacheContext_set__SWIG_0(self
,args
);
6001 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'BGCCacheContext_set'");
6006 static PyObject
*_wrap_delete_BGCCacheContext(PyObject
*self
, PyObject
*args
) {
6007 PyObject
*resultobj
;
6008 otk::BGCCacheContext
*arg1
= (otk::BGCCacheContext
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6011 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BGCCacheContext",&obj0
)) goto fail
;
6012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCacheContext
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6015 Py_INCREF(Py_None
); resultobj
= Py_None
;
6022 static PyObject
* BGCCacheContext_swigregister(PyObject
*self
, PyObject
*args
) {
6024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6025 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext
, obj
);
6027 return Py_BuildValue((char *)"");
6029 static PyObject
*_wrap_BGCCacheItem_gc(PyObject
*self
, PyObject
*args
) {
6030 PyObject
*resultobj
;
6031 otk::BGCCacheItem
*arg1
= (otk::BGCCacheItem
*) 0 ;
6033 PyObject
* obj0
= 0 ;
6035 if(!PyArg_ParseTuple(args
,(char *)"O:BGCCacheItem_gc",&obj0
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCacheItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6038 GC
const &_result_ref
= ((otk::BGCCacheItem
const *)arg1
)->gc();
6039 result
= (GC
*) &_result_ref
;
6042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_GC
, 0);
6049 static PyObject
*_wrap_delete_BGCCacheItem(PyObject
*self
, PyObject
*args
) {
6050 PyObject
*resultobj
;
6051 otk::BGCCacheItem
*arg1
= (otk::BGCCacheItem
*) 0 ;
6052 PyObject
* obj0
= 0 ;
6054 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BGCCacheItem",&obj0
)) goto fail
;
6055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCacheItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6058 Py_INCREF(Py_None
); resultobj
= Py_None
;
6065 static PyObject
* BGCCacheItem_swigregister(PyObject
*self
, PyObject
*args
) {
6067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6068 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem
, obj
);
6070 return Py_BuildValue((char *)"");
6072 static PyObject
*_wrap_new_BGCCache(PyObject
*self
, PyObject
*args
) {
6073 PyObject
*resultobj
;
6075 otk::BGCCache
*result
;
6076 PyObject
* obj0
= 0 ;
6078 if(!PyArg_ParseTuple(args
,(char *)"O:new_BGCCache",&obj0
)) goto fail
;
6079 arg1
= (unsigned int) PyInt_AsLong(obj0
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6081 result
= (otk::BGCCache
*)new otk::BGCCache(arg1
);
6083 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BGCCache
, 1);
6090 static PyObject
*_wrap_delete_BGCCache(PyObject
*self
, PyObject
*args
) {
6091 PyObject
*resultobj
;
6092 otk::BGCCache
*arg1
= (otk::BGCCache
*) 0 ;
6093 PyObject
* obj0
= 0 ;
6095 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BGCCache",&obj0
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCache
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6099 Py_INCREF(Py_None
); resultobj
= Py_None
;
6106 static PyObject
*_wrap_BGCCache_purge(PyObject
*self
, PyObject
*args
) {
6107 PyObject
*resultobj
;
6108 otk::BGCCache
*arg1
= (otk::BGCCache
*) 0 ;
6109 PyObject
* obj0
= 0 ;
6111 if(!PyArg_ParseTuple(args
,(char *)"O:BGCCache_purge",&obj0
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCache
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6115 Py_INCREF(Py_None
); resultobj
= Py_None
;
6122 static PyObject
*_wrap_BGCCache_find(PyObject
*self
, PyObject
*args
) {
6123 PyObject
*resultobj
;
6124 otk::BGCCache
*arg1
= (otk::BGCCache
*) 0 ;
6125 otk::BColor
*arg2
= 0 ;
6126 XFontStruct
*arg3
= (XFontStruct
*) (XFontStruct
*)0 ;
6127 int arg4
= (int) GXcopy
;
6128 int arg5
= (int) ClipByChildren
;
6129 int arg6
= (int) 0 ;
6130 otk::BGCCacheItem
*result
;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6133 PyObject
* obj2
= 0 ;
6135 if(!PyArg_ParseTuple(args
,(char *)"OO|Oiii:BGCCache_find",&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCache
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6139 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6142 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_XFontStruct
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6144 result
= (otk::BGCCacheItem
*)(arg1
)->find((otk::BColor
const &)*arg2
,(XFontStruct
const *)arg3
,arg4
,arg5
,arg6
);
6146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BGCCacheItem
, 0);
6153 static PyObject
*_wrap_BGCCache_release(PyObject
*self
, PyObject
*args
) {
6154 PyObject
*resultobj
;
6155 otk::BGCCache
*arg1
= (otk::BGCCache
*) 0 ;
6156 otk::BGCCacheItem
*arg2
= (otk::BGCCacheItem
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6160 if(!PyArg_ParseTuple(args
,(char *)"OO:BGCCache_release",&obj0
,&obj1
)) goto fail
;
6161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BGCCache
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6162 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BGCCacheItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6163 (arg1
)->release(arg2
);
6165 Py_INCREF(Py_None
); resultobj
= Py_None
;
6172 static PyObject
* BGCCache_swigregister(PyObject
*self
, PyObject
*args
) {
6174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6175 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache
, obj
);
6177 return Py_BuildValue((char *)"");
6179 static PyObject
*_wrap_new_BPen(PyObject
*self
, PyObject
*args
) {
6180 PyObject
*resultobj
;
6181 otk::BColor
*arg1
= 0 ;
6182 XFontStruct
*arg2
= (XFontStruct
*) (XFontStruct
*)0 ;
6183 int arg3
= (int) 0 ;
6184 int arg4
= (int) GXcopy
;
6185 int arg5
= (int) ClipByChildren
;
6187 PyObject
* obj0
= 0 ;
6188 PyObject
* obj1
= 0 ;
6190 if(!PyArg_ParseTuple(args
,(char *)"O|Oiii:new_BPen",&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
6191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6196 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFontStruct
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6198 result
= (otk::BPen
*)new otk::BPen((otk::BColor
const &)*arg1
,(XFontStruct
const *)arg2
,arg3
,arg4
,arg5
);
6200 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BPen
, 1);
6207 static PyObject
*_wrap_delete_BPen(PyObject
*self
, PyObject
*args
) {
6208 PyObject
*resultobj
;
6209 otk::BPen
*arg1
= (otk::BPen
*) 0 ;
6210 PyObject
* obj0
= 0 ;
6212 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BPen",&obj0
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6216 Py_INCREF(Py_None
); resultobj
= Py_None
;
6223 static PyObject
*_wrap_BPen_gc(PyObject
*self
, PyObject
*args
) {
6224 PyObject
*resultobj
;
6225 otk::BPen
*arg1
= (otk::BPen
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6229 if(!PyArg_ParseTuple(args
,(char *)"O:BPen_gc",&obj0
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6232 GC
const &_result_ref
= ((otk::BPen
const *)arg1
)->gc();
6233 result
= (GC
*) &_result_ref
;
6236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_GC
, 0);
6243 static PyObject
* BPen_swigregister(PyObject
*self
, PyObject
*args
) {
6245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6246 SWIG_TypeClientData(SWIGTYPE_p_otk__BPen
, obj
);
6248 return Py_BuildValue((char *)"");
6250 static PyObject
*_wrap_new_BImage(PyObject
*self
, PyObject
*args
) {
6251 PyObject
*resultobj
;
6252 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6255 otk::BImage
*result
;
6256 PyObject
* obj0
= 0 ;
6258 if(!PyArg_ParseTuple(args
,(char *)"Oii:new_BImage",&obj0
,&arg2
,&arg3
)) goto fail
;
6259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6260 result
= (otk::BImage
*)new otk::BImage(arg1
,arg2
,arg3
);
6262 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BImage
, 1);
6269 static PyObject
*_wrap_delete_BImage(PyObject
*self
, PyObject
*args
) {
6270 PyObject
*resultobj
;
6271 otk::BImage
*arg1
= (otk::BImage
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BImage",&obj0
)) goto fail
;
6275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6278 Py_INCREF(Py_None
); resultobj
= Py_None
;
6285 static PyObject
*_wrap_BImage_render(PyObject
*self
, PyObject
*args
) {
6286 PyObject
*resultobj
;
6287 otk::BImage
*arg1
= (otk::BImage
*) 0 ;
6288 otk::BTexture
*arg2
= 0 ;
6290 PyObject
* obj0
= 0 ;
6291 PyObject
* obj1
= 0 ;
6293 if(!PyArg_ParseTuple(args
,(char *)"OO:BImage_render",&obj0
,&obj1
)) goto fail
;
6294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6299 result
= (arg1
)->render((otk::BTexture
const &)*arg2
);
6303 resultptr
= new Pixmap((Pixmap
&) result
);
6304 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Pixmap
, 1);
6312 static PyObject
* BImage_swigregister(PyObject
*self
, PyObject
*args
) {
6314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6315 SWIG_TypeClientData(SWIGTYPE_p_otk__BImage
, obj
);
6317 return Py_BuildValue((char *)"");
6319 static PyObject
*_wrap_new_BImageControl(PyObject
*self
, PyObject
*args
) {
6320 PyObject
*resultobj
;
6321 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
6322 otk::ScreenInfo
*arg2
= (otk::ScreenInfo
*) 0 ;
6323 bool arg3
= (bool) False
;
6324 int arg4
= (int) 4 ;
6325 unsigned long arg5
= (unsigned long) 300000l ;
6326 unsigned long arg6
= (unsigned long) 200l ;
6327 otk::BImageControl
*result
;
6328 PyObject
* obj0
= 0 ;
6329 PyObject
* obj1
= 0 ;
6330 PyObject
* obj2
= 0 ;
6331 PyObject
* obj4
= 0 ;
6332 PyObject
* obj5
= 0 ;
6334 if(!PyArg_ParseTuple(args
,(char *)"OO|OiOO:new_BImageControl",&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6338 arg3
= (bool) PyInt_AsLong(obj2
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6342 arg5
= (unsigned long) PyInt_AsLong(obj4
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6346 arg6
= (unsigned long) PyInt_AsLong(obj5
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 result
= (otk::BImageControl
*)new otk::BImageControl(arg1
,(otk::ScreenInfo
const *)arg2
,arg3
,arg4
,arg5
,arg6
);
6351 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BImageControl
, 1);
6358 static PyObject
*_wrap_delete_BImageControl(PyObject
*self
, PyObject
*args
) {
6359 PyObject
*resultobj
;
6360 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6361 PyObject
* obj0
= 0 ;
6363 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BImageControl",&obj0
)) goto fail
;
6364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6367 Py_INCREF(Py_None
); resultobj
= Py_None
;
6374 static PyObject
*_wrap_BImageControl_doDither(PyObject
*self
, PyObject
*args
) {
6375 PyObject
*resultobj
;
6376 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6380 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_doDither",&obj0
)) goto fail
;
6381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6382 result
= (bool)(arg1
)->doDither();
6384 resultobj
= PyInt_FromLong((long)result
);
6391 static PyObject
*_wrap_BImageControl_getScreenInfo(PyObject
*self
, PyObject
*args
) {
6392 PyObject
*resultobj
;
6393 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6394 otk::ScreenInfo
*result
;
6395 PyObject
* obj0
= 0 ;
6397 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getScreenInfo",&obj0
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6399 result
= (otk::ScreenInfo
*)((otk::BImageControl
const *)arg1
)->getScreenInfo();
6401 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
6408 static PyObject
*_wrap_BImageControl_getDrawable(PyObject
*self
, PyObject
*args
) {
6409 PyObject
*resultobj
;
6410 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6414 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getDrawable",&obj0
)) goto fail
;
6415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6416 result
= ((otk::BImageControl
const *)arg1
)->getDrawable();
6420 resultptr
= new Window((Window
&) result
);
6421 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Window
, 1);
6429 static PyObject
*_wrap_BImageControl_getVisual(PyObject
*self
, PyObject
*args
) {
6430 PyObject
*resultobj
;
6431 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6435 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getVisual",&obj0
)) goto fail
;
6436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6437 result
= (Visual
*)(arg1
)->getVisual();
6439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Visual
, 0);
6446 static PyObject
*_wrap_BImageControl_getBitsPerPixel(PyObject
*self
, PyObject
*args
) {
6447 PyObject
*resultobj
;
6448 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6452 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getBitsPerPixel",&obj0
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6454 result
= (int)((otk::BImageControl
const *)arg1
)->getBitsPerPixel();
6456 resultobj
= PyInt_FromLong((long)result
);
6463 static PyObject
*_wrap_BImageControl_getDepth(PyObject
*self
, PyObject
*args
) {
6464 PyObject
*resultobj
;
6465 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6469 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getDepth",&obj0
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6471 result
= (int)((otk::BImageControl
const *)arg1
)->getDepth();
6473 resultobj
= PyInt_FromLong((long)result
);
6480 static PyObject
*_wrap_BImageControl_getColorsPerChannel(PyObject
*self
, PyObject
*args
) {
6481 PyObject
*resultobj
;
6482 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6484 PyObject
* obj0
= 0 ;
6486 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_getColorsPerChannel",&obj0
)) goto fail
;
6487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6488 result
= (int)((otk::BImageControl
const *)arg1
)->getColorsPerChannel();
6490 resultobj
= PyInt_FromLong((long)result
);
6497 static PyObject
*_wrap_BImageControl_getSqrt(PyObject
*self
, PyObject
*args
) {
6498 PyObject
*resultobj
;
6499 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6501 unsigned long result
;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6505 if(!PyArg_ParseTuple(args
,(char *)"OO:BImageControl_getSqrt",&obj0
,&obj1
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6507 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6509 result
= (unsigned long)(arg1
)->getSqrt(arg2
);
6511 resultobj
= PyInt_FromLong((long)result
);
6518 static PyObject
*_wrap_BImageControl_renderImage(PyObject
*self
, PyObject
*args
) {
6519 PyObject
*resultobj
;
6520 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6523 otk::BTexture
*arg4
= 0 ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6527 PyObject
* obj2
= 0 ;
6528 PyObject
* obj3
= 0 ;
6530 if(!PyArg_ParseTuple(args
,(char *)"OOOO:BImageControl_renderImage",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6532 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6534 arg3
= (unsigned int) PyInt_AsLong(obj2
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6536 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6538 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6540 result
= (arg1
)->renderImage(arg2
,arg3
,(otk::BTexture
const &)*arg4
);
6544 resultptr
= new Pixmap((Pixmap
&) result
);
6545 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Pixmap
, 1);
6553 static PyObject
*_wrap_BImageControl_installRootColormap(PyObject
*self
, PyObject
*args
) {
6554 PyObject
*resultobj
;
6555 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6556 PyObject
* obj0
= 0 ;
6558 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_installRootColormap",&obj0
)) goto fail
;
6559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6560 (arg1
)->installRootColormap();
6562 Py_INCREF(Py_None
); resultobj
= Py_None
;
6569 static PyObject
*_wrap_BImageControl_removeImage(PyObject
*self
, PyObject
*args
) {
6570 PyObject
*resultobj
;
6571 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6577 if(!PyArg_ParseTuple(args
,(char *)"OO:BImageControl_removeImage",&obj0
,&obj1
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6579 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Pixmap
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6581 (arg1
)->removeImage(arg2
);
6583 Py_INCREF(Py_None
); resultobj
= Py_None
;
6590 static PyObject
*_wrap_BImageControl_getColorTables(PyObject
*self
, PyObject
*args
) {
6591 PyObject
*resultobj
;
6592 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6593 unsigned char **arg2
= (unsigned char **) 0 ;
6594 unsigned char **arg3
= (unsigned char **) 0 ;
6595 unsigned char **arg4
= (unsigned char **) 0 ;
6596 int *arg5
= (int *) 0 ;
6597 int *arg6
= (int *) 0 ;
6598 int *arg7
= (int *) 0 ;
6599 int *arg8
= (int *) 0 ;
6600 int *arg9
= (int *) 0 ;
6601 int *arg10
= (int *) 0 ;
6602 PyObject
* obj0
= 0 ;
6603 PyObject
* obj1
= 0 ;
6604 PyObject
* obj2
= 0 ;
6605 PyObject
* obj3
= 0 ;
6606 PyObject
* obj4
= 0 ;
6607 PyObject
* obj5
= 0 ;
6608 PyObject
* obj6
= 0 ;
6609 PyObject
* obj7
= 0 ;
6610 PyObject
* obj8
= 0 ;
6611 PyObject
* obj9
= 0 ;
6613 if(!PyArg_ParseTuple(args
,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
6614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6616 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6617 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6618 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6619 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6620 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6621 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6622 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6623 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6624 (arg1
)->getColorTables(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6626 Py_INCREF(Py_None
); resultobj
= Py_None
;
6633 static PyObject
*_wrap_BImageControl_getXColorTable(PyObject
*self
, PyObject
*args
) {
6634 PyObject
*resultobj
;
6635 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6636 XColor
**arg2
= (XColor
**) 0 ;
6637 int *arg3
= (int *) 0 ;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 PyObject
* obj2
= 0 ;
6642 if(!PyArg_ParseTuple(args
,(char *)"OOO:BImageControl_getXColorTable",&obj0
,&obj1
,&obj2
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_p_XColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6645 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6646 (arg1
)->getXColorTable(arg2
,arg3
);
6648 Py_INCREF(Py_None
); resultobj
= Py_None
;
6655 static PyObject
*_wrap_BImageControl_getGradientBuffers(PyObject
*self
, PyObject
*args
) {
6656 PyObject
*resultobj
;
6657 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6660 unsigned int **arg4
= (unsigned int **) 0 ;
6661 unsigned int **arg5
= (unsigned int **) 0 ;
6662 PyObject
* obj0
= 0 ;
6663 PyObject
* obj1
= 0 ;
6664 PyObject
* obj2
= 0 ;
6665 PyObject
* obj3
= 0 ;
6666 PyObject
* obj4
= 0 ;
6668 if(!PyArg_ParseTuple(args
,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6670 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6672 arg3
= (unsigned int) PyInt_AsLong(obj2
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6674 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_p_unsigned_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6675 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_p_unsigned_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6676 (arg1
)->getGradientBuffers(arg2
,arg3
,arg4
,arg5
);
6678 Py_INCREF(Py_None
); resultobj
= Py_None
;
6685 static PyObject
*_wrap_BImageControl_setDither(PyObject
*self
, PyObject
*args
) {
6686 PyObject
*resultobj
;
6687 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6689 PyObject
* obj0
= 0 ;
6690 PyObject
* obj1
= 0 ;
6692 if(!PyArg_ParseTuple(args
,(char *)"OO:BImageControl_setDither",&obj0
,&obj1
)) goto fail
;
6693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6694 arg2
= (bool) PyInt_AsLong(obj1
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6696 (arg1
)->setDither(arg2
);
6698 Py_INCREF(Py_None
); resultobj
= Py_None
;
6705 static PyObject
*_wrap_BImageControl_setColorsPerChannel(PyObject
*self
, PyObject
*args
) {
6706 PyObject
*resultobj
;
6707 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6711 if(!PyArg_ParseTuple(args
,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0
,&arg2
)) goto fail
;
6712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6713 (arg1
)->setColorsPerChannel(arg2
);
6715 Py_INCREF(Py_None
); resultobj
= Py_None
;
6722 static PyObject
*_wrap_BImageControl_timeout(PyObject
*self
, PyObject
*args
) {
6723 PyObject
*resultobj
;
6724 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6727 if(!PyArg_ParseTuple(args
,(char *)"O:BImageControl_timeout",&obj0
)) goto fail
;
6728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6729 otk::BImageControl::timeout(arg1
);
6731 Py_INCREF(Py_None
); resultobj
= Py_None
;
6738 static PyObject
* BImageControl_swigregister(PyObject
*self
, PyObject
*args
) {
6740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6741 SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl
, obj
);
6743 return Py_BuildValue((char *)"");
6745 static PyObject
*_wrap_new_Point__SWIG_0(PyObject
*self
, PyObject
*args
) {
6746 PyObject
*resultobj
;
6749 if(!PyArg_ParseTuple(args
,(char *)":new_Point")) goto fail
;
6750 result
= (otk::Point
*)new otk::Point();
6752 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
6759 static PyObject
*_wrap_new_Point__SWIG_1(PyObject
*self
, PyObject
*args
) {
6760 PyObject
*resultobj
;
6765 if(!PyArg_ParseTuple(args
,(char *)"ii:new_Point",&arg1
,&arg2
)) goto fail
;
6766 result
= (otk::Point
*)new otk::Point(arg1
,arg2
);
6768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
6775 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
) {
6780 argc
= PyObject_Length(args
);
6781 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
6782 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6785 return _wrap_new_Point__SWIG_0(self
,args
);
6790 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
6794 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6797 return _wrap_new_Point__SWIG_1(self
,args
);
6802 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Point'");
6807 static PyObject
*_wrap_Point_setX(PyObject
*self
, PyObject
*args
) {
6808 PyObject
*resultobj
;
6809 otk::Point
*arg1
= (otk::Point
*) 0 ;
6811 PyObject
* obj0
= 0 ;
6813 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setX",&obj0
,&arg2
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6817 Py_INCREF(Py_None
); resultobj
= Py_None
;
6824 static PyObject
*_wrap_Point_x(PyObject
*self
, PyObject
*args
) {
6825 PyObject
*resultobj
;
6826 otk::Point
*arg1
= (otk::Point
*) 0 ;
6828 PyObject
* obj0
= 0 ;
6830 if(!PyArg_ParseTuple(args
,(char *)"O:Point_x",&obj0
)) goto fail
;
6831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6832 result
= (int)((otk::Point
const *)arg1
)->x();
6834 resultobj
= PyInt_FromLong((long)result
);
6841 static PyObject
*_wrap_Point_setY(PyObject
*self
, PyObject
*args
) {
6842 PyObject
*resultobj
;
6843 otk::Point
*arg1
= (otk::Point
*) 0 ;
6845 PyObject
* obj0
= 0 ;
6847 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setY",&obj0
,&arg2
)) goto fail
;
6848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6851 Py_INCREF(Py_None
); resultobj
= Py_None
;
6858 static PyObject
*_wrap_Point_y(PyObject
*self
, PyObject
*args
) {
6859 PyObject
*resultobj
;
6860 otk::Point
*arg1
= (otk::Point
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 if(!PyArg_ParseTuple(args
,(char *)"O:Point_y",&obj0
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6866 result
= (int)((otk::Point
const *)arg1
)->y();
6868 resultobj
= PyInt_FromLong((long)result
);
6875 static PyObject
*_wrap_Point_setPoint(PyObject
*self
, PyObject
*args
) {
6876 PyObject
*resultobj
;
6877 otk::Point
*arg1
= (otk::Point
*) 0 ;
6880 PyObject
* obj0
= 0 ;
6882 if(!PyArg_ParseTuple(args
,(char *)"Oii:Point_setPoint",&obj0
,&arg2
,&arg3
)) goto fail
;
6883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6884 (arg1
)->setPoint(arg2
,arg3
);
6886 Py_INCREF(Py_None
); resultobj
= Py_None
;
6893 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
) {
6894 PyObject
*resultobj
;
6895 otk::Point
*arg1
= (otk::Point
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6898 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Point",&obj0
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6902 Py_INCREF(Py_None
); resultobj
= Py_None
;
6909 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
6911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6912 SWIG_TypeClientData(SWIGTYPE_p_otk__Point
, obj
);
6914 return Py_BuildValue((char *)"");
6916 static PyObject
*_wrap_new_OBProperty(PyObject
*self
, PyObject
*args
) {
6917 PyObject
*resultobj
;
6918 otk::OBProperty
*result
;
6920 if(!PyArg_ParseTuple(args
,(char *)":new_OBProperty")) goto fail
;
6921 result
= (otk::OBProperty
*)new otk::OBProperty();
6923 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OBProperty
, 1);
6930 static PyObject
*_wrap_delete_OBProperty(PyObject
*self
, PyObject
*args
) {
6931 PyObject
*resultobj
;
6932 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6935 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OBProperty",&obj0
)) goto fail
;
6936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6939 Py_INCREF(Py_None
); resultobj
= Py_None
;
6946 static PyObject
*_wrap_OBProperty_set__SWIG_0(PyObject
*self
, PyObject
*args
) {
6947 PyObject
*resultobj
;
6948 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
6952 unsigned long arg5
;
6954 PyObject
* obj0
= 0 ;
6955 PyObject
* obj1
= 0 ;
6956 PyObject
* obj4
= 0 ;
6958 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6960 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6962 arg5
= (unsigned long) PyInt_AsLong(obj4
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6964 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
);
6966 Py_INCREF(Py_None
); resultobj
= Py_None
;
6973 static PyObject
*_wrap_OBProperty_set__SWIG_1(PyObject
*self
, PyObject
*args
) {
6974 PyObject
*resultobj
;
6975 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
6979 unsigned long *arg5
;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6984 PyObject
* obj4
= 0 ;
6986 if(!PyArg_ParseTuple(args
,(char *)"OOiiOi:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&arg6
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6988 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6990 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6991 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
,arg6
);
6993 Py_INCREF(Py_None
); resultobj
= Py_None
;
7000 static PyObject
*_wrap_OBProperty_set__SWIG_2(PyObject
*self
, PyObject
*args
) {
7001 PyObject
*resultobj
;
7002 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7006 std::string
*arg5
= 0 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 PyObject
* obj4
= 0 ;
7013 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
7014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7015 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7018 if (PyString_Check(obj4
)) {
7019 temp5
= std::string(PyString_AsString(obj4
));
7022 SWIG_exception(SWIG_TypeError
, "string expected");
7025 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,(std::string
const &)*arg5
);
7027 Py_INCREF(Py_None
); resultobj
= Py_None
;
7034 static PyObject
*_wrap_OBProperty_set__SWIG_3(PyObject
*self
, PyObject
*args
) {
7035 PyObject
*resultobj
;
7036 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7040 otk::OBProperty::StringVect
*arg5
= 0 ;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj1
= 0 ;
7044 PyObject
* obj4
= 0 ;
7046 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
7047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7048 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7050 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_otk__OBProperty__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7052 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7054 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,(otk::OBProperty::StringVect
const &)*arg5
);
7056 Py_INCREF(Py_None
); resultobj
= Py_None
;
7063 static PyObject
*_wrap_OBProperty_set(PyObject
*self
, PyObject
*args
) {
7068 argc
= PyObject_Length(args
);
7069 for (ii
= 0; (ii
< argc
) && (ii
< 6); ii
++) {
7070 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7076 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7086 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7095 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7099 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7104 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty__StringVect
, 0) == -1) {
7112 return _wrap_OBProperty_set__SWIG_3(self
,args
);
7123 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7133 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7142 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7146 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7150 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
7153 return _wrap_OBProperty_set__SWIG_0(self
,args
);
7164 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7174 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7183 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7187 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7191 _v
= PyString_Check(argv
[4]) ? 1 : 0;
7194 return _wrap_OBProperty_set__SWIG_2(self
,args
);
7205 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7215 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7224 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7228 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7233 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
7242 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
7245 return _wrap_OBProperty_set__SWIG_1(self
,args
);
7254 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OBProperty_set'");
7259 static PyObject
*_wrap_OBProperty_get__SWIG_0(PyObject
*self
, PyObject
*args
) {
7260 PyObject
*resultobj
;
7261 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7265 unsigned long *arg5
= (unsigned long *) 0 ;
7266 unsigned long **arg6
= (unsigned long **) 0 ;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7271 PyObject
* obj4
= 0 ;
7272 PyObject
* obj5
= 0 ;
7274 if(!PyArg_ParseTuple(args
,(char *)"OOiiOO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
)) goto fail
;
7275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7276 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7278 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7279 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7280 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
,arg6
);
7282 resultobj
= PyInt_FromLong((long)result
);
7289 static PyObject
*_wrap_OBProperty_get__SWIG_1(PyObject
*self
, PyObject
*args
) {
7290 PyObject
*resultobj
;
7291 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7295 unsigned long *arg5
= (unsigned long *) 0 ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7300 PyObject
* obj4
= 0 ;
7302 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
7303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7304 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7306 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7307 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
);
7309 resultobj
= PyInt_FromLong((long)result
);
7316 static PyObject
*_wrap_OBProperty_get__SWIG_2(PyObject
*self
, PyObject
*args
) {
7317 PyObject
*resultobj
;
7318 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7322 std::string
*arg5
= (std::string
*) 0 ;
7325 PyObject
* obj0
= 0 ;
7326 PyObject
* obj1
= 0 ;
7327 PyObject
* obj4
= 0 ;
7329 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7331 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7333 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_std__string
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7334 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,arg5
);
7336 resultobj
= PyInt_FromLong((long)result
);
7343 static PyObject
*_wrap_OBProperty_get__SWIG_3(PyObject
*self
, PyObject
*args
) {
7344 PyObject
*resultobj
;
7345 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7349 unsigned long *arg5
= (unsigned long *) 0 ;
7350 otk::OBProperty::StringVect
*arg6
= (otk::OBProperty::StringVect
*) 0 ;
7353 PyObject
* obj0
= 0 ;
7354 PyObject
* obj1
= 0 ;
7355 PyObject
* obj4
= 0 ;
7356 PyObject
* obj5
= 0 ;
7358 if(!PyArg_ParseTuple(args
,(char *)"OOiiOO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
)) goto fail
;
7359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7360 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7362 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7363 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_otk__OBProperty__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7364 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,arg5
,arg6
);
7366 resultobj
= PyInt_FromLong((long)result
);
7373 static PyObject
*_wrap_OBProperty_get(PyObject
*self
, PyObject
*args
) {
7378 argc
= PyObject_Length(args
);
7379 for (ii
= 0; (ii
< argc
) && (ii
< 6); ii
++) {
7380 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7386 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7396 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7405 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7409 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7414 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
7422 return _wrap_OBProperty_get__SWIG_1(self
,args
);
7433 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7443 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7452 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7456 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7461 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_std__string
, 0) == -1) {
7469 return _wrap_OBProperty_get__SWIG_2(self
,args
);
7480 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7490 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7499 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7503 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7508 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
7518 if (SWIG_ConvertPtr(argv
[5], (void **) &ptr
, SWIGTYPE_p_p_unsigned_long
, 0) == -1) {
7526 return _wrap_OBProperty_get__SWIG_0(self
,args
);
7538 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
7548 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_Window
, 0) == -1) {
7557 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7561 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7566 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
7576 if (SWIG_ConvertPtr(argv
[5], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty__StringVect
, 0) == -1) {
7584 return _wrap_OBProperty_get__SWIG_3(self
,args
);
7593 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OBProperty_get'");
7598 static PyObject
*_wrap_OBProperty_erase(PyObject
*self
, PyObject
*args
) {
7599 PyObject
*resultobj
;
7600 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7604 PyObject
* obj0
= 0 ;
7605 PyObject
* obj1
= 0 ;
7607 if(!PyArg_ParseTuple(args
,(char *)"OOi:OBProperty_erase",&obj0
,&obj1
,&arg3
)) goto fail
;
7608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7609 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Window
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
7611 ((otk::OBProperty
const *)arg1
)->erase(arg2
,(otk::OBProperty::Atoms
)arg3
);
7613 Py_INCREF(Py_None
); resultobj
= Py_None
;
7620 static PyObject
*_wrap_OBProperty_atom(PyObject
*self
, PyObject
*args
) {
7621 PyObject
*resultobj
;
7622 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7627 if(!PyArg_ParseTuple(args
,(char *)"Oi:OBProperty_atom",&obj0
,&arg2
)) goto fail
;
7628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7629 result
= ((otk::OBProperty
const *)arg1
)->atom((otk::OBProperty::Atoms
)arg2
);
7633 resultptr
= new Atom((Atom
&) result
);
7634 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Atom
, 1);
7642 static PyObject
* OBProperty_swigregister(PyObject
*self
, PyObject
*args
) {
7644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7645 SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty
, obj
);
7647 return Py_BuildValue((char *)"");
7649 static PyObject
*_wrap_new_Rect__SWIG_0(PyObject
*self
, PyObject
*args
) {
7650 PyObject
*resultobj
;
7653 if(!PyArg_ParseTuple(args
,(char *)":new_Rect")) goto fail
;
7654 result
= (otk::Rect
*)new otk::Rect();
7656 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
7663 static PyObject
*_wrap_new_Rect__SWIG_1(PyObject
*self
, PyObject
*args
) {
7664 PyObject
*resultobj
;
7671 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Rect",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
7672 result
= (otk::Rect
*)new otk::Rect(arg1
,arg2
,arg3
,arg4
);
7674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
7681 static PyObject
*_wrap_new_Rect__SWIG_2(PyObject
*self
, PyObject
*args
) {
7682 PyObject
*resultobj
;
7683 otk::Point
*arg1
= 0 ;
7684 otk::Point
*arg2
= 0 ;
7686 PyObject
* obj0
= 0 ;
7687 PyObject
* obj1
= 0 ;
7689 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Rect",&obj0
,&obj1
)) goto fail
;
7690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7692 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7696 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7698 result
= (otk::Rect
*)new otk::Rect((otk::Point
const &)*arg1
,(otk::Point
const &)*arg2
);
7700 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
7707 static PyObject
*_wrap_new_Rect__SWIG_3(PyObject
*self
, PyObject
*args
) {
7708 PyObject
*resultobj
;
7709 otk::Rect
*arg1
= 0 ;
7711 PyObject
* obj0
= 0 ;
7713 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7716 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7718 result
= (otk::Rect
*)new otk::Rect((otk::Rect
const &)*arg1
);
7720 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
7727 static PyObject
*_wrap_new_Rect__SWIG_4(PyObject
*self
, PyObject
*args
) {
7728 PyObject
*resultobj
;
7729 XRectangle
*arg1
= 0 ;
7731 PyObject
* obj0
= 0 ;
7733 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_XRectangle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7736 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7738 result
= (otk::Rect
*)new otk::Rect((XRectangle
const &)*arg1
);
7740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
7747 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
) {
7752 argc
= PyObject_Length(args
);
7753 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
7754 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7757 return _wrap_new_Rect__SWIG_0(self
,args
);
7763 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
7771 return _wrap_new_Rect__SWIG_3(self
,args
);
7778 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_XRectangle
, 0) == -1) {
7786 return _wrap_new_Rect__SWIG_4(self
,args
);
7793 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
7803 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
7811 return _wrap_new_Rect__SWIG_2(self
,args
);
7818 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
7822 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
7826 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7830 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7833 return _wrap_new_Rect__SWIG_1(self
,args
);
7840 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Rect'");
7845 static PyObject
*_wrap_Rect_left(PyObject
*self
, PyObject
*args
) {
7846 PyObject
*resultobj
;
7847 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_left",&obj0
)) goto fail
;
7852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7853 result
= (int)((otk::Rect
const *)arg1
)->left();
7855 resultobj
= PyInt_FromLong((long)result
);
7862 static PyObject
*_wrap_Rect_top(PyObject
*self
, PyObject
*args
) {
7863 PyObject
*resultobj
;
7864 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
7866 PyObject
* obj0
= 0 ;
7868 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_top",&obj0
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7870 result
= (int)((otk::Rect
const *)arg1
)->top();
7872 resultobj
= PyInt_FromLong((long)result
);
7879 static PyObject
*_wrap_Rect_right(PyObject
*self
, PyObject
*args
) {
7880 PyObject
*resultobj
;
7881 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
7883 PyObject
* obj0
= 0 ;
7885 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_right",&obj0
)) goto fail
;
7886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7887 result
= (int)((otk::Rect
const *)arg1
)->right();
7889 resultobj
= PyInt_FromLong((long)result
);
7896 static PyObject
*_wrap_Rect_bottom(PyObject
*self
, PyObject
*args
) {
7897 PyObject
*resultobj
;
7898 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
7900 PyObject
* obj0
= 0 ;
7902 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_bottom",&obj0
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7904 result
= (int)((otk::Rect
const *)arg1
)->bottom();
7906 resultobj
= PyInt_FromLong((long)result
);
7913 static PyObject
*_wrap_Rect_x(PyObject
*self
, PyObject
*args
) {
7914 PyObject
*resultobj
;
7915 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
7917 PyObject
* obj0
= 0 ;
7919 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_x",&obj0
)) goto fail
;
7920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7921 result
= (int)((otk::Rect
const *)arg1
)->x();
7923 resultobj
= PyInt_FromLong((long)result
);
7930 static PyObject
*_wrap_Rect_y(PyObject
*self
, PyObject
*args
) {
7931 PyObject
*resultobj
;
7932 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
7934 PyObject
* obj0
= 0 ;
7936 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_y",&obj0
)) goto fail
;
7937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7938 result
= (int)((otk::Rect
const *)arg1
)->y();
7940 resultobj
= PyInt_FromLong((long)result
);
7947 static PyObject
*_wrap_Rect_location(PyObject
*self
, PyObject
*args
) {
7948 PyObject
*resultobj
;
7949 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
7951 PyObject
* obj0
= 0 ;
7953 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_location",&obj0
)) goto fail
;
7954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7955 result
= ((otk::Rect
const *)arg1
)->location();
7958 otk::Point
* resultptr
;
7959 resultptr
= new otk::Point((otk::Point
&) result
);
7960 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
7968 static PyObject
*_wrap_Rect_setX(PyObject
*self
, PyObject
*args
) {
7969 PyObject
*resultobj
;
7970 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
7972 PyObject
* obj0
= 0 ;
7974 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setX",&obj0
,&arg2
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7978 Py_INCREF(Py_None
); resultobj
= Py_None
;
7985 static PyObject
*_wrap_Rect_setY(PyObject
*self
, PyObject
*args
) {
7986 PyObject
*resultobj
;
7987 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7991 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setY",&obj0
,&arg2
)) goto fail
;
7992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7995 Py_INCREF(Py_None
); resultobj
= Py_None
;
8002 static PyObject
*_wrap_Rect_setPos__SWIG_0(PyObject
*self
, PyObject
*args
) {
8003 PyObject
*resultobj
;
8004 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8007 PyObject
* obj0
= 0 ;
8009 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setPos",&obj0
,&arg2
,&arg3
)) goto fail
;
8010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8011 (arg1
)->setPos(arg2
,arg3
);
8013 Py_INCREF(Py_None
); resultobj
= Py_None
;
8020 static PyObject
*_wrap_Rect_setPos__SWIG_1(PyObject
*self
, PyObject
*args
) {
8021 PyObject
*resultobj
;
8022 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8023 otk::Point
*arg2
= 0 ;
8024 PyObject
* obj0
= 0 ;
8025 PyObject
* obj1
= 0 ;
8027 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setPos",&obj0
,&obj1
)) goto fail
;
8028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8031 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8033 (arg1
)->setPos((otk::Point
const &)*arg2
);
8035 Py_INCREF(Py_None
); resultobj
= Py_None
;
8042 static PyObject
*_wrap_Rect_setPos(PyObject
*self
, PyObject
*args
) {
8047 argc
= PyObject_Length(args
);
8048 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8049 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8055 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8065 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8073 return _wrap_Rect_setPos__SWIG_1(self
,args
);
8081 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8090 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
8094 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8097 return _wrap_Rect_setPos__SWIG_0(self
,args
);
8103 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setPos'");
8108 static PyObject
*_wrap_Rect_width(PyObject
*self
, PyObject
*args
) {
8109 PyObject
*resultobj
;
8110 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_width",&obj0
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8116 result
= (int)((otk::Rect
const *)arg1
)->width();
8118 resultobj
= PyInt_FromLong((long)result
);
8125 static PyObject
*_wrap_Rect_height(PyObject
*self
, PyObject
*args
) {
8126 PyObject
*resultobj
;
8127 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8129 PyObject
* obj0
= 0 ;
8131 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_height",&obj0
)) goto fail
;
8132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8133 result
= (int)((otk::Rect
const *)arg1
)->height();
8135 resultobj
= PyInt_FromLong((long)result
);
8142 static PyObject
*_wrap_Rect_size(PyObject
*self
, PyObject
*args
) {
8143 PyObject
*resultobj
;
8144 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8148 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_size",&obj0
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8150 result
= ((otk::Rect
const *)arg1
)->size();
8153 otk::Point
* resultptr
;
8154 resultptr
= new otk::Point((otk::Point
&) result
);
8155 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
8163 static PyObject
*_wrap_Rect_setWidth(PyObject
*self
, PyObject
*args
) {
8164 PyObject
*resultobj
;
8165 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8167 PyObject
* obj0
= 0 ;
8169 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setWidth",&obj0
,&arg2
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8171 (arg1
)->setWidth(arg2
);
8173 Py_INCREF(Py_None
); resultobj
= Py_None
;
8180 static PyObject
*_wrap_Rect_setHeight(PyObject
*self
, PyObject
*args
) {
8181 PyObject
*resultobj
;
8182 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setHeight",&obj0
,&arg2
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8188 (arg1
)->setHeight(arg2
);
8190 Py_INCREF(Py_None
); resultobj
= Py_None
;
8197 static PyObject
*_wrap_Rect_setSize__SWIG_0(PyObject
*self
, PyObject
*args
) {
8198 PyObject
*resultobj
;
8199 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8202 PyObject
* obj0
= 0 ;
8204 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setSize",&obj0
,&arg2
,&arg3
)) goto fail
;
8205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8206 (arg1
)->setSize(arg2
,arg3
);
8208 Py_INCREF(Py_None
); resultobj
= Py_None
;
8215 static PyObject
*_wrap_Rect_setSize__SWIG_1(PyObject
*self
, PyObject
*args
) {
8216 PyObject
*resultobj
;
8217 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8218 otk::Point
*arg2
= 0 ;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8222 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setSize",&obj0
,&obj1
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8228 (arg1
)->setSize((otk::Point
const &)*arg2
);
8230 Py_INCREF(Py_None
); resultobj
= Py_None
;
8237 static PyObject
*_wrap_Rect_setSize(PyObject
*self
, PyObject
*args
) {
8242 argc
= PyObject_Length(args
);
8243 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8244 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8250 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8260 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8268 return _wrap_Rect_setSize__SWIG_1(self
,args
);
8276 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8285 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
8289 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8292 return _wrap_Rect_setSize__SWIG_0(self
,args
);
8298 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setSize'");
8303 static PyObject
*_wrap_Rect_setRect__SWIG_0(PyObject
*self
, PyObject
*args
) {
8304 PyObject
*resultobj
;
8305 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8310 PyObject
* obj0
= 0 ;
8312 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setRect",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
8313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8314 (arg1
)->setRect(arg2
,arg3
,arg4
,arg5
);
8316 Py_INCREF(Py_None
); resultobj
= Py_None
;
8323 static PyObject
*_wrap_Rect_setRect__SWIG_1(PyObject
*self
, PyObject
*args
) {
8324 PyObject
*resultobj
;
8325 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8326 otk::Point
*arg2
= 0 ;
8327 otk::Point
*arg3
= 0 ;
8328 PyObject
* obj0
= 0 ;
8329 PyObject
* obj1
= 0 ;
8330 PyObject
* obj2
= 0 ;
8332 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setRect",&obj0
,&obj1
,&obj2
)) goto fail
;
8333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8338 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8340 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8342 (arg1
)->setRect((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
8344 Py_INCREF(Py_None
); resultobj
= Py_None
;
8351 static PyObject
*_wrap_Rect_setRect(PyObject
*self
, PyObject
*args
) {
8356 argc
= PyObject_Length(args
);
8357 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
8358 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8364 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8374 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8384 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8392 return _wrap_Rect_setRect__SWIG_1(self
,args
);
8401 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8410 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
8414 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8418 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
8422 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
8425 return _wrap_Rect_setRect__SWIG_0(self
,args
);
8433 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setRect'");
8438 static PyObject
*_wrap_Rect_setCoords__SWIG_0(PyObject
*self
, PyObject
*args
) {
8439 PyObject
*resultobj
;
8440 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8445 PyObject
* obj0
= 0 ;
8447 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setCoords",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8449 (arg1
)->setCoords(arg2
,arg3
,arg4
,arg5
);
8451 Py_INCREF(Py_None
); resultobj
= Py_None
;
8458 static PyObject
*_wrap_Rect_setCoords__SWIG_1(PyObject
*self
, PyObject
*args
) {
8459 PyObject
*resultobj
;
8460 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8461 otk::Point
*arg2
= 0 ;
8462 otk::Point
*arg3
= 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 PyObject
* obj2
= 0 ;
8467 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setCoords",&obj0
,&obj1
,&obj2
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8473 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8475 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8477 (arg1
)->setCoords((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
8479 Py_INCREF(Py_None
); resultobj
= Py_None
;
8486 static PyObject
*_wrap_Rect_setCoords(PyObject
*self
, PyObject
*args
) {
8491 argc
= PyObject_Length(args
);
8492 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
8493 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8499 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8509 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8519 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8527 return _wrap_Rect_setCoords__SWIG_1(self
,args
);
8536 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8545 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
8549 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8553 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
8557 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
8560 return _wrap_Rect_setCoords__SWIG_0(self
,args
);
8568 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setCoords'");
8573 static PyObject
*_wrap_Rect_equals(PyObject
*self
, PyObject
*args
) {
8574 PyObject
*resultobj
;
8575 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8576 otk::Rect
*arg2
= 0 ;
8578 PyObject
* obj0
= 0 ;
8579 PyObject
* obj1
= 0 ;
8581 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_equals",&obj0
,&obj1
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8583 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8585 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8587 result
= (bool)(arg1
)->operator ==((otk::Rect
const &)*arg2
);
8589 resultobj
= PyInt_FromLong((long)result
);
8596 static PyObject
*_wrap_Rect_valid(PyObject
*self
, PyObject
*args
) {
8597 PyObject
*resultobj
;
8598 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8602 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_valid",&obj0
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8604 result
= (bool)((otk::Rect
const *)arg1
)->valid();
8606 resultobj
= PyInt_FromLong((long)result
);
8613 static PyObject
*_wrap_Rect_intersects(PyObject
*self
, PyObject
*args
) {
8614 PyObject
*resultobj
;
8615 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8616 otk::Rect
*arg2
= 0 ;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8621 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_intersects",&obj0
,&obj1
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8627 result
= (bool)((otk::Rect
const *)arg1
)->intersects((otk::Rect
const &)*arg2
);
8629 resultobj
= PyInt_FromLong((long)result
);
8636 static PyObject
*_wrap_Rect_contains__SWIG_0(PyObject
*self
, PyObject
*args
) {
8637 PyObject
*resultobj
;
8638 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8642 PyObject
* obj0
= 0 ;
8644 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_contains",&obj0
,&arg2
,&arg3
)) goto fail
;
8645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8646 result
= (bool)((otk::Rect
const *)arg1
)->contains(arg2
,arg3
);
8648 resultobj
= PyInt_FromLong((long)result
);
8655 static PyObject
*_wrap_Rect_contains__SWIG_1(PyObject
*self
, PyObject
*args
) {
8656 PyObject
*resultobj
;
8657 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8658 otk::Point
*arg2
= 0 ;
8660 PyObject
* obj0
= 0 ;
8661 PyObject
* obj1
= 0 ;
8663 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
8664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8669 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Point
const &)*arg2
);
8671 resultobj
= PyInt_FromLong((long)result
);
8678 static PyObject
*_wrap_Rect_contains__SWIG_2(PyObject
*self
, PyObject
*args
) {
8679 PyObject
*resultobj
;
8680 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8681 otk::Rect
*arg2
= 0 ;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8686 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8688 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8690 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8692 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Rect
const &)*arg2
);
8694 resultobj
= PyInt_FromLong((long)result
);
8701 static PyObject
*_wrap_Rect_contains(PyObject
*self
, PyObject
*args
) {
8706 argc
= PyObject_Length(args
);
8707 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8708 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8714 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8724 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
8732 return _wrap_Rect_contains__SWIG_1(self
,args
);
8740 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8750 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8758 return _wrap_Rect_contains__SWIG_2(self
,args
);
8766 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
8775 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
8779 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8782 return _wrap_Rect_contains__SWIG_0(self
,args
);
8788 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_contains'");
8793 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
) {
8794 PyObject
*resultobj
;
8795 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
8796 PyObject
* obj0
= 0 ;
8798 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Rect",&obj0
)) goto fail
;
8799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8802 Py_INCREF(Py_None
); resultobj
= Py_None
;
8809 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
8811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8812 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect
, obj
);
8814 return Py_BuildValue((char *)"");
8816 static PyObject
*_wrap_new_ScreenInfo(PyObject
*self
, PyObject
*args
) {
8817 PyObject
*resultobj
;
8819 otk::ScreenInfo
*result
;
8820 PyObject
* obj0
= 0 ;
8822 if(!PyArg_ParseTuple(args
,(char *)"O:new_ScreenInfo",&obj0
)) goto fail
;
8823 arg1
= (unsigned int) PyInt_AsLong(obj0
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8825 result
= (otk::ScreenInfo
*)new otk::ScreenInfo(arg1
);
8827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 1);
8834 static PyObject
*_wrap_ScreenInfo_visual(PyObject
*self
, PyObject
*args
) {
8835 PyObject
*resultobj
;
8836 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
8838 PyObject
* obj0
= 0 ;
8840 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_visual",&obj0
)) goto fail
;
8841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8842 result
= (Visual
*)((otk::ScreenInfo
const *)arg1
)->visual();
8844 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Visual
, 0);
8851 static PyObject
*_wrap_ScreenInfo_rootWindow(PyObject
*self
, PyObject
*args
) {
8852 PyObject
*resultobj
;
8853 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
8855 PyObject
* obj0
= 0 ;
8857 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rootWindow",&obj0
)) goto fail
;
8858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8859 result
= ((otk::ScreenInfo
const *)arg1
)->rootWindow();
8863 resultptr
= new Window((Window
&) result
);
8864 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Window
, 1);
8872 static PyObject
*_wrap_ScreenInfo_colormap(PyObject
*self
, PyObject
*args
) {
8873 PyObject
*resultobj
;
8874 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
8876 PyObject
* obj0
= 0 ;
8878 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_colormap",&obj0
)) goto fail
;
8879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8880 result
= ((otk::ScreenInfo
const *)arg1
)->colormap();
8883 Colormap
* resultptr
;
8884 resultptr
= new Colormap((Colormap
&) result
);
8885 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Colormap
, 1);
8893 static PyObject
*_wrap_ScreenInfo_depth(PyObject
*self
, PyObject
*args
) {
8894 PyObject
*resultobj
;
8895 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8899 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_depth",&obj0
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8901 result
= (int)((otk::ScreenInfo
const *)arg1
)->depth();
8903 resultobj
= PyInt_FromLong((long)result
);
8910 static PyObject
*_wrap_ScreenInfo_screen(PyObject
*self
, PyObject
*args
) {
8911 PyObject
*resultobj
;
8912 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
8913 unsigned int result
;
8914 PyObject
* obj0
= 0 ;
8916 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_screen",&obj0
)) goto fail
;
8917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8918 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->screen();
8920 resultobj
= PyInt_FromLong((long)result
);
8927 static PyObject
*_wrap_ScreenInfo_rect(PyObject
*self
, PyObject
*args
) {
8928 PyObject
*resultobj
;
8929 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8933 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rect",&obj0
)) goto fail
;
8934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8936 otk::Rect
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->rect();
8937 result
= (otk::Rect
*) &_result_ref
;
8940 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
8947 static PyObject
*_wrap_ScreenInfo_width(PyObject
*self
, PyObject
*args
) {
8948 PyObject
*resultobj
;
8949 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
8950 unsigned int result
;
8951 PyObject
* obj0
= 0 ;
8953 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_width",&obj0
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8955 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->width();
8957 resultobj
= PyInt_FromLong((long)result
);
8964 static PyObject
*_wrap_ScreenInfo_height(PyObject
*self
, PyObject
*args
) {
8965 PyObject
*resultobj
;
8966 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
8967 unsigned int result
;
8968 PyObject
* obj0
= 0 ;
8970 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_height",&obj0
)) goto fail
;
8971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8972 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->height();
8974 resultobj
= PyInt_FromLong((long)result
);
8981 static PyObject
*_wrap_ScreenInfo_displayString(PyObject
*self
, PyObject
*args
) {
8982 PyObject
*resultobj
;
8983 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
8984 std::string
*result
;
8985 PyObject
* obj0
= 0 ;
8987 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_displayString",&obj0
)) goto fail
;
8988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8990 std::string
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->displayString();
8991 result
= (std::string
*) &_result_ref
;
8995 resultobj
= PyString_FromString(result
->c_str());
9003 static PyObject
*_wrap_delete_ScreenInfo(PyObject
*self
, PyObject
*args
) {
9004 PyObject
*resultobj
;
9005 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9008 if(!PyArg_ParseTuple(args
,(char *)"O:delete_ScreenInfo",&obj0
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9012 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
* ScreenInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9022 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo
, obj
);
9024 return Py_BuildValue((char *)"");
9026 static PyObject
*_wrap_Strut_top_set(PyObject
*self
, PyObject
*args
) {
9027 PyObject
*resultobj
;
9028 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9033 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_top_set",&obj0
,&obj1
)) goto fail
;
9034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9035 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9037 if (arg1
) (arg1
)->top
= arg2
;
9039 Py_INCREF(Py_None
); resultobj
= Py_None
;
9046 static PyObject
*_wrap_Strut_top_get(PyObject
*self
, PyObject
*args
) {
9047 PyObject
*resultobj
;
9048 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9049 unsigned int result
;
9050 PyObject
* obj0
= 0 ;
9052 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_top_get",&obj0
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9054 result
= (unsigned int) ((arg1
)->top
);
9056 resultobj
= PyInt_FromLong((long)result
);
9063 static PyObject
*_wrap_Strut_bottom_set(PyObject
*self
, PyObject
*args
) {
9064 PyObject
*resultobj
;
9065 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9067 PyObject
* obj0
= 0 ;
9068 PyObject
* obj1
= 0 ;
9070 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_bottom_set",&obj0
,&obj1
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9072 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9074 if (arg1
) (arg1
)->bottom
= arg2
;
9076 Py_INCREF(Py_None
); resultobj
= Py_None
;
9083 static PyObject
*_wrap_Strut_bottom_get(PyObject
*self
, PyObject
*args
) {
9084 PyObject
*resultobj
;
9085 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9086 unsigned int result
;
9087 PyObject
* obj0
= 0 ;
9089 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_bottom_get",&obj0
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9091 result
= (unsigned int) ((arg1
)->bottom
);
9093 resultobj
= PyInt_FromLong((long)result
);
9100 static PyObject
*_wrap_Strut_left_set(PyObject
*self
, PyObject
*args
) {
9101 PyObject
*resultobj
;
9102 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9107 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_left_set",&obj0
,&obj1
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9109 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9111 if (arg1
) (arg1
)->left
= arg2
;
9113 Py_INCREF(Py_None
); resultobj
= Py_None
;
9120 static PyObject
*_wrap_Strut_left_get(PyObject
*self
, PyObject
*args
) {
9121 PyObject
*resultobj
;
9122 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9123 unsigned int result
;
9124 PyObject
* obj0
= 0 ;
9126 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_left_get",&obj0
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9128 result
= (unsigned int) ((arg1
)->left
);
9130 resultobj
= PyInt_FromLong((long)result
);
9137 static PyObject
*_wrap_Strut_right_set(PyObject
*self
, PyObject
*args
) {
9138 PyObject
*resultobj
;
9139 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9141 PyObject
* obj0
= 0 ;
9142 PyObject
* obj1
= 0 ;
9144 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_right_set",&obj0
,&obj1
)) goto fail
;
9145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9146 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9148 if (arg1
) (arg1
)->right
= arg2
;
9150 Py_INCREF(Py_None
); resultobj
= Py_None
;
9157 static PyObject
*_wrap_Strut_right_get(PyObject
*self
, PyObject
*args
) {
9158 PyObject
*resultobj
;
9159 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9160 unsigned int result
;
9161 PyObject
* obj0
= 0 ;
9163 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_right_get",&obj0
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9165 result
= (unsigned int) ((arg1
)->right
);
9167 resultobj
= PyInt_FromLong((long)result
);
9174 static PyObject
*_wrap_new_Strut__SWIG_0(PyObject
*self
, PyObject
*args
) {
9175 PyObject
*resultobj
;
9178 if(!PyArg_ParseTuple(args
,(char *)":new_Strut")) goto fail
;
9179 result
= (otk::Strut
*)new otk::Strut();
9181 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
9188 static PyObject
*_wrap_new_Strut__SWIG_1(PyObject
*self
, PyObject
*args
) {
9189 PyObject
*resultobj
;
9196 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Strut",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
9197 result
= (otk::Strut
*)new otk::Strut(arg1
,arg2
,arg3
,arg4
);
9199 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
9206 static PyObject
*_wrap_new_Strut(PyObject
*self
, PyObject
*args
) {
9211 argc
= PyObject_Length(args
);
9212 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
9213 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9216 return _wrap_new_Strut__SWIG_0(self
,args
);
9221 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
9225 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
9229 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
9233 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
9236 return _wrap_new_Strut__SWIG_1(self
,args
);
9243 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Strut'");
9248 static PyObject
*_wrap_delete_Strut(PyObject
*self
, PyObject
*args
) {
9249 PyObject
*resultobj
;
9250 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
9251 PyObject
* obj0
= 0 ;
9253 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Strut",&obj0
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9257 Py_INCREF(Py_None
); resultobj
= Py_None
;
9264 static PyObject
* Strut_swigregister(PyObject
*self
, PyObject
*args
) {
9266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9267 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut
, obj
);
9269 return Py_BuildValue((char *)"");
9271 static PyObject
*_wrap_PixmapMask_mask_set(PyObject
*self
, PyObject
*args
) {
9272 PyObject
*resultobj
;
9273 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9276 PyObject
* obj0
= 0 ;
9277 PyObject
* obj1
= 0 ;
9279 if(!PyArg_ParseTuple(args
,(char *)"OO:PixmapMask_mask_set",&obj0
,&obj1
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9281 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_Pixmap
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
9283 if (arg1
) (arg1
)->mask
= arg2
;
9285 Py_INCREF(Py_None
); resultobj
= Py_None
;
9292 static PyObject
*_wrap_PixmapMask_mask_get(PyObject
*self
, PyObject
*args
) {
9293 PyObject
*resultobj
;
9294 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9298 if(!PyArg_ParseTuple(args
,(char *)"O:PixmapMask_mask_get",&obj0
)) goto fail
;
9299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9300 result
= ((arg1
)->mask
);
9304 resultptr
= new Pixmap((Pixmap
&) result
);
9305 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Pixmap
, 1);
9313 static PyObject
*_wrap_PixmapMask_w_set(PyObject
*self
, PyObject
*args
) {
9314 PyObject
*resultobj
;
9315 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9320 if(!PyArg_ParseTuple(args
,(char *)"OO:PixmapMask_w_set",&obj0
,&obj1
)) goto fail
;
9321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9322 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9324 if (arg1
) (arg1
)->w
= arg2
;
9326 Py_INCREF(Py_None
); resultobj
= Py_None
;
9333 static PyObject
*_wrap_PixmapMask_w_get(PyObject
*self
, PyObject
*args
) {
9334 PyObject
*resultobj
;
9335 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9336 unsigned int result
;
9337 PyObject
* obj0
= 0 ;
9339 if(!PyArg_ParseTuple(args
,(char *)"O:PixmapMask_w_get",&obj0
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9341 result
= (unsigned int) ((arg1
)->w
);
9343 resultobj
= PyInt_FromLong((long)result
);
9350 static PyObject
*_wrap_PixmapMask_h_set(PyObject
*self
, PyObject
*args
) {
9351 PyObject
*resultobj
;
9352 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9354 PyObject
* obj0
= 0 ;
9355 PyObject
* obj1
= 0 ;
9357 if(!PyArg_ParseTuple(args
,(char *)"OO:PixmapMask_h_set",&obj0
,&obj1
)) goto fail
;
9358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9359 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9361 if (arg1
) (arg1
)->h
= arg2
;
9363 Py_INCREF(Py_None
); resultobj
= Py_None
;
9370 static PyObject
*_wrap_PixmapMask_h_get(PyObject
*self
, PyObject
*args
) {
9371 PyObject
*resultobj
;
9372 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9373 unsigned int result
;
9374 PyObject
* obj0
= 0 ;
9376 if(!PyArg_ParseTuple(args
,(char *)"O:PixmapMask_h_get",&obj0
)) goto fail
;
9377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9378 result
= (unsigned int) ((arg1
)->h
);
9380 resultobj
= PyInt_FromLong((long)result
);
9387 static PyObject
*_wrap_new_PixmapMask(PyObject
*self
, PyObject
*args
) {
9388 PyObject
*resultobj
;
9389 otk::PixmapMask
*result
;
9391 if(!PyArg_ParseTuple(args
,(char *)":new_PixmapMask")) goto fail
;
9392 result
= (otk::PixmapMask
*)new otk::PixmapMask();
9394 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 1);
9401 static PyObject
*_wrap_delete_PixmapMask(PyObject
*self
, PyObject
*args
) {
9402 PyObject
*resultobj
;
9403 otk::PixmapMask
*arg1
= (otk::PixmapMask
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 if(!PyArg_ParseTuple(args
,(char *)"O:delete_PixmapMask",&obj0
)) goto fail
;
9407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9410 Py_INCREF(Py_None
); resultobj
= Py_None
;
9417 static PyObject
* PixmapMask_swigregister(PyObject
*self
, PyObject
*args
) {
9419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9420 SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask
, obj
);
9422 return Py_BuildValue((char *)"");
9424 static PyObject
*_wrap_Style_image_control_set(PyObject
*self
, PyObject
*args
) {
9425 PyObject
*resultobj
;
9426 otk::Style
*arg1
= (otk::Style
*) 0 ;
9427 otk::BImageControl
*arg2
= (otk::BImageControl
*) 0 ;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9431 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_image_control_set",&obj0
,&obj1
)) goto fail
;
9432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9433 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
9434 if (arg1
) (arg1
)->image_control
= arg2
;
9436 Py_INCREF(Py_None
); resultobj
= Py_None
;
9443 static PyObject
*_wrap_Style_image_control_get(PyObject
*self
, PyObject
*args
) {
9444 PyObject
*resultobj
;
9445 otk::Style
*arg1
= (otk::Style
*) 0 ;
9446 otk::BImageControl
*result
;
9447 PyObject
* obj0
= 0 ;
9449 if(!PyArg_ParseTuple(args
,(char *)"O:Style_image_control_get",&obj0
)) goto fail
;
9450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9451 result
= (otk::BImageControl
*) ((arg1
)->image_control
);
9453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BImageControl
, 0);
9460 static PyObject
*_wrap_Style_l_text_focus_set(PyObject
*self
, PyObject
*args
) {
9461 PyObject
*resultobj
;
9462 otk::Style
*arg1
= (otk::Style
*) 0 ;
9463 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9465 PyObject
* obj1
= 0 ;
9467 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_l_text_focus_set",&obj0
,&obj1
)) goto fail
;
9468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9470 if (arg1
) (arg1
)->l_text_focus
= *arg2
;
9472 Py_INCREF(Py_None
); resultobj
= Py_None
;
9479 static PyObject
*_wrap_Style_l_text_focus_get(PyObject
*self
, PyObject
*args
) {
9480 PyObject
*resultobj
;
9481 otk::Style
*arg1
= (otk::Style
*) 0 ;
9482 otk::BColor
*result
;
9483 PyObject
* obj0
= 0 ;
9485 if(!PyArg_ParseTuple(args
,(char *)"O:Style_l_text_focus_get",&obj0
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9487 result
= (otk::BColor
*)& ((arg1
)->l_text_focus
);
9489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
9496 static PyObject
*_wrap_Style_l_text_unfocus_set(PyObject
*self
, PyObject
*args
) {
9497 PyObject
*resultobj
;
9498 otk::Style
*arg1
= (otk::Style
*) 0 ;
9499 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9501 PyObject
* obj1
= 0 ;
9503 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_l_text_unfocus_set",&obj0
,&obj1
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9506 if (arg1
) (arg1
)->l_text_unfocus
= *arg2
;
9508 Py_INCREF(Py_None
); resultobj
= Py_None
;
9515 static PyObject
*_wrap_Style_l_text_unfocus_get(PyObject
*self
, PyObject
*args
) {
9516 PyObject
*resultobj
;
9517 otk::Style
*arg1
= (otk::Style
*) 0 ;
9518 otk::BColor
*result
;
9519 PyObject
* obj0
= 0 ;
9521 if(!PyArg_ParseTuple(args
,(char *)"O:Style_l_text_unfocus_get",&obj0
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9523 result
= (otk::BColor
*)& ((arg1
)->l_text_unfocus
);
9525 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
9532 static PyObject
*_wrap_Style_b_pic_focus_set(PyObject
*self
, PyObject
*args
) {
9533 PyObject
*resultobj
;
9534 otk::Style
*arg1
= (otk::Style
*) 0 ;
9535 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9539 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_pic_focus_set",&obj0
,&obj1
)) goto fail
;
9540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9542 if (arg1
) (arg1
)->b_pic_focus
= *arg2
;
9544 Py_INCREF(Py_None
); resultobj
= Py_None
;
9551 static PyObject
*_wrap_Style_b_pic_focus_get(PyObject
*self
, PyObject
*args
) {
9552 PyObject
*resultobj
;
9553 otk::Style
*arg1
= (otk::Style
*) 0 ;
9554 otk::BColor
*result
;
9555 PyObject
* obj0
= 0 ;
9557 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_pic_focus_get",&obj0
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9559 result
= (otk::BColor
*)& ((arg1
)->b_pic_focus
);
9561 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
9568 static PyObject
*_wrap_Style_b_pic_unfocus_set(PyObject
*self
, PyObject
*args
) {
9569 PyObject
*resultobj
;
9570 otk::Style
*arg1
= (otk::Style
*) 0 ;
9571 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9575 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_pic_unfocus_set",&obj0
,&obj1
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9578 if (arg1
) (arg1
)->b_pic_unfocus
= *arg2
;
9580 Py_INCREF(Py_None
); resultobj
= Py_None
;
9587 static PyObject
*_wrap_Style_b_pic_unfocus_get(PyObject
*self
, PyObject
*args
) {
9588 PyObject
*resultobj
;
9589 otk::Style
*arg1
= (otk::Style
*) 0 ;
9590 otk::BColor
*result
;
9591 PyObject
* obj0
= 0 ;
9593 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_pic_unfocus_get",&obj0
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9595 result
= (otk::BColor
*)& ((arg1
)->b_pic_unfocus
);
9597 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
9604 static PyObject
*_wrap_Style_border_color_set(PyObject
*self
, PyObject
*args
) {
9605 PyObject
*resultobj
;
9606 otk::Style
*arg1
= (otk::Style
*) 0 ;
9607 otk::BColor
*arg2
= (otk::BColor
*) 0 ;
9608 PyObject
* obj0
= 0 ;
9609 PyObject
* obj1
= 0 ;
9611 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_border_color_set",&obj0
,&obj1
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9614 if (arg1
) (arg1
)->border_color
= *arg2
;
9616 Py_INCREF(Py_None
); resultobj
= Py_None
;
9623 static PyObject
*_wrap_Style_border_color_get(PyObject
*self
, PyObject
*args
) {
9624 PyObject
*resultobj
;
9625 otk::Style
*arg1
= (otk::Style
*) 0 ;
9626 otk::BColor
*result
;
9627 PyObject
* obj0
= 0 ;
9629 if(!PyArg_ParseTuple(args
,(char *)"O:Style_border_color_get",&obj0
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9631 result
= (otk::BColor
*)& ((arg1
)->border_color
);
9633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
9640 static PyObject
*_wrap_Style_font_set(PyObject
*self
, PyObject
*args
) {
9641 PyObject
*resultobj
;
9642 otk::Style
*arg1
= (otk::Style
*) 0 ;
9643 otk::BFont
*arg2
= (otk::BFont
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9645 PyObject
* obj1
= 0 ;
9647 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_font_set",&obj0
,&obj1
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BFont
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
9650 if (arg1
) (arg1
)->font
= arg2
;
9652 Py_INCREF(Py_None
); resultobj
= Py_None
;
9659 static PyObject
*_wrap_Style_font_get(PyObject
*self
, PyObject
*args
) {
9660 PyObject
*resultobj
;
9661 otk::Style
*arg1
= (otk::Style
*) 0 ;
9663 PyObject
* obj0
= 0 ;
9665 if(!PyArg_ParseTuple(args
,(char *)"O:Style_font_get",&obj0
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9667 result
= (otk::BFont
*) ((arg1
)->font
);
9669 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BFont
, 0);
9676 static PyObject
*_wrap_Style_f_focus_set(PyObject
*self
, PyObject
*args
) {
9677 PyObject
*resultobj
;
9678 otk::Style
*arg1
= (otk::Style
*) 0 ;
9679 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9680 PyObject
* obj0
= 0 ;
9681 PyObject
* obj1
= 0 ;
9683 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_f_focus_set",&obj0
,&obj1
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9686 if (arg1
) (arg1
)->f_focus
= *arg2
;
9688 Py_INCREF(Py_None
); resultobj
= Py_None
;
9695 static PyObject
*_wrap_Style_f_focus_get(PyObject
*self
, PyObject
*args
) {
9696 PyObject
*resultobj
;
9697 otk::Style
*arg1
= (otk::Style
*) 0 ;
9698 otk::BTexture
*result
;
9699 PyObject
* obj0
= 0 ;
9701 if(!PyArg_ParseTuple(args
,(char *)"O:Style_f_focus_get",&obj0
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9703 result
= (otk::BTexture
*)& ((arg1
)->f_focus
);
9705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9712 static PyObject
*_wrap_Style_f_unfocus_set(PyObject
*self
, PyObject
*args
) {
9713 PyObject
*resultobj
;
9714 otk::Style
*arg1
= (otk::Style
*) 0 ;
9715 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9719 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_f_unfocus_set",&obj0
,&obj1
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9721 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9722 if (arg1
) (arg1
)->f_unfocus
= *arg2
;
9724 Py_INCREF(Py_None
); resultobj
= Py_None
;
9731 static PyObject
*_wrap_Style_f_unfocus_get(PyObject
*self
, PyObject
*args
) {
9732 PyObject
*resultobj
;
9733 otk::Style
*arg1
= (otk::Style
*) 0 ;
9734 otk::BTexture
*result
;
9735 PyObject
* obj0
= 0 ;
9737 if(!PyArg_ParseTuple(args
,(char *)"O:Style_f_unfocus_get",&obj0
)) goto fail
;
9738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9739 result
= (otk::BTexture
*)& ((arg1
)->f_unfocus
);
9741 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9748 static PyObject
*_wrap_Style_t_focus_set(PyObject
*self
, PyObject
*args
) {
9749 PyObject
*resultobj
;
9750 otk::Style
*arg1
= (otk::Style
*) 0 ;
9751 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9753 PyObject
* obj1
= 0 ;
9755 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_t_focus_set",&obj0
,&obj1
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9757 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9758 if (arg1
) (arg1
)->t_focus
= *arg2
;
9760 Py_INCREF(Py_None
); resultobj
= Py_None
;
9767 static PyObject
*_wrap_Style_t_focus_get(PyObject
*self
, PyObject
*args
) {
9768 PyObject
*resultobj
;
9769 otk::Style
*arg1
= (otk::Style
*) 0 ;
9770 otk::BTexture
*result
;
9771 PyObject
* obj0
= 0 ;
9773 if(!PyArg_ParseTuple(args
,(char *)"O:Style_t_focus_get",&obj0
)) goto fail
;
9774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9775 result
= (otk::BTexture
*)& ((arg1
)->t_focus
);
9777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9784 static PyObject
*_wrap_Style_t_unfocus_set(PyObject
*self
, PyObject
*args
) {
9785 PyObject
*resultobj
;
9786 otk::Style
*arg1
= (otk::Style
*) 0 ;
9787 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9791 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_t_unfocus_set",&obj0
,&obj1
)) goto fail
;
9792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9793 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9794 if (arg1
) (arg1
)->t_unfocus
= *arg2
;
9796 Py_INCREF(Py_None
); resultobj
= Py_None
;
9803 static PyObject
*_wrap_Style_t_unfocus_get(PyObject
*self
, PyObject
*args
) {
9804 PyObject
*resultobj
;
9805 otk::Style
*arg1
= (otk::Style
*) 0 ;
9806 otk::BTexture
*result
;
9807 PyObject
* obj0
= 0 ;
9809 if(!PyArg_ParseTuple(args
,(char *)"O:Style_t_unfocus_get",&obj0
)) goto fail
;
9810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9811 result
= (otk::BTexture
*)& ((arg1
)->t_unfocus
);
9813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9820 static PyObject
*_wrap_Style_l_focus_set(PyObject
*self
, PyObject
*args
) {
9821 PyObject
*resultobj
;
9822 otk::Style
*arg1
= (otk::Style
*) 0 ;
9823 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9824 PyObject
* obj0
= 0 ;
9825 PyObject
* obj1
= 0 ;
9827 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_l_focus_set",&obj0
,&obj1
)) goto fail
;
9828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9829 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9830 if (arg1
) (arg1
)->l_focus
= *arg2
;
9832 Py_INCREF(Py_None
); resultobj
= Py_None
;
9839 static PyObject
*_wrap_Style_l_focus_get(PyObject
*self
, PyObject
*args
) {
9840 PyObject
*resultobj
;
9841 otk::Style
*arg1
= (otk::Style
*) 0 ;
9842 otk::BTexture
*result
;
9843 PyObject
* obj0
= 0 ;
9845 if(!PyArg_ParseTuple(args
,(char *)"O:Style_l_focus_get",&obj0
)) goto fail
;
9846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9847 result
= (otk::BTexture
*)& ((arg1
)->l_focus
);
9849 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9856 static PyObject
*_wrap_Style_l_unfocus_set(PyObject
*self
, PyObject
*args
) {
9857 PyObject
*resultobj
;
9858 otk::Style
*arg1
= (otk::Style
*) 0 ;
9859 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9860 PyObject
* obj0
= 0 ;
9861 PyObject
* obj1
= 0 ;
9863 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_l_unfocus_set",&obj0
,&obj1
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9865 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9866 if (arg1
) (arg1
)->l_unfocus
= *arg2
;
9868 Py_INCREF(Py_None
); resultobj
= Py_None
;
9875 static PyObject
*_wrap_Style_l_unfocus_get(PyObject
*self
, PyObject
*args
) {
9876 PyObject
*resultobj
;
9877 otk::Style
*arg1
= (otk::Style
*) 0 ;
9878 otk::BTexture
*result
;
9879 PyObject
* obj0
= 0 ;
9881 if(!PyArg_ParseTuple(args
,(char *)"O:Style_l_unfocus_get",&obj0
)) goto fail
;
9882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9883 result
= (otk::BTexture
*)& ((arg1
)->l_unfocus
);
9885 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9892 static PyObject
*_wrap_Style_h_focus_set(PyObject
*self
, PyObject
*args
) {
9893 PyObject
*resultobj
;
9894 otk::Style
*arg1
= (otk::Style
*) 0 ;
9895 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9897 PyObject
* obj1
= 0 ;
9899 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_h_focus_set",&obj0
,&obj1
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9902 if (arg1
) (arg1
)->h_focus
= *arg2
;
9904 Py_INCREF(Py_None
); resultobj
= Py_None
;
9911 static PyObject
*_wrap_Style_h_focus_get(PyObject
*self
, PyObject
*args
) {
9912 PyObject
*resultobj
;
9913 otk::Style
*arg1
= (otk::Style
*) 0 ;
9914 otk::BTexture
*result
;
9915 PyObject
* obj0
= 0 ;
9917 if(!PyArg_ParseTuple(args
,(char *)"O:Style_h_focus_get",&obj0
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9919 result
= (otk::BTexture
*)& ((arg1
)->h_focus
);
9921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9928 static PyObject
*_wrap_Style_h_unfocus_set(PyObject
*self
, PyObject
*args
) {
9929 PyObject
*resultobj
;
9930 otk::Style
*arg1
= (otk::Style
*) 0 ;
9931 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9933 PyObject
* obj1
= 0 ;
9935 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_h_unfocus_set",&obj0
,&obj1
)) goto fail
;
9936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9938 if (arg1
) (arg1
)->h_unfocus
= *arg2
;
9940 Py_INCREF(Py_None
); resultobj
= Py_None
;
9947 static PyObject
*_wrap_Style_h_unfocus_get(PyObject
*self
, PyObject
*args
) {
9948 PyObject
*resultobj
;
9949 otk::Style
*arg1
= (otk::Style
*) 0 ;
9950 otk::BTexture
*result
;
9951 PyObject
* obj0
= 0 ;
9953 if(!PyArg_ParseTuple(args
,(char *)"O:Style_h_unfocus_get",&obj0
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9955 result
= (otk::BTexture
*)& ((arg1
)->h_unfocus
);
9957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
9964 static PyObject
*_wrap_Style_b_focus_set(PyObject
*self
, PyObject
*args
) {
9965 PyObject
*resultobj
;
9966 otk::Style
*arg1
= (otk::Style
*) 0 ;
9967 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
9968 PyObject
* obj0
= 0 ;
9969 PyObject
* obj1
= 0 ;
9971 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_focus_set",&obj0
,&obj1
)) goto fail
;
9972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9974 if (arg1
) (arg1
)->b_focus
= *arg2
;
9976 Py_INCREF(Py_None
); resultobj
= Py_None
;
9983 static PyObject
*_wrap_Style_b_focus_get(PyObject
*self
, PyObject
*args
) {
9984 PyObject
*resultobj
;
9985 otk::Style
*arg1
= (otk::Style
*) 0 ;
9986 otk::BTexture
*result
;
9987 PyObject
* obj0
= 0 ;
9989 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_focus_get",&obj0
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9991 result
= (otk::BTexture
*)& ((arg1
)->b_focus
);
9993 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10000 static PyObject
*_wrap_Style_b_unfocus_set(PyObject
*self
, PyObject
*args
) {
10001 PyObject
*resultobj
;
10002 otk::Style
*arg1
= (otk::Style
*) 0 ;
10003 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10004 PyObject
* obj0
= 0 ;
10005 PyObject
* obj1
= 0 ;
10007 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_unfocus_set",&obj0
,&obj1
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10009 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10010 if (arg1
) (arg1
)->b_unfocus
= *arg2
;
10012 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_Style_b_unfocus_get(PyObject
*self
, PyObject
*args
) {
10020 PyObject
*resultobj
;
10021 otk::Style
*arg1
= (otk::Style
*) 0 ;
10022 otk::BTexture
*result
;
10023 PyObject
* obj0
= 0 ;
10025 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_unfocus_get",&obj0
)) goto fail
;
10026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10027 result
= (otk::BTexture
*)& ((arg1
)->b_unfocus
);
10029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10036 static PyObject
*_wrap_Style_b_pressed_focus_set(PyObject
*self
, PyObject
*args
) {
10037 PyObject
*resultobj
;
10038 otk::Style
*arg1
= (otk::Style
*) 0 ;
10039 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10043 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_pressed_focus_set",&obj0
,&obj1
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10045 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10046 if (arg1
) (arg1
)->b_pressed_focus
= *arg2
;
10048 Py_INCREF(Py_None
); resultobj
= Py_None
;
10055 static PyObject
*_wrap_Style_b_pressed_focus_get(PyObject
*self
, PyObject
*args
) {
10056 PyObject
*resultobj
;
10057 otk::Style
*arg1
= (otk::Style
*) 0 ;
10058 otk::BTexture
*result
;
10059 PyObject
* obj0
= 0 ;
10061 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_pressed_focus_get",&obj0
)) goto fail
;
10062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10063 result
= (otk::BTexture
*)& ((arg1
)->b_pressed_focus
);
10065 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10072 static PyObject
*_wrap_Style_b_pressed_unfocus_set(PyObject
*self
, PyObject
*args
) {
10073 PyObject
*resultobj
;
10074 otk::Style
*arg1
= (otk::Style
*) 0 ;
10075 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10076 PyObject
* obj0
= 0 ;
10077 PyObject
* obj1
= 0 ;
10079 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_b_pressed_unfocus_set",&obj0
,&obj1
)) goto fail
;
10080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10081 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10082 if (arg1
) (arg1
)->b_pressed_unfocus
= *arg2
;
10084 Py_INCREF(Py_None
); resultobj
= Py_None
;
10091 static PyObject
*_wrap_Style_b_pressed_unfocus_get(PyObject
*self
, PyObject
*args
) {
10092 PyObject
*resultobj
;
10093 otk::Style
*arg1
= (otk::Style
*) 0 ;
10094 otk::BTexture
*result
;
10095 PyObject
* obj0
= 0 ;
10097 if(!PyArg_ParseTuple(args
,(char *)"O:Style_b_pressed_unfocus_get",&obj0
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10099 result
= (otk::BTexture
*)& ((arg1
)->b_pressed_unfocus
);
10101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10108 static PyObject
*_wrap_Style_g_focus_set(PyObject
*self
, PyObject
*args
) {
10109 PyObject
*resultobj
;
10110 otk::Style
*arg1
= (otk::Style
*) 0 ;
10111 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 PyObject
* obj1
= 0 ;
10115 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_g_focus_set",&obj0
,&obj1
)) goto fail
;
10116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10118 if (arg1
) (arg1
)->g_focus
= *arg2
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
*_wrap_Style_g_focus_get(PyObject
*self
, PyObject
*args
) {
10128 PyObject
*resultobj
;
10129 otk::Style
*arg1
= (otk::Style
*) 0 ;
10130 otk::BTexture
*result
;
10131 PyObject
* obj0
= 0 ;
10133 if(!PyArg_ParseTuple(args
,(char *)"O:Style_g_focus_get",&obj0
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10135 result
= (otk::BTexture
*)& ((arg1
)->g_focus
);
10137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10144 static PyObject
*_wrap_Style_g_unfocus_set(PyObject
*self
, PyObject
*args
) {
10145 PyObject
*resultobj
;
10146 otk::Style
*arg1
= (otk::Style
*) 0 ;
10147 otk::BTexture
*arg2
= (otk::BTexture
*) 0 ;
10148 PyObject
* obj0
= 0 ;
10149 PyObject
* obj1
= 0 ;
10151 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_g_unfocus_set",&obj0
,&obj1
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10154 if (arg1
) (arg1
)->g_unfocus
= *arg2
;
10156 Py_INCREF(Py_None
); resultobj
= Py_None
;
10163 static PyObject
*_wrap_Style_g_unfocus_get(PyObject
*self
, PyObject
*args
) {
10164 PyObject
*resultobj
;
10165 otk::Style
*arg1
= (otk::Style
*) 0 ;
10166 otk::BTexture
*result
;
10167 PyObject
* obj0
= 0 ;
10169 if(!PyArg_ParseTuple(args
,(char *)"O:Style_g_unfocus_get",&obj0
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10171 result
= (otk::BTexture
*)& ((arg1
)->g_unfocus
);
10173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
10180 static PyObject
*_wrap_Style_close_button_set(PyObject
*self
, PyObject
*args
) {
10181 PyObject
*resultobj
;
10182 otk::Style
*arg1
= (otk::Style
*) 0 ;
10183 otk::PixmapMask
*arg2
= (otk::PixmapMask
*) 0 ;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10187 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_close_button_set",&obj0
,&obj1
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10189 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10190 if (arg1
) (arg1
)->close_button
= *arg2
;
10192 Py_INCREF(Py_None
); resultobj
= Py_None
;
10199 static PyObject
*_wrap_Style_close_button_get(PyObject
*self
, PyObject
*args
) {
10200 PyObject
*resultobj
;
10201 otk::Style
*arg1
= (otk::Style
*) 0 ;
10202 otk::PixmapMask
*result
;
10203 PyObject
* obj0
= 0 ;
10205 if(!PyArg_ParseTuple(args
,(char *)"O:Style_close_button_get",&obj0
)) goto fail
;
10206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10207 result
= (otk::PixmapMask
*)& ((arg1
)->close_button
);
10209 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
10216 static PyObject
*_wrap_Style_max_button_set(PyObject
*self
, PyObject
*args
) {
10217 PyObject
*resultobj
;
10218 otk::Style
*arg1
= (otk::Style
*) 0 ;
10219 otk::PixmapMask
*arg2
= (otk::PixmapMask
*) 0 ;
10220 PyObject
* obj0
= 0 ;
10221 PyObject
* obj1
= 0 ;
10223 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_max_button_set",&obj0
,&obj1
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10225 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10226 if (arg1
) (arg1
)->max_button
= *arg2
;
10228 Py_INCREF(Py_None
); resultobj
= Py_None
;
10235 static PyObject
*_wrap_Style_max_button_get(PyObject
*self
, PyObject
*args
) {
10236 PyObject
*resultobj
;
10237 otk::Style
*arg1
= (otk::Style
*) 0 ;
10238 otk::PixmapMask
*result
;
10239 PyObject
* obj0
= 0 ;
10241 if(!PyArg_ParseTuple(args
,(char *)"O:Style_max_button_get",&obj0
)) goto fail
;
10242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10243 result
= (otk::PixmapMask
*)& ((arg1
)->max_button
);
10245 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
10252 static PyObject
*_wrap_Style_icon_button_set(PyObject
*self
, PyObject
*args
) {
10253 PyObject
*resultobj
;
10254 otk::Style
*arg1
= (otk::Style
*) 0 ;
10255 otk::PixmapMask
*arg2
= (otk::PixmapMask
*) 0 ;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10259 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_icon_button_set",&obj0
,&obj1
)) goto fail
;
10260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10262 if (arg1
) (arg1
)->icon_button
= *arg2
;
10264 Py_INCREF(Py_None
); resultobj
= Py_None
;
10271 static PyObject
*_wrap_Style_icon_button_get(PyObject
*self
, PyObject
*args
) {
10272 PyObject
*resultobj
;
10273 otk::Style
*arg1
= (otk::Style
*) 0 ;
10274 otk::PixmapMask
*result
;
10275 PyObject
* obj0
= 0 ;
10277 if(!PyArg_ParseTuple(args
,(char *)"O:Style_icon_button_get",&obj0
)) goto fail
;
10278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10279 result
= (otk::PixmapMask
*)& ((arg1
)->icon_button
);
10281 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
10288 static PyObject
*_wrap_Style_stick_button_set(PyObject
*self
, PyObject
*args
) {
10289 PyObject
*resultobj
;
10290 otk::Style
*arg1
= (otk::Style
*) 0 ;
10291 otk::PixmapMask
*arg2
= (otk::PixmapMask
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10295 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_stick_button_set",&obj0
,&obj1
)) goto fail
;
10296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10297 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10298 if (arg1
) (arg1
)->stick_button
= *arg2
;
10300 Py_INCREF(Py_None
); resultobj
= Py_None
;
10307 static PyObject
*_wrap_Style_stick_button_get(PyObject
*self
, PyObject
*args
) {
10308 PyObject
*resultobj
;
10309 otk::Style
*arg1
= (otk::Style
*) 0 ;
10310 otk::PixmapMask
*result
;
10311 PyObject
* obj0
= 0 ;
10313 if(!PyArg_ParseTuple(args
,(char *)"O:Style_stick_button_get",&obj0
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10315 result
= (otk::PixmapMask
*)& ((arg1
)->stick_button
);
10317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__PixmapMask
, 0);
10324 static PyObject
*_wrap_Style_justify_set(PyObject
*self
, PyObject
*args
) {
10325 PyObject
*resultobj
;
10326 otk::Style
*arg1
= (otk::Style
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10330 if(!PyArg_ParseTuple(args
,(char *)"Oi:Style_justify_set",&obj0
,&arg2
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10332 if (arg1
) (arg1
)->justify
= (otk::Style::TextJustify
)arg2
;
10334 Py_INCREF(Py_None
); resultobj
= Py_None
;
10341 static PyObject
*_wrap_Style_justify_get(PyObject
*self
, PyObject
*args
) {
10342 PyObject
*resultobj
;
10343 otk::Style
*arg1
= (otk::Style
*) 0 ;
10345 PyObject
* obj0
= 0 ;
10347 if(!PyArg_ParseTuple(args
,(char *)"O:Style_justify_get",&obj0
)) goto fail
;
10348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10349 result
= (int) ((arg1
)->justify
);
10351 resultobj
= PyInt_FromLong((long)result
);
10358 static PyObject
*_wrap_Style_bullet_type_set(PyObject
*self
, PyObject
*args
) {
10359 PyObject
*resultobj
;
10360 otk::Style
*arg1
= (otk::Style
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10364 if(!PyArg_ParseTuple(args
,(char *)"Oi:Style_bullet_type_set",&obj0
,&arg2
)) goto fail
;
10365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10366 if (arg1
) (arg1
)->bullet_type
= (otk::Style::BulletType
)arg2
;
10368 Py_INCREF(Py_None
); resultobj
= Py_None
;
10375 static PyObject
*_wrap_Style_bullet_type_get(PyObject
*self
, PyObject
*args
) {
10376 PyObject
*resultobj
;
10377 otk::Style
*arg1
= (otk::Style
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10381 if(!PyArg_ParseTuple(args
,(char *)"O:Style_bullet_type_get",&obj0
)) goto fail
;
10382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10383 result
= (int) ((arg1
)->bullet_type
);
10385 resultobj
= PyInt_FromLong((long)result
);
10392 static PyObject
*_wrap_Style_handle_width_set(PyObject
*self
, PyObject
*args
) {
10393 PyObject
*resultobj
;
10394 otk::Style
*arg1
= (otk::Style
*) 0 ;
10395 unsigned int arg2
;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10399 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_handle_width_set",&obj0
,&obj1
)) goto fail
;
10400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10401 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10403 if (arg1
) (arg1
)->handle_width
= arg2
;
10405 Py_INCREF(Py_None
); resultobj
= Py_None
;
10412 static PyObject
*_wrap_Style_handle_width_get(PyObject
*self
, PyObject
*args
) {
10413 PyObject
*resultobj
;
10414 otk::Style
*arg1
= (otk::Style
*) 0 ;
10415 unsigned int result
;
10416 PyObject
* obj0
= 0 ;
10418 if(!PyArg_ParseTuple(args
,(char *)"O:Style_handle_width_get",&obj0
)) goto fail
;
10419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10420 result
= (unsigned int) ((arg1
)->handle_width
);
10422 resultobj
= PyInt_FromLong((long)result
);
10429 static PyObject
*_wrap_Style_bevel_width_set(PyObject
*self
, PyObject
*args
) {
10430 PyObject
*resultobj
;
10431 otk::Style
*arg1
= (otk::Style
*) 0 ;
10432 unsigned int arg2
;
10433 PyObject
* obj0
= 0 ;
10434 PyObject
* obj1
= 0 ;
10436 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_bevel_width_set",&obj0
,&obj1
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10438 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10440 if (arg1
) (arg1
)->bevel_width
= arg2
;
10442 Py_INCREF(Py_None
); resultobj
= Py_None
;
10449 static PyObject
*_wrap_Style_bevel_width_get(PyObject
*self
, PyObject
*args
) {
10450 PyObject
*resultobj
;
10451 otk::Style
*arg1
= (otk::Style
*) 0 ;
10452 unsigned int result
;
10453 PyObject
* obj0
= 0 ;
10455 if(!PyArg_ParseTuple(args
,(char *)"O:Style_bevel_width_get",&obj0
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10457 result
= (unsigned int) ((arg1
)->bevel_width
);
10459 resultobj
= PyInt_FromLong((long)result
);
10466 static PyObject
*_wrap_Style_frame_width_set(PyObject
*self
, PyObject
*args
) {
10467 PyObject
*resultobj
;
10468 otk::Style
*arg1
= (otk::Style
*) 0 ;
10469 unsigned int arg2
;
10470 PyObject
* obj0
= 0 ;
10471 PyObject
* obj1
= 0 ;
10473 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_frame_width_set",&obj0
,&obj1
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10475 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10477 if (arg1
) (arg1
)->frame_width
= arg2
;
10479 Py_INCREF(Py_None
); resultobj
= Py_None
;
10486 static PyObject
*_wrap_Style_frame_width_get(PyObject
*self
, PyObject
*args
) {
10487 PyObject
*resultobj
;
10488 otk::Style
*arg1
= (otk::Style
*) 0 ;
10489 unsigned int result
;
10490 PyObject
* obj0
= 0 ;
10492 if(!PyArg_ParseTuple(args
,(char *)"O:Style_frame_width_get",&obj0
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10494 result
= (unsigned int) ((arg1
)->frame_width
);
10496 resultobj
= PyInt_FromLong((long)result
);
10503 static PyObject
*_wrap_Style_border_width_set(PyObject
*self
, PyObject
*args
) {
10504 PyObject
*resultobj
;
10505 otk::Style
*arg1
= (otk::Style
*) 0 ;
10506 unsigned int arg2
;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10510 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_border_width_set",&obj0
,&obj1
)) goto fail
;
10511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10512 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10514 if (arg1
) (arg1
)->border_width
= arg2
;
10516 Py_INCREF(Py_None
); resultobj
= Py_None
;
10523 static PyObject
*_wrap_Style_border_width_get(PyObject
*self
, PyObject
*args
) {
10524 PyObject
*resultobj
;
10525 otk::Style
*arg1
= (otk::Style
*) 0 ;
10526 unsigned int result
;
10527 PyObject
* obj0
= 0 ;
10529 if(!PyArg_ParseTuple(args
,(char *)"O:Style_border_width_get",&obj0
)) goto fail
;
10530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10531 result
= (unsigned int) ((arg1
)->border_width
);
10533 resultobj
= PyInt_FromLong((long)result
);
10540 static PyObject
*_wrap_Style_screen_number_set(PyObject
*self
, PyObject
*args
) {
10541 PyObject
*resultobj
;
10542 otk::Style
*arg1
= (otk::Style
*) 0 ;
10543 unsigned int arg2
;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10547 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_screen_number_set",&obj0
,&obj1
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10549 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10551 if (arg1
) (arg1
)->screen_number
= arg2
;
10553 Py_INCREF(Py_None
); resultobj
= Py_None
;
10560 static PyObject
*_wrap_Style_screen_number_get(PyObject
*self
, PyObject
*args
) {
10561 PyObject
*resultobj
;
10562 otk::Style
*arg1
= (otk::Style
*) 0 ;
10563 unsigned int result
;
10564 PyObject
* obj0
= 0 ;
10566 if(!PyArg_ParseTuple(args
,(char *)"O:Style_screen_number_get",&obj0
)) goto fail
;
10567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10568 result
= (unsigned int) ((arg1
)->screen_number
);
10570 resultobj
= PyInt_FromLong((long)result
);
10577 static PyObject
*_wrap_Style_shadow_fonts_set(PyObject
*self
, PyObject
*args
) {
10578 PyObject
*resultobj
;
10579 otk::Style
*arg1
= (otk::Style
*) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10584 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_shadow_fonts_set",&obj0
,&obj1
)) goto fail
;
10585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10586 arg2
= (bool) PyInt_AsLong(obj1
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10588 if (arg1
) (arg1
)->shadow_fonts
= arg2
;
10590 Py_INCREF(Py_None
); resultobj
= Py_None
;
10597 static PyObject
*_wrap_Style_shadow_fonts_get(PyObject
*self
, PyObject
*args
) {
10598 PyObject
*resultobj
;
10599 otk::Style
*arg1
= (otk::Style
*) 0 ;
10601 PyObject
* obj0
= 0 ;
10603 if(!PyArg_ParseTuple(args
,(char *)"O:Style_shadow_fonts_get",&obj0
)) goto fail
;
10604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10605 result
= (bool) ((arg1
)->shadow_fonts
);
10607 resultobj
= PyInt_FromLong((long)result
);
10614 static PyObject
*_wrap_Style_aa_fonts_set(PyObject
*self
, PyObject
*args
) {
10615 PyObject
*resultobj
;
10616 otk::Style
*arg1
= (otk::Style
*) 0 ;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10621 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_aa_fonts_set",&obj0
,&obj1
)) goto fail
;
10622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10623 arg2
= (bool) PyInt_AsLong(obj1
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10625 if (arg1
) (arg1
)->aa_fonts
= arg2
;
10627 Py_INCREF(Py_None
); resultobj
= Py_None
;
10634 static PyObject
*_wrap_Style_aa_fonts_get(PyObject
*self
, PyObject
*args
) {
10635 PyObject
*resultobj
;
10636 otk::Style
*arg1
= (otk::Style
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10640 if(!PyArg_ParseTuple(args
,(char *)"O:Style_aa_fonts_get",&obj0
)) goto fail
;
10641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10642 result
= (bool) ((arg1
)->aa_fonts
);
10644 resultobj
= PyInt_FromLong((long)result
);
10651 static PyObject
*_wrap_new_Style__SWIG_0(PyObject
*self
, PyObject
*args
) {
10652 PyObject
*resultobj
;
10653 otk::Style
*result
;
10655 if(!PyArg_ParseTuple(args
,(char *)":new_Style")) goto fail
;
10656 result
= (otk::Style
*)new otk::Style();
10658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 1);
10665 static PyObject
*_wrap_new_Style__SWIG_1(PyObject
*self
, PyObject
*args
) {
10666 PyObject
*resultobj
;
10667 otk::BImageControl
*arg1
= (otk::BImageControl
*) 0 ;
10668 otk::Style
*result
;
10669 PyObject
* obj0
= 0 ;
10671 if(!PyArg_ParseTuple(args
,(char *)"O:new_Style",&obj0
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10673 result
= (otk::Style
*)new otk::Style(arg1
);
10675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 1);
10682 static PyObject
*_wrap_new_Style(PyObject
*self
, PyObject
*args
) {
10687 argc
= PyObject_Length(args
);
10688 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
10689 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10692 return _wrap_new_Style__SWIG_0(self
,args
);
10698 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__BImageControl
, 0) == -1) {
10706 return _wrap_new_Style__SWIG_1(self
,args
);
10710 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Style'");
10715 static PyObject
*_wrap_delete_Style(PyObject
*self
, PyObject
*args
) {
10716 PyObject
*resultobj
;
10717 otk::Style
*arg1
= (otk::Style
*) 0 ;
10718 PyObject
* obj0
= 0 ;
10720 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Style",&obj0
)) goto fail
;
10721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10724 Py_INCREF(Py_None
); resultobj
= Py_None
;
10731 static PyObject
*_wrap_Style_readDatabaseMask(PyObject
*self
, PyObject
*args
) {
10732 PyObject
*resultobj
;
10733 otk::Style
*arg1
= (otk::Style
*) 0 ;
10734 std::string
*arg2
= 0 ;
10735 otk::PixmapMask
*arg3
= 0 ;
10736 otk::Configuration
*arg4
= 0 ;
10737 std::string temp2
;
10738 PyObject
* obj0
= 0 ;
10739 PyObject
* obj1
= 0 ;
10740 PyObject
* obj2
= 0 ;
10741 PyObject
* obj3
= 0 ;
10743 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Style_readDatabaseMask",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10746 if (PyString_Check(obj1
)) {
10747 temp2
= std::string(PyString_AsString(obj1
));
10750 SWIG_exception(SWIG_TypeError
, "string expected");
10753 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__PixmapMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10754 if (arg3
== NULL
) {
10755 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10757 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10758 if (arg4
== NULL
) {
10759 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10761 (arg1
)->readDatabaseMask((std::string
const &)*arg2
,*arg3
,(otk::Configuration
const &)*arg4
);
10763 Py_INCREF(Py_None
); resultobj
= Py_None
;
10770 static PyObject
*_wrap_Style_readDatabaseTexture(PyObject
*self
, PyObject
*args
) {
10771 PyObject
*resultobj
;
10772 otk::Style
*arg1
= (otk::Style
*) 0 ;
10773 std::string
*arg2
= 0 ;
10774 std::string
*arg3
= 0 ;
10775 otk::Configuration
*arg4
= 0 ;
10776 bool arg5
= (bool) false ;
10777 otk::BTexture result
;
10778 std::string temp2
;
10779 std::string temp3
;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 PyObject
* obj2
= 0 ;
10783 PyObject
* obj3
= 0 ;
10784 PyObject
* obj4
= 0 ;
10786 if(!PyArg_ParseTuple(args
,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10789 if (PyString_Check(obj1
)) {
10790 temp2
= std::string(PyString_AsString(obj1
));
10793 SWIG_exception(SWIG_TypeError
, "string expected");
10797 if (PyString_Check(obj2
)) {
10798 temp3
= std::string(PyString_AsString(obj2
));
10801 SWIG_exception(SWIG_TypeError
, "string expected");
10804 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10805 if (arg4
== NULL
) {
10806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10809 arg5
= (bool) PyInt_AsLong(obj4
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 result
= (arg1
)->readDatabaseTexture((std::string
const &)*arg2
,(std::string
const &)*arg3
,(otk::Configuration
const &)*arg4
,arg5
);
10815 otk::BTexture
* resultptr
;
10816 resultptr
= new otk::BTexture((otk::BTexture
&) result
);
10817 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__BTexture
, 1);
10825 static PyObject
*_wrap_Style_readDatabaseColor(PyObject
*self
, PyObject
*args
) {
10826 PyObject
*resultobj
;
10827 otk::Style
*arg1
= (otk::Style
*) 0 ;
10828 std::string
*arg2
= 0 ;
10829 std::string
*arg3
= 0 ;
10830 otk::Configuration
*arg4
= 0 ;
10831 otk::BColor result
;
10832 std::string temp2
;
10833 std::string temp3
;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 PyObject
* obj2
= 0 ;
10837 PyObject
* obj3
= 0 ;
10839 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Style_readDatabaseColor",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10842 if (PyString_Check(obj1
)) {
10843 temp2
= std::string(PyString_AsString(obj1
));
10846 SWIG_exception(SWIG_TypeError
, "string expected");
10850 if (PyString_Check(obj2
)) {
10851 temp3
= std::string(PyString_AsString(obj2
));
10854 SWIG_exception(SWIG_TypeError
, "string expected");
10857 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10858 if (arg4
== NULL
) {
10859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10861 result
= (arg1
)->readDatabaseColor((std::string
const &)*arg2
,(std::string
const &)*arg3
,(otk::Configuration
const &)*arg4
);
10864 otk::BColor
* resultptr
;
10865 resultptr
= new otk::BColor((otk::BColor
&) result
);
10866 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__BColor
, 1);
10874 static PyObject
*_wrap_Style_readDatabaseFont(PyObject
*self
, PyObject
*args
) {
10875 PyObject
*resultobj
;
10876 otk::Style
*arg1
= (otk::Style
*) 0 ;
10877 std::string
*arg2
= 0 ;
10878 otk::Configuration
*arg3
= 0 ;
10879 otk::BFont
*result
;
10880 std::string temp2
;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 PyObject
* obj2
= 0 ;
10885 if(!PyArg_ParseTuple(args
,(char *)"OOO:Style_readDatabaseFont",&obj0
,&obj1
,&obj2
)) goto fail
;
10886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10888 if (PyString_Check(obj1
)) {
10889 temp2
= std::string(PyString_AsString(obj1
));
10892 SWIG_exception(SWIG_TypeError
, "string expected");
10895 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10896 if (arg3
== NULL
) {
10897 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10899 result
= (otk::BFont
*)(arg1
)->readDatabaseFont((std::string
const &)*arg2
,(otk::Configuration
const &)*arg3
);
10901 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BFont
, 0);
10908 static PyObject
*_wrap_Style_load(PyObject
*self
, PyObject
*args
) {
10909 PyObject
*resultobj
;
10910 otk::Style
*arg1
= (otk::Style
*) 0 ;
10911 otk::Configuration
*arg2
= 0 ;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10915 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_load",&obj0
,&obj1
)) goto fail
;
10916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10917 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Configuration
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10918 if (arg2
== NULL
) {
10919 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10921 (arg1
)->load((otk::Configuration
const &)*arg2
);
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10930 static PyObject
*_wrap_Style_getTextFocus(PyObject
*self
, PyObject
*args
) {
10931 PyObject
*resultobj
;
10932 otk::Style
*arg1
= (otk::Style
*) 0 ;
10933 otk::BColor
*result
;
10934 PyObject
* obj0
= 0 ;
10936 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getTextFocus",&obj0
)) goto fail
;
10937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10938 result
= (otk::BColor
*)(arg1
)->getTextFocus();
10940 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
10947 static PyObject
*_wrap_Style_getTextUnfocus(PyObject
*self
, PyObject
*args
) {
10948 PyObject
*resultobj
;
10949 otk::Style
*arg1
= (otk::Style
*) 0 ;
10950 otk::BColor
*result
;
10951 PyObject
* obj0
= 0 ;
10953 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getTextUnfocus",&obj0
)) goto fail
;
10954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10955 result
= (otk::BColor
*)(arg1
)->getTextUnfocus();
10957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
10964 static PyObject
*_wrap_Style_getButtonPicFocus(PyObject
*self
, PyObject
*args
) {
10965 PyObject
*resultobj
;
10966 otk::Style
*arg1
= (otk::Style
*) 0 ;
10967 otk::BColor
*result
;
10968 PyObject
* obj0
= 0 ;
10970 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonPicFocus",&obj0
)) goto fail
;
10971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10972 result
= (otk::BColor
*)(arg1
)->getButtonPicFocus();
10974 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
10981 static PyObject
*_wrap_Style_getButtonPicUnfocus(PyObject
*self
, PyObject
*args
) {
10982 PyObject
*resultobj
;
10983 otk::Style
*arg1
= (otk::Style
*) 0 ;
10984 otk::BColor
*result
;
10985 PyObject
* obj0
= 0 ;
10987 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonPicUnfocus",&obj0
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10989 result
= (otk::BColor
*)(arg1
)->getButtonPicUnfocus();
10991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
10998 static PyObject
*_wrap_Style_getTitleFocus(PyObject
*self
, PyObject
*args
) {
10999 PyObject
*resultobj
;
11000 otk::Style
*arg1
= (otk::Style
*) 0 ;
11001 otk::BTexture
*result
;
11002 PyObject
* obj0
= 0 ;
11004 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getTitleFocus",&obj0
)) goto fail
;
11005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11006 result
= (otk::BTexture
*)(arg1
)->getTitleFocus();
11008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11015 static PyObject
*_wrap_Style_getTitleUnfocus(PyObject
*self
, PyObject
*args
) {
11016 PyObject
*resultobj
;
11017 otk::Style
*arg1
= (otk::Style
*) 0 ;
11018 otk::BTexture
*result
;
11019 PyObject
* obj0
= 0 ;
11021 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getTitleUnfocus",&obj0
)) goto fail
;
11022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11023 result
= (otk::BTexture
*)(arg1
)->getTitleUnfocus();
11025 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11032 static PyObject
*_wrap_Style_getLabelFocus(PyObject
*self
, PyObject
*args
) {
11033 PyObject
*resultobj
;
11034 otk::Style
*arg1
= (otk::Style
*) 0 ;
11035 otk::BTexture
*result
;
11036 PyObject
* obj0
= 0 ;
11038 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getLabelFocus",&obj0
)) goto fail
;
11039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11040 result
= (otk::BTexture
*)(arg1
)->getLabelFocus();
11042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11049 static PyObject
*_wrap_Style_getLabelUnfocus(PyObject
*self
, PyObject
*args
) {
11050 PyObject
*resultobj
;
11051 otk::Style
*arg1
= (otk::Style
*) 0 ;
11052 otk::BTexture
*result
;
11053 PyObject
* obj0
= 0 ;
11055 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getLabelUnfocus",&obj0
)) goto fail
;
11056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11057 result
= (otk::BTexture
*)(arg1
)->getLabelUnfocus();
11059 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11066 static PyObject
*_wrap_Style_getHandleFocus(PyObject
*self
, PyObject
*args
) {
11067 PyObject
*resultobj
;
11068 otk::Style
*arg1
= (otk::Style
*) 0 ;
11069 otk::BTexture
*result
;
11070 PyObject
* obj0
= 0 ;
11072 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getHandleFocus",&obj0
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11074 result
= (otk::BTexture
*)(arg1
)->getHandleFocus();
11076 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11083 static PyObject
*_wrap_Style_getHandleUnfocus(PyObject
*self
, PyObject
*args
) {
11084 PyObject
*resultobj
;
11085 otk::Style
*arg1
= (otk::Style
*) 0 ;
11086 otk::BTexture
*result
;
11087 PyObject
* obj0
= 0 ;
11089 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getHandleUnfocus",&obj0
)) goto fail
;
11090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11091 result
= (otk::BTexture
*)(arg1
)->getHandleUnfocus();
11093 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11100 static PyObject
*_wrap_Style_getButtonFocus(PyObject
*self
, PyObject
*args
) {
11101 PyObject
*resultobj
;
11102 otk::Style
*arg1
= (otk::Style
*) 0 ;
11103 otk::BTexture
*result
;
11104 PyObject
* obj0
= 0 ;
11106 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonFocus",&obj0
)) goto fail
;
11107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11108 result
= (otk::BTexture
*)(arg1
)->getButtonFocus();
11110 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11117 static PyObject
*_wrap_Style_getButtonUnfocus(PyObject
*self
, PyObject
*args
) {
11118 PyObject
*resultobj
;
11119 otk::Style
*arg1
= (otk::Style
*) 0 ;
11120 otk::BTexture
*result
;
11121 PyObject
* obj0
= 0 ;
11123 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonUnfocus",&obj0
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11125 result
= (otk::BTexture
*)(arg1
)->getButtonUnfocus();
11127 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11134 static PyObject
*_wrap_Style_getButtonPressedFocus(PyObject
*self
, PyObject
*args
) {
11135 PyObject
*resultobj
;
11136 otk::Style
*arg1
= (otk::Style
*) 0 ;
11137 otk::BTexture
*result
;
11138 PyObject
* obj0
= 0 ;
11140 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonPressedFocus",&obj0
)) goto fail
;
11141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11142 result
= (otk::BTexture
*)(arg1
)->getButtonPressedFocus();
11144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11151 static PyObject
*_wrap_Style_getButtonPressedUnfocus(PyObject
*self
, PyObject
*args
) {
11152 PyObject
*resultobj
;
11153 otk::Style
*arg1
= (otk::Style
*) 0 ;
11154 otk::BTexture
*result
;
11155 PyObject
* obj0
= 0 ;
11157 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getButtonPressedUnfocus",&obj0
)) goto fail
;
11158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11159 result
= (otk::BTexture
*)(arg1
)->getButtonPressedUnfocus();
11161 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11168 static PyObject
*_wrap_Style_getGripFocus(PyObject
*self
, PyObject
*args
) {
11169 PyObject
*resultobj
;
11170 otk::Style
*arg1
= (otk::Style
*) 0 ;
11171 otk::BTexture
*result
;
11172 PyObject
* obj0
= 0 ;
11174 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getGripFocus",&obj0
)) goto fail
;
11175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11176 result
= (otk::BTexture
*)(arg1
)->getGripFocus();
11178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11185 static PyObject
*_wrap_Style_getGripUnfocus(PyObject
*self
, PyObject
*args
) {
11186 PyObject
*resultobj
;
11187 otk::Style
*arg1
= (otk::Style
*) 0 ;
11188 otk::BTexture
*result
;
11189 PyObject
* obj0
= 0 ;
11191 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getGripUnfocus",&obj0
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11193 result
= (otk::BTexture
*)(arg1
)->getGripUnfocus();
11195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11202 static PyObject
*_wrap_Style_getHandleWidth(PyObject
*self
, PyObject
*args
) {
11203 PyObject
*resultobj
;
11204 otk::Style
*arg1
= (otk::Style
*) 0 ;
11205 unsigned int result
;
11206 PyObject
* obj0
= 0 ;
11208 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getHandleWidth",&obj0
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11210 result
= (unsigned int)((otk::Style
const *)arg1
)->getHandleWidth();
11212 resultobj
= PyInt_FromLong((long)result
);
11219 static PyObject
*_wrap_Style_getBevelWidth(PyObject
*self
, PyObject
*args
) {
11220 PyObject
*resultobj
;
11221 otk::Style
*arg1
= (otk::Style
*) 0 ;
11222 unsigned int result
;
11223 PyObject
* obj0
= 0 ;
11225 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getBevelWidth",&obj0
)) goto fail
;
11226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11227 result
= (unsigned int)((otk::Style
const *)arg1
)->getBevelWidth();
11229 resultobj
= PyInt_FromLong((long)result
);
11236 static PyObject
*_wrap_Style_getFrameWidth(PyObject
*self
, PyObject
*args
) {
11237 PyObject
*resultobj
;
11238 otk::Style
*arg1
= (otk::Style
*) 0 ;
11239 unsigned int result
;
11240 PyObject
* obj0
= 0 ;
11242 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getFrameWidth",&obj0
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11244 result
= (unsigned int)((otk::Style
const *)arg1
)->getFrameWidth();
11246 resultobj
= PyInt_FromLong((long)result
);
11253 static PyObject
*_wrap_Style_getBorderWidth(PyObject
*self
, PyObject
*args
) {
11254 PyObject
*resultobj
;
11255 otk::Style
*arg1
= (otk::Style
*) 0 ;
11256 unsigned int result
;
11257 PyObject
* obj0
= 0 ;
11259 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getBorderWidth",&obj0
)) goto fail
;
11260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11261 result
= (unsigned int)((otk::Style
const *)arg1
)->getBorderWidth();
11263 resultobj
= PyInt_FromLong((long)result
);
11270 static PyObject
*_wrap_Style_getFont(PyObject
*self
, PyObject
*args
) {
11271 PyObject
*resultobj
;
11272 otk::Style
*arg1
= (otk::Style
*) 0 ;
11273 otk::BFont
*result
;
11274 PyObject
* obj0
= 0 ;
11276 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getFont",&obj0
)) goto fail
;
11277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11278 result
= (otk::BFont
*)((otk::Style
const *)arg1
)->getFont();
11280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BFont
, 0);
11287 static PyObject
*_wrap_Style_setShadowFonts(PyObject
*self
, PyObject
*args
) {
11288 PyObject
*resultobj
;
11289 otk::Style
*arg1
= (otk::Style
*) 0 ;
11291 PyObject
* obj0
= 0 ;
11292 PyObject
* obj1
= 0 ;
11294 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_setShadowFonts",&obj0
,&obj1
)) goto fail
;
11295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11296 arg2
= (bool) PyInt_AsLong(obj1
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11298 (arg1
)->setShadowFonts(arg2
);
11300 Py_INCREF(Py_None
); resultobj
= Py_None
;
11307 static PyObject
*_wrap_Style_hasShadowFonts(PyObject
*self
, PyObject
*args
) {
11308 PyObject
*resultobj
;
11309 otk::Style
*arg1
= (otk::Style
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11313 if(!PyArg_ParseTuple(args
,(char *)"O:Style_hasShadowFonts",&obj0
)) goto fail
;
11314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11315 result
= (bool)((otk::Style
const *)arg1
)->hasShadowFonts();
11317 resultobj
= PyInt_FromLong((long)result
);
11324 static PyObject
*_wrap_Style_setAAFonts(PyObject
*self
, PyObject
*args
) {
11325 PyObject
*resultobj
;
11326 otk::Style
*arg1
= (otk::Style
*) 0 ;
11328 PyObject
* obj0
= 0 ;
11329 PyObject
* obj1
= 0 ;
11331 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_setAAFonts",&obj0
,&obj1
)) goto fail
;
11332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11333 arg2
= (bool) PyInt_AsLong(obj1
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11335 (arg1
)->setAAFonts(arg2
);
11337 Py_INCREF(Py_None
); resultobj
= Py_None
;
11344 static PyObject
*_wrap_Style_hasAAFonts(PyObject
*self
, PyObject
*args
) {
11345 PyObject
*resultobj
;
11346 otk::Style
*arg1
= (otk::Style
*) 0 ;
11348 PyObject
* obj0
= 0 ;
11350 if(!PyArg_ParseTuple(args
,(char *)"O:Style_hasAAFonts",&obj0
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11352 result
= (bool)((otk::Style
const *)arg1
)->hasAAFonts();
11354 resultobj
= PyInt_FromLong((long)result
);
11361 static PyObject
*_wrap_Style_textJustify(PyObject
*self
, PyObject
*args
) {
11362 PyObject
*resultobj
;
11363 otk::Style
*arg1
= (otk::Style
*) 0 ;
11365 PyObject
* obj0
= 0 ;
11367 if(!PyArg_ParseTuple(args
,(char *)"O:Style_textJustify",&obj0
)) goto fail
;
11368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11369 result
= (int)(arg1
)->textJustify();
11371 resultobj
= PyInt_FromLong((long)result
);
11378 static PyObject
*_wrap_Style_bulletType(PyObject
*self
, PyObject
*args
) {
11379 PyObject
*resultobj
;
11380 otk::Style
*arg1
= (otk::Style
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11384 if(!PyArg_ParseTuple(args
,(char *)"O:Style_bulletType",&obj0
)) goto fail
;
11385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11386 result
= (int)(arg1
)->bulletType();
11388 resultobj
= PyInt_FromLong((long)result
);
11395 static PyObject
*_wrap_Style_getBorderColor(PyObject
*self
, PyObject
*args
) {
11396 PyObject
*resultobj
;
11397 otk::Style
*arg1
= (otk::Style
*) 0 ;
11398 otk::BColor
*result
;
11399 PyObject
* obj0
= 0 ;
11401 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getBorderColor",&obj0
)) goto fail
;
11402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11403 result
= (otk::BColor
*)((otk::Style
const *)arg1
)->getBorderColor();
11405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11412 static PyObject
*_wrap_Style_getFrameFocus(PyObject
*self
, PyObject
*args
) {
11413 PyObject
*resultobj
;
11414 otk::Style
*arg1
= (otk::Style
*) 0 ;
11415 otk::BTexture
*result
;
11416 PyObject
* obj0
= 0 ;
11418 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getFrameFocus",&obj0
)) goto fail
;
11419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11420 result
= (otk::BTexture
*)((otk::Style
const *)arg1
)->getFrameFocus();
11422 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11429 static PyObject
*_wrap_Style_getFrameUnfocus(PyObject
*self
, PyObject
*args
) {
11430 PyObject
*resultobj
;
11431 otk::Style
*arg1
= (otk::Style
*) 0 ;
11432 otk::BTexture
*result
;
11433 PyObject
* obj0
= 0 ;
11435 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getFrameUnfocus",&obj0
)) goto fail
;
11436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11437 result
= (otk::BTexture
*)((otk::Style
const *)arg1
)->getFrameUnfocus();
11439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 0);
11446 static PyObject
*_wrap_Style_setImageControl(PyObject
*self
, PyObject
*args
) {
11447 PyObject
*resultobj
;
11448 otk::Style
*arg1
= (otk::Style
*) 0 ;
11449 otk::BImageControl
*arg2
= (otk::BImageControl
*) 0 ;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11453 if(!PyArg_ParseTuple(args
,(char *)"OO:Style_setImageControl",&obj0
,&obj1
)) goto fail
;
11454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11456 (arg1
)->setImageControl(arg2
);
11458 Py_INCREF(Py_None
); resultobj
= Py_None
;
11465 static PyObject
*_wrap_Style_getScreen(PyObject
*self
, PyObject
*args
) {
11466 PyObject
*resultobj
;
11467 otk::Style
*arg1
= (otk::Style
*) 0 ;
11468 unsigned int result
;
11469 PyObject
* obj0
= 0 ;
11471 if(!PyArg_ParseTuple(args
,(char *)"O:Style_getScreen",&obj0
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11473 result
= (unsigned int)(arg1
)->getScreen();
11475 resultobj
= PyInt_FromLong((long)result
);
11482 static PyObject
* Style_swigregister(PyObject
*self
, PyObject
*args
) {
11484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11485 SWIG_TypeClientData(SWIGTYPE_p_otk__Style
, obj
);
11487 return Py_BuildValue((char *)"");
11489 static PyObject
*_wrap_new_BTexture__SWIG_0(PyObject
*self
, PyObject
*args
) {
11490 PyObject
*resultobj
;
11491 unsigned int arg1
= (unsigned int) ~(0u) ;
11492 otk::BImageControl
*arg2
= (otk::BImageControl
*) 0 ;
11493 otk::BTexture
*result
;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11497 if(!PyArg_ParseTuple(args
,(char *)"|OO:new_BTexture",&obj0
,&obj1
)) goto fail
;
11499 arg1
= (unsigned int) PyInt_AsLong(obj0
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11505 result
= (otk::BTexture
*)new otk::BTexture(arg1
,arg2
);
11507 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 1);
11514 static PyObject
*_wrap_new_BTexture__SWIG_1(PyObject
*self
, PyObject
*args
) {
11515 PyObject
*resultobj
;
11516 std::string
*arg1
= 0 ;
11517 unsigned int arg2
= (unsigned int) ~(0u) ;
11518 otk::BImageControl
*arg3
= (otk::BImageControl
*) 0 ;
11519 otk::BTexture
*result
;
11520 std::string temp1
;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11523 PyObject
* obj2
= 0 ;
11525 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BTexture",&obj0
,&obj1
,&obj2
)) goto fail
;
11527 if (PyString_Check(obj0
)) {
11528 temp1
= std::string(PyString_AsString(obj0
));
11531 SWIG_exception(SWIG_TypeError
, "string expected");
11535 arg2
= (unsigned int) PyInt_AsLong(obj1
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11539 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11541 result
= (otk::BTexture
*)new otk::BTexture((std::string
const &)*arg1
,arg2
,arg3
);
11543 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BTexture
, 1);
11550 static PyObject
*_wrap_new_BTexture(PyObject
*self
, PyObject
*args
) {
11555 argc
= PyObject_Length(args
);
11556 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11557 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11559 if ((argc
>= 0) && (argc
<= 2)) {
11562 return _wrap_new_BTexture__SWIG_0(self
,args
);
11565 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
11569 return _wrap_new_BTexture__SWIG_0(self
,args
);
11573 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__BImageControl
, 0) == -1) {
11581 return _wrap_new_BTexture__SWIG_0(self
,args
);
11585 if ((argc
>= 1) && (argc
<= 3)) {
11588 _v
= PyString_Check(argv
[0]) ? 1 : 0;
11592 return _wrap_new_BTexture__SWIG_1(self
,args
);
11595 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
11599 return _wrap_new_BTexture__SWIG_1(self
,args
);
11603 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__BImageControl
, 0) == -1) {
11611 return _wrap_new_BTexture__SWIG_1(self
,args
);
11617 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BTexture'");
11622 static PyObject
*_wrap_BTexture_setColor(PyObject
*self
, PyObject
*args
) {
11623 PyObject
*resultobj
;
11624 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11625 otk::BColor
*arg2
= 0 ;
11626 PyObject
* obj0
= 0 ;
11627 PyObject
* obj1
= 0 ;
11629 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setColor",&obj0
,&obj1
)) goto fail
;
11630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11632 if (arg2
== NULL
) {
11633 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11635 (arg1
)->setColor((otk::BColor
const &)*arg2
);
11637 Py_INCREF(Py_None
); resultobj
= Py_None
;
11644 static PyObject
*_wrap_BTexture_setColorTo(PyObject
*self
, PyObject
*args
) {
11645 PyObject
*resultobj
;
11646 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11647 otk::BColor
*arg2
= 0 ;
11648 PyObject
* obj0
= 0 ;
11649 PyObject
* obj1
= 0 ;
11651 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setColorTo",&obj0
,&obj1
)) goto fail
;
11652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11653 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11654 if (arg2
== NULL
) {
11655 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11657 (arg1
)->setColorTo((otk::BColor
const &)*arg2
);
11659 Py_INCREF(Py_None
); resultobj
= Py_None
;
11666 static PyObject
*_wrap_BTexture_setBorderColor(PyObject
*self
, PyObject
*args
) {
11667 PyObject
*resultobj
;
11668 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11669 otk::BColor
*arg2
= 0 ;
11670 PyObject
* obj0
= 0 ;
11671 PyObject
* obj1
= 0 ;
11673 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setBorderColor",&obj0
,&obj1
)) goto fail
;
11674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BColor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11676 if (arg2
== NULL
) {
11677 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11679 (arg1
)->setBorderColor((otk::BColor
const &)*arg2
);
11681 Py_INCREF(Py_None
); resultobj
= Py_None
;
11688 static PyObject
*_wrap_BTexture_color(PyObject
*self
, PyObject
*args
) {
11689 PyObject
*resultobj
;
11690 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11691 otk::BColor
*result
;
11692 PyObject
* obj0
= 0 ;
11694 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_color",&obj0
)) goto fail
;
11695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11697 otk::BColor
const &_result_ref
= ((otk::BTexture
const *)arg1
)->color();
11698 result
= (otk::BColor
*) &_result_ref
;
11701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11708 static PyObject
*_wrap_BTexture_colorTo(PyObject
*self
, PyObject
*args
) {
11709 PyObject
*resultobj
;
11710 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11711 otk::BColor
*result
;
11712 PyObject
* obj0
= 0 ;
11714 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_colorTo",&obj0
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11717 otk::BColor
const &_result_ref
= ((otk::BTexture
const *)arg1
)->colorTo();
11718 result
= (otk::BColor
*) &_result_ref
;
11721 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11728 static PyObject
*_wrap_BTexture_lightColor(PyObject
*self
, PyObject
*args
) {
11729 PyObject
*resultobj
;
11730 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11731 otk::BColor
*result
;
11732 PyObject
* obj0
= 0 ;
11734 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_lightColor",&obj0
)) goto fail
;
11735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11737 otk::BColor
const &_result_ref
= ((otk::BTexture
const *)arg1
)->lightColor();
11738 result
= (otk::BColor
*) &_result_ref
;
11741 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11748 static PyObject
*_wrap_BTexture_shadowColor(PyObject
*self
, PyObject
*args
) {
11749 PyObject
*resultobj
;
11750 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11751 otk::BColor
*result
;
11752 PyObject
* obj0
= 0 ;
11754 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_shadowColor",&obj0
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11757 otk::BColor
const &_result_ref
= ((otk::BTexture
const *)arg1
)->shadowColor();
11758 result
= (otk::BColor
*) &_result_ref
;
11761 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11768 static PyObject
*_wrap_BTexture_borderColor(PyObject
*self
, PyObject
*args
) {
11769 PyObject
*resultobj
;
11770 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11771 otk::BColor
*result
;
11772 PyObject
* obj0
= 0 ;
11774 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_borderColor",&obj0
)) goto fail
;
11775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11777 otk::BColor
const &_result_ref
= ((otk::BTexture
const *)arg1
)->borderColor();
11778 result
= (otk::BColor
*) &_result_ref
;
11781 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BColor
, 0);
11788 static PyObject
*_wrap_BTexture_texture(PyObject
*self
, PyObject
*args
) {
11789 PyObject
*resultobj
;
11790 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11791 unsigned long result
;
11792 PyObject
* obj0
= 0 ;
11794 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_texture",&obj0
)) goto fail
;
11795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11796 result
= (unsigned long)((otk::BTexture
const *)arg1
)->texture();
11798 resultobj
= PyInt_FromLong((long)result
);
11805 static PyObject
*_wrap_BTexture_setTexture(PyObject
*self
, PyObject
*args
) {
11806 PyObject
*resultobj
;
11807 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11808 unsigned long arg2
;
11809 PyObject
* obj0
= 0 ;
11810 PyObject
* obj1
= 0 ;
11812 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setTexture",&obj0
,&obj1
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11814 arg2
= (unsigned long) PyInt_AsLong(obj1
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11816 (arg1
)->setTexture(arg2
);
11818 Py_INCREF(Py_None
); resultobj
= Py_None
;
11825 static PyObject
*_wrap_BTexture_addTexture(PyObject
*self
, PyObject
*args
) {
11826 PyObject
*resultobj
;
11827 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11828 unsigned long arg2
;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11832 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_addTexture",&obj0
,&obj1
)) goto fail
;
11833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11834 arg2
= (unsigned long) PyInt_AsLong(obj1
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11836 (arg1
)->addTexture(arg2
);
11838 Py_INCREF(Py_None
); resultobj
= Py_None
;
11845 static PyObject
*_wrap_BTexture_equals(PyObject
*self
, PyObject
*args
) {
11846 PyObject
*resultobj
;
11847 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11848 otk::BTexture
*arg2
= 0 ;
11850 PyObject
* obj0
= 0 ;
11851 PyObject
* obj1
= 0 ;
11853 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_equals",&obj0
,&obj1
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11855 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11856 if (arg2
== NULL
) {
11857 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11859 result
= (bool)(arg1
)->operator ==((otk::BTexture
const &)*arg2
);
11861 resultobj
= PyInt_FromLong((long)result
);
11868 static PyObject
*_wrap_BTexture_screen(PyObject
*self
, PyObject
*args
) {
11869 PyObject
*resultobj
;
11870 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11871 unsigned int result
;
11872 PyObject
* obj0
= 0 ;
11874 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_screen",&obj0
)) goto fail
;
11875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11876 result
= (unsigned int)((otk::BTexture
const *)arg1
)->screen();
11878 resultobj
= PyInt_FromLong((long)result
);
11885 static PyObject
*_wrap_BTexture_setScreen(PyObject
*self
, PyObject
*args
) {
11886 PyObject
*resultobj
;
11887 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11888 unsigned int arg2
;
11889 PyObject
* obj0
= 0 ;
11890 PyObject
* obj1
= 0 ;
11892 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setScreen",&obj0
,&obj1
)) goto fail
;
11893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11894 arg2
= (unsigned int) PyInt_AsLong(obj1
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11896 (arg1
)->setScreen(arg2
);
11898 Py_INCREF(Py_None
); resultobj
= Py_None
;
11905 static PyObject
*_wrap_BTexture_setImageControl(PyObject
*self
, PyObject
*args
) {
11906 PyObject
*resultobj
;
11907 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11908 otk::BImageControl
*arg2
= (otk::BImageControl
*) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11912 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setImageControl",&obj0
,&obj1
)) goto fail
;
11913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__BImageControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11915 (arg1
)->setImageControl(arg2
);
11917 Py_INCREF(Py_None
); resultobj
= Py_None
;
11924 static PyObject
*_wrap_BTexture_description(PyObject
*self
, PyObject
*args
) {
11925 PyObject
*resultobj
;
11926 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11927 std::string
*result
;
11928 PyObject
* obj0
= 0 ;
11930 if(!PyArg_ParseTuple(args
,(char *)"O:BTexture_description",&obj0
)) goto fail
;
11931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11933 std::string
const &_result_ref
= ((otk::BTexture
const *)arg1
)->description();
11934 result
= (std::string
*) &_result_ref
;
11938 resultobj
= PyString_FromString(result
->c_str());
11946 static PyObject
*_wrap_BTexture_setDescription(PyObject
*self
, PyObject
*args
) {
11947 PyObject
*resultobj
;
11948 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11949 std::string
*arg2
= 0 ;
11950 std::string temp2
;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11954 if(!PyArg_ParseTuple(args
,(char *)"OO:BTexture_setDescription",&obj0
,&obj1
)) goto fail
;
11955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11957 if (PyString_Check(obj1
)) {
11958 temp2
= std::string(PyString_AsString(obj1
));
11961 SWIG_exception(SWIG_TypeError
, "string expected");
11964 (arg1
)->setDescription((std::string
const &)*arg2
);
11966 Py_INCREF(Py_None
); resultobj
= Py_None
;
11973 static PyObject
*_wrap_BTexture_render(PyObject
*self
, PyObject
*args
) {
11974 PyObject
*resultobj
;
11975 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
11976 unsigned int arg2
;
11977 unsigned int arg3
;
11978 Pixmap arg4
= (Pixmap
) (Pixmap
)0 ;
11981 PyObject
* obj0
= 0 ;
11982 PyObject
* obj1
= 0 ;
11983 PyObject
* obj2
= 0 ;
11984 PyObject
* obj3
= 0 ;
11986 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:BTexture_render",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11988 arg2
= (unsigned int) PyInt_AsLong(obj1
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11990 arg3
= (unsigned int) PyInt_AsLong(obj2
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 if ((SWIG_ConvertPtr(obj3
,(void **) &argp4
, SWIGTYPE_p_Pixmap
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
11996 result
= (arg1
)->render(arg2
,arg3
,arg4
);
11999 Pixmap
* resultptr
;
12000 resultptr
= new Pixmap((Pixmap
&) result
);
12001 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_Pixmap
, 1);
12009 static PyObject
*_wrap_delete_BTexture(PyObject
*self
, PyObject
*args
) {
12010 PyObject
*resultobj
;
12011 otk::BTexture
*arg1
= (otk::BTexture
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12014 if(!PyArg_ParseTuple(args
,(char *)"O:delete_BTexture",&obj0
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__BTexture
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12018 Py_INCREF(Py_None
); resultobj
= Py_None
;
12025 static PyObject
* BTexture_swigregister(PyObject
*self
, PyObject
*args
) {
12027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12028 SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture
, obj
);
12030 return Py_BuildValue((char *)"");
12032 static PyObject
*_wrap_new_OBTimer(PyObject
*self
, PyObject
*args
) {
12033 PyObject
*resultobj
;
12034 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
12035 otk::OBTimeoutHandler arg2
= (otk::OBTimeoutHandler
) 0 ;
12036 otk::OBTimeoutData arg3
= (otk::OBTimeoutData
) 0 ;
12037 otk::OBTimer
*result
;
12038 PyObject
* obj0
= 0 ;
12039 PyObject
* obj1
= 0 ;
12040 PyObject
* obj2
= 0 ;
12042 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_OBTimer",&obj0
,&obj1
,&obj2
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_otk__OBTimeoutHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12045 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12046 result
= (otk::OBTimer
*)new otk::OBTimer(arg1
,arg2
,arg3
);
12048 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OBTimer
, 1);
12055 static PyObject
*_wrap_delete_OBTimer(PyObject
*self
, PyObject
*args
) {
12056 PyObject
*resultobj
;
12057 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12060 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OBTimer",&obj0
)) goto fail
;
12061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12064 Py_INCREF(Py_None
); resultobj
= Py_None
;
12071 static PyObject
*_wrap_OBTimer_fire(PyObject
*self
, PyObject
*args
) {
12072 PyObject
*resultobj
;
12073 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12074 PyObject
* obj0
= 0 ;
12076 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_fire",&obj0
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12080 Py_INCREF(Py_None
); resultobj
= Py_None
;
12087 static PyObject
*_wrap_OBTimer_timing(PyObject
*self
, PyObject
*args
) {
12088 PyObject
*resultobj
;
12089 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12091 PyObject
* obj0
= 0 ;
12093 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_timing",&obj0
)) goto fail
;
12094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12095 result
= (bool)((otk::OBTimer
const *)arg1
)->timing();
12097 resultobj
= PyInt_FromLong((long)result
);
12104 static PyObject
*_wrap_OBTimer_recurring(PyObject
*self
, PyObject
*args
) {
12105 PyObject
*resultobj
;
12106 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12108 PyObject
* obj0
= 0 ;
12110 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_recurring",&obj0
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12112 result
= (bool)((otk::OBTimer
const *)arg1
)->recurring();
12114 resultobj
= PyInt_FromLong((long)result
);
12121 static PyObject
*_wrap_OBTimer_timeout(PyObject
*self
, PyObject
*args
) {
12122 PyObject
*resultobj
;
12123 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12127 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_timeout",&obj0
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12130 timeval
const &_result_ref
= ((otk::OBTimer
const *)arg1
)->timeout();
12131 result
= (timeval
*) &_result_ref
;
12134 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_timeval
, 0);
12141 static PyObject
*_wrap_OBTimer_startTime(PyObject
*self
, PyObject
*args
) {
12142 PyObject
*resultobj
;
12143 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12145 PyObject
* obj0
= 0 ;
12147 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_startTime",&obj0
)) goto fail
;
12148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12150 timeval
const &_result_ref
= ((otk::OBTimer
const *)arg1
)->startTime();
12151 result
= (timeval
*) &_result_ref
;
12154 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_timeval
, 0);
12161 static PyObject
*_wrap_OBTimer_remainingTime(PyObject
*self
, PyObject
*args
) {
12162 PyObject
*resultobj
;
12163 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12164 timeval
*arg2
= 0 ;
12166 PyObject
* obj0
= 0 ;
12167 PyObject
* obj1
= 0 ;
12169 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimer_remainingTime",&obj0
,&obj1
)) goto fail
;
12170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_timeval
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12172 if (arg2
== NULL
) {
12173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12175 result
= ((otk::OBTimer
const *)arg1
)->remainingTime((timeval
const &)*arg2
);
12178 timeval
* resultptr
;
12179 resultptr
= new timeval((timeval
&) result
);
12180 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_timeval
, 1);
12188 static PyObject
*_wrap_OBTimer_shouldFire(PyObject
*self
, PyObject
*args
) {
12189 PyObject
*resultobj
;
12190 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12191 timeval
*arg2
= 0 ;
12193 PyObject
* obj0
= 0 ;
12194 PyObject
* obj1
= 0 ;
12196 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimer_shouldFire",&obj0
,&obj1
)) goto fail
;
12197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_timeval
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12199 if (arg2
== NULL
) {
12200 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12202 result
= (bool)((otk::OBTimer
const *)arg1
)->shouldFire((timeval
const &)*arg2
);
12204 resultobj
= PyInt_FromLong((long)result
);
12211 static PyObject
*_wrap_OBTimer_endTime(PyObject
*self
, PyObject
*args
) {
12212 PyObject
*resultobj
;
12213 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12217 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_endTime",&obj0
)) goto fail
;
12218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12219 result
= ((otk::OBTimer
const *)arg1
)->endTime();
12222 timeval
* resultptr
;
12223 resultptr
= new timeval((timeval
&) result
);
12224 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_timeval
, 1);
12232 static PyObject
*_wrap_OBTimer_setRecurring(PyObject
*self
, PyObject
*args
) {
12233 PyObject
*resultobj
;
12234 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12239 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimer_setRecurring",&obj0
,&obj1
)) goto fail
;
12240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12241 arg2
= (bool) PyInt_AsLong(obj1
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12243 (arg1
)->setRecurring(arg2
);
12245 Py_INCREF(Py_None
); resultobj
= Py_None
;
12252 static PyObject
*_wrap_OBTimer_setTimeout__SWIG_0(PyObject
*self
, PyObject
*args
) {
12253 PyObject
*resultobj
;
12254 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12256 PyObject
* obj0
= 0 ;
12258 if(!PyArg_ParseTuple(args
,(char *)"Ol:OBTimer_setTimeout",&obj0
,&arg2
)) goto fail
;
12259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12260 (arg1
)->setTimeout(arg2
);
12262 Py_INCREF(Py_None
); resultobj
= Py_None
;
12269 static PyObject
*_wrap_OBTimer_setTimeout__SWIG_1(PyObject
*self
, PyObject
*args
) {
12270 PyObject
*resultobj
;
12271 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12272 timeval
*arg2
= 0 ;
12273 PyObject
* obj0
= 0 ;
12274 PyObject
* obj1
= 0 ;
12276 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimer_setTimeout",&obj0
,&obj1
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_timeval
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12279 if (arg2
== NULL
) {
12280 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12282 (arg1
)->setTimeout((timeval
const &)*arg2
);
12284 Py_INCREF(Py_None
); resultobj
= Py_None
;
12291 static PyObject
*_wrap_OBTimer_setTimeout(PyObject
*self
, PyObject
*args
) {
12296 argc
= PyObject_Length(args
);
12297 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
12298 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12304 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBTimer
, 0) == -1) {
12314 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_timeval
, 0) == -1) {
12322 return _wrap_OBTimer_setTimeout__SWIG_1(self
,args
);
12330 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBTimer
, 0) == -1) {
12339 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
12342 return _wrap_OBTimer_setTimeout__SWIG_0(self
,args
);
12347 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OBTimer_setTimeout'");
12352 static PyObject
*_wrap_OBTimer_start(PyObject
*self
, PyObject
*args
) {
12353 PyObject
*resultobj
;
12354 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12357 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_start",&obj0
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12361 Py_INCREF(Py_None
); resultobj
= Py_None
;
12368 static PyObject
*_wrap_OBTimer_stop(PyObject
*self
, PyObject
*args
) {
12369 PyObject
*resultobj
;
12370 otk::OBTimer
*arg1
= (otk::OBTimer
*) 0 ;
12371 PyObject
* obj0
= 0 ;
12373 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimer_stop",&obj0
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12377 Py_INCREF(Py_None
); resultobj
= Py_None
;
12384 static PyObject
* OBTimer_swigregister(PyObject
*self
, PyObject
*args
) {
12386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12387 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer
, obj
);
12389 return Py_BuildValue((char *)"");
12391 static PyObject
*_wrap_new_OBTimerQueueManager(PyObject
*self
, PyObject
*args
) {
12392 PyObject
*resultobj
;
12393 otk::OBTimerQueueManager
*result
;
12395 if(!PyArg_ParseTuple(args
,(char *)":new_OBTimerQueueManager")) goto fail
;
12396 result
= (otk::OBTimerQueueManager
*)new otk::OBTimerQueueManager();
12398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OBTimerQueueManager
, 1);
12405 static PyObject
*_wrap_delete_OBTimerQueueManager(PyObject
*self
, PyObject
*args
) {
12406 PyObject
*resultobj
;
12407 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12410 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OBTimerQueueManager",&obj0
)) goto fail
;
12411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12414 Py_INCREF(Py_None
); resultobj
= Py_None
;
12421 static PyObject
*_wrap_OBTimerQueueManager_fire(PyObject
*self
, PyObject
*args
) {
12422 PyObject
*resultobj
;
12423 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12426 if(!PyArg_ParseTuple(args
,(char *)"O:OBTimerQueueManager_fire",&obj0
)) goto fail
;
12427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12430 Py_INCREF(Py_None
); resultobj
= Py_None
;
12437 static PyObject
*_wrap_OBTimerQueueManager_addTimer(PyObject
*self
, PyObject
*args
) {
12438 PyObject
*resultobj
;
12439 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
12440 otk::OBTimer
*arg2
= (otk::OBTimer
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12444 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimerQueueManager_addTimer",&obj0
,&obj1
)) goto fail
;
12445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12447 (arg1
)->addTimer(arg2
);
12449 Py_INCREF(Py_None
); resultobj
= Py_None
;
12456 static PyObject
*_wrap_OBTimerQueueManager_removeTimer(PyObject
*self
, PyObject
*args
) {
12457 PyObject
*resultobj
;
12458 otk::OBTimerQueueManager
*arg1
= (otk::OBTimerQueueManager
*) 0 ;
12459 otk::OBTimer
*arg2
= (otk::OBTimer
*) 0 ;
12460 PyObject
* obj0
= 0 ;
12461 PyObject
* obj1
= 0 ;
12463 if(!PyArg_ParseTuple(args
,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0
,&obj1
)) goto fail
;
12464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBTimerQueueManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12465 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OBTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12466 (arg1
)->removeTimer(arg2
);
12468 Py_INCREF(Py_None
); resultobj
= Py_None
;
12475 static PyObject
* OBTimerQueueManager_swigregister(PyObject
*self
, PyObject
*args
) {
12477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12478 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager
, obj
);
12480 return Py_BuildValue((char *)"");
12482 static int _wrap_BSENTINEL_set(PyObject
*_val
) {
12483 PyErr_SetString(PyExc_TypeError
,"Variable BSENTINEL is read-only.");
12488 static PyObject
*_wrap_BSENTINEL_get() {
12491 pyobj
= PyInt_FromLong((long)otk::BSENTINEL
);
12496 static PyObject
*_wrap_expandTilde(PyObject
*self
, PyObject
*args
) {
12497 PyObject
*resultobj
;
12498 std::string
*arg1
= 0 ;
12499 std::string result
;
12500 std::string temp1
;
12501 PyObject
* obj0
= 0 ;
12503 if(!PyArg_ParseTuple(args
,(char *)"O:expandTilde",&obj0
)) goto fail
;
12505 if (PyString_Check(obj0
)) {
12506 temp1
= std::string(PyString_AsString(obj0
));
12509 SWIG_exception(SWIG_TypeError
, "string expected");
12512 result
= otk::expandTilde((std::string
const &)*arg1
);
12515 resultobj
= PyString_FromString((&result
)->c_str());
12523 static PyObject
*_wrap_bexec(PyObject
*self
, PyObject
*args
) {
12524 PyObject
*resultobj
;
12525 std::string
*arg1
= 0 ;
12526 std::string
*arg2
= 0 ;
12527 std::string temp1
;
12528 std::string temp2
;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12532 if(!PyArg_ParseTuple(args
,(char *)"OO:bexec",&obj0
,&obj1
)) goto fail
;
12534 if (PyString_Check(obj0
)) {
12535 temp1
= std::string(PyString_AsString(obj0
));
12538 SWIG_exception(SWIG_TypeError
, "string expected");
12542 if (PyString_Check(obj1
)) {
12543 temp2
= std::string(PyString_AsString(obj1
));
12546 SWIG_exception(SWIG_TypeError
, "string expected");
12549 otk::bexec((std::string
const &)*arg1
,(std::string
const &)*arg2
);
12551 Py_INCREF(Py_None
); resultobj
= Py_None
;
12558 static PyObject
*_wrap_textPropertyToString(PyObject
*self
, PyObject
*args
) {
12559 PyObject
*resultobj
;
12560 Display
*arg1
= (Display
*) 0 ;
12561 XTextProperty
*arg2
= 0 ;
12562 std::string result
;
12563 PyObject
* obj0
= 0 ;
12564 PyObject
* obj1
= 0 ;
12566 if(!PyArg_ParseTuple(args
,(char *)"OO:textPropertyToString",&obj0
,&obj1
)) goto fail
;
12567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12568 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XTextProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12569 if (arg2
== NULL
) {
12570 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12572 result
= otk::textPropertyToString(arg1
,*arg2
);
12575 resultobj
= PyString_FromString((&result
)->c_str());
12583 static PyObject
*_wrap_itostring_unsigned_long(PyObject
*self
, PyObject
*args
) {
12584 PyObject
*resultobj
;
12585 unsigned long arg1
;
12586 std::string result
;
12587 PyObject
* obj0
= 0 ;
12589 if(!PyArg_ParseTuple(args
,(char *)"O:itostring_unsigned_long",&obj0
)) goto fail
;
12590 arg1
= (unsigned long) PyInt_AsLong(obj0
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12592 result
= otk::itostring(arg1
);
12595 resultobj
= PyString_FromString((&result
)->c_str());
12603 static PyObject
*_wrap_itostring_long(PyObject
*self
, PyObject
*args
) {
12604 PyObject
*resultobj
;
12606 std::string result
;
12608 if(!PyArg_ParseTuple(args
,(char *)"l:itostring_long",&arg1
)) goto fail
;
12609 result
= otk::itostring(arg1
);
12612 resultobj
= PyString_FromString((&result
)->c_str());
12620 static PyObject
*_wrap_itostring_unsigned(PyObject
*self
, PyObject
*args
) {
12621 PyObject
*resultobj
;
12622 unsigned int arg1
;
12623 std::string result
;
12624 PyObject
* obj0
= 0 ;
12626 if(!PyArg_ParseTuple(args
,(char *)"O:itostring_unsigned",&obj0
)) goto fail
;
12627 arg1
= (unsigned int) PyInt_AsLong(obj0
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12629 result
= otk::itostring(arg1
);
12632 resultobj
= PyString_FromString((&result
)->c_str());
12640 static PyObject
*_wrap_itostring(PyObject
*self
, PyObject
*args
) {
12641 PyObject
*resultobj
;
12643 std::string result
;
12645 if(!PyArg_ParseTuple(args
,(char *)"i:itostring",&arg1
)) goto fail
;
12646 result
= otk::itostring(arg1
);
12649 resultobj
= PyString_FromString((&result
)->c_str());
12657 static PyObject
*_wrap_basename(PyObject
*self
, PyObject
*args
) {
12658 PyObject
*resultobj
;
12659 std::string
*arg1
= 0 ;
12660 std::string result
;
12661 std::string temp1
;
12662 PyObject
* obj0
= 0 ;
12664 if(!PyArg_ParseTuple(args
,(char *)"O:basename",&obj0
)) goto fail
;
12666 if (PyString_Check(obj0
)) {
12667 temp1
= std::string(PyString_AsString(obj0
));
12670 SWIG_exception(SWIG_TypeError
, "string expected");
12673 result
= basename((std::string
const &)*arg1
);
12676 resultobj
= PyString_FromString((&result
)->c_str());
12684 static PyMethodDef SwigMethods
[] = {
12685 { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher
, METH_VARARGS
},
12686 { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher
, METH_VARARGS
},
12687 { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers
, METH_VARARGS
},
12688 { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler
, METH_VARARGS
},
12689 { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler
, METH_VARARGS
},
12690 { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents
, METH_VARARGS
},
12691 { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler
, METH_VARARGS
},
12692 { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler
, METH_VARARGS
},
12693 { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler
, METH_VARARGS
},
12694 { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler
, METH_VARARGS
},
12695 { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler
, METH_VARARGS
},
12696 { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister
, METH_VARARGS
},
12697 { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle
, METH_VARARGS
},
12698 { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler
, METH_VARARGS
},
12699 { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler
, METH_VARARGS
},
12700 { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler
, METH_VARARGS
},
12701 { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler
, METH_VARARGS
},
12702 { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler
, METH_VARARGS
},
12703 { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler
, METH_VARARGS
},
12704 { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler
, METH_VARARGS
},
12705 { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler
, METH_VARARGS
},
12706 { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler
, METH_VARARGS
},
12707 { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler
, METH_VARARGS
},
12708 { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler
, METH_VARARGS
},
12709 { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler
, METH_VARARGS
},
12710 { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler
, METH_VARARGS
},
12711 { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler
, METH_VARARGS
},
12712 { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler
, METH_VARARGS
},
12713 { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler
, METH_VARARGS
},
12714 { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler
, METH_VARARGS
},
12715 { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler
, METH_VARARGS
},
12716 { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler
, METH_VARARGS
},
12717 { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler
, METH_VARARGS
},
12718 { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler
, METH_VARARGS
},
12719 { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler
, METH_VARARGS
},
12720 { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler
, METH_VARARGS
},
12721 { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler
, METH_VARARGS
},
12722 { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler
, METH_VARARGS
},
12723 { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler
, METH_VARARGS
},
12724 { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler
, METH_VARARGS
},
12725 { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler
, METH_VARARGS
},
12726 { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler
, METH_VARARGS
},
12727 { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler
, METH_VARARGS
},
12728 { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler
, METH_VARARGS
},
12729 { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler
, METH_VARARGS
},
12730 { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler
, METH_VARARGS
},
12731 { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister
, METH_VARARGS
},
12732 { (char *)"new_OtkWidget", _wrap_new_OtkWidget
, METH_VARARGS
},
12733 { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget
, METH_VARARGS
},
12734 { (char *)"OtkWidget_update", _wrap_OtkWidget_update
, METH_VARARGS
},
12735 { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler
, METH_VARARGS
},
12736 { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler
, METH_VARARGS
},
12737 { (char *)"OtkWidget_window", _wrap_OtkWidget_window
, METH_VARARGS
},
12738 { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent
, METH_VARARGS
},
12739 { (char *)"OtkWidget_children", _wrap_OtkWidget_children
, METH_VARARGS
},
12740 { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen
, METH_VARARGS
},
12741 { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect
, METH_VARARGS
},
12742 { (char *)"OtkWidget_move", _wrap_OtkWidget_move
, METH_VARARGS
},
12743 { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth
, METH_VARARGS
},
12744 { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight
, METH_VARARGS
},
12745 { (char *)"OtkWidget_width", _wrap_OtkWidget_width
, METH_VARARGS
},
12746 { (char *)"OtkWidget_height", _wrap_OtkWidget_height
, METH_VARARGS
},
12747 { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize
, METH_VARARGS
},
12748 { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry
, METH_VARARGS
},
12749 { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible
, METH_VARARGS
},
12750 { (char *)"OtkWidget_show", _wrap_OtkWidget_show
, METH_VARARGS
},
12751 { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide
, METH_VARARGS
},
12752 { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused
, METH_VARARGS
},
12753 { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus
, METH_VARARGS
},
12754 { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus
, METH_VARARGS
},
12755 { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse
, METH_VARARGS
},
12756 { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse
, METH_VARARGS
},
12757 { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse
, METH_VARARGS
},
12758 { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard
, METH_VARARGS
},
12759 { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard
, METH_VARARGS
},
12760 { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard
, METH_VARARGS
},
12761 { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture
, METH_VARARGS
},
12762 { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture
, METH_VARARGS
},
12763 { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor
, METH_VARARGS
},
12764 { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor
, METH_VARARGS
},
12765 { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth
, METH_VARARGS
},
12766 { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth
, METH_VARARGS
},
12767 { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild
, METH_VARARGS
},
12768 { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild
, METH_VARARGS
},
12769 { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz
, METH_VARARGS
},
12770 { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz
, METH_VARARGS
},
12771 { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert
, METH_VARARGS
},
12772 { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert
, METH_VARARGS
},
12773 { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor
, METH_VARARGS
},
12774 { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor
, METH_VARARGS
},
12775 { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth
, METH_VARARGS
},
12776 { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth
, METH_VARARGS
},
12777 { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction
, METH_VARARGS
},
12778 { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection
, METH_VARARGS
},
12779 { (char *)"OtkWidget_style", _wrap_OtkWidget_style
, METH_VARARGS
},
12780 { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle
, METH_VARARGS
},
12781 { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher
, METH_VARARGS
},
12782 { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher
, METH_VARARGS
},
12783 { (char *)"OtkWidget_swigregister", OtkWidget_swigregister
, METH_VARARGS
},
12784 { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget
, METH_VARARGS
},
12785 { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget
, METH_VARARGS
},
12786 { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus
, METH_VARARGS
},
12787 { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus
, METH_VARARGS
},
12788 { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture
, METH_VARARGS
},
12789 { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor
, METH_VARARGS
},
12790 { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture
, METH_VARARGS
},
12791 { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture
, METH_VARARGS
},
12792 { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor
, METH_VARARGS
},
12793 { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor
, METH_VARARGS
},
12794 { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused
, METH_VARARGS
},
12795 { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused
, METH_VARARGS
},
12796 { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister
, METH_VARARGS
},
12797 { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel
, METH_VARARGS
},
12798 { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel
, METH_VARARGS
},
12799 { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText
, METH_VARARGS
},
12800 { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText
, METH_VARARGS
},
12801 { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update
, METH_VARARGS
},
12802 { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle
, METH_VARARGS
},
12803 { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister
, METH_VARARGS
},
12804 { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget
, METH_VARARGS
},
12805 { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget
, METH_VARARGS
},
12806 { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show
, METH_VARARGS
},
12807 { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide
, METH_VARARGS
},
12808 { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler
, METH_VARARGS
},
12809 { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister
, METH_VARARGS
},
12810 { (char *)"new_OtkApplication", _wrap_new_OtkApplication
, METH_VARARGS
},
12811 { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication
, METH_VARARGS
},
12812 { (char *)"OtkApplication_run", _wrap_OtkApplication_run
, METH_VARARGS
},
12813 { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable
, METH_VARARGS
},
12814 { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable
, METH_VARARGS
},
12815 { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle
, METH_VARARGS
},
12816 { (char *)"OtkApplication_swigregister", OtkApplication_swigregister
, METH_VARARGS
},
12817 { (char *)"new_PointerAssassin", _wrap_new_PointerAssassin
, METH_VARARGS
},
12818 { (char *)"delete_PointerAssassin", _wrap_delete_PointerAssassin
, METH_VARARGS
},
12819 { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister
, METH_VARARGS
},
12820 { (char *)"new_OtkButton", _wrap_new_OtkButton
, METH_VARARGS
},
12821 { (char *)"delete_OtkButton", _wrap_delete_OtkButton
, METH_VARARGS
},
12822 { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture
, METH_VARARGS
},
12823 { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture
, METH_VARARGS
},
12824 { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture
, METH_VARARGS
},
12825 { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture
, METH_VARARGS
},
12826 { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture
, METH_VARARGS
},
12827 { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture
, METH_VARARGS
},
12828 { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed
, METH_VARARGS
},
12829 { (char *)"OtkButton_press", _wrap_OtkButton_press
, METH_VARARGS
},
12830 { (char *)"OtkButton_release", _wrap_OtkButton_release
, METH_VARARGS
},
12831 { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler
, METH_VARARGS
},
12832 { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler
, METH_VARARGS
},
12833 { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle
, METH_VARARGS
},
12834 { (char *)"OtkButton_swigregister", OtkButton_swigregister
, METH_VARARGS
},
12835 { (char *)"new_BColor", _wrap_new_BColor
, METH_VARARGS
},
12836 { (char *)"delete_BColor", _wrap_delete_BColor
, METH_VARARGS
},
12837 { (char *)"BColor_name", _wrap_BColor_name
, METH_VARARGS
},
12838 { (char *)"BColor_red", _wrap_BColor_red
, METH_VARARGS
},
12839 { (char *)"BColor_green", _wrap_BColor_green
, METH_VARARGS
},
12840 { (char *)"BColor_blue", _wrap_BColor_blue
, METH_VARARGS
},
12841 { (char *)"BColor_setRGB", _wrap_BColor_setRGB
, METH_VARARGS
},
12842 { (char *)"BColor_screen", _wrap_BColor_screen
, METH_VARARGS
},
12843 { (char *)"BColor_setScreen", _wrap_BColor_setScreen
, METH_VARARGS
},
12844 { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated
, METH_VARARGS
},
12845 { (char *)"BColor_isValid", _wrap_BColor_isValid
, METH_VARARGS
},
12846 { (char *)"BColor_pixel", _wrap_BColor_pixel
, METH_VARARGS
},
12847 { (char *)"BColor_equals", _wrap_BColor_equals
, METH_VARARGS
},
12848 { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache
, METH_VARARGS
},
12849 { (char *)"BColor_swigregister", BColor_swigregister
, METH_VARARGS
},
12850 { (char *)"new_Configuration", _wrap_new_Configuration
, METH_VARARGS
},
12851 { (char *)"delete_Configuration", _wrap_delete_Configuration
, METH_VARARGS
},
12852 { (char *)"Configuration_file", _wrap_Configuration_file
, METH_VARARGS
},
12853 { (char *)"Configuration_setFile", _wrap_Configuration_setFile
, METH_VARARGS
},
12854 { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave
, METH_VARARGS
},
12855 { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave
, METH_VARARGS
},
12856 { (char *)"Configuration_isModified", _wrap_Configuration_isModified
, METH_VARARGS
},
12857 { (char *)"Configuration_save", _wrap_Configuration_save
, METH_VARARGS
},
12858 { (char *)"Configuration_load", _wrap_Configuration_load
, METH_VARARGS
},
12859 { (char *)"Configuration_merge", _wrap_Configuration_merge
, METH_VARARGS
},
12860 { (char *)"Configuration_create", _wrap_Configuration_create
, METH_VARARGS
},
12861 { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool
, METH_VARARGS
},
12862 { (char *)"Configuration_setValue", _wrap_Configuration_setValue
, METH_VARARGS
},
12863 { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned
, METH_VARARGS
},
12864 { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long
, METH_VARARGS
},
12865 { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong
, METH_VARARGS
},
12866 { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string
, METH_VARARGS
},
12867 { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr
, METH_VARARGS
},
12868 { (char *)"Configuration_getValue", _wrap_Configuration_getValue
, METH_VARARGS
},
12869 { (char *)"Configuration_swigregister", Configuration_swigregister
, METH_VARARGS
},
12870 { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize
, METH_VARARGS
},
12871 { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy
, METH_VARARGS
},
12872 { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache
, METH_VARARGS
},
12873 { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo
, METH_VARARGS
},
12874 { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape
, METH_VARARGS
},
12875 { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase
, METH_VARARGS
},
12876 { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama
, METH_VARARGS
},
12877 { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab
, METH_VARARGS
},
12878 { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab
, METH_VARARGS
},
12879 { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton
, METH_VARARGS
},
12880 { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton
, METH_VARARGS
},
12881 { (char *)"delete_OBDisplay", _wrap_delete_OBDisplay
, METH_VARARGS
},
12882 { (char *)"OBDisplay_swigregister", OBDisplay_swigregister
, METH_VARARGS
},
12883 { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont
, METH_VARARGS
},
12884 { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont
, METH_VARARGS
},
12885 { (char *)"new_BFont", _wrap_new_BFont
, METH_VARARGS
},
12886 { (char *)"delete_BFont", _wrap_delete_BFont
, METH_VARARGS
},
12887 { (char *)"BFont_fontstring", _wrap_BFont_fontstring
, METH_VARARGS
},
12888 { (char *)"BFont_height", _wrap_BFont_height
, METH_VARARGS
},
12889 { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth
, METH_VARARGS
},
12890 { (char *)"BFont_measureString", _wrap_BFont_measureString
, METH_VARARGS
},
12891 { (char *)"BFont_drawString", _wrap_BFont_drawString
, METH_VARARGS
},
12892 { (char *)"BFont_swigregister", BFont_swigregister
, METH_VARARGS
},
12893 { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set
, METH_VARARGS
},
12894 { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext
, METH_VARARGS
},
12895 { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister
, METH_VARARGS
},
12896 { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc
, METH_VARARGS
},
12897 { (char *)"delete_BGCCacheItem", _wrap_delete_BGCCacheItem
, METH_VARARGS
},
12898 { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister
, METH_VARARGS
},
12899 { (char *)"new_BGCCache", _wrap_new_BGCCache
, METH_VARARGS
},
12900 { (char *)"delete_BGCCache", _wrap_delete_BGCCache
, METH_VARARGS
},
12901 { (char *)"BGCCache_purge", _wrap_BGCCache_purge
, METH_VARARGS
},
12902 { (char *)"BGCCache_find", _wrap_BGCCache_find
, METH_VARARGS
},
12903 { (char *)"BGCCache_release", _wrap_BGCCache_release
, METH_VARARGS
},
12904 { (char *)"BGCCache_swigregister", BGCCache_swigregister
, METH_VARARGS
},
12905 { (char *)"new_BPen", _wrap_new_BPen
, METH_VARARGS
},
12906 { (char *)"delete_BPen", _wrap_delete_BPen
, METH_VARARGS
},
12907 { (char *)"BPen_gc", _wrap_BPen_gc
, METH_VARARGS
},
12908 { (char *)"BPen_swigregister", BPen_swigregister
, METH_VARARGS
},
12909 { (char *)"new_BImage", _wrap_new_BImage
, METH_VARARGS
},
12910 { (char *)"delete_BImage", _wrap_delete_BImage
, METH_VARARGS
},
12911 { (char *)"BImage_render", _wrap_BImage_render
, METH_VARARGS
},
12912 { (char *)"BImage_swigregister", BImage_swigregister
, METH_VARARGS
},
12913 { (char *)"new_BImageControl", _wrap_new_BImageControl
, METH_VARARGS
},
12914 { (char *)"delete_BImageControl", _wrap_delete_BImageControl
, METH_VARARGS
},
12915 { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither
, METH_VARARGS
},
12916 { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo
, METH_VARARGS
},
12917 { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable
, METH_VARARGS
},
12918 { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual
, METH_VARARGS
},
12919 { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel
, METH_VARARGS
},
12920 { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth
, METH_VARARGS
},
12921 { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel
, METH_VARARGS
},
12922 { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt
, METH_VARARGS
},
12923 { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage
, METH_VARARGS
},
12924 { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap
, METH_VARARGS
},
12925 { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage
, METH_VARARGS
},
12926 { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables
, METH_VARARGS
},
12927 { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable
, METH_VARARGS
},
12928 { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers
, METH_VARARGS
},
12929 { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither
, METH_VARARGS
},
12930 { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel
, METH_VARARGS
},
12931 { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout
, METH_VARARGS
},
12932 { (char *)"BImageControl_swigregister", BImageControl_swigregister
, METH_VARARGS
},
12933 { (char *)"new_Point", _wrap_new_Point
, METH_VARARGS
},
12934 { (char *)"Point_setX", _wrap_Point_setX
, METH_VARARGS
},
12935 { (char *)"Point_x", _wrap_Point_x
, METH_VARARGS
},
12936 { (char *)"Point_setY", _wrap_Point_setY
, METH_VARARGS
},
12937 { (char *)"Point_y", _wrap_Point_y
, METH_VARARGS
},
12938 { (char *)"Point_setPoint", _wrap_Point_setPoint
, METH_VARARGS
},
12939 { (char *)"delete_Point", _wrap_delete_Point
, METH_VARARGS
},
12940 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
12941 { (char *)"new_OBProperty", _wrap_new_OBProperty
, METH_VARARGS
},
12942 { (char *)"delete_OBProperty", _wrap_delete_OBProperty
, METH_VARARGS
},
12943 { (char *)"OBProperty_set", _wrap_OBProperty_set
, METH_VARARGS
},
12944 { (char *)"OBProperty_get", _wrap_OBProperty_get
, METH_VARARGS
},
12945 { (char *)"OBProperty_erase", _wrap_OBProperty_erase
, METH_VARARGS
},
12946 { (char *)"OBProperty_atom", _wrap_OBProperty_atom
, METH_VARARGS
},
12947 { (char *)"OBProperty_swigregister", OBProperty_swigregister
, METH_VARARGS
},
12948 { (char *)"new_Rect", _wrap_new_Rect
, METH_VARARGS
},
12949 { (char *)"Rect_left", _wrap_Rect_left
, METH_VARARGS
},
12950 { (char *)"Rect_top", _wrap_Rect_top
, METH_VARARGS
},
12951 { (char *)"Rect_right", _wrap_Rect_right
, METH_VARARGS
},
12952 { (char *)"Rect_bottom", _wrap_Rect_bottom
, METH_VARARGS
},
12953 { (char *)"Rect_x", _wrap_Rect_x
, METH_VARARGS
},
12954 { (char *)"Rect_y", _wrap_Rect_y
, METH_VARARGS
},
12955 { (char *)"Rect_location", _wrap_Rect_location
, METH_VARARGS
},
12956 { (char *)"Rect_setX", _wrap_Rect_setX
, METH_VARARGS
},
12957 { (char *)"Rect_setY", _wrap_Rect_setY
, METH_VARARGS
},
12958 { (char *)"Rect_setPos", _wrap_Rect_setPos
, METH_VARARGS
},
12959 { (char *)"Rect_width", _wrap_Rect_width
, METH_VARARGS
},
12960 { (char *)"Rect_height", _wrap_Rect_height
, METH_VARARGS
},
12961 { (char *)"Rect_size", _wrap_Rect_size
, METH_VARARGS
},
12962 { (char *)"Rect_setWidth", _wrap_Rect_setWidth
, METH_VARARGS
},
12963 { (char *)"Rect_setHeight", _wrap_Rect_setHeight
, METH_VARARGS
},
12964 { (char *)"Rect_setSize", _wrap_Rect_setSize
, METH_VARARGS
},
12965 { (char *)"Rect_setRect", _wrap_Rect_setRect
, METH_VARARGS
},
12966 { (char *)"Rect_setCoords", _wrap_Rect_setCoords
, METH_VARARGS
},
12967 { (char *)"Rect_equals", _wrap_Rect_equals
, METH_VARARGS
},
12968 { (char *)"Rect_valid", _wrap_Rect_valid
, METH_VARARGS
},
12969 { (char *)"Rect_intersects", _wrap_Rect_intersects
, METH_VARARGS
},
12970 { (char *)"Rect_contains", _wrap_Rect_contains
, METH_VARARGS
},
12971 { (char *)"delete_Rect", _wrap_delete_Rect
, METH_VARARGS
},
12972 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
12973 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo
, METH_VARARGS
},
12974 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual
, METH_VARARGS
},
12975 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow
, METH_VARARGS
},
12976 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap
, METH_VARARGS
},
12977 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth
, METH_VARARGS
},
12978 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen
, METH_VARARGS
},
12979 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect
, METH_VARARGS
},
12980 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width
, METH_VARARGS
},
12981 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height
, METH_VARARGS
},
12982 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString
, METH_VARARGS
},
12983 { (char *)"delete_ScreenInfo", _wrap_delete_ScreenInfo
, METH_VARARGS
},
12984 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister
, METH_VARARGS
},
12985 { (char *)"Strut_top_set", _wrap_Strut_top_set
, METH_VARARGS
},
12986 { (char *)"Strut_top_get", _wrap_Strut_top_get
, METH_VARARGS
},
12987 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set
, METH_VARARGS
},
12988 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get
, METH_VARARGS
},
12989 { (char *)"Strut_left_set", _wrap_Strut_left_set
, METH_VARARGS
},
12990 { (char *)"Strut_left_get", _wrap_Strut_left_get
, METH_VARARGS
},
12991 { (char *)"Strut_right_set", _wrap_Strut_right_set
, METH_VARARGS
},
12992 { (char *)"Strut_right_get", _wrap_Strut_right_get
, METH_VARARGS
},
12993 { (char *)"new_Strut", _wrap_new_Strut
, METH_VARARGS
},
12994 { (char *)"delete_Strut", _wrap_delete_Strut
, METH_VARARGS
},
12995 { (char *)"Strut_swigregister", Strut_swigregister
, METH_VARARGS
},
12996 { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set
, METH_VARARGS
},
12997 { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get
, METH_VARARGS
},
12998 { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set
, METH_VARARGS
},
12999 { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get
, METH_VARARGS
},
13000 { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set
, METH_VARARGS
},
13001 { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get
, METH_VARARGS
},
13002 { (char *)"new_PixmapMask", _wrap_new_PixmapMask
, METH_VARARGS
},
13003 { (char *)"delete_PixmapMask", _wrap_delete_PixmapMask
, METH_VARARGS
},
13004 { (char *)"PixmapMask_swigregister", PixmapMask_swigregister
, METH_VARARGS
},
13005 { (char *)"Style_image_control_set", _wrap_Style_image_control_set
, METH_VARARGS
},
13006 { (char *)"Style_image_control_get", _wrap_Style_image_control_get
, METH_VARARGS
},
13007 { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set
, METH_VARARGS
},
13008 { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get
, METH_VARARGS
},
13009 { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set
, METH_VARARGS
},
13010 { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get
, METH_VARARGS
},
13011 { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set
, METH_VARARGS
},
13012 { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get
, METH_VARARGS
},
13013 { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set
, METH_VARARGS
},
13014 { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get
, METH_VARARGS
},
13015 { (char *)"Style_border_color_set", _wrap_Style_border_color_set
, METH_VARARGS
},
13016 { (char *)"Style_border_color_get", _wrap_Style_border_color_get
, METH_VARARGS
},
13017 { (char *)"Style_font_set", _wrap_Style_font_set
, METH_VARARGS
},
13018 { (char *)"Style_font_get", _wrap_Style_font_get
, METH_VARARGS
},
13019 { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set
, METH_VARARGS
},
13020 { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get
, METH_VARARGS
},
13021 { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set
, METH_VARARGS
},
13022 { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get
, METH_VARARGS
},
13023 { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set
, METH_VARARGS
},
13024 { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get
, METH_VARARGS
},
13025 { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set
, METH_VARARGS
},
13026 { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get
, METH_VARARGS
},
13027 { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set
, METH_VARARGS
},
13028 { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get
, METH_VARARGS
},
13029 { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set
, METH_VARARGS
},
13030 { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get
, METH_VARARGS
},
13031 { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set
, METH_VARARGS
},
13032 { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get
, METH_VARARGS
},
13033 { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set
, METH_VARARGS
},
13034 { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get
, METH_VARARGS
},
13035 { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set
, METH_VARARGS
},
13036 { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get
, METH_VARARGS
},
13037 { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set
, METH_VARARGS
},
13038 { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get
, METH_VARARGS
},
13039 { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set
, METH_VARARGS
},
13040 { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get
, METH_VARARGS
},
13041 { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set
, METH_VARARGS
},
13042 { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get
, METH_VARARGS
},
13043 { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set
, METH_VARARGS
},
13044 { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get
, METH_VARARGS
},
13045 { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set
, METH_VARARGS
},
13046 { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get
, METH_VARARGS
},
13047 { (char *)"Style_close_button_set", _wrap_Style_close_button_set
, METH_VARARGS
},
13048 { (char *)"Style_close_button_get", _wrap_Style_close_button_get
, METH_VARARGS
},
13049 { (char *)"Style_max_button_set", _wrap_Style_max_button_set
, METH_VARARGS
},
13050 { (char *)"Style_max_button_get", _wrap_Style_max_button_get
, METH_VARARGS
},
13051 { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set
, METH_VARARGS
},
13052 { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get
, METH_VARARGS
},
13053 { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set
, METH_VARARGS
},
13054 { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get
, METH_VARARGS
},
13055 { (char *)"Style_justify_set", _wrap_Style_justify_set
, METH_VARARGS
},
13056 { (char *)"Style_justify_get", _wrap_Style_justify_get
, METH_VARARGS
},
13057 { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set
, METH_VARARGS
},
13058 { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get
, METH_VARARGS
},
13059 { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set
, METH_VARARGS
},
13060 { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get
, METH_VARARGS
},
13061 { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set
, METH_VARARGS
},
13062 { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get
, METH_VARARGS
},
13063 { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set
, METH_VARARGS
},
13064 { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get
, METH_VARARGS
},
13065 { (char *)"Style_border_width_set", _wrap_Style_border_width_set
, METH_VARARGS
},
13066 { (char *)"Style_border_width_get", _wrap_Style_border_width_get
, METH_VARARGS
},
13067 { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set
, METH_VARARGS
},
13068 { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get
, METH_VARARGS
},
13069 { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set
, METH_VARARGS
},
13070 { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get
, METH_VARARGS
},
13071 { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set
, METH_VARARGS
},
13072 { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get
, METH_VARARGS
},
13073 { (char *)"new_Style", _wrap_new_Style
, METH_VARARGS
},
13074 { (char *)"delete_Style", _wrap_delete_Style
, METH_VARARGS
},
13075 { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask
, METH_VARARGS
},
13076 { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture
, METH_VARARGS
},
13077 { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor
, METH_VARARGS
},
13078 { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont
, METH_VARARGS
},
13079 { (char *)"Style_load", _wrap_Style_load
, METH_VARARGS
},
13080 { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus
, METH_VARARGS
},
13081 { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus
, METH_VARARGS
},
13082 { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus
, METH_VARARGS
},
13083 { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus
, METH_VARARGS
},
13084 { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus
, METH_VARARGS
},
13085 { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus
, METH_VARARGS
},
13086 { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus
, METH_VARARGS
},
13087 { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus
, METH_VARARGS
},
13088 { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus
, METH_VARARGS
},
13089 { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus
, METH_VARARGS
},
13090 { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus
, METH_VARARGS
},
13091 { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus
, METH_VARARGS
},
13092 { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus
, METH_VARARGS
},
13093 { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus
, METH_VARARGS
},
13094 { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus
, METH_VARARGS
},
13095 { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus
, METH_VARARGS
},
13096 { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth
, METH_VARARGS
},
13097 { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth
, METH_VARARGS
},
13098 { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth
, METH_VARARGS
},
13099 { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth
, METH_VARARGS
},
13100 { (char *)"Style_getFont", _wrap_Style_getFont
, METH_VARARGS
},
13101 { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts
, METH_VARARGS
},
13102 { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts
, METH_VARARGS
},
13103 { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts
, METH_VARARGS
},
13104 { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts
, METH_VARARGS
},
13105 { (char *)"Style_textJustify", _wrap_Style_textJustify
, METH_VARARGS
},
13106 { (char *)"Style_bulletType", _wrap_Style_bulletType
, METH_VARARGS
},
13107 { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor
, METH_VARARGS
},
13108 { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus
, METH_VARARGS
},
13109 { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus
, METH_VARARGS
},
13110 { (char *)"Style_setImageControl", _wrap_Style_setImageControl
, METH_VARARGS
},
13111 { (char *)"Style_getScreen", _wrap_Style_getScreen
, METH_VARARGS
},
13112 { (char *)"Style_swigregister", Style_swigregister
, METH_VARARGS
},
13113 { (char *)"new_BTexture", _wrap_new_BTexture
, METH_VARARGS
},
13114 { (char *)"BTexture_setColor", _wrap_BTexture_setColor
, METH_VARARGS
},
13115 { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo
, METH_VARARGS
},
13116 { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor
, METH_VARARGS
},
13117 { (char *)"BTexture_color", _wrap_BTexture_color
, METH_VARARGS
},
13118 { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo
, METH_VARARGS
},
13119 { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor
, METH_VARARGS
},
13120 { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor
, METH_VARARGS
},
13121 { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor
, METH_VARARGS
},
13122 { (char *)"BTexture_texture", _wrap_BTexture_texture
, METH_VARARGS
},
13123 { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture
, METH_VARARGS
},
13124 { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture
, METH_VARARGS
},
13125 { (char *)"BTexture_equals", _wrap_BTexture_equals
, METH_VARARGS
},
13126 { (char *)"BTexture_screen", _wrap_BTexture_screen
, METH_VARARGS
},
13127 { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen
, METH_VARARGS
},
13128 { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl
, METH_VARARGS
},
13129 { (char *)"BTexture_description", _wrap_BTexture_description
, METH_VARARGS
},
13130 { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription
, METH_VARARGS
},
13131 { (char *)"BTexture_render", _wrap_BTexture_render
, METH_VARARGS
},
13132 { (char *)"delete_BTexture", _wrap_delete_BTexture
, METH_VARARGS
},
13133 { (char *)"BTexture_swigregister", BTexture_swigregister
, METH_VARARGS
},
13134 { (char *)"new_OBTimer", _wrap_new_OBTimer
, METH_VARARGS
},
13135 { (char *)"delete_OBTimer", _wrap_delete_OBTimer
, METH_VARARGS
},
13136 { (char *)"OBTimer_fire", _wrap_OBTimer_fire
, METH_VARARGS
},
13137 { (char *)"OBTimer_timing", _wrap_OBTimer_timing
, METH_VARARGS
},
13138 { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring
, METH_VARARGS
},
13139 { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout
, METH_VARARGS
},
13140 { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime
, METH_VARARGS
},
13141 { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime
, METH_VARARGS
},
13142 { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire
, METH_VARARGS
},
13143 { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime
, METH_VARARGS
},
13144 { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring
, METH_VARARGS
},
13145 { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout
, METH_VARARGS
},
13146 { (char *)"OBTimer_start", _wrap_OBTimer_start
, METH_VARARGS
},
13147 { (char *)"OBTimer_stop", _wrap_OBTimer_stop
, METH_VARARGS
},
13148 { (char *)"OBTimer_swigregister", OBTimer_swigregister
, METH_VARARGS
},
13149 { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager
, METH_VARARGS
},
13150 { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager
, METH_VARARGS
},
13151 { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire
, METH_VARARGS
},
13152 { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer
, METH_VARARGS
},
13153 { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer
, METH_VARARGS
},
13154 { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister
, METH_VARARGS
},
13155 { (char *)"expandTilde", _wrap_expandTilde
, METH_VARARGS
},
13156 { (char *)"bexec", _wrap_bexec
, METH_VARARGS
},
13157 { (char *)"textPropertyToString", _wrap_textPropertyToString
, METH_VARARGS
},
13158 { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long
, METH_VARARGS
},
13159 { (char *)"itostring_long", _wrap_itostring_long
, METH_VARARGS
},
13160 { (char *)"itostring_unsigned", _wrap_itostring_unsigned
, METH_VARARGS
},
13161 { (char *)"itostring", _wrap_itostring
, METH_VARARGS
},
13162 { (char *)"basename", _wrap_basename
, METH_VARARGS
},
13167 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13169 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x
) {
13170 return (void *)((otk::OtkFocusWidget
*) (otk::OtkFocusLabel
*) ((otk::OtkButton
*) x
));
13172 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x
) {
13173 return (void *)((otk::OtkFocusWidget
*) ((otk::OtkFocusLabel
*) x
));
13175 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x
) {
13176 return (void *)((otk::OtkWidget
*) (otk::OtkFocusWidget
*)(otk::OtkFocusLabel
*) ((otk::OtkButton
*) x
));
13178 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x
) {
13179 return (void *)((otk::OtkWidget
*) ((otk::OtkAppWidget
*) x
));
13181 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x
) {
13182 return (void *)((otk::OtkWidget
*) ((otk::OtkFocusWidget
*) x
));
13184 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x
) {
13185 return (void *)((otk::OtkWidget
*) (otk::OtkFocusWidget
*) ((otk::OtkFocusLabel
*) x
));
13187 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x
) {
13188 return (void *)((otk::OtkEventHandler
*) (otk::OtkWidget
*)(otk::OtkFocusWidget
*)(otk::OtkFocusLabel
*) ((otk::OtkButton
*) x
));
13190 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x
) {
13191 return (void *)((otk::OtkEventHandler
*) (otk::OtkWidget
*) ((otk::OtkAppWidget
*) x
));
13193 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x
) {
13194 return (void *)((otk::OtkEventHandler
*) ((otk::OtkWidget
*) x
));
13196 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x
) {
13197 return (void *)((otk::OtkEventHandler
*) (otk::OtkWidget
*) ((otk::OtkFocusWidget
*) x
));
13199 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x
) {
13200 return (void *)((otk::OtkEventHandler
*) (otk::OtkWidget
*)(otk::OtkFocusWidget
*) ((otk::OtkFocusLabel
*) x
));
13202 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x
) {
13203 return (void *)((otk::OtkFocusLabel
*) ((otk::OtkButton
*) x
));
13205 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x
) {
13206 return (void *)((otk::OtkEventDispatcher
*) ((otk::OtkApplication
*) x
));
13208 static swig_type_info _swigt__p_otk__BGCCache
[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
13209 static swig_type_info _swigt__p_otk__BColor
[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
13210 static swig_type_info _swigt__p_otk__OBProperty__StringVect
[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
13211 static swig_type_info _swigt__p_XFontStruct
[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
13212 static swig_type_info _swigt__p_otk__Configuration
[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
13213 static swig_type_info _swigt__p_otk__PixmapMask
[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
13214 static swig_type_info _swigt__p_Atom
[] = {{"_p_Atom", 0, "Atom *", 0},{"_p_Atom"},{0}};
13215 static swig_type_info _swigt__p_otk__PointerAssassin
[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
13216 static swig_type_info _swigt__p_otk__BImage
[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
13217 static swig_type_info _swigt__p_otk__OBTimer
[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
13218 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList
[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
13219 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
13220 static swig_type_info _swigt__p_otk__OBDisplay
[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
13221 static swig_type_info _swigt__p_Display
[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
13222 static swig_type_info _swigt__p_p_XColor
[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
13223 static swig_type_info _swigt__p_XReparentEvent
[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
13224 static swig_type_info _swigt__p_otk__BPen
[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
13225 static swig_type_info _swigt__p_otk__BImageControl
[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
13226 static swig_type_info _swigt__p_otk__OtkButton
[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
13227 static swig_type_info _swigt__p_otk__Rect
[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
13228 static swig_type_info _swigt__p_otk__Style
[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
13229 static swig_type_info _swigt__p_XSelectionClearEvent
[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
13230 static swig_type_info _swigt__p_Visual
[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
13231 static swig_type_info _swigt__p_timeval
[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
13232 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13233 static swig_type_info _swigt__p_otk__Strut
[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
13234 static swig_type_info _swigt__p_otk__OtkApplication
[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
13235 static swig_type_info _swigt__p_XRectangle
[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
13236 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}};
13237 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}};
13238 static swig_type_info _swigt__p_Cursor
[] = {{"_p_Cursor", 0, "Cursor *", 0},{"_p_Cursor"},{0}};
13239 static swig_type_info _swigt__p_Colormap
[] = {{"_p_Colormap", 0, "Colormap *", 0},{"_p_Colormap"},{0}};
13240 static swig_type_info _swigt__p_XGravityEvent
[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
13241 static swig_type_info _swigt__p_XVisibilityEvent
[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
13242 static swig_type_info _swigt__p_XPropertyEvent
[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
13243 static swig_type_info _swigt__p_Window
[] = {{"_p_Window", 0, "Window *", 0},{"_p_Window"},{0}};
13244 static swig_type_info _swigt__p_otk__BGCCacheContext
[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
13245 static swig_type_info _swigt__p_XCreateWindowEvent
[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
13246 static swig_type_info _swigt__p_XDestroyWindowEvent
[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
13247 static swig_type_info _swigt__p_XCirculateEvent
[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
13248 static swig_type_info _swigt__p_XConfigureEvent
[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
13249 static swig_type_info _swigt__p_otk__OBProperty
[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
13250 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
13251 static swig_type_info _swigt__p_XTextProperty
[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
13252 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}};
13253 static swig_type_info _swigt__p_XCirculateRequestEvent
[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
13254 static swig_type_info _swigt__p_XConfigureRequestEvent
[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
13255 static swig_type_info _swigt__p_XMapRequestEvent
[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
13256 static swig_type_info _swigt__p_XResizeRequestEvent
[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
13257 static swig_type_info _swigt__p_XSelectionRequestEvent
[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
13258 static swig_type_info _swigt__otk__OBTimeoutHandler
[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
13259 static swig_type_info _swigt__p_XftDraw
[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
13260 static swig_type_info _swigt__p_otk__ScreenInfo
[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
13261 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}};
13262 static swig_type_info _swigt__p_otk__BTexture
[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
13263 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}};
13264 static swig_type_info _swigt__p_otk__BFont
[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
13265 static swig_type_info _swigt__p_otk__Point
[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
13266 static swig_type_info _swigt__p_p_char
[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
13267 static swig_type_info _swigt__p_XMotionEvent
[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
13268 static swig_type_info _swigt__p_XButtonEvent
[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
13269 static swig_type_info _swigt__p_XSelectionEvent
[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
13270 static swig_type_info _swigt__p_Pixmap
[] = {{"_p_Pixmap", 0, "Pixmap *", 0},{"_p_Pixmap"},{0}};
13271 static swig_type_info _swigt__p_GC
[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
13272 static swig_type_info _swigt__p_otk__OBTimerQueueManager
[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
13273 static swig_type_info _swigt__p_otk__OtkAppWidget
[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
13274 static swig_type_info _swigt__p_XKeyEvent
[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
13275 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
13276 static swig_type_info _swigt__p_XEvent
[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
13277 static swig_type_info _swigt__p_p_unsigned_long
[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
13278 static swig_type_info _swigt__p_std__string
[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
13279 static swig_type_info _swigt__p_XCrossingEvent
[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
13280 static swig_type_info _swigt__p_XMappingEvent
[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
13281 static swig_type_info _swigt__p_otk__BGCCacheItem
[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
13282 static swig_type_info _swigt__p_p_unsigned_int
[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
13283 static swig_type_info _swigt__p_unsigned_int
[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
13284 static swig_type_info _swigt__p_p_unsigned_char
[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
13285 static swig_type_info _swigt__p_XClientMessageEvent
[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
13286 static swig_type_info _swigt__p_XGraphicsExposeEvent
[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
13287 static swig_type_info _swigt__p_XExposeEvent
[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
13288 static swig_type_info _swigt__p_XFocusChangeEvent
[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
13289 static swig_type_info _swigt__p_XNoExposeEvent
[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
13290 static swig_type_info _swigt__p_XMapEvent
[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
13291 static swig_type_info _swigt__p_XUnmapEvent
[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
13292 static swig_type_info _swigt__p_XColormapEvent
[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
13294 static swig_type_info
*swig_types_initial
[] = {
13295 _swigt__p_otk__BGCCache
,
13296 _swigt__p_otk__BColor
,
13297 _swigt__p_otk__OBProperty__StringVect
,
13298 _swigt__p_XFontStruct
,
13299 _swigt__p_otk__Configuration
,
13300 _swigt__p_otk__PixmapMask
,
13302 _swigt__p_otk__PointerAssassin
,
13303 _swigt__p_otk__BImage
,
13304 _swigt__p_otk__OBTimer
,
13305 _swigt__p_otk__OtkWidget__OtkWidgetList
,
13307 _swigt__p_otk__OBDisplay
,
13309 _swigt__p_p_XColor
,
13310 _swigt__p_XReparentEvent
,
13311 _swigt__p_otk__BPen
,
13312 _swigt__p_otk__BImageControl
,
13313 _swigt__p_otk__OtkButton
,
13314 _swigt__p_otk__Rect
,
13315 _swigt__p_otk__Style
,
13316 _swigt__p_XSelectionClearEvent
,
13320 _swigt__p_otk__Strut
,
13321 _swigt__p_otk__OtkApplication
,
13322 _swigt__p_XRectangle
,
13323 _swigt__p_otk__OtkFocusWidget
,
13324 _swigt__p_otk__OtkWidget
,
13326 _swigt__p_Colormap
,
13327 _swigt__p_XGravityEvent
,
13328 _swigt__p_XVisibilityEvent
,
13329 _swigt__p_XPropertyEvent
,
13331 _swigt__p_otk__BGCCacheContext
,
13332 _swigt__p_XCreateWindowEvent
,
13333 _swigt__p_XDestroyWindowEvent
,
13334 _swigt__p_XCirculateEvent
,
13335 _swigt__p_XConfigureEvent
,
13336 _swigt__p_otk__OBProperty
,
13338 _swigt__p_XTextProperty
,
13339 _swigt__p_otk__OtkEventHandler
,
13340 _swigt__p_XCirculateRequestEvent
,
13341 _swigt__p_XConfigureRequestEvent
,
13342 _swigt__p_XMapRequestEvent
,
13343 _swigt__p_XResizeRequestEvent
,
13344 _swigt__p_XSelectionRequestEvent
,
13345 _swigt__otk__OBTimeoutHandler
,
13347 _swigt__p_otk__ScreenInfo
,
13348 _swigt__p_otk__OtkFocusLabel
,
13349 _swigt__p_otk__BTexture
,
13350 _swigt__p_otk__OtkEventDispatcher
,
13351 _swigt__p_otk__BFont
,
13352 _swigt__p_otk__Point
,
13354 _swigt__p_XMotionEvent
,
13355 _swigt__p_XButtonEvent
,
13356 _swigt__p_XSelectionEvent
,
13359 _swigt__p_otk__OBTimerQueueManager
,
13360 _swigt__p_otk__OtkAppWidget
,
13361 _swigt__p_XKeyEvent
,
13362 _swigt__p_unsigned_long
,
13364 _swigt__p_p_unsigned_long
,
13365 _swigt__p_std__string
,
13366 _swigt__p_XCrossingEvent
,
13367 _swigt__p_XMappingEvent
,
13368 _swigt__p_otk__BGCCacheItem
,
13369 _swigt__p_p_unsigned_int
,
13370 _swigt__p_unsigned_int
,
13371 _swigt__p_p_unsigned_char
,
13372 _swigt__p_XClientMessageEvent
,
13373 _swigt__p_XGraphicsExposeEvent
,
13374 _swigt__p_XExposeEvent
,
13375 _swigt__p_XFocusChangeEvent
,
13376 _swigt__p_XNoExposeEvent
,
13377 _swigt__p_XMapEvent
,
13378 _swigt__p_XUnmapEvent
,
13379 _swigt__p_XColormapEvent
,
13384 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13386 static swig_const_info swig_const_table
[] = {
13387 { SWIG_PY_INT
, (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal
, 0, 0, 0},
13388 { SWIG_PY_INT
, (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical
, 0, 0, 0},
13389 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal
, 0, 0, 0},
13390 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window
, 0, 0, 0},
13391 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap
, 0, 0, 0},
13392 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom
, 0, 0, 0},
13393 { SWIG_PY_INT
, (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String
, 0, 0, 0},
13394 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8
, 0, 0, 0},
13395 { SWIG_PY_INT
, (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid
, 0, 0, 0},
13396 { SWIG_PY_INT
, (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows
, 0, 0, 0},
13397 { SWIG_PY_INT
, (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols
, 0, 0, 0},
13398 { SWIG_PY_INT
, (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state
, 0, 0, 0},
13399 { SWIG_PY_INT
, (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window
, 0, 0, 0},
13400 { SWIG_PY_INT
, (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus
, 0, 0, 0},
13401 { SWIG_PY_INT
, (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state
, 0, 0, 0},
13402 { SWIG_PY_INT
, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name
, 0, 0, 0},
13403 { SWIG_PY_INT
, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name
, 0, 0, 0},
13404 { SWIG_PY_INT
, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class
, 0, 0, 0},
13405 { SWIG_PY_INT
, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints
, 0, 0, 0},
13406 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes
, 0, 0, 0},
13407 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes
, 0, 0, 0},
13408 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints
, 0, 0, 0},
13409 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages
, 0, 0, 0},
13410 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup
, 0, 0, 0},
13411 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add
, 0, 0, 0},
13412 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del
, 0, 0, 0},
13413 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus
, 0, 0, 0},
13414 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace
, 0, 0, 0},
13415 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count
, 0, 0, 0},
13416 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise
, 0, 0, 0},
13417 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower
, 0, 0, 0},
13418 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace
, 0, 0, 0},
13419 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus
, 0, 0, 0},
13420 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus
, 0, 0, 0},
13421 { SWIG_PY_INT
, (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu
, 0, 0, 0},
13422 { SWIG_PY_INT
, (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu
, 0, 0, 0},
13423 { SWIG_PY_INT
, (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported
, 0, 0, 0},
13424 { SWIG_PY_INT
, (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list
, 0, 0, 0},
13425 { SWIG_PY_INT
, (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking
, 0, 0, 0},
13426 { SWIG_PY_INT
, (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops
, 0, 0, 0},
13427 { SWIG_PY_INT
, (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry
, 0, 0, 0},
13428 { SWIG_PY_INT
, (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport
, 0, 0, 0},
13429 { SWIG_PY_INT
, (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop
, 0, 0, 0},
13430 { SWIG_PY_INT
, (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names
, 0, 0, 0},
13431 { SWIG_PY_INT
, (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window
, 0, 0, 0},
13432 { SWIG_PY_INT
, (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea
, 0, 0, 0},
13433 { SWIG_PY_INT
, (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check
, 0, 0, 0},
13434 { SWIG_PY_INT
, (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window
, 0, 0, 0},
13435 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize
, 0, 0, 0},
13436 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name
, 0, 0, 0},
13437 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name
, 0, 0, 0},
13438 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name
, 0, 0, 0},
13439 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name
, 0, 0, 0},
13440 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop
, 0, 0, 0},
13441 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type
, 0, 0, 0},
13442 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state
, 0, 0, 0},
13443 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut
, 0, 0, 0},
13444 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions
, 0, 0, 0},
13445 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop
, 0, 0, 0},
13446 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock
, 0, 0, 0},
13447 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar
, 0, 0, 0},
13448 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu
, 0, 0, 0},
13449 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility
, 0, 0, 0},
13450 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash
, 0, 0, 0},
13451 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog
, 0, 0, 0},
13452 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal
, 0, 0, 0},
13453 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft
, 0, 0, 0},
13454 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright
, 0, 0, 0},
13455 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft
, 0, 0, 0},
13456 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright
, 0, 0, 0},
13457 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move
, 0, 0, 0},
13458 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move
, 0, 0, 0},
13459 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize
, 0, 0, 0},
13460 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade
, 0, 0, 0},
13461 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz
, 0, 0, 0},
13462 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert
, 0, 0, 0},
13463 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop
, 0, 0, 0},
13464 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close
, 0, 0, 0},
13465 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal
, 0, 0, 0},
13466 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert
, 0, 0, 0},
13467 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz
, 0, 0, 0},
13468 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded
, 0, 0, 0},
13469 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar
, 0, 0, 0},
13470 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager
, 0, 0, 0},
13471 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden
, 0, 0, 0},
13472 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen
, 0, 0, 0},
13473 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_floating", (long) otk::OBProperty::net_wm_state_floating
, 0, 0, 0},
13474 { SWIG_PY_INT
, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows
, 0, 0, 0},
13475 { 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},
13476 { SWIG_PY_INT
, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override
, 0, 0, 0},
13477 { SWIG_PY_INT
, (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS
, 0, 0, 0},
13478 { SWIG_PY_INT
, (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii
, 0, 0, 0},
13479 { SWIG_PY_INT
, (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8
, 0, 0, 0},
13480 { SWIG_PY_INT
, (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE
, 0, 0, 0},
13481 { SWIG_PY_INT
, (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus
, 0, 0, 0},
13482 { SWIG_PY_INT
, (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus
, 0, 0, 0},
13483 { SWIG_PY_INT
, (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus
, 0, 0, 0},
13484 { SWIG_PY_INT
, (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus
, 0, 0, 0},
13485 { SWIG_PY_INT
, (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus
, 0, 0, 0},
13486 { SWIG_PY_INT
, (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus
, 0, 0, 0},
13487 { SWIG_PY_INT
, (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus
, 0, 0, 0},
13488 { SWIG_PY_INT
, (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus
, 0, 0, 0},
13489 { SWIG_PY_INT
, (char *)"Style_GripFocus", (long) otk::Style::GripFocus
, 0, 0, 0},
13490 { SWIG_PY_INT
, (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus
, 0, 0, 0},
13491 { SWIG_PY_INT
, (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify
, 0, 0, 0},
13492 { SWIG_PY_INT
, (char *)"Style_RightJustify", (long) otk::Style::RightJustify
, 0, 0, 0},
13493 { SWIG_PY_INT
, (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify
, 0, 0, 0},
13494 { SWIG_PY_INT
, (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet
, 0, 0, 0},
13495 { SWIG_PY_INT
, (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet
, 0, 0, 0},
13496 { SWIG_PY_INT
, (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet
, 0, 0, 0},
13497 { SWIG_PY_INT
, (char *)"Style_NoBullet", (long) otk::Style::NoBullet
, 0, 0, 0},
13498 { SWIG_PY_INT
, (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture
, 0, 0, 0},
13499 { SWIG_PY_INT
, (char *)"BTexture_Flat", (long) otk::BTexture::Flat
, 0, 0, 0},
13500 { SWIG_PY_INT
, (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken
, 0, 0, 0},
13501 { SWIG_PY_INT
, (char *)"BTexture_Raised", (long) otk::BTexture::Raised
, 0, 0, 0},
13502 { SWIG_PY_INT
, (char *)"BTexture_Solid", (long) otk::BTexture::Solid
, 0, 0, 0},
13503 { SWIG_PY_INT
, (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient
, 0, 0, 0},
13504 { SWIG_PY_INT
, (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal
, 0, 0, 0},
13505 { SWIG_PY_INT
, (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical
, 0, 0, 0},
13506 { SWIG_PY_INT
, (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal
, 0, 0, 0},
13507 { SWIG_PY_INT
, (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal
, 0, 0, 0},
13508 { SWIG_PY_INT
, (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle
, 0, 0, 0},
13509 { SWIG_PY_INT
, (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid
, 0, 0, 0},
13510 { SWIG_PY_INT
, (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross
, 0, 0, 0},
13511 { SWIG_PY_INT
, (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic
, 0, 0, 0},
13512 { SWIG_PY_INT
, (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1
, 0, 0, 0},
13513 { SWIG_PY_INT
, (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2
, 0, 0, 0},
13514 { SWIG_PY_INT
, (char *)"BTexture_Border", (long) otk::BTexture::Border
, 0, 0, 0},
13515 { SWIG_PY_INT
, (char *)"BTexture_Invert", (long) otk::BTexture::Invert
, 0, 0, 0},
13516 { SWIG_PY_INT
, (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative
, 0, 0, 0},
13517 { SWIG_PY_INT
, (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced
, 0, 0, 0},
13527 SWIGEXPORT(void) SWIG_init(void) {
13528 static PyObject
*SWIG_globals
= 0;
13529 static int typeinit
= 0;
13532 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
13533 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
13534 d
= PyModule_GetDict(m
);
13537 for (i
= 0; swig_types_initial
[i
]; i
++) {
13538 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
13542 SWIG_InstallConstants(d
,swig_const_table
);
13544 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
13545 SWIG_addvarlink(SWIG_globals
,(char*)"OBDisplay_display",_wrap_OBDisplay_display_get
, _wrap_OBDisplay_display_set
);
13546 SWIG_addvarlink(SWIG_globals
,(char*)"BSENTINEL",_wrap_BSENTINEL_get
, _wrap_BSENTINEL_set
);