1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021128-1508
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_ob__OBScreen swig_types[0]
649 #define SWIGTYPE_p_otk__Point swig_types[1]
650 #define SWIGTYPE_p_XMapEvent swig_types[2]
651 #define SWIGTYPE_p_XUnmapEvent swig_types[3]
652 #define SWIGTYPE_p_XColormapEvent swig_types[4]
653 #define SWIGTYPE_p_XNoExposeEvent swig_types[5]
654 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[6]
655 #define SWIGTYPE_p_XExposeEvent swig_types[7]
656 #define SWIGTYPE_p_XFocusChangeEvent swig_types[8]
657 #define SWIGTYPE_p_XClientMessageEvent swig_types[9]
658 #define SWIGTYPE_p_ob__MouseData swig_types[10]
659 #define SWIGTYPE_p_XSelectionClearEvent swig_types[11]
660 #define SWIGTYPE_p_otk__Rect swig_types[12]
661 #define SWIGTYPE_p_Visual swig_types[13]
662 #define SWIGTYPE_p_XResizeRequestEvent swig_types[14]
663 #define SWIGTYPE_p_XMapRequestEvent swig_types[15]
664 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[16]
665 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[17]
666 #define SWIGTYPE_p_XGravityEvent swig_types[18]
667 #define SWIGTYPE_p_XVisibilityEvent swig_types[19]
668 #define SWIGTYPE_p_XPropertyEvent swig_types[20]
669 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[21]
670 #define SWIGTYPE_p_ob__Cursors swig_types[22]
671 #define SWIGTYPE_p_ob__OBFrame swig_types[23]
672 #define SWIGTYPE_p_otk__BImageControl swig_types[24]
673 #define SWIGTYPE_p_ob__MwmHints swig_types[25]
674 #define SWIGTYPE_p_ob__OBWidget swig_types[26]
675 #define SWIGTYPE_p_ob__KeyData swig_types[27]
676 #define SWIGTYPE_p_XConfigureEvent swig_types[28]
677 #define SWIGTYPE_p_XCirculateEvent swig_types[29]
678 #define SWIGTYPE_p_XRectangle swig_types[30]
679 #define SWIGTYPE_p_std__string swig_types[31]
680 #define SWIGTYPE_p_XCrossingEvent swig_types[32]
681 #define SWIGTYPE_p_Display swig_types[33]
682 #define SWIGTYPE_p_otk__OBDisplay swig_types[34]
683 #define SWIGTYPE_p_XMappingEvent swig_types[35]
684 #define SWIGTYPE_p_otk__Style swig_types[36]
685 #define SWIGTYPE_p_otk__OtkEventHandler swig_types[37]
686 #define SWIGTYPE_p_XReparentEvent swig_types[38]
687 #define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[39]
688 #define SWIGTYPE_p_otk__BGCCache swig_types[40]
689 #define SWIGTYPE_p_ob__OBBindings swig_types[41]
690 #define SWIGTYPE_p_ob__Openbox swig_types[42]
691 #define SWIGTYPE_p_ob__OBActions swig_types[43]
692 #define SWIGTYPE_p_XEvent swig_types[44]
693 #define SWIGTYPE_p_XTextProperty swig_types[45]
694 #define SWIGTYPE_p_otk__OBProperty swig_types[46]
695 #define SWIGTYPE_p_PyObject swig_types[47]
696 #define SWIGTYPE_p_otk__ScreenInfo swig_types[48]
697 #define SWIGTYPE_p_ob__OBClient swig_types[49]
698 #define SWIGTYPE_p_ob__EventData swig_types[50]
699 #define SWIGTYPE_p_XCreateWindowEvent swig_types[51]
700 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[52]
701 #define SWIGTYPE_p_otk__OBProperty__StringVect swig_types[53]
702 #define SWIGTYPE_p_XKeyEvent swig_types[54]
703 #define SWIGTYPE_p_otk__Strut swig_types[55]
704 #define SWIGTYPE_p_unsigned_long swig_types[56]
705 #define SWIGTYPE_p_p_unsigned_long swig_types[57]
706 #define SWIGTYPE_p_XMotionEvent swig_types[58]
707 #define SWIGTYPE_p_XButtonEvent swig_types[59]
708 #define SWIGTYPE_p_XSelectionEvent swig_types[60]
709 #define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[61]
710 static swig_type_info
*swig_types
[63];
712 /* -------- TYPES TABLE (END) -------- */
715 /*-----------------------------------------------
716 @(target):= _openbox.so
717 ------------------------------------------------*/
718 #define SWIG_init init_openbox
720 #define SWIG_name "_openbox"
723 # include "../config.h"
726 #include "openbox.hh"
729 #include "bindings.hh"
730 #include "actions.hh"
732 #include "otk/otk.hh"
735 #define SWIG_MemoryError 1
736 #define SWIG_IOError 2
737 #define SWIG_RuntimeError 3
738 #define SWIG_IndexError 4
739 #define SWIG_TypeError 5
740 #define SWIG_DivisionByZero 6
741 #define SWIG_OverflowError 7
742 #define SWIG_SyntaxError 8
743 #define SWIG_ValueError 9
744 #define SWIG_SystemError 10
745 #define SWIG_UnknownError 99
748 static void _SWIG_exception(int code
, const char *msg
) {
750 case SWIG_MemoryError
:
751 PyErr_SetString(PyExc_MemoryError
,msg
);
754 PyErr_SetString(PyExc_IOError
,msg
);
756 case SWIG_RuntimeError
:
757 PyErr_SetString(PyExc_RuntimeError
,msg
);
759 case SWIG_IndexError
:
760 PyErr_SetString(PyExc_IndexError
,msg
);
763 PyErr_SetString(PyExc_TypeError
,msg
);
765 case SWIG_DivisionByZero
:
766 PyErr_SetString(PyExc_ZeroDivisionError
,msg
);
768 case SWIG_OverflowError
:
769 PyErr_SetString(PyExc_OverflowError
,msg
);
771 case SWIG_SyntaxError
:
772 PyErr_SetString(PyExc_SyntaxError
,msg
);
774 case SWIG_ValueError
:
775 PyErr_SetString(PyExc_ValueError
,msg
);
777 case SWIG_SystemError
:
778 PyErr_SetString(PyExc_SystemError
,msg
);
781 PyErr_SetString(PyExc_RuntimeError
,msg
);
786 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
794 PyObject
* SwigInt_FromBool(bool b
) {
795 return PyInt_FromLong(b
? 1L : 0L);
797 double SwigNumber_Check(PyObject
* o
) {
798 return PyFloat_Check(o
) || PyInt_Check(o
);
800 double SwigNumber_AsDouble(PyObject
* o
) {
801 return (PyFloat_Check(o
) ? PyFloat_AsDouble(o
) : double(PyInt_AsLong(o
)));
803 PyObject
* SwigString_FromString(const std::string
& s
) {
804 return PyString_FromString(s
.c_str());
806 std::string
SwigString_AsString(PyObject
* o
) {
807 return std::string(PyString_AsString(o
));
816 ob::Openbox
*Openbox_instance() { return ob::Openbox::instance
; }
820 void python_callback(PyObject
*func
, MouseData
*data
)
825 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
826 SWIGTYPE_p_ob__MouseData
,
830 result
= PyEval_CallObject(func
, arglist
);
831 if (!result
|| PyErr_Occurred()) {
832 // an exception occured in the script, display it
840 void python_callback(PyObject
*func
, EventData
*data
)
845 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
846 SWIGTYPE_p_ob__EventData
,
850 result
= PyEval_CallObject(func
, arglist
);
851 if (!result
|| PyErr_Occurred()) {
852 // an exception occured in the script, display it
860 void python_callback(PyObject
*func
, KeyData
*data
)
865 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
866 SWIGTYPE_p_ob__KeyData
,
870 result
= PyEval_CallObject(func
, arglist
);
871 if (!result
|| PyErr_Occurred()) {
872 // an exception occured in the script, display it
886 Display
*OBDisplay_display() { return otk::OBDisplay::display
; }
888 ob::OBClient
*ob_OBScreen_client(ob::OBScreen
*self
,int i
){
889 if (i
>= (int)self
->clients
.size())
891 ob::OBClient::List::iterator it
= self
->clients
.begin();
895 int ob_OBScreen_clientCount(ob::OBScreen
const *self
){
896 return (int) self
->clients
.size();
901 static PyObject
*_wrap_Openbox_instance(PyObject
*self
, PyObject
*args
) {
905 if(!PyArg_ParseTuple(args
,(char *)":Openbox_instance")) goto fail
;
906 result
= (ob::Openbox
*)Openbox_instance();
908 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Openbox
, 0);
915 static PyObject
*_wrap_OBDisplay_display(PyObject
*self
, PyObject
*args
) {
919 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_display")) goto fail
;
920 result
= (Display
*)OBDisplay_display();
922 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Display
, 0);
929 static PyObject
*_wrap_OBDisplay_initialize(PyObject
*self
, PyObject
*args
) {
933 if(!PyArg_ParseTuple(args
,(char *)"s:OBDisplay_initialize",&arg1
)) goto fail
;
934 otk::OBDisplay::initialize(arg1
);
936 Py_INCREF(Py_None
); resultobj
= Py_None
;
943 static PyObject
*_wrap_OBDisplay_destroy(PyObject
*self
, PyObject
*args
) {
946 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_destroy")) goto fail
;
947 otk::OBDisplay::destroy();
949 Py_INCREF(Py_None
); resultobj
= Py_None
;
956 static PyObject
*_wrap_OBDisplay_gcCache(PyObject
*self
, PyObject
*args
) {
958 otk::BGCCache
*result
;
960 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_gcCache")) goto fail
;
961 result
= (otk::BGCCache
*)otk::OBDisplay::gcCache();
963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BGCCache
, 0);
970 static PyObject
*_wrap_OBDisplay_screenInfo(PyObject
*self
, PyObject
*args
) {
973 otk::ScreenInfo
*result
;
975 if(!PyArg_ParseTuple(args
,(char *)"i:OBDisplay_screenInfo",&arg1
)) goto fail
;
976 result
= (otk::ScreenInfo
*)otk::OBDisplay::screenInfo(arg1
);
978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
985 static PyObject
*_wrap_OBDisplay_findScreen(PyObject
*self
, PyObject
*args
) {
988 otk::ScreenInfo
*result
;
989 PyObject
* obj0
= 0 ;
991 if(!PyArg_ParseTuple(args
,(char *)"O:OBDisplay_findScreen",&obj0
)) goto fail
;
992 arg1
= (Window
) PyInt_AsLong(obj0
);
993 if (PyErr_Occurred()) SWIG_fail
;
994 result
= (otk::ScreenInfo
*)otk::OBDisplay::findScreen(arg1
);
996 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
1003 static PyObject
*_wrap_OBDisplay_xkb(PyObject
*self
, PyObject
*args
) {
1004 PyObject
*resultobj
;
1007 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_xkb")) goto fail
;
1008 result
= (bool)otk::OBDisplay::xkb();
1010 resultobj
= PyInt_FromLong((long)result
);
1017 static PyObject
*_wrap_OBDisplay_xkbEventBase(PyObject
*self
, PyObject
*args
) {
1018 PyObject
*resultobj
;
1021 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_xkbEventBase")) goto fail
;
1022 result
= (int)otk::OBDisplay::xkbEventBase();
1024 resultobj
= PyInt_FromLong((long)result
);
1031 static PyObject
*_wrap_OBDisplay_shape(PyObject
*self
, PyObject
*args
) {
1032 PyObject
*resultobj
;
1035 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_shape")) goto fail
;
1036 result
= (bool)otk::OBDisplay::shape();
1038 resultobj
= PyInt_FromLong((long)result
);
1045 static PyObject
*_wrap_OBDisplay_shapeEventBase(PyObject
*self
, PyObject
*args
) {
1046 PyObject
*resultobj
;
1049 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_shapeEventBase")) goto fail
;
1050 result
= (int)otk::OBDisplay::shapeEventBase();
1052 resultobj
= PyInt_FromLong((long)result
);
1059 static PyObject
*_wrap_OBDisplay_xinerama(PyObject
*self
, PyObject
*args
) {
1060 PyObject
*resultobj
;
1063 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_xinerama")) goto fail
;
1064 result
= (bool)otk::OBDisplay::xinerama();
1066 resultobj
= PyInt_FromLong((long)result
);
1073 static PyObject
*_wrap_OBDisplay_numLockMask(PyObject
*self
, PyObject
*args
) {
1074 PyObject
*resultobj
;
1075 unsigned int result
;
1077 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_numLockMask")) goto fail
;
1078 result
= (unsigned int)otk::OBDisplay::numLockMask();
1080 resultobj
= PyInt_FromLong((long)result
);
1087 static PyObject
*_wrap_OBDisplay_scrollLockMask(PyObject
*self
, PyObject
*args
) {
1088 PyObject
*resultobj
;
1089 unsigned int result
;
1091 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_scrollLockMask")) goto fail
;
1092 result
= (unsigned int)otk::OBDisplay::scrollLockMask();
1094 resultobj
= PyInt_FromLong((long)result
);
1101 static PyObject
*_wrap_OBDisplay_grab(PyObject
*self
, PyObject
*args
) {
1102 PyObject
*resultobj
;
1104 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_grab")) goto fail
;
1105 otk::OBDisplay::grab();
1107 Py_INCREF(Py_None
); resultobj
= Py_None
;
1114 static PyObject
*_wrap_OBDisplay_ungrab(PyObject
*self
, PyObject
*args
) {
1115 PyObject
*resultobj
;
1117 if(!PyArg_ParseTuple(args
,(char *)":OBDisplay_ungrab")) goto fail
;
1118 otk::OBDisplay::ungrab();
1120 Py_INCREF(Py_None
); resultobj
= Py_None
;
1127 static PyObject
*_wrap_OBDisplay_grabButton(PyObject
*self
, PyObject
*args
) {
1128 PyObject
*resultobj
;
1139 PyObject
* obj0
= 0 ;
1140 PyObject
* obj1
= 0 ;
1141 PyObject
* obj2
= 0 ;
1142 PyObject
* obj3
= 0 ;
1143 PyObject
* obj4
= 0 ;
1144 PyObject
* obj7
= 0 ;
1145 PyObject
* obj8
= 0 ;
1146 PyObject
* obj9
= 0 ;
1148 if(!PyArg_ParseTuple(args
,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
1149 arg1
= (unsigned int) PyInt_AsLong(obj0
);
1150 if (PyErr_Occurred()) SWIG_fail
;
1151 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1152 if (PyErr_Occurred()) SWIG_fail
;
1153 arg3
= (Window
) PyInt_AsLong(obj2
);
1154 if (PyErr_Occurred()) SWIG_fail
;
1155 arg4
= (bool) PyInt_AsLong(obj3
);
1156 if (PyErr_Occurred()) SWIG_fail
;
1157 arg5
= (unsigned int) PyInt_AsLong(obj4
);
1158 if (PyErr_Occurred()) SWIG_fail
;
1159 arg8
= (Window
) PyInt_AsLong(obj7
);
1160 if (PyErr_Occurred()) SWIG_fail
;
1161 arg9
= (Cursor
) PyInt_AsLong(obj8
);
1162 if (PyErr_Occurred()) SWIG_fail
;
1163 arg10
= (bool) PyInt_AsLong(obj9
);
1164 if (PyErr_Occurred()) SWIG_fail
;
1165 otk::OBDisplay::grabButton(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
1167 Py_INCREF(Py_None
); resultobj
= Py_None
;
1174 static PyObject
*_wrap_OBDisplay_ungrabButton(PyObject
*self
, PyObject
*args
) {
1175 PyObject
*resultobj
;
1179 PyObject
* obj0
= 0 ;
1180 PyObject
* obj1
= 0 ;
1181 PyObject
* obj2
= 0 ;
1183 if(!PyArg_ParseTuple(args
,(char *)"OOO:OBDisplay_ungrabButton",&obj0
,&obj1
,&obj2
)) goto fail
;
1184 arg1
= (unsigned int) PyInt_AsLong(obj0
);
1185 if (PyErr_Occurred()) SWIG_fail
;
1186 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1187 if (PyErr_Occurred()) SWIG_fail
;
1188 arg3
= (Window
) PyInt_AsLong(obj2
);
1189 if (PyErr_Occurred()) SWIG_fail
;
1190 otk::OBDisplay::ungrabButton(arg1
,arg2
,arg3
);
1192 Py_INCREF(Py_None
); resultobj
= Py_None
;
1199 static PyObject
*_wrap_OBDisplay_grabKey(PyObject
*self
, PyObject
*args
) {
1200 PyObject
*resultobj
;
1208 PyObject
* obj0
= 0 ;
1209 PyObject
* obj1
= 0 ;
1210 PyObject
* obj2
= 0 ;
1211 PyObject
* obj3
= 0 ;
1212 PyObject
* obj6
= 0 ;
1214 if(!PyArg_ParseTuple(args
,(char *)"OOOOiiO:OBDisplay_grabKey",&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
1215 arg1
= (unsigned int) PyInt_AsLong(obj0
);
1216 if (PyErr_Occurred()) SWIG_fail
;
1217 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1219 arg3
= (Window
) PyInt_AsLong(obj2
);
1220 if (PyErr_Occurred()) SWIG_fail
;
1221 arg4
= (bool) PyInt_AsLong(obj3
);
1222 if (PyErr_Occurred()) SWIG_fail
;
1223 arg7
= (bool) PyInt_AsLong(obj6
);
1224 if (PyErr_Occurred()) SWIG_fail
;
1225 otk::OBDisplay::grabKey(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
1227 Py_INCREF(Py_None
); resultobj
= Py_None
;
1234 static PyObject
*_wrap_OBDisplay_ungrabKey(PyObject
*self
, PyObject
*args
) {
1235 PyObject
*resultobj
;
1239 PyObject
* obj0
= 0 ;
1240 PyObject
* obj1
= 0 ;
1241 PyObject
* obj2
= 0 ;
1243 if(!PyArg_ParseTuple(args
,(char *)"OOO:OBDisplay_ungrabKey",&obj0
,&obj1
,&obj2
)) goto fail
;
1244 arg1
= (unsigned int) PyInt_AsLong(obj0
);
1245 if (PyErr_Occurred()) SWIG_fail
;
1246 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1247 if (PyErr_Occurred()) SWIG_fail
;
1248 arg3
= (Window
) PyInt_AsLong(obj2
);
1249 if (PyErr_Occurred()) SWIG_fail
;
1250 otk::OBDisplay::ungrabKey(arg1
,arg2
,arg3
);
1252 Py_INCREF(Py_None
); resultobj
= Py_None
;
1259 static PyObject
* OBDisplay_swigregister(PyObject
*self
, PyObject
*args
) {
1261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1262 SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay
, obj
);
1264 return Py_BuildValue((char *)"");
1266 static PyObject
*_wrap_new_Point__SWIG_0(PyObject
*self
, PyObject
*args
) {
1267 PyObject
*resultobj
;
1270 if(!PyArg_ParseTuple(args
,(char *)":new_Point")) goto fail
;
1271 result
= (otk::Point
*)new otk::Point();
1273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
1280 static PyObject
*_wrap_new_Point__SWIG_1(PyObject
*self
, PyObject
*args
) {
1281 PyObject
*resultobj
;
1286 if(!PyArg_ParseTuple(args
,(char *)"ii:new_Point",&arg1
,&arg2
)) goto fail
;
1287 result
= (otk::Point
*)new otk::Point(arg1
,arg2
);
1289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
1296 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
) {
1301 argc
= PyObject_Length(args
);
1302 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
1303 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1306 return _wrap_new_Point__SWIG_0(self
,args
);
1311 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
1315 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1318 return _wrap_new_Point__SWIG_1(self
,args
);
1323 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Point'");
1328 static PyObject
*_wrap_Point_setX(PyObject
*self
, PyObject
*args
) {
1329 PyObject
*resultobj
;
1330 otk::Point
*arg1
= (otk::Point
*) 0 ;
1332 PyObject
* obj0
= 0 ;
1334 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setX",&obj0
,&arg2
)) goto fail
;
1335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1338 Py_INCREF(Py_None
); resultobj
= Py_None
;
1345 static PyObject
*_wrap_Point_x(PyObject
*self
, PyObject
*args
) {
1346 PyObject
*resultobj
;
1347 otk::Point
*arg1
= (otk::Point
*) 0 ;
1349 PyObject
* obj0
= 0 ;
1351 if(!PyArg_ParseTuple(args
,(char *)"O:Point_x",&obj0
)) goto fail
;
1352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1353 result
= (int)((otk::Point
const *)arg1
)->x();
1355 resultobj
= PyInt_FromLong((long)result
);
1362 static PyObject
*_wrap_Point_setY(PyObject
*self
, PyObject
*args
) {
1363 PyObject
*resultobj
;
1364 otk::Point
*arg1
= (otk::Point
*) 0 ;
1366 PyObject
* obj0
= 0 ;
1368 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setY",&obj0
,&arg2
)) goto fail
;
1369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1372 Py_INCREF(Py_None
); resultobj
= Py_None
;
1379 static PyObject
*_wrap_Point_y(PyObject
*self
, PyObject
*args
) {
1380 PyObject
*resultobj
;
1381 otk::Point
*arg1
= (otk::Point
*) 0 ;
1383 PyObject
* obj0
= 0 ;
1385 if(!PyArg_ParseTuple(args
,(char *)"O:Point_y",&obj0
)) goto fail
;
1386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1387 result
= (int)((otk::Point
const *)arg1
)->y();
1389 resultobj
= PyInt_FromLong((long)result
);
1396 static PyObject
*_wrap_Point_setPoint(PyObject
*self
, PyObject
*args
) {
1397 PyObject
*resultobj
;
1398 otk::Point
*arg1
= (otk::Point
*) 0 ;
1401 PyObject
* obj0
= 0 ;
1403 if(!PyArg_ParseTuple(args
,(char *)"Oii:Point_setPoint",&obj0
,&arg2
,&arg3
)) goto fail
;
1404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1405 (arg1
)->setPoint(arg2
,arg3
);
1407 Py_INCREF(Py_None
); resultobj
= Py_None
;
1414 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
1416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1417 SWIG_TypeClientData(SWIGTYPE_p_otk__Point
, obj
);
1419 return Py_BuildValue((char *)"");
1421 static PyObject
*_wrap_new_OBProperty(PyObject
*self
, PyObject
*args
) {
1422 PyObject
*resultobj
;
1423 otk::OBProperty
*result
;
1425 if(!PyArg_ParseTuple(args
,(char *)":new_OBProperty")) goto fail
;
1426 result
= (otk::OBProperty
*)new otk::OBProperty();
1428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OBProperty
, 1);
1435 static PyObject
*_wrap_delete_OBProperty(PyObject
*self
, PyObject
*args
) {
1436 PyObject
*resultobj
;
1437 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
1438 PyObject
* obj0
= 0 ;
1440 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OBProperty",&obj0
)) goto fail
;
1441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1444 Py_INCREF(Py_None
); resultobj
= Py_None
;
1451 static PyObject
*_wrap_OBProperty_set__SWIG_0(PyObject
*self
, PyObject
*args
) {
1452 PyObject
*resultobj
;
1453 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
1457 unsigned long arg5
;
1458 PyObject
* obj0
= 0 ;
1459 PyObject
* obj1
= 0 ;
1460 PyObject
* obj4
= 0 ;
1462 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1464 arg2
= (Window
) PyInt_AsLong(obj1
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1466 arg5
= (unsigned long) PyInt_AsLong(obj4
);
1467 if (PyErr_Occurred()) SWIG_fail
;
1468 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
);
1470 Py_INCREF(Py_None
); resultobj
= Py_None
;
1477 static PyObject
*_wrap_OBProperty_set__SWIG_1(PyObject
*self
, PyObject
*args
) {
1478 PyObject
*resultobj
;
1479 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
1483 unsigned long *arg5
;
1485 PyObject
* obj0
= 0 ;
1486 PyObject
* obj1
= 0 ;
1487 PyObject
* obj4
= 0 ;
1489 if(!PyArg_ParseTuple(args
,(char *)"OOiiOi:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&arg6
)) goto fail
;
1490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1491 arg2
= (Window
) PyInt_AsLong(obj1
);
1492 if (PyErr_Occurred()) SWIG_fail
;
1493 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1494 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
,arg6
);
1496 Py_INCREF(Py_None
); resultobj
= Py_None
;
1503 static PyObject
*_wrap_OBProperty_set__SWIG_2(PyObject
*self
, PyObject
*args
) {
1504 PyObject
*resultobj
;
1505 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
1509 std::string
*arg5
= 0 ;
1511 PyObject
* obj0
= 0 ;
1512 PyObject
* obj1
= 0 ;
1513 PyObject
* obj4
= 0 ;
1515 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
1516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1517 arg2
= (Window
) PyInt_AsLong(obj1
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1520 if (PyString_Check(obj4
)) {
1521 temp5
= std::string(PyString_AsString(obj4
));
1524 SWIG_exception(SWIG_TypeError
, "string expected");
1527 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,(std::string
const &)*arg5
);
1529 Py_INCREF(Py_None
); resultobj
= Py_None
;
1536 static PyObject
*_wrap_OBProperty_set__SWIG_3(PyObject
*self
, PyObject
*args
) {
1537 PyObject
*resultobj
;
1538 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
1542 otk::OBProperty::StringVect
*arg5
= 0 ;
1543 PyObject
* obj0
= 0 ;
1544 PyObject
* obj1
= 0 ;
1545 PyObject
* obj4
= 0 ;
1547 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
1548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1549 arg2
= (Window
) PyInt_AsLong(obj1
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1551 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_otk__OBProperty__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1553 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1555 ((otk::OBProperty
const *)arg1
)->set(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,(otk::OBProperty::StringVect
const &)*arg5
);
1557 Py_INCREF(Py_None
); resultobj
= Py_None
;
1564 static PyObject
*_wrap_OBProperty_set(PyObject
*self
, PyObject
*args
) {
1569 argc
= PyObject_Length(args
);
1570 for (ii
= 0; (ii
< argc
) && (ii
< 6); ii
++) {
1571 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1577 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
1586 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1590 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1594 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1599 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty__StringVect
, 0) == -1) {
1607 return _wrap_OBProperty_set__SWIG_3(self
,args
);
1618 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
1627 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1631 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1635 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1639 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
1642 return _wrap_OBProperty_set__SWIG_0(self
,args
);
1653 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
1662 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1666 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1670 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1674 _v
= PyString_Check(argv
[4]) ? 1 : 0;
1677 return _wrap_OBProperty_set__SWIG_2(self
,args
);
1688 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
1697 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1701 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1705 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1710 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
1719 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
1722 return _wrap_OBProperty_set__SWIG_1(self
,args
);
1731 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OBProperty_set'");
1736 static PyObject
*_wrap_OBProperty_get__SWIG_0(PyObject
*self
, PyObject
*args
) {
1737 PyObject
*resultobj
;
1738 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
1742 unsigned long *arg5
= (unsigned long *) 0 ;
1743 unsigned long **arg6
= (unsigned long **) 0 ;
1745 PyObject
* obj0
= 0 ;
1746 PyObject
* obj1
= 0 ;
1747 PyObject
* obj4
= 0 ;
1748 PyObject
* obj5
= 0 ;
1750 if(!PyArg_ParseTuple(args
,(char *)"OOiiOO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
)) goto fail
;
1751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1752 arg2
= (Window
) PyInt_AsLong(obj1
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1754 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1755 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1756 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
,arg6
);
1758 resultobj
= PyInt_FromLong((long)result
);
1765 static PyObject
*_wrap_OBProperty_get__SWIG_1(PyObject
*self
, PyObject
*args
) {
1766 PyObject
*resultobj
;
1767 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
1771 unsigned long *arg5
= (unsigned long *) 0 ;
1773 PyObject
* obj0
= 0 ;
1774 PyObject
* obj1
= 0 ;
1775 PyObject
* obj4
= 0 ;
1777 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
1778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1779 arg2
= (Window
) PyInt_AsLong(obj1
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1781 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1782 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::Atoms
)arg4
,arg5
);
1784 resultobj
= PyInt_FromLong((long)result
);
1791 static PyObject
*_wrap_OBProperty_get__SWIG_2(PyObject
*self
, PyObject
*args
) {
1792 PyObject
*resultobj
;
1793 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
1797 std::string
*arg5
= (std::string
*) 0 ;
1799 PyObject
* obj0
= 0 ;
1800 PyObject
* obj1
= 0 ;
1801 PyObject
* obj4
= 0 ;
1803 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
1804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1805 arg2
= (Window
) PyInt_AsLong(obj1
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1807 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_std__string
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1808 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,arg5
);
1810 resultobj
= PyInt_FromLong((long)result
);
1817 static PyObject
*_wrap_OBProperty_get__SWIG_3(PyObject
*self
, PyObject
*args
) {
1818 PyObject
*resultobj
;
1819 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
1823 unsigned long *arg5
= (unsigned long *) 0 ;
1824 otk::OBProperty::StringVect
*arg6
= (otk::OBProperty::StringVect
*) 0 ;
1826 PyObject
* obj0
= 0 ;
1827 PyObject
* obj1
= 0 ;
1828 PyObject
* obj4
= 0 ;
1829 PyObject
* obj5
= 0 ;
1831 if(!PyArg_ParseTuple(args
,(char *)"OOiiOO:OBProperty_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
)) goto fail
;
1832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1833 arg2
= (Window
) PyInt_AsLong(obj1
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1835 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1836 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_otk__OBProperty__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1837 result
= (bool)((otk::OBProperty
const *)arg1
)->get(arg2
,(otk::OBProperty::Atoms
)arg3
,(otk::OBProperty::StringType
)arg4
,arg5
,arg6
);
1839 resultobj
= PyInt_FromLong((long)result
);
1846 static PyObject
*_wrap_OBProperty_get(PyObject
*self
, PyObject
*args
) {
1851 argc
= PyObject_Length(args
);
1852 for (ii
= 0; (ii
< argc
) && (ii
< 6); ii
++) {
1853 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1859 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
1868 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1872 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1876 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1881 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
1889 return _wrap_OBProperty_get__SWIG_1(self
,args
);
1900 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
1909 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1913 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1917 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1922 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_std__string
, 0) == -1) {
1930 return _wrap_OBProperty_get__SWIG_2(self
,args
);
1941 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
1950 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1954 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1958 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1963 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
1973 if (SWIG_ConvertPtr(argv
[5], (void **) &ptr
, SWIGTYPE_p_p_unsigned_long
, 0) == -1) {
1981 return _wrap_OBProperty_get__SWIG_0(self
,args
);
1993 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty
, 0) == -1) {
2002 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2006 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2010 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
2015 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
2025 if (SWIG_ConvertPtr(argv
[5], (void **) &ptr
, SWIGTYPE_p_otk__OBProperty__StringVect
, 0) == -1) {
2033 return _wrap_OBProperty_get__SWIG_3(self
,args
);
2042 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'OBProperty_get'");
2047 static PyObject
*_wrap_OBProperty_erase(PyObject
*self
, PyObject
*args
) {
2048 PyObject
*resultobj
;
2049 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
2052 PyObject
* obj0
= 0 ;
2053 PyObject
* obj1
= 0 ;
2055 if(!PyArg_ParseTuple(args
,(char *)"OOi:OBProperty_erase",&obj0
,&obj1
,&arg3
)) goto fail
;
2056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2057 arg2
= (Window
) PyInt_AsLong(obj1
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2059 ((otk::OBProperty
const *)arg1
)->erase(arg2
,(otk::OBProperty::Atoms
)arg3
);
2061 Py_INCREF(Py_None
); resultobj
= Py_None
;
2068 static PyObject
*_wrap_OBProperty_atom(PyObject
*self
, PyObject
*args
) {
2069 PyObject
*resultobj
;
2070 otk::OBProperty
*arg1
= (otk::OBProperty
*) 0 ;
2073 PyObject
* obj0
= 0 ;
2075 if(!PyArg_ParseTuple(args
,(char *)"Oi:OBProperty_atom",&obj0
,&arg2
)) goto fail
;
2076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OBProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2077 result
= (Atom
)((otk::OBProperty
const *)arg1
)->atom((otk::OBProperty::Atoms
)arg2
);
2079 resultobj
= PyInt_FromLong((long)result
);
2086 static PyObject
* OBProperty_swigregister(PyObject
*self
, PyObject
*args
) {
2088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2089 SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty
, obj
);
2091 return Py_BuildValue((char *)"");
2093 static PyObject
*_wrap_new_Rect__SWIG_0(PyObject
*self
, PyObject
*args
) {
2094 PyObject
*resultobj
;
2097 if(!PyArg_ParseTuple(args
,(char *)":new_Rect")) goto fail
;
2098 result
= (otk::Rect
*)new otk::Rect();
2100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
2107 static PyObject
*_wrap_new_Rect__SWIG_1(PyObject
*self
, PyObject
*args
) {
2108 PyObject
*resultobj
;
2115 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Rect",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2116 result
= (otk::Rect
*)new otk::Rect(arg1
,arg2
,arg3
,arg4
);
2118 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
2125 static PyObject
*_wrap_new_Rect__SWIG_2(PyObject
*self
, PyObject
*args
) {
2126 PyObject
*resultobj
;
2127 otk::Point
*arg1
= 0 ;
2128 otk::Point
*arg2
= 0 ;
2130 PyObject
* obj0
= 0 ;
2131 PyObject
* obj1
= 0 ;
2133 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Rect",&obj0
,&obj1
)) goto fail
;
2134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2136 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2138 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2140 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2142 result
= (otk::Rect
*)new otk::Rect((otk::Point
const &)*arg1
,(otk::Point
const &)*arg2
);
2144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
2151 static PyObject
*_wrap_new_Rect__SWIG_3(PyObject
*self
, PyObject
*args
) {
2152 PyObject
*resultobj
;
2153 otk::Rect
*arg1
= 0 ;
2155 PyObject
* obj0
= 0 ;
2157 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
2158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2160 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2162 result
= (otk::Rect
*)new otk::Rect((otk::Rect
const &)*arg1
);
2164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
2171 static PyObject
*_wrap_new_Rect__SWIG_4(PyObject
*self
, PyObject
*args
) {
2172 PyObject
*resultobj
;
2173 XRectangle
*arg1
= 0 ;
2175 PyObject
* obj0
= 0 ;
2177 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
2178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_XRectangle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2182 result
= (otk::Rect
*)new otk::Rect((XRectangle
const &)*arg1
);
2184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
2191 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
) {
2196 argc
= PyObject_Length(args
);
2197 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
2198 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2201 return _wrap_new_Rect__SWIG_0(self
,args
);
2207 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2215 return _wrap_new_Rect__SWIG_3(self
,args
);
2222 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_XRectangle
, 0) == -1) {
2230 return _wrap_new_Rect__SWIG_4(self
,args
);
2237 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2247 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2255 return _wrap_new_Rect__SWIG_2(self
,args
);
2262 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
2266 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2270 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2274 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
2277 return _wrap_new_Rect__SWIG_1(self
,args
);
2284 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Rect'");
2289 static PyObject
*_wrap_Rect_left(PyObject
*self
, PyObject
*args
) {
2290 PyObject
*resultobj
;
2291 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2293 PyObject
* obj0
= 0 ;
2295 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_left",&obj0
)) goto fail
;
2296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2297 result
= (int)((otk::Rect
const *)arg1
)->left();
2299 resultobj
= PyInt_FromLong((long)result
);
2306 static PyObject
*_wrap_Rect_top(PyObject
*self
, PyObject
*args
) {
2307 PyObject
*resultobj
;
2308 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2310 PyObject
* obj0
= 0 ;
2312 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_top",&obj0
)) goto fail
;
2313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2314 result
= (int)((otk::Rect
const *)arg1
)->top();
2316 resultobj
= PyInt_FromLong((long)result
);
2323 static PyObject
*_wrap_Rect_right(PyObject
*self
, PyObject
*args
) {
2324 PyObject
*resultobj
;
2325 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2329 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_right",&obj0
)) goto fail
;
2330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2331 result
= (int)((otk::Rect
const *)arg1
)->right();
2333 resultobj
= PyInt_FromLong((long)result
);
2340 static PyObject
*_wrap_Rect_bottom(PyObject
*self
, PyObject
*args
) {
2341 PyObject
*resultobj
;
2342 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2344 PyObject
* obj0
= 0 ;
2346 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_bottom",&obj0
)) goto fail
;
2347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2348 result
= (int)((otk::Rect
const *)arg1
)->bottom();
2350 resultobj
= PyInt_FromLong((long)result
);
2357 static PyObject
*_wrap_Rect_x(PyObject
*self
, PyObject
*args
) {
2358 PyObject
*resultobj
;
2359 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2361 PyObject
* obj0
= 0 ;
2363 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_x",&obj0
)) goto fail
;
2364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2365 result
= (int)((otk::Rect
const *)arg1
)->x();
2367 resultobj
= PyInt_FromLong((long)result
);
2374 static PyObject
*_wrap_Rect_y(PyObject
*self
, PyObject
*args
) {
2375 PyObject
*resultobj
;
2376 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2378 PyObject
* obj0
= 0 ;
2380 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_y",&obj0
)) goto fail
;
2381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2382 result
= (int)((otk::Rect
const *)arg1
)->y();
2384 resultobj
= PyInt_FromLong((long)result
);
2391 static PyObject
*_wrap_Rect_location(PyObject
*self
, PyObject
*args
) {
2392 PyObject
*resultobj
;
2393 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2395 PyObject
* obj0
= 0 ;
2397 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_location",&obj0
)) goto fail
;
2398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2399 result
= ((otk::Rect
const *)arg1
)->location();
2402 otk::Point
* resultptr
;
2403 resultptr
= new otk::Point((otk::Point
&) result
);
2404 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
2412 static PyObject
*_wrap_Rect_setX(PyObject
*self
, PyObject
*args
) {
2413 PyObject
*resultobj
;
2414 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2416 PyObject
* obj0
= 0 ;
2418 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setX",&obj0
,&arg2
)) goto fail
;
2419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2422 Py_INCREF(Py_None
); resultobj
= Py_None
;
2429 static PyObject
*_wrap_Rect_setY(PyObject
*self
, PyObject
*args
) {
2430 PyObject
*resultobj
;
2431 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2433 PyObject
* obj0
= 0 ;
2435 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setY",&obj0
,&arg2
)) goto fail
;
2436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2439 Py_INCREF(Py_None
); resultobj
= Py_None
;
2446 static PyObject
*_wrap_Rect_setPos__SWIG_0(PyObject
*self
, PyObject
*args
) {
2447 PyObject
*resultobj
;
2448 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2451 PyObject
* obj0
= 0 ;
2453 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setPos",&obj0
,&arg2
,&arg3
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2455 (arg1
)->setPos(arg2
,arg3
);
2457 Py_INCREF(Py_None
); resultobj
= Py_None
;
2464 static PyObject
*_wrap_Rect_setPos__SWIG_1(PyObject
*self
, PyObject
*args
) {
2465 PyObject
*resultobj
;
2466 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2467 otk::Point
*arg2
= 0 ;
2468 PyObject
* obj0
= 0 ;
2469 PyObject
* obj1
= 0 ;
2471 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setPos",&obj0
,&obj1
)) goto fail
;
2472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2473 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2475 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2477 (arg1
)->setPos((otk::Point
const &)*arg2
);
2479 Py_INCREF(Py_None
); resultobj
= Py_None
;
2486 static PyObject
*_wrap_Rect_setPos(PyObject
*self
, PyObject
*args
) {
2491 argc
= PyObject_Length(args
);
2492 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2493 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2499 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2509 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2517 return _wrap_Rect_setPos__SWIG_1(self
,args
);
2525 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2534 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2538 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2541 return _wrap_Rect_setPos__SWIG_0(self
,args
);
2547 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setPos'");
2552 static PyObject
*_wrap_Rect_width(PyObject
*self
, PyObject
*args
) {
2553 PyObject
*resultobj
;
2554 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2556 PyObject
* obj0
= 0 ;
2558 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_width",&obj0
)) goto fail
;
2559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2560 result
= (int)((otk::Rect
const *)arg1
)->width();
2562 resultobj
= PyInt_FromLong((long)result
);
2569 static PyObject
*_wrap_Rect_height(PyObject
*self
, PyObject
*args
) {
2570 PyObject
*resultobj
;
2571 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2573 PyObject
* obj0
= 0 ;
2575 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_height",&obj0
)) goto fail
;
2576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2577 result
= (int)((otk::Rect
const *)arg1
)->height();
2579 resultobj
= PyInt_FromLong((long)result
);
2586 static PyObject
*_wrap_Rect_size(PyObject
*self
, PyObject
*args
) {
2587 PyObject
*resultobj
;
2588 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2590 PyObject
* obj0
= 0 ;
2592 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_size",&obj0
)) goto fail
;
2593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2594 result
= ((otk::Rect
const *)arg1
)->size();
2597 otk::Point
* resultptr
;
2598 resultptr
= new otk::Point((otk::Point
&) result
);
2599 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
2607 static PyObject
*_wrap_Rect_setWidth(PyObject
*self
, PyObject
*args
) {
2608 PyObject
*resultobj
;
2609 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2611 PyObject
* obj0
= 0 ;
2613 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setWidth",&obj0
,&arg2
)) goto fail
;
2614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2615 (arg1
)->setWidth(arg2
);
2617 Py_INCREF(Py_None
); resultobj
= Py_None
;
2624 static PyObject
*_wrap_Rect_setHeight(PyObject
*self
, PyObject
*args
) {
2625 PyObject
*resultobj
;
2626 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2628 PyObject
* obj0
= 0 ;
2630 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setHeight",&obj0
,&arg2
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2632 (arg1
)->setHeight(arg2
);
2634 Py_INCREF(Py_None
); resultobj
= Py_None
;
2641 static PyObject
*_wrap_Rect_setSize__SWIG_0(PyObject
*self
, PyObject
*args
) {
2642 PyObject
*resultobj
;
2643 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2646 PyObject
* obj0
= 0 ;
2648 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setSize",&obj0
,&arg2
,&arg3
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2650 (arg1
)->setSize(arg2
,arg3
);
2652 Py_INCREF(Py_None
); resultobj
= Py_None
;
2659 static PyObject
*_wrap_Rect_setSize__SWIG_1(PyObject
*self
, PyObject
*args
) {
2660 PyObject
*resultobj
;
2661 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2662 otk::Point
*arg2
= 0 ;
2663 PyObject
* obj0
= 0 ;
2664 PyObject
* obj1
= 0 ;
2666 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setSize",&obj0
,&obj1
)) goto fail
;
2667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2668 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2670 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2672 (arg1
)->setSize((otk::Point
const &)*arg2
);
2674 Py_INCREF(Py_None
); resultobj
= Py_None
;
2681 static PyObject
*_wrap_Rect_setSize(PyObject
*self
, PyObject
*args
) {
2686 argc
= PyObject_Length(args
);
2687 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2688 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2694 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2704 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2712 return _wrap_Rect_setSize__SWIG_1(self
,args
);
2720 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2729 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2733 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2736 return _wrap_Rect_setSize__SWIG_0(self
,args
);
2742 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setSize'");
2747 static PyObject
*_wrap_Rect_setRect__SWIG_0(PyObject
*self
, PyObject
*args
) {
2748 PyObject
*resultobj
;
2749 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2754 PyObject
* obj0
= 0 ;
2756 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setRect",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2758 (arg1
)->setRect(arg2
,arg3
,arg4
,arg5
);
2760 Py_INCREF(Py_None
); resultobj
= Py_None
;
2767 static PyObject
*_wrap_Rect_setRect__SWIG_1(PyObject
*self
, PyObject
*args
) {
2768 PyObject
*resultobj
;
2769 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2770 otk::Point
*arg2
= 0 ;
2771 otk::Point
*arg3
= 0 ;
2772 PyObject
* obj0
= 0 ;
2773 PyObject
* obj1
= 0 ;
2774 PyObject
* obj2
= 0 ;
2776 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setRect",&obj0
,&obj1
,&obj2
)) goto fail
;
2777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2780 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2782 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2784 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2786 (arg1
)->setRect((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
2788 Py_INCREF(Py_None
); resultobj
= Py_None
;
2795 static PyObject
*_wrap_Rect_setRect(PyObject
*self
, PyObject
*args
) {
2800 argc
= PyObject_Length(args
);
2801 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
2802 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2808 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2818 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2828 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2836 return _wrap_Rect_setRect__SWIG_1(self
,args
);
2845 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2854 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2858 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2862 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
2866 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
2869 return _wrap_Rect_setRect__SWIG_0(self
,args
);
2877 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setRect'");
2882 static PyObject
*_wrap_Rect_setCoords__SWIG_0(PyObject
*self
, PyObject
*args
) {
2883 PyObject
*resultobj
;
2884 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2889 PyObject
* obj0
= 0 ;
2891 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setCoords",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2893 (arg1
)->setCoords(arg2
,arg3
,arg4
,arg5
);
2895 Py_INCREF(Py_None
); resultobj
= Py_None
;
2902 static PyObject
*_wrap_Rect_setCoords__SWIG_1(PyObject
*self
, PyObject
*args
) {
2903 PyObject
*resultobj
;
2904 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2905 otk::Point
*arg2
= 0 ;
2906 otk::Point
*arg3
= 0 ;
2907 PyObject
* obj0
= 0 ;
2908 PyObject
* obj1
= 0 ;
2909 PyObject
* obj2
= 0 ;
2911 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setCoords",&obj0
,&obj1
,&obj2
)) goto fail
;
2912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2915 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2917 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2919 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2921 (arg1
)->setCoords((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
2923 Py_INCREF(Py_None
); resultobj
= Py_None
;
2930 static PyObject
*_wrap_Rect_setCoords(PyObject
*self
, PyObject
*args
) {
2935 argc
= PyObject_Length(args
);
2936 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
2937 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2943 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2953 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2963 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2971 return _wrap_Rect_setCoords__SWIG_1(self
,args
);
2980 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2989 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2993 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2997 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
3001 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
3004 return _wrap_Rect_setCoords__SWIG_0(self
,args
);
3012 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setCoords'");
3017 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
) {
3018 PyObject
*resultobj
;
3019 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3020 otk::Rect
*arg2
= 0 ;
3022 PyObject
* obj0
= 0 ;
3023 PyObject
* obj1
= 0 ;
3025 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___eq__",&obj0
,&obj1
)) goto fail
;
3026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3029 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3031 result
= (bool)(arg1
)->operator ==((otk::Rect
const &)*arg2
);
3033 resultobj
= PyInt_FromLong((long)result
);
3040 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
) {
3041 PyObject
*resultobj
;
3042 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3043 otk::Rect
*arg2
= 0 ;
3045 PyObject
* obj0
= 0 ;
3046 PyObject
* obj1
= 0 ;
3048 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___ne__",&obj0
,&obj1
)) goto fail
;
3049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3050 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3052 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3054 result
= (bool)(arg1
)->operator !=((otk::Rect
const &)*arg2
);
3056 resultobj
= PyInt_FromLong((long)result
);
3063 static PyObject
*_wrap_Rect___or__(PyObject
*self
, PyObject
*args
) {
3064 PyObject
*resultobj
;
3065 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3066 otk::Rect
*arg2
= 0 ;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3071 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___or__",&obj0
,&obj1
)) goto fail
;
3072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3075 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3077 result
= ((otk::Rect
const *)arg1
)->operator |((otk::Rect
const &)*arg2
);
3080 otk::Rect
* resultptr
;
3081 resultptr
= new otk::Rect((otk::Rect
&) result
);
3082 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Rect
, 1);
3090 static PyObject
*_wrap_Rect___and__(PyObject
*self
, PyObject
*args
) {
3091 PyObject
*resultobj
;
3092 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3093 otk::Rect
*arg2
= 0 ;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3098 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___and__",&obj0
,&obj1
)) goto fail
;
3099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3100 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3104 result
= ((otk::Rect
const *)arg1
)->operator &((otk::Rect
const &)*arg2
);
3107 otk::Rect
* resultptr
;
3108 resultptr
= new otk::Rect((otk::Rect
&) result
);
3109 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Rect
, 1);
3117 static PyObject
*_wrap_Rect___ior__(PyObject
*self
, PyObject
*args
) {
3118 PyObject
*resultobj
;
3119 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3120 otk::Rect
*arg2
= 0 ;
3122 PyObject
* obj0
= 0 ;
3123 PyObject
* obj1
= 0 ;
3125 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___ior__",&obj0
,&obj1
)) goto fail
;
3126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3127 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3129 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3132 otk::Rect
&_result_ref
= (arg1
)->operator |=((otk::Rect
const &)*arg2
);
3133 result
= (otk::Rect
*) &_result_ref
;
3136 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
3143 static PyObject
*_wrap_Rect___iand__(PyObject
*self
, PyObject
*args
) {
3144 PyObject
*resultobj
;
3145 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3146 otk::Rect
*arg2
= 0 ;
3148 PyObject
* obj0
= 0 ;
3149 PyObject
* obj1
= 0 ;
3151 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___iand__",&obj0
,&obj1
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3155 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3158 otk::Rect
&_result_ref
= (arg1
)->operator &=((otk::Rect
const &)*arg2
);
3159 result
= (otk::Rect
*) &_result_ref
;
3162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
3169 static PyObject
*_wrap_Rect_valid(PyObject
*self
, PyObject
*args
) {
3170 PyObject
*resultobj
;
3171 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3173 PyObject
* obj0
= 0 ;
3175 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_valid",&obj0
)) goto fail
;
3176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3177 result
= (bool)((otk::Rect
const *)arg1
)->valid();
3179 resultobj
= PyInt_FromLong((long)result
);
3186 static PyObject
*_wrap_Rect_intersects(PyObject
*self
, PyObject
*args
) {
3187 PyObject
*resultobj
;
3188 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3189 otk::Rect
*arg2
= 0 ;
3191 PyObject
* obj0
= 0 ;
3192 PyObject
* obj1
= 0 ;
3194 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_intersects",&obj0
,&obj1
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3196 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3198 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3200 result
= (bool)((otk::Rect
const *)arg1
)->intersects((otk::Rect
const &)*arg2
);
3202 resultobj
= PyInt_FromLong((long)result
);
3209 static PyObject
*_wrap_Rect_contains__SWIG_0(PyObject
*self
, PyObject
*args
) {
3210 PyObject
*resultobj
;
3211 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3215 PyObject
* obj0
= 0 ;
3217 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_contains",&obj0
,&arg2
,&arg3
)) goto fail
;
3218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3219 result
= (bool)((otk::Rect
const *)arg1
)->contains(arg2
,arg3
);
3221 resultobj
= PyInt_FromLong((long)result
);
3228 static PyObject
*_wrap_Rect_contains__SWIG_1(PyObject
*self
, PyObject
*args
) {
3229 PyObject
*resultobj
;
3230 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3231 otk::Point
*arg2
= 0 ;
3233 PyObject
* obj0
= 0 ;
3234 PyObject
* obj1
= 0 ;
3236 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
3237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3238 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3240 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3242 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Point
const &)*arg2
);
3244 resultobj
= PyInt_FromLong((long)result
);
3251 static PyObject
*_wrap_Rect_contains__SWIG_2(PyObject
*self
, PyObject
*args
) {
3252 PyObject
*resultobj
;
3253 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3254 otk::Rect
*arg2
= 0 ;
3256 PyObject
* obj0
= 0 ;
3257 PyObject
* obj1
= 0 ;
3259 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
3260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3263 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3265 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Rect
const &)*arg2
);
3267 resultobj
= PyInt_FromLong((long)result
);
3274 static PyObject
*_wrap_Rect_contains(PyObject
*self
, PyObject
*args
) {
3279 argc
= PyObject_Length(args
);
3280 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3281 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3287 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
3297 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
3305 return _wrap_Rect_contains__SWIG_1(self
,args
);
3313 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
3323 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
3331 return _wrap_Rect_contains__SWIG_2(self
,args
);
3339 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
3348 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
3352 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
3355 return _wrap_Rect_contains__SWIG_0(self
,args
);
3361 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_contains'");
3366 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
3368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3369 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect
, obj
);
3371 return Py_BuildValue((char *)"");
3373 static PyObject
*_wrap_new_ScreenInfo(PyObject
*self
, PyObject
*args
) {
3374 PyObject
*resultobj
;
3376 otk::ScreenInfo
*result
;
3377 PyObject
* obj0
= 0 ;
3379 if(!PyArg_ParseTuple(args
,(char *)"O:new_ScreenInfo",&obj0
)) goto fail
;
3380 arg1
= (unsigned int) PyInt_AsLong(obj0
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3382 result
= (otk::ScreenInfo
*)new otk::ScreenInfo(arg1
);
3384 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 1);
3391 static PyObject
*_wrap_ScreenInfo_visual(PyObject
*self
, PyObject
*args
) {
3392 PyObject
*resultobj
;
3393 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3397 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_visual",&obj0
)) goto fail
;
3398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3399 result
= (Visual
*)((otk::ScreenInfo
const *)arg1
)->visual();
3401 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Visual
, 0);
3408 static PyObject
*_wrap_ScreenInfo_rootWindow(PyObject
*self
, PyObject
*args
) {
3409 PyObject
*resultobj
;
3410 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3414 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rootWindow",&obj0
)) goto fail
;
3415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3416 result
= (Window
)((otk::ScreenInfo
const *)arg1
)->rootWindow();
3418 resultobj
= PyInt_FromLong((long)result
);
3425 static PyObject
*_wrap_ScreenInfo_colormap(PyObject
*self
, PyObject
*args
) {
3426 PyObject
*resultobj
;
3427 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3431 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_colormap",&obj0
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3433 result
= (Colormap
)((otk::ScreenInfo
const *)arg1
)->colormap();
3435 resultobj
= PyInt_FromLong((long)result
);
3442 static PyObject
*_wrap_ScreenInfo_depth(PyObject
*self
, PyObject
*args
) {
3443 PyObject
*resultobj
;
3444 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3446 PyObject
* obj0
= 0 ;
3448 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_depth",&obj0
)) goto fail
;
3449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3450 result
= (int)((otk::ScreenInfo
const *)arg1
)->depth();
3452 resultobj
= PyInt_FromLong((long)result
);
3459 static PyObject
*_wrap_ScreenInfo_screen(PyObject
*self
, PyObject
*args
) {
3460 PyObject
*resultobj
;
3461 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3462 unsigned int result
;
3463 PyObject
* obj0
= 0 ;
3465 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_screen",&obj0
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3467 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->screen();
3469 resultobj
= PyInt_FromLong((long)result
);
3476 static PyObject
*_wrap_ScreenInfo_rect(PyObject
*self
, PyObject
*args
) {
3477 PyObject
*resultobj
;
3478 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3480 PyObject
* obj0
= 0 ;
3482 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rect",&obj0
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3485 otk::Rect
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->rect();
3486 result
= (otk::Rect
*) &_result_ref
;
3489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
3496 static PyObject
*_wrap_ScreenInfo_width(PyObject
*self
, PyObject
*args
) {
3497 PyObject
*resultobj
;
3498 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3499 unsigned int result
;
3500 PyObject
* obj0
= 0 ;
3502 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_width",&obj0
)) goto fail
;
3503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3504 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->width();
3506 resultobj
= PyInt_FromLong((long)result
);
3513 static PyObject
*_wrap_ScreenInfo_height(PyObject
*self
, PyObject
*args
) {
3514 PyObject
*resultobj
;
3515 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3516 unsigned int result
;
3517 PyObject
* obj0
= 0 ;
3519 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_height",&obj0
)) goto fail
;
3520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3521 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->height();
3523 resultobj
= PyInt_FromLong((long)result
);
3530 static PyObject
*_wrap_ScreenInfo_displayString(PyObject
*self
, PyObject
*args
) {
3531 PyObject
*resultobj
;
3532 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3533 std::string
*result
;
3534 PyObject
* obj0
= 0 ;
3536 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_displayString",&obj0
)) goto fail
;
3537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3539 std::string
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->displayString();
3540 result
= (std::string
*) &_result_ref
;
3544 resultobj
= PyString_FromString(result
->c_str());
3552 static PyObject
* ScreenInfo_swigregister(PyObject
*self
, PyObject
*args
) {
3554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3555 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo
, obj
);
3557 return Py_BuildValue((char *)"");
3559 static PyObject
*_wrap_Strut_top_set(PyObject
*self
, PyObject
*args
) {
3560 PyObject
*resultobj
;
3561 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3566 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_top_set",&obj0
,&obj1
)) goto fail
;
3567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3568 arg2
= (unsigned int) PyInt_AsLong(obj1
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3570 if (arg1
) (arg1
)->top
= arg2
;
3572 Py_INCREF(Py_None
); resultobj
= Py_None
;
3579 static PyObject
*_wrap_Strut_top_get(PyObject
*self
, PyObject
*args
) {
3580 PyObject
*resultobj
;
3581 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3582 unsigned int result
;
3583 PyObject
* obj0
= 0 ;
3585 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_top_get",&obj0
)) goto fail
;
3586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3587 result
= (unsigned int) ((arg1
)->top
);
3589 resultobj
= PyInt_FromLong((long)result
);
3596 static PyObject
*_wrap_Strut_bottom_set(PyObject
*self
, PyObject
*args
) {
3597 PyObject
*resultobj
;
3598 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3600 PyObject
* obj0
= 0 ;
3601 PyObject
* obj1
= 0 ;
3603 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_bottom_set",&obj0
,&obj1
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3605 arg2
= (unsigned int) PyInt_AsLong(obj1
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3607 if (arg1
) (arg1
)->bottom
= arg2
;
3609 Py_INCREF(Py_None
); resultobj
= Py_None
;
3616 static PyObject
*_wrap_Strut_bottom_get(PyObject
*self
, PyObject
*args
) {
3617 PyObject
*resultobj
;
3618 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3619 unsigned int result
;
3620 PyObject
* obj0
= 0 ;
3622 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_bottom_get",&obj0
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3624 result
= (unsigned int) ((arg1
)->bottom
);
3626 resultobj
= PyInt_FromLong((long)result
);
3633 static PyObject
*_wrap_Strut_left_set(PyObject
*self
, PyObject
*args
) {
3634 PyObject
*resultobj
;
3635 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3637 PyObject
* obj0
= 0 ;
3638 PyObject
* obj1
= 0 ;
3640 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_left_set",&obj0
,&obj1
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3642 arg2
= (unsigned int) PyInt_AsLong(obj1
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3644 if (arg1
) (arg1
)->left
= arg2
;
3646 Py_INCREF(Py_None
); resultobj
= Py_None
;
3653 static PyObject
*_wrap_Strut_left_get(PyObject
*self
, PyObject
*args
) {
3654 PyObject
*resultobj
;
3655 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3656 unsigned int result
;
3657 PyObject
* obj0
= 0 ;
3659 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_left_get",&obj0
)) goto fail
;
3660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3661 result
= (unsigned int) ((arg1
)->left
);
3663 resultobj
= PyInt_FromLong((long)result
);
3670 static PyObject
*_wrap_Strut_right_set(PyObject
*self
, PyObject
*args
) {
3671 PyObject
*resultobj
;
3672 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3674 PyObject
* obj0
= 0 ;
3675 PyObject
* obj1
= 0 ;
3677 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_right_set",&obj0
,&obj1
)) goto fail
;
3678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3679 arg2
= (unsigned int) PyInt_AsLong(obj1
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3681 if (arg1
) (arg1
)->right
= arg2
;
3683 Py_INCREF(Py_None
); resultobj
= Py_None
;
3690 static PyObject
*_wrap_Strut_right_get(PyObject
*self
, PyObject
*args
) {
3691 PyObject
*resultobj
;
3692 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3693 unsigned int result
;
3694 PyObject
* obj0
= 0 ;
3696 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_right_get",&obj0
)) goto fail
;
3697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3698 result
= (unsigned int) ((arg1
)->right
);
3700 resultobj
= PyInt_FromLong((long)result
);
3707 static PyObject
*_wrap_new_Strut__SWIG_0(PyObject
*self
, PyObject
*args
) {
3708 PyObject
*resultobj
;
3711 if(!PyArg_ParseTuple(args
,(char *)":new_Strut")) goto fail
;
3712 result
= (otk::Strut
*)new otk::Strut();
3714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
3721 static PyObject
*_wrap_new_Strut__SWIG_1(PyObject
*self
, PyObject
*args
) {
3722 PyObject
*resultobj
;
3729 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Strut",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
3730 result
= (otk::Strut
*)new otk::Strut(arg1
,arg2
,arg3
,arg4
);
3732 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
3739 static PyObject
*_wrap_new_Strut(PyObject
*self
, PyObject
*args
) {
3744 argc
= PyObject_Length(args
);
3745 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
3746 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3749 return _wrap_new_Strut__SWIG_0(self
,args
);
3754 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
3758 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
3762 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
3766 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
3769 return _wrap_new_Strut__SWIG_1(self
,args
);
3776 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Strut'");
3781 static PyObject
* Strut_swigregister(PyObject
*self
, PyObject
*args
) {
3783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3784 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut
, obj
);
3786 return Py_BuildValue((char *)"");
3788 static int _wrap_BSENTINEL_set(PyObject
*_val
) {
3789 PyErr_SetString(PyExc_TypeError
,"Variable BSENTINEL is read-only.");
3794 static PyObject
*_wrap_BSENTINEL_get() {
3797 pyobj
= PyInt_FromLong((long)otk::BSENTINEL
);
3802 static PyObject
*_wrap_expandTilde(PyObject
*self
, PyObject
*args
) {
3803 PyObject
*resultobj
;
3804 std::string
*arg1
= 0 ;
3807 PyObject
* obj0
= 0 ;
3809 if(!PyArg_ParseTuple(args
,(char *)"O:expandTilde",&obj0
)) goto fail
;
3811 if (PyString_Check(obj0
)) {
3812 temp1
= std::string(PyString_AsString(obj0
));
3815 SWIG_exception(SWIG_TypeError
, "string expected");
3818 result
= otk::expandTilde((std::string
const &)*arg1
);
3821 resultobj
= PyString_FromString((&result
)->c_str());
3829 static PyObject
*_wrap_bexec(PyObject
*self
, PyObject
*args
) {
3830 PyObject
*resultobj
;
3831 std::string
*arg1
= 0 ;
3832 std::string
*arg2
= 0 ;
3835 PyObject
* obj0
= 0 ;
3836 PyObject
* obj1
= 0 ;
3838 if(!PyArg_ParseTuple(args
,(char *)"OO:bexec",&obj0
,&obj1
)) goto fail
;
3840 if (PyString_Check(obj0
)) {
3841 temp1
= std::string(PyString_AsString(obj0
));
3844 SWIG_exception(SWIG_TypeError
, "string expected");
3848 if (PyString_Check(obj1
)) {
3849 temp2
= std::string(PyString_AsString(obj1
));
3852 SWIG_exception(SWIG_TypeError
, "string expected");
3855 otk::bexec((std::string
const &)*arg1
,(std::string
const &)*arg2
);
3857 Py_INCREF(Py_None
); resultobj
= Py_None
;
3864 static PyObject
*_wrap_textPropertyToString(PyObject
*self
, PyObject
*args
) {
3865 PyObject
*resultobj
;
3866 Display
*arg1
= (Display
*) 0 ;
3867 XTextProperty
*arg2
= 0 ;
3869 PyObject
* obj0
= 0 ;
3870 PyObject
* obj1
= 0 ;
3872 if(!PyArg_ParseTuple(args
,(char *)"OO:textPropertyToString",&obj0
,&obj1
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3874 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XTextProperty
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3878 result
= otk::textPropertyToString(arg1
,*arg2
);
3881 resultobj
= PyString_FromString((&result
)->c_str());
3889 static PyObject
*_wrap_itostring_unsigned_long(PyObject
*self
, PyObject
*args
) {
3890 PyObject
*resultobj
;
3891 unsigned long arg1
;
3893 PyObject
* obj0
= 0 ;
3895 if(!PyArg_ParseTuple(args
,(char *)"O:itostring_unsigned_long",&obj0
)) goto fail
;
3896 arg1
= (unsigned long) PyInt_AsLong(obj0
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3898 result
= otk::itostring(arg1
);
3901 resultobj
= PyString_FromString((&result
)->c_str());
3909 static PyObject
*_wrap_itostring_long(PyObject
*self
, PyObject
*args
) {
3910 PyObject
*resultobj
;
3914 if(!PyArg_ParseTuple(args
,(char *)"l:itostring_long",&arg1
)) goto fail
;
3915 result
= otk::itostring(arg1
);
3918 resultobj
= PyString_FromString((&result
)->c_str());
3926 static PyObject
*_wrap_itostring_unsigned(PyObject
*self
, PyObject
*args
) {
3927 PyObject
*resultobj
;
3930 PyObject
* obj0
= 0 ;
3932 if(!PyArg_ParseTuple(args
,(char *)"O:itostring_unsigned",&obj0
)) goto fail
;
3933 arg1
= (unsigned int) PyInt_AsLong(obj0
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3935 result
= otk::itostring(arg1
);
3938 resultobj
= PyString_FromString((&result
)->c_str());
3946 static PyObject
*_wrap_itostring(PyObject
*self
, PyObject
*args
) {
3947 PyObject
*resultobj
;
3951 if(!PyArg_ParseTuple(args
,(char *)"i:itostring",&arg1
)) goto fail
;
3952 result
= otk::itostring(arg1
);
3955 resultobj
= PyString_FromString((&result
)->c_str());
3963 static PyObject
*_wrap_putenv(PyObject
*self
, PyObject
*args
) {
3964 PyObject
*resultobj
;
3965 std::string
*arg1
= 0 ;
3967 PyObject
* obj0
= 0 ;
3969 if(!PyArg_ParseTuple(args
,(char *)"O:putenv",&obj0
)) goto fail
;
3971 if (PyString_Check(obj0
)) {
3972 temp1
= std::string(PyString_AsString(obj0
));
3975 SWIG_exception(SWIG_TypeError
, "string expected");
3978 otk::putenv((std::string
const &)*arg1
);
3980 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 static PyObject
*_wrap_basename(PyObject
*self
, PyObject
*args
) {
3988 PyObject
*resultobj
;
3989 std::string
*arg1
= 0 ;
3992 PyObject
* obj0
= 0 ;
3994 if(!PyArg_ParseTuple(args
,(char *)"O:basename",&obj0
)) goto fail
;
3996 if (PyString_Check(obj0
)) {
3997 temp1
= std::string(PyString_AsString(obj0
));
4000 SWIG_exception(SWIG_TypeError
, "string expected");
4003 result
= otk::basename((std::string
const &)*arg1
);
4006 resultobj
= PyString_FromString((&result
)->c_str());
4014 static PyObject
*_wrap_OtkEventHandler_handle(PyObject
*self
, PyObject
*args
) {
4015 PyObject
*resultobj
;
4016 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4018 PyObject
* obj0
= 0 ;
4019 PyObject
* obj1
= 0 ;
4021 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_handle",&obj0
,&obj1
)) goto fail
;
4022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4025 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4027 (arg1
)->handle((XEvent
const &)*arg2
);
4029 Py_INCREF(Py_None
); resultobj
= Py_None
;
4036 static PyObject
*_wrap_OtkEventHandler_keyPressHandler(PyObject
*self
, PyObject
*args
) {
4037 PyObject
*resultobj
;
4038 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4039 XKeyEvent
*arg2
= 0 ;
4040 PyObject
* obj0
= 0 ;
4041 PyObject
* obj1
= 0 ;
4043 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_keyPressHandler",&obj0
,&obj1
)) goto fail
;
4044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4045 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4047 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4049 (arg1
)->keyPressHandler((XKeyEvent
const &)*arg2
);
4051 Py_INCREF(Py_None
); resultobj
= Py_None
;
4058 static PyObject
*_wrap_OtkEventHandler_keyReleaseHandler(PyObject
*self
, PyObject
*args
) {
4059 PyObject
*resultobj
;
4060 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4061 XKeyEvent
*arg2
= 0 ;
4062 PyObject
* obj0
= 0 ;
4063 PyObject
* obj1
= 0 ;
4065 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_keyReleaseHandler",&obj0
,&obj1
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4069 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4071 (arg1
)->keyReleaseHandler((XKeyEvent
const &)*arg2
);
4073 Py_INCREF(Py_None
); resultobj
= Py_None
;
4080 static PyObject
*_wrap_OtkEventHandler_buttonPressHandler(PyObject
*self
, PyObject
*args
) {
4081 PyObject
*resultobj
;
4082 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4083 XButtonEvent
*arg2
= 0 ;
4084 PyObject
* obj0
= 0 ;
4085 PyObject
* obj1
= 0 ;
4087 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_buttonPressHandler",&obj0
,&obj1
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4089 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4091 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4093 (arg1
)->buttonPressHandler((XButtonEvent
const &)*arg2
);
4095 Py_INCREF(Py_None
); resultobj
= Py_None
;
4102 static PyObject
*_wrap_OtkEventHandler_buttonReleaseHandler(PyObject
*self
, PyObject
*args
) {
4103 PyObject
*resultobj
;
4104 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4105 XButtonEvent
*arg2
= 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_buttonReleaseHandler",&obj0
,&obj1
)) goto fail
;
4110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4113 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4115 (arg1
)->buttonReleaseHandler((XButtonEvent
const &)*arg2
);
4117 Py_INCREF(Py_None
); resultobj
= Py_None
;
4124 static PyObject
*_wrap_OtkEventHandler_motionHandler(PyObject
*self
, PyObject
*args
) {
4125 PyObject
*resultobj
;
4126 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4127 XMotionEvent
*arg2
= 0 ;
4128 PyObject
* obj0
= 0 ;
4129 PyObject
* obj1
= 0 ;
4131 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_motionHandler",&obj0
,&obj1
)) goto fail
;
4132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4133 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMotionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4135 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4137 (arg1
)->motionHandler((XMotionEvent
const &)*arg2
);
4139 Py_INCREF(Py_None
); resultobj
= Py_None
;
4146 static PyObject
*_wrap_OtkEventHandler_enterHandler(PyObject
*self
, PyObject
*args
) {
4147 PyObject
*resultobj
;
4148 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4149 XCrossingEvent
*arg2
= 0 ;
4150 PyObject
* obj0
= 0 ;
4151 PyObject
* obj1
= 0 ;
4153 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_enterHandler",&obj0
,&obj1
)) goto fail
;
4154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCrossingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4157 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4159 (arg1
)->enterHandler((XCrossingEvent
const &)*arg2
);
4161 Py_INCREF(Py_None
); resultobj
= Py_None
;
4168 static PyObject
*_wrap_OtkEventHandler_leaveHandler(PyObject
*self
, PyObject
*args
) {
4169 PyObject
*resultobj
;
4170 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4171 XCrossingEvent
*arg2
= 0 ;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4175 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_leaveHandler",&obj0
,&obj1
)) goto fail
;
4176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCrossingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4181 (arg1
)->leaveHandler((XCrossingEvent
const &)*arg2
);
4183 Py_INCREF(Py_None
); resultobj
= Py_None
;
4190 static PyObject
*_wrap_OtkEventHandler_focusHandler(PyObject
*self
, PyObject
*args
) {
4191 PyObject
*resultobj
;
4192 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4193 XFocusChangeEvent
*arg2
= 0 ;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_focusHandler",&obj0
,&obj1
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4201 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4203 (arg1
)->focusHandler((XFocusChangeEvent
const &)*arg2
);
4205 Py_INCREF(Py_None
); resultobj
= Py_None
;
4212 static PyObject
*_wrap_OtkEventHandler_unfocusHandler(PyObject
*self
, PyObject
*args
) {
4213 PyObject
*resultobj
;
4214 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4215 XFocusChangeEvent
*arg2
= 0 ;
4216 PyObject
* obj0
= 0 ;
4217 PyObject
* obj1
= 0 ;
4219 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_unfocusHandler",&obj0
,&obj1
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4221 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4223 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4225 (arg1
)->unfocusHandler((XFocusChangeEvent
const &)*arg2
);
4227 Py_INCREF(Py_None
); resultobj
= Py_None
;
4234 static PyObject
*_wrap_OtkEventHandler_exposeHandler(PyObject
*self
, PyObject
*args
) {
4235 PyObject
*resultobj
;
4236 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4237 XExposeEvent
*arg2
= 0 ;
4238 PyObject
* obj0
= 0 ;
4239 PyObject
* obj1
= 0 ;
4241 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_exposeHandler",&obj0
,&obj1
)) goto fail
;
4242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4245 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4247 (arg1
)->exposeHandler((XExposeEvent
const &)*arg2
);
4249 Py_INCREF(Py_None
); resultobj
= Py_None
;
4256 static PyObject
*_wrap_OtkEventHandler_graphicsExposeHandler(PyObject
*self
, PyObject
*args
) {
4257 PyObject
*resultobj
;
4258 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4259 XGraphicsExposeEvent
*arg2
= 0 ;
4260 PyObject
* obj0
= 0 ;
4261 PyObject
* obj1
= 0 ;
4263 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_graphicsExposeHandler",&obj0
,&obj1
)) goto fail
;
4264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XGraphicsExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4267 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4269 (arg1
)->graphicsExposeHandler((XGraphicsExposeEvent
const &)*arg2
);
4271 Py_INCREF(Py_None
); resultobj
= Py_None
;
4278 static PyObject
*_wrap_OtkEventHandler_noExposeEventHandler(PyObject
*self
, PyObject
*args
) {
4279 PyObject
*resultobj
;
4280 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4281 XNoExposeEvent
*arg2
= 0 ;
4282 PyObject
* obj0
= 0 ;
4283 PyObject
* obj1
= 0 ;
4285 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_noExposeEventHandler",&obj0
,&obj1
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4287 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XNoExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4291 (arg1
)->noExposeEventHandler((XNoExposeEvent
const &)*arg2
);
4293 Py_INCREF(Py_None
); resultobj
= Py_None
;
4300 static PyObject
*_wrap_OtkEventHandler_circulateRequestHandler(PyObject
*self
, PyObject
*args
) {
4301 PyObject
*resultobj
;
4302 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4303 XCirculateRequestEvent
*arg2
= 0 ;
4304 PyObject
* obj0
= 0 ;
4305 PyObject
* obj1
= 0 ;
4307 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_circulateRequestHandler",&obj0
,&obj1
)) goto fail
;
4308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCirculateRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4311 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4313 (arg1
)->circulateRequestHandler((XCirculateRequestEvent
const &)*arg2
);
4315 Py_INCREF(Py_None
); resultobj
= Py_None
;
4322 static PyObject
*_wrap_OtkEventHandler_configureRequestHandler(PyObject
*self
, PyObject
*args
) {
4323 PyObject
*resultobj
;
4324 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4325 XConfigureRequestEvent
*arg2
= 0 ;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4329 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_configureRequestHandler",&obj0
,&obj1
)) goto fail
;
4330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4335 (arg1
)->configureRequestHandler((XConfigureRequestEvent
const &)*arg2
);
4337 Py_INCREF(Py_None
); resultobj
= Py_None
;
4344 static PyObject
*_wrap_OtkEventHandler_mapRequestHandler(PyObject
*self
, PyObject
*args
) {
4345 PyObject
*resultobj
;
4346 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4347 XMapRequestEvent
*arg2
= 0 ;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4351 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_mapRequestHandler",&obj0
,&obj1
)) goto fail
;
4352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4355 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4357 (arg1
)->mapRequestHandler((XMapRequestEvent
const &)*arg2
);
4359 Py_INCREF(Py_None
); resultobj
= Py_None
;
4366 static PyObject
*_wrap_OtkEventHandler_resizeRequestHandler(PyObject
*self
, PyObject
*args
) {
4367 PyObject
*resultobj
;
4368 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4369 XResizeRequestEvent
*arg2
= 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4373 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_resizeRequestHandler",&obj0
,&obj1
)) goto fail
;
4374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XResizeRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4377 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4379 (arg1
)->resizeRequestHandler((XResizeRequestEvent
const &)*arg2
);
4381 Py_INCREF(Py_None
); resultobj
= Py_None
;
4388 static PyObject
*_wrap_OtkEventHandler_circulateHandler(PyObject
*self
, PyObject
*args
) {
4389 PyObject
*resultobj
;
4390 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4391 XCirculateEvent
*arg2
= 0 ;
4392 PyObject
* obj0
= 0 ;
4393 PyObject
* obj1
= 0 ;
4395 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_circulateHandler",&obj0
,&obj1
)) goto fail
;
4396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCirculateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4399 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4401 (arg1
)->circulateHandler((XCirculateEvent
const &)*arg2
);
4403 Py_INCREF(Py_None
); resultobj
= Py_None
;
4410 static PyObject
*_wrap_OtkEventHandler_configureHandler(PyObject
*self
, PyObject
*args
) {
4411 PyObject
*resultobj
;
4412 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4413 XConfigureEvent
*arg2
= 0 ;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4417 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_configureHandler",&obj0
,&obj1
)) goto fail
;
4418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4423 (arg1
)->configureHandler((XConfigureEvent
const &)*arg2
);
4425 Py_INCREF(Py_None
); resultobj
= Py_None
;
4432 static PyObject
*_wrap_OtkEventHandler_createHandler(PyObject
*self
, PyObject
*args
) {
4433 PyObject
*resultobj
;
4434 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4435 XCreateWindowEvent
*arg2
= 0 ;
4436 PyObject
* obj0
= 0 ;
4437 PyObject
* obj1
= 0 ;
4439 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_createHandler",&obj0
,&obj1
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCreateWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4445 (arg1
)->createHandler((XCreateWindowEvent
const &)*arg2
);
4447 Py_INCREF(Py_None
); resultobj
= Py_None
;
4454 static PyObject
*_wrap_OtkEventHandler_destroyHandler(PyObject
*self
, PyObject
*args
) {
4455 PyObject
*resultobj
;
4456 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4457 XDestroyWindowEvent
*arg2
= 0 ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4461 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_destroyHandler",&obj0
,&obj1
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4463 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XDestroyWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4465 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4467 (arg1
)->destroyHandler((XDestroyWindowEvent
const &)*arg2
);
4469 Py_INCREF(Py_None
); resultobj
= Py_None
;
4476 static PyObject
*_wrap_OtkEventHandler_gravityHandler(PyObject
*self
, PyObject
*args
) {
4477 PyObject
*resultobj
;
4478 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4479 XGravityEvent
*arg2
= 0 ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4483 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_gravityHandler",&obj0
,&obj1
)) goto fail
;
4484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4485 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XGravityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4487 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4489 (arg1
)->gravityHandler((XGravityEvent
const &)*arg2
);
4491 Py_INCREF(Py_None
); resultobj
= Py_None
;
4498 static PyObject
*_wrap_OtkEventHandler_mapHandler(PyObject
*self
, PyObject
*args
) {
4499 PyObject
*resultobj
;
4500 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4501 XMapEvent
*arg2
= 0 ;
4502 PyObject
* obj0
= 0 ;
4503 PyObject
* obj1
= 0 ;
4505 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_mapHandler",&obj0
,&obj1
)) goto fail
;
4506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4507 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4509 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4511 (arg1
)->mapHandler((XMapEvent
const &)*arg2
);
4513 Py_INCREF(Py_None
); resultobj
= Py_None
;
4520 static PyObject
*_wrap_OtkEventHandler_mappingHandler(PyObject
*self
, PyObject
*args
) {
4521 PyObject
*resultobj
;
4522 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4523 XMappingEvent
*arg2
= 0 ;
4524 PyObject
* obj0
= 0 ;
4525 PyObject
* obj1
= 0 ;
4527 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_mappingHandler",&obj0
,&obj1
)) goto fail
;
4528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMappingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4533 (arg1
)->mappingHandler((XMappingEvent
const &)*arg2
);
4535 Py_INCREF(Py_None
); resultobj
= Py_None
;
4542 static PyObject
*_wrap_OtkEventHandler_reparentHandler(PyObject
*self
, PyObject
*args
) {
4543 PyObject
*resultobj
;
4544 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4545 XReparentEvent
*arg2
= 0 ;
4546 PyObject
* obj0
= 0 ;
4547 PyObject
* obj1
= 0 ;
4549 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_reparentHandler",&obj0
,&obj1
)) goto fail
;
4550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4551 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XReparentEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4553 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4555 (arg1
)->reparentHandler((XReparentEvent
const &)*arg2
);
4557 Py_INCREF(Py_None
); resultobj
= Py_None
;
4564 static PyObject
*_wrap_OtkEventHandler_unmapHandler(PyObject
*self
, PyObject
*args
) {
4565 PyObject
*resultobj
;
4566 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4567 XUnmapEvent
*arg2
= 0 ;
4568 PyObject
* obj0
= 0 ;
4569 PyObject
* obj1
= 0 ;
4571 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_unmapHandler",&obj0
,&obj1
)) goto fail
;
4572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4573 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XUnmapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4575 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4577 (arg1
)->unmapHandler((XUnmapEvent
const &)*arg2
);
4579 Py_INCREF(Py_None
); resultobj
= Py_None
;
4586 static PyObject
*_wrap_OtkEventHandler_visibilityHandler(PyObject
*self
, PyObject
*args
) {
4587 PyObject
*resultobj
;
4588 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4589 XVisibilityEvent
*arg2
= 0 ;
4590 PyObject
* obj0
= 0 ;
4591 PyObject
* obj1
= 0 ;
4593 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_visibilityHandler",&obj0
,&obj1
)) goto fail
;
4594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XVisibilityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4599 (arg1
)->visibilityHandler((XVisibilityEvent
const &)*arg2
);
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4608 static PyObject
*_wrap_OtkEventHandler_colorMapHandler(PyObject
*self
, PyObject
*args
) {
4609 PyObject
*resultobj
;
4610 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4611 XColormapEvent
*arg2
= 0 ;
4612 PyObject
* obj0
= 0 ;
4613 PyObject
* obj1
= 0 ;
4615 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_colorMapHandler",&obj0
,&obj1
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4617 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XColormapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4619 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4621 (arg1
)->colorMapHandler((XColormapEvent
const &)*arg2
);
4623 Py_INCREF(Py_None
); resultobj
= Py_None
;
4630 static PyObject
*_wrap_OtkEventHandler_propertyHandler(PyObject
*self
, PyObject
*args
) {
4631 PyObject
*resultobj
;
4632 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4633 XPropertyEvent
*arg2
= 0 ;
4634 PyObject
* obj0
= 0 ;
4635 PyObject
* obj1
= 0 ;
4637 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_propertyHandler",&obj0
,&obj1
)) goto fail
;
4638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4639 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4641 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4643 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
4645 Py_INCREF(Py_None
); resultobj
= Py_None
;
4652 static PyObject
*_wrap_OtkEventHandler_selectionClearHandler(PyObject
*self
, PyObject
*args
) {
4653 PyObject
*resultobj
;
4654 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4655 XSelectionClearEvent
*arg2
= 0 ;
4656 PyObject
* obj0
= 0 ;
4657 PyObject
* obj1
= 0 ;
4659 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_selectionClearHandler",&obj0
,&obj1
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionClearEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4665 (arg1
)->selectionClearHandler((XSelectionClearEvent
const &)*arg2
);
4667 Py_INCREF(Py_None
); resultobj
= Py_None
;
4674 static PyObject
*_wrap_OtkEventHandler_selectionHandler(PyObject
*self
, PyObject
*args
) {
4675 PyObject
*resultobj
;
4676 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4677 XSelectionEvent
*arg2
= 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4681 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_selectionHandler",&obj0
,&obj1
)) goto fail
;
4682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4683 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4685 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4687 (arg1
)->selectionHandler((XSelectionEvent
const &)*arg2
);
4689 Py_INCREF(Py_None
); resultobj
= Py_None
;
4696 static PyObject
*_wrap_OtkEventHandler_selectionRequestHandler(PyObject
*self
, PyObject
*args
) {
4697 PyObject
*resultobj
;
4698 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4699 XSelectionRequestEvent
*arg2
= 0 ;
4700 PyObject
* obj0
= 0 ;
4701 PyObject
* obj1
= 0 ;
4703 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_selectionRequestHandler",&obj0
,&obj1
)) goto fail
;
4704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4705 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4707 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4709 (arg1
)->selectionRequestHandler((XSelectionRequestEvent
const &)*arg2
);
4711 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 static PyObject
*_wrap_OtkEventHandler_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
4719 PyObject
*resultobj
;
4720 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4721 XClientMessageEvent
*arg2
= 0 ;
4722 PyObject
* obj0
= 0 ;
4723 PyObject
* obj1
= 0 ;
4725 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventHandler_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
4726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4727 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4729 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4731 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
4733 Py_INCREF(Py_None
); resultobj
= Py_None
;
4740 static PyObject
*_wrap_delete_OtkEventHandler(PyObject
*self
, PyObject
*args
) {
4741 PyObject
*resultobj
;
4742 otk::OtkEventHandler
*arg1
= (otk::OtkEventHandler
*) 0 ;
4743 PyObject
* obj0
= 0 ;
4745 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkEventHandler",&obj0
)) goto fail
;
4746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4749 Py_INCREF(Py_None
); resultobj
= Py_None
;
4756 static PyObject
* OtkEventHandler_swigregister(PyObject
*self
, PyObject
*args
) {
4758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4759 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventHandler
, obj
);
4761 return Py_BuildValue((char *)"");
4763 static PyObject
*_wrap_new_OtkEventDispatcher(PyObject
*self
, PyObject
*args
) {
4764 PyObject
*resultobj
;
4765 otk::OtkEventDispatcher
*result
;
4767 if(!PyArg_ParseTuple(args
,(char *)":new_OtkEventDispatcher")) goto fail
;
4768 result
= (otk::OtkEventDispatcher
*)new otk::OtkEventDispatcher();
4770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventDispatcher
, 1);
4777 static PyObject
*_wrap_delete_OtkEventDispatcher(PyObject
*self
, PyObject
*args
) {
4778 PyObject
*resultobj
;
4779 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
4780 PyObject
* obj0
= 0 ;
4782 if(!PyArg_ParseTuple(args
,(char *)"O:delete_OtkEventDispatcher",&obj0
)) goto fail
;
4783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4786 Py_INCREF(Py_None
); resultobj
= Py_None
;
4793 static PyObject
*_wrap_OtkEventDispatcher_clearAllHandlers(PyObject
*self
, PyObject
*args
) {
4794 PyObject
*resultobj
;
4795 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
4796 PyObject
* obj0
= 0 ;
4798 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_clearAllHandlers",&obj0
)) goto fail
;
4799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4800 (arg1
)->clearAllHandlers();
4802 Py_INCREF(Py_None
); resultobj
= Py_None
;
4809 static PyObject
*_wrap_OtkEventDispatcher_registerHandler(PyObject
*self
, PyObject
*args
) {
4810 PyObject
*resultobj
;
4811 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
4813 otk::OtkEventHandler
*arg3
= (otk::OtkEventHandler
*) 0 ;
4814 PyObject
* obj0
= 0 ;
4815 PyObject
* obj1
= 0 ;
4816 PyObject
* obj2
= 0 ;
4818 if(!PyArg_ParseTuple(args
,(char *)"OOO:OtkEventDispatcher_registerHandler",&obj0
,&obj1
,&obj2
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4820 arg2
= (Window
) PyInt_AsLong(obj1
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4822 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4823 (arg1
)->registerHandler(arg2
,arg3
);
4825 Py_INCREF(Py_None
); resultobj
= Py_None
;
4832 static PyObject
*_wrap_OtkEventDispatcher_clearHandler(PyObject
*self
, PyObject
*args
) {
4833 PyObject
*resultobj
;
4834 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4839 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_clearHandler",&obj0
,&obj1
)) goto fail
;
4840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4841 arg2
= (Window
) PyInt_AsLong(obj1
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4843 (arg1
)->clearHandler(arg2
);
4845 Py_INCREF(Py_None
); resultobj
= Py_None
;
4852 static PyObject
*_wrap_OtkEventDispatcher_dispatchEvents(PyObject
*self
, PyObject
*args
) {
4853 PyObject
*resultobj
;
4854 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
4855 PyObject
* obj0
= 0 ;
4857 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_dispatchEvents",&obj0
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4859 (arg1
)->dispatchEvents();
4861 Py_INCREF(Py_None
); resultobj
= Py_None
;
4868 static PyObject
*_wrap_OtkEventDispatcher_setFallbackHandler(PyObject
*self
, PyObject
*args
) {
4869 PyObject
*resultobj
;
4870 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
4871 otk::OtkEventHandler
*arg2
= (otk::OtkEventHandler
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4875 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_setFallbackHandler",&obj0
,&obj1
)) goto fail
;
4876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4877 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4878 (arg1
)->setFallbackHandler(arg2
);
4880 Py_INCREF(Py_None
); resultobj
= Py_None
;
4887 static PyObject
*_wrap_OtkEventDispatcher_getFallbackHandler(PyObject
*self
, PyObject
*args
) {
4888 PyObject
*resultobj
;
4889 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
4890 otk::OtkEventHandler
*result
;
4891 PyObject
* obj0
= 0 ;
4893 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_getFallbackHandler",&obj0
)) goto fail
;
4894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4895 result
= (otk::OtkEventHandler
*)((otk::OtkEventDispatcher
const *)arg1
)->getFallbackHandler();
4897 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventHandler
, 0);
4904 static PyObject
*_wrap_OtkEventDispatcher_setMasterHandler(PyObject
*self
, PyObject
*args
) {
4905 PyObject
*resultobj
;
4906 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
4907 otk::OtkEventHandler
*arg2
= (otk::OtkEventHandler
*) 0 ;
4908 PyObject
* obj0
= 0 ;
4909 PyObject
* obj1
= 0 ;
4911 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_setMasterHandler",&obj0
,&obj1
)) goto fail
;
4912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__OtkEventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4914 (arg1
)->setMasterHandler(arg2
);
4916 Py_INCREF(Py_None
); resultobj
= Py_None
;
4923 static PyObject
*_wrap_OtkEventDispatcher_getMasterHandler(PyObject
*self
, PyObject
*args
) {
4924 PyObject
*resultobj
;
4925 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
4926 otk::OtkEventHandler
*result
;
4927 PyObject
* obj0
= 0 ;
4929 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_getMasterHandler",&obj0
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4931 result
= (otk::OtkEventHandler
*)((otk::OtkEventDispatcher
const *)arg1
)->getMasterHandler();
4933 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventHandler
, 0);
4940 static PyObject
*_wrap_OtkEventDispatcher_findHandler(PyObject
*self
, PyObject
*args
) {
4941 PyObject
*resultobj
;
4942 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
4944 otk::OtkEventHandler
*result
;
4945 PyObject
* obj0
= 0 ;
4946 PyObject
* obj1
= 0 ;
4948 if(!PyArg_ParseTuple(args
,(char *)"OO:OtkEventDispatcher_findHandler",&obj0
,&obj1
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4950 arg2
= (Window
) PyInt_AsLong(obj1
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4952 result
= (otk::OtkEventHandler
*)(arg1
)->findHandler(arg2
);
4954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OtkEventHandler
, 0);
4961 static PyObject
*_wrap_OtkEventDispatcher_lastTime(PyObject
*self
, PyObject
*args
) {
4962 PyObject
*resultobj
;
4963 otk::OtkEventDispatcher
*arg1
= (otk::OtkEventDispatcher
*) 0 ;
4965 PyObject
* obj0
= 0 ;
4967 if(!PyArg_ParseTuple(args
,(char *)"O:OtkEventDispatcher_lastTime",&obj0
)) goto fail
;
4968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__OtkEventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4969 result
= (Time
)((otk::OtkEventDispatcher
const *)arg1
)->lastTime();
4971 resultobj
= PyInt_FromLong((long)result
);
4978 static PyObject
* OtkEventDispatcher_swigregister(PyObject
*self
, PyObject
*args
) {
4980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4981 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventDispatcher
, obj
);
4983 return Py_BuildValue((char *)"");
4985 static PyObject
*_wrap_Cursors_session_set(PyObject
*self
, PyObject
*args
) {
4986 PyObject
*resultobj
;
4987 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4992 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_session_set",&obj0
,&obj1
)) goto fail
;
4993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4994 arg2
= (Cursor
) PyInt_AsLong(obj1
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4996 if (arg1
) (arg1
)->session
= arg2
;
4998 Py_INCREF(Py_None
); resultobj
= Py_None
;
5005 static PyObject
*_wrap_Cursors_session_get(PyObject
*self
, PyObject
*args
) {
5006 PyObject
*resultobj
;
5007 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5011 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_session_get",&obj0
)) goto fail
;
5012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5013 result
= (Cursor
) ((arg1
)->session
);
5015 resultobj
= PyInt_FromLong((long)result
);
5022 static PyObject
*_wrap_Cursors_move_set(PyObject
*self
, PyObject
*args
) {
5023 PyObject
*resultobj
;
5024 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5029 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_move_set",&obj0
,&obj1
)) goto fail
;
5030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5031 arg2
= (Cursor
) PyInt_AsLong(obj1
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5033 if (arg1
) (arg1
)->move
= arg2
;
5035 Py_INCREF(Py_None
); resultobj
= Py_None
;
5042 static PyObject
*_wrap_Cursors_move_get(PyObject
*self
, PyObject
*args
) {
5043 PyObject
*resultobj
;
5044 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
5046 PyObject
* obj0
= 0 ;
5048 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_move_get",&obj0
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5050 result
= (Cursor
) ((arg1
)->move
);
5052 resultobj
= PyInt_FromLong((long)result
);
5059 static PyObject
*_wrap_Cursors_ll_angle_set(PyObject
*self
, PyObject
*args
) {
5060 PyObject
*resultobj
;
5061 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
5063 PyObject
* obj0
= 0 ;
5064 PyObject
* obj1
= 0 ;
5066 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ll_angle_set",&obj0
,&obj1
)) goto fail
;
5067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5068 arg2
= (Cursor
) PyInt_AsLong(obj1
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5070 if (arg1
) (arg1
)->ll_angle
= arg2
;
5072 Py_INCREF(Py_None
); resultobj
= Py_None
;
5079 static PyObject
*_wrap_Cursors_ll_angle_get(PyObject
*self
, PyObject
*args
) {
5080 PyObject
*resultobj
;
5081 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
5083 PyObject
* obj0
= 0 ;
5085 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ll_angle_get",&obj0
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5087 result
= (Cursor
) ((arg1
)->ll_angle
);
5089 resultobj
= PyInt_FromLong((long)result
);
5096 static PyObject
*_wrap_Cursors_lr_angle_set(PyObject
*self
, PyObject
*args
) {
5097 PyObject
*resultobj
;
5098 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5103 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_lr_angle_set",&obj0
,&obj1
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5105 arg2
= (Cursor
) PyInt_AsLong(obj1
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5107 if (arg1
) (arg1
)->lr_angle
= arg2
;
5109 Py_INCREF(Py_None
); resultobj
= Py_None
;
5116 static PyObject
*_wrap_Cursors_lr_angle_get(PyObject
*self
, PyObject
*args
) {
5117 PyObject
*resultobj
;
5118 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
5120 PyObject
* obj0
= 0 ;
5122 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_lr_angle_get",&obj0
)) goto fail
;
5123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5124 result
= (Cursor
) ((arg1
)->lr_angle
);
5126 resultobj
= PyInt_FromLong((long)result
);
5133 static PyObject
*_wrap_Cursors_ul_angle_set(PyObject
*self
, PyObject
*args
) {
5134 PyObject
*resultobj
;
5135 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5140 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ul_angle_set",&obj0
,&obj1
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5142 arg2
= (Cursor
) PyInt_AsLong(obj1
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5144 if (arg1
) (arg1
)->ul_angle
= arg2
;
5146 Py_INCREF(Py_None
); resultobj
= Py_None
;
5153 static PyObject
*_wrap_Cursors_ul_angle_get(PyObject
*self
, PyObject
*args
) {
5154 PyObject
*resultobj
;
5155 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5159 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ul_angle_get",&obj0
)) goto fail
;
5160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5161 result
= (Cursor
) ((arg1
)->ul_angle
);
5163 resultobj
= PyInt_FromLong((long)result
);
5170 static PyObject
*_wrap_Cursors_ur_angle_set(PyObject
*self
, PyObject
*args
) {
5171 PyObject
*resultobj
;
5172 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5175 PyObject
* obj1
= 0 ;
5177 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ur_angle_set",&obj0
,&obj1
)) goto fail
;
5178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5179 arg2
= (Cursor
) PyInt_AsLong(obj1
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5181 if (arg1
) (arg1
)->ur_angle
= arg2
;
5183 Py_INCREF(Py_None
); resultobj
= Py_None
;
5190 static PyObject
*_wrap_Cursors_ur_angle_get(PyObject
*self
, PyObject
*args
) {
5191 PyObject
*resultobj
;
5192 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ur_angle_get",&obj0
)) goto fail
;
5197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5198 result
= (Cursor
) ((arg1
)->ur_angle
);
5200 resultobj
= PyInt_FromLong((long)result
);
5207 static PyObject
* Cursors_swigregister(PyObject
*self
, PyObject
*args
) {
5209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5210 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors
, obj
);
5212 return Py_BuildValue((char *)"");
5214 static PyObject
*_wrap_Openbox_state(PyObject
*self
, PyObject
*args
) {
5215 PyObject
*resultobj
;
5216 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5220 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_state",&obj0
)) goto fail
;
5221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5222 result
= (int)((ob::Openbox
const *)arg1
)->state();
5224 resultobj
= PyInt_FromLong((long)result
);
5231 static PyObject
*_wrap_Openbox_timerManager(PyObject
*self
, PyObject
*args
) {
5232 PyObject
*resultobj
;
5233 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5234 otk::OBTimerQueueManager
*result
;
5235 PyObject
* obj0
= 0 ;
5237 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_timerManager",&obj0
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5239 result
= (otk::OBTimerQueueManager
*)(arg1
)->timerManager();
5241 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OBTimerQueueManager
, 0);
5248 static PyObject
*_wrap_Openbox_property(PyObject
*self
, PyObject
*args
) {
5249 PyObject
*resultobj
;
5250 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5251 otk::OBProperty
*result
;
5252 PyObject
* obj0
= 0 ;
5254 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_property",&obj0
)) goto fail
;
5255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5256 result
= (otk::OBProperty
*)((ob::Openbox
const *)arg1
)->property();
5258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OBProperty
, 0);
5265 static PyObject
*_wrap_Openbox_actions(PyObject
*self
, PyObject
*args
) {
5266 PyObject
*resultobj
;
5267 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5268 ob::OBActions
*result
;
5269 PyObject
* obj0
= 0 ;
5271 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_actions",&obj0
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5273 result
= (ob::OBActions
*)((ob::Openbox
const *)arg1
)->actions();
5275 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBActions
, 0);
5282 static PyObject
*_wrap_Openbox_bindings(PyObject
*self
, PyObject
*args
) {
5283 PyObject
*resultobj
;
5284 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5285 ob::OBBindings
*result
;
5286 PyObject
* obj0
= 0 ;
5288 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_bindings",&obj0
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5290 result
= (ob::OBBindings
*)((ob::Openbox
const *)arg1
)->bindings();
5292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBBindings
, 0);
5299 static PyObject
*_wrap_Openbox_screen(PyObject
*self
, PyObject
*args
) {
5300 PyObject
*resultobj
;
5301 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5303 ob::OBScreen
*result
;
5304 PyObject
* obj0
= 0 ;
5306 if(!PyArg_ParseTuple(args
,(char *)"Oi:Openbox_screen",&obj0
,&arg2
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5308 result
= (ob::OBScreen
*)(arg1
)->screen(arg2
);
5310 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBScreen
, 0);
5317 static PyObject
*_wrap_Openbox_screenCount(PyObject
*self
, PyObject
*args
) {
5318 PyObject
*resultobj
;
5319 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5323 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_screenCount",&obj0
)) goto fail
;
5324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5325 result
= (int)((ob::Openbox
const *)arg1
)->screenCount();
5327 resultobj
= PyInt_FromLong((long)result
);
5334 static PyObject
*_wrap_Openbox_cursors(PyObject
*self
, PyObject
*args
) {
5335 PyObject
*resultobj
;
5336 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5337 ob::Cursors
*result
;
5338 PyObject
* obj0
= 0 ;
5340 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_cursors",&obj0
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5343 ob::Cursors
const &_result_ref
= ((ob::Openbox
const *)arg1
)->cursors();
5344 result
= (ob::Cursors
*) &_result_ref
;
5347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Cursors
, 0);
5354 static PyObject
*_wrap_Openbox_addClient(PyObject
*self
, PyObject
*args
) {
5355 PyObject
*resultobj
;
5356 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5358 ob::OBClient
*arg3
= (ob::OBClient
*) 0 ;
5359 PyObject
* obj0
= 0 ;
5360 PyObject
* obj1
= 0 ;
5361 PyObject
* obj2
= 0 ;
5363 if(!PyArg_ParseTuple(args
,(char *)"OOO:Openbox_addClient",&obj0
,&obj1
,&obj2
)) goto fail
;
5364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5365 arg2
= (Window
) PyInt_AsLong(obj1
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5367 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5368 (arg1
)->addClient(arg2
,arg3
);
5370 Py_INCREF(Py_None
); resultobj
= Py_None
;
5377 static PyObject
*_wrap_Openbox_removeClient(PyObject
*self
, PyObject
*args
) {
5378 PyObject
*resultobj
;
5379 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5381 PyObject
* obj0
= 0 ;
5382 PyObject
* obj1
= 0 ;
5384 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_removeClient",&obj0
,&obj1
)) goto fail
;
5385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5386 arg2
= (Window
) PyInt_AsLong(obj1
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5388 (arg1
)->removeClient(arg2
);
5390 Py_INCREF(Py_None
); resultobj
= Py_None
;
5397 static PyObject
*_wrap_Openbox_findClient(PyObject
*self
, PyObject
*args
) {
5398 PyObject
*resultobj
;
5399 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5401 ob::OBClient
*result
;
5402 PyObject
* obj0
= 0 ;
5403 PyObject
* obj1
= 0 ;
5405 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_findClient",&obj0
,&obj1
)) goto fail
;
5406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5407 arg2
= (Window
) PyInt_AsLong(obj1
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5409 result
= (ob::OBClient
*)(arg1
)->findClient(arg2
);
5411 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
5418 static PyObject
*_wrap_Openbox_focusedClient(PyObject
*self
, PyObject
*args
) {
5419 PyObject
*resultobj
;
5420 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5421 ob::OBClient
*result
;
5422 PyObject
* obj0
= 0 ;
5424 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_focusedClient",&obj0
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5426 result
= (ob::OBClient
*)(arg1
)->focusedClient();
5428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
5435 static PyObject
*_wrap_Openbox_setFocusedClient(PyObject
*self
, PyObject
*args
) {
5436 PyObject
*resultobj
;
5437 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5438 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_setFocusedClient",&obj0
,&obj1
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5444 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5445 (arg1
)->setFocusedClient(arg2
);
5447 Py_INCREF(Py_None
); resultobj
= Py_None
;
5454 static PyObject
*_wrap_Openbox_focusedScreen(PyObject
*self
, PyObject
*args
) {
5455 PyObject
*resultobj
;
5456 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5457 ob::OBScreen
*result
;
5458 PyObject
* obj0
= 0 ;
5460 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_focusedScreen",&obj0
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5462 result
= (ob::OBScreen
*)(arg1
)->focusedScreen();
5464 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBScreen
, 0);
5471 static PyObject
*_wrap_Openbox_shutdown(PyObject
*self
, PyObject
*args
) {
5472 PyObject
*resultobj
;
5473 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5474 PyObject
* obj0
= 0 ;
5476 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_shutdown",&obj0
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5480 Py_INCREF(Py_None
); resultobj
= Py_None
;
5487 static PyObject
*_wrap_Openbox_restart(PyObject
*self
, PyObject
*args
) {
5488 PyObject
*resultobj
;
5489 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5490 std::string
const &arg2_defvalue
= "" ;
5491 std::string
*arg2
= (std::string
*) &arg2_defvalue
;
5493 PyObject
* obj0
= 0 ;
5494 PyObject
* obj1
= 0 ;
5496 if(!PyArg_ParseTuple(args
,(char *)"O|O:Openbox_restart",&obj0
,&obj1
)) goto fail
;
5497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5500 if (PyString_Check(obj1
)) {
5501 temp2
= std::string(PyString_AsString(obj1
));
5504 SWIG_exception(SWIG_TypeError
, "string expected");
5508 (arg1
)->restart((std::string
const &)*arg2
);
5510 Py_INCREF(Py_None
); resultobj
= Py_None
;
5517 static PyObject
*_wrap_Openbox_execute(PyObject
*self
, PyObject
*args
) {
5518 PyObject
*resultobj
;
5519 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5521 std::string
*arg3
= 0 ;
5523 PyObject
* obj0
= 0 ;
5524 PyObject
* obj2
= 0 ;
5526 if(!PyArg_ParseTuple(args
,(char *)"OiO:Openbox_execute",&obj0
,&arg2
,&obj2
)) goto fail
;
5527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5529 if (PyString_Check(obj2
)) {
5530 temp3
= std::string(PyString_AsString(obj2
));
5533 SWIG_exception(SWIG_TypeError
, "string expected");
5536 (arg1
)->execute(arg2
,(std::string
const &)*arg3
);
5538 Py_INCREF(Py_None
); resultobj
= Py_None
;
5545 static PyObject
* Openbox_swigregister(PyObject
*self
, PyObject
*args
) {
5547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5548 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox
, obj
);
5550 return Py_BuildValue((char *)"");
5552 static PyObject
*_wrap_OBScreen_client(PyObject
*self
, PyObject
*args
) {
5553 PyObject
*resultobj
;
5554 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5556 ob::OBClient
*result
;
5557 PyObject
* obj0
= 0 ;
5559 if(!PyArg_ParseTuple(args
,(char *)"Oi:OBScreen_client",&obj0
,&arg2
)) goto fail
;
5560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5561 result
= (ob::OBClient
*)ob_OBScreen_client(arg1
,arg2
);
5563 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
5570 static PyObject
*_wrap_OBScreen_clientCount(PyObject
*self
, PyObject
*args
) {
5571 PyObject
*resultobj
;
5572 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5574 PyObject
* obj0
= 0 ;
5576 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_clientCount",&obj0
)) goto fail
;
5577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5578 result
= (int)ob_OBScreen_clientCount((ob::OBScreen
const *)arg1
);
5580 resultobj
= PyInt_FromLong((long)result
);
5587 static PyObject
*_wrap_OBScreen_number(PyObject
*self
, PyObject
*args
) {
5588 PyObject
*resultobj
;
5589 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5593 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_number",&obj0
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5595 result
= (int)((ob::OBScreen
const *)arg1
)->number();
5597 resultobj
= PyInt_FromLong((long)result
);
5604 static PyObject
*_wrap_OBScreen_managed(PyObject
*self
, PyObject
*args
) {
5605 PyObject
*resultobj
;
5606 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5608 PyObject
* obj0
= 0 ;
5610 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_managed",&obj0
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5612 result
= (bool)((ob::OBScreen
const *)arg1
)->managed();
5614 resultobj
= PyInt_FromLong((long)result
);
5621 static PyObject
*_wrap_OBScreen_imageControl(PyObject
*self
, PyObject
*args
) {
5622 PyObject
*resultobj
;
5623 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5624 otk::BImageControl
*result
;
5625 PyObject
* obj0
= 0 ;
5627 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_imageControl",&obj0
)) goto fail
;
5628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5629 result
= (otk::BImageControl
*)(arg1
)->imageControl();
5631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BImageControl
, 0);
5638 static PyObject
*_wrap_OBScreen_area(PyObject
*self
, PyObject
*args
) {
5639 PyObject
*resultobj
;
5640 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5642 PyObject
* obj0
= 0 ;
5644 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_area",&obj0
)) goto fail
;
5645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5647 otk::Rect
const &_result_ref
= ((ob::OBScreen
const *)arg1
)->area();
5648 result
= (otk::Rect
*) &_result_ref
;
5651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
5658 static PyObject
*_wrap_OBScreen_style(PyObject
*self
, PyObject
*args
) {
5659 PyObject
*resultobj
;
5660 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5662 PyObject
* obj0
= 0 ;
5664 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_style",&obj0
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5666 result
= (otk::Style
*)((ob::OBScreen
const *)arg1
)->style();
5668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 0);
5675 static PyObject
*_wrap_OBScreen_focuswindow(PyObject
*self
, PyObject
*args
) {
5676 PyObject
*resultobj
;
5677 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5681 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_focuswindow",&obj0
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5683 result
= (Window
)((ob::OBScreen
const *)arg1
)->focuswindow();
5685 resultobj
= PyInt_FromLong((long)result
);
5692 static PyObject
*_wrap_OBScreen_desktop(PyObject
*self
, PyObject
*args
) {
5693 PyObject
*resultobj
;
5694 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5696 PyObject
* obj0
= 0 ;
5698 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_desktop",&obj0
)) goto fail
;
5699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5700 result
= (long)((ob::OBScreen
const *)arg1
)->desktop();
5702 resultobj
= PyInt_FromLong((long)result
);
5709 static PyObject
*_wrap_OBScreen_numDesktops(PyObject
*self
, PyObject
*args
) {
5710 PyObject
*resultobj
;
5711 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5715 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_numDesktops",&obj0
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5717 result
= (long)((ob::OBScreen
const *)arg1
)->numDesktops();
5719 resultobj
= PyInt_FromLong((long)result
);
5726 static PyObject
*_wrap_OBScreen_updateStrut(PyObject
*self
, PyObject
*args
) {
5727 PyObject
*resultobj
;
5728 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5731 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_updateStrut",&obj0
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5733 (arg1
)->updateStrut();
5735 Py_INCREF(Py_None
); resultobj
= Py_None
;
5742 static PyObject
*_wrap_OBScreen_manageExisting(PyObject
*self
, PyObject
*args
) {
5743 PyObject
*resultobj
;
5744 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5745 PyObject
* obj0
= 0 ;
5747 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_manageExisting",&obj0
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5749 (arg1
)->manageExisting();
5751 Py_INCREF(Py_None
); resultobj
= Py_None
;
5758 static PyObject
*_wrap_OBScreen_manageWindow(PyObject
*self
, PyObject
*args
) {
5759 PyObject
*resultobj
;
5760 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5762 PyObject
* obj0
= 0 ;
5763 PyObject
* obj1
= 0 ;
5765 if(!PyArg_ParseTuple(args
,(char *)"OO:OBScreen_manageWindow",&obj0
,&obj1
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5767 arg2
= (Window
) PyInt_AsLong(obj1
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5769 (arg1
)->manageWindow(arg2
);
5771 Py_INCREF(Py_None
); resultobj
= Py_None
;
5778 static PyObject
*_wrap_OBScreen_unmanageWindow(PyObject
*self
, PyObject
*args
) {
5779 PyObject
*resultobj
;
5780 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5781 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5785 if(!PyArg_ParseTuple(args
,(char *)"OO:OBScreen_unmanageWindow",&obj0
,&obj1
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5788 (arg1
)->unmanageWindow(arg2
);
5790 Py_INCREF(Py_None
); resultobj
= Py_None
;
5797 static PyObject
*_wrap_OBScreen_restack(PyObject
*self
, PyObject
*args
) {
5798 PyObject
*resultobj
;
5799 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5801 ob::OBClient
*arg3
= (ob::OBClient
*) 0 ;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5804 PyObject
* obj2
= 0 ;
5806 if(!PyArg_ParseTuple(args
,(char *)"OOO:OBScreen_restack",&obj0
,&obj1
,&obj2
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5808 arg2
= (bool) PyInt_AsLong(obj1
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5810 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5811 (arg1
)->restack(arg2
,arg3
);
5813 Py_INCREF(Py_None
); resultobj
= Py_None
;
5820 static PyObject
*_wrap_OBScreen_setDesktopName(PyObject
*self
, PyObject
*args
) {
5821 PyObject
*resultobj
;
5822 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5824 std::string
*arg3
= 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj2
= 0 ;
5829 if(!PyArg_ParseTuple(args
,(char *)"OlO:OBScreen_setDesktopName",&obj0
,&arg2
,&obj2
)) goto fail
;
5830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5832 if (PyString_Check(obj2
)) {
5833 temp3
= std::string(PyString_AsString(obj2
));
5836 SWIG_exception(SWIG_TypeError
, "string expected");
5839 (arg1
)->setDesktopName(arg2
,(std::string
const &)*arg3
);
5841 Py_INCREF(Py_None
); resultobj
= Py_None
;
5848 static PyObject
*_wrap_OBScreen_propertyHandler(PyObject
*self
, PyObject
*args
) {
5849 PyObject
*resultobj
;
5850 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5851 XPropertyEvent
*arg2
= 0 ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5855 if(!PyArg_ParseTuple(args
,(char *)"OO:OBScreen_propertyHandler",&obj0
,&obj1
)) goto fail
;
5856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5857 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5861 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
5863 Py_INCREF(Py_None
); resultobj
= Py_None
;
5870 static PyObject
*_wrap_OBScreen_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
5871 PyObject
*resultobj
;
5872 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5873 XClientMessageEvent
*arg2
= 0 ;
5874 PyObject
* obj0
= 0 ;
5875 PyObject
* obj1
= 0 ;
5877 if(!PyArg_ParseTuple(args
,(char *)"OO:OBScreen_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
5878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5879 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5881 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5883 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_OBScreen_mapRequestHandler(PyObject
*self
, PyObject
*args
) {
5893 PyObject
*resultobj
;
5894 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
5895 XMapRequestEvent
*arg2
= 0 ;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5899 if(!PyArg_ParseTuple(args
,(char *)"OO:OBScreen_mapRequestHandler",&obj0
,&obj1
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5903 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5905 (arg1
)->mapRequestHandler((XMapRequestEvent
const &)*arg2
);
5907 Py_INCREF(Py_None
); resultobj
= Py_None
;
5914 static PyObject
* OBScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5917 SWIG_TypeClientData(SWIGTYPE_p_ob__OBScreen
, obj
);
5919 return Py_BuildValue((char *)"");
5921 static PyObject
*_wrap_MwmHints_flags_set(PyObject
*self
, PyObject
*args
) {
5922 PyObject
*resultobj
;
5923 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
5924 unsigned long arg2
;
5925 PyObject
* obj0
= 0 ;
5926 PyObject
* obj1
= 0 ;
5928 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_flags_set",&obj0
,&obj1
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5930 arg2
= (unsigned long) PyInt_AsLong(obj1
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5932 if (arg1
) (arg1
)->flags
= arg2
;
5934 Py_INCREF(Py_None
); resultobj
= Py_None
;
5941 static PyObject
*_wrap_MwmHints_flags_get(PyObject
*self
, PyObject
*args
) {
5942 PyObject
*resultobj
;
5943 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
5944 unsigned long result
;
5945 PyObject
* obj0
= 0 ;
5947 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_flags_get",&obj0
)) goto fail
;
5948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5949 result
= (unsigned long) ((arg1
)->flags
);
5951 resultobj
= PyInt_FromLong((long)result
);
5958 static PyObject
*_wrap_MwmHints_functions_set(PyObject
*self
, PyObject
*args
) {
5959 PyObject
*resultobj
;
5960 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
5961 unsigned long arg2
;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5965 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_functions_set",&obj0
,&obj1
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5967 arg2
= (unsigned long) PyInt_AsLong(obj1
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5969 if (arg1
) (arg1
)->functions
= arg2
;
5971 Py_INCREF(Py_None
); resultobj
= Py_None
;
5978 static PyObject
*_wrap_MwmHints_functions_get(PyObject
*self
, PyObject
*args
) {
5979 PyObject
*resultobj
;
5980 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
5981 unsigned long result
;
5982 PyObject
* obj0
= 0 ;
5984 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_functions_get",&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5986 result
= (unsigned long) ((arg1
)->functions
);
5988 resultobj
= PyInt_FromLong((long)result
);
5995 static PyObject
*_wrap_MwmHints_decorations_set(PyObject
*self
, PyObject
*args
) {
5996 PyObject
*resultobj
;
5997 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
5998 unsigned long arg2
;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6002 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_decorations_set",&obj0
,&obj1
)) goto fail
;
6003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6004 arg2
= (unsigned long) PyInt_AsLong(obj1
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6006 if (arg1
) (arg1
)->decorations
= arg2
;
6008 Py_INCREF(Py_None
); resultobj
= Py_None
;
6015 static PyObject
*_wrap_MwmHints_decorations_get(PyObject
*self
, PyObject
*args
) {
6016 PyObject
*resultobj
;
6017 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
6018 unsigned long result
;
6019 PyObject
* obj0
= 0 ;
6021 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_decorations_get",&obj0
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6023 result
= (unsigned long) ((arg1
)->decorations
);
6025 resultobj
= PyInt_FromLong((long)result
);
6032 static PyObject
* MwmHints_swigregister(PyObject
*self
, PyObject
*args
) {
6034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6035 SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints
, obj
);
6037 return Py_BuildValue((char *)"");
6039 static PyObject
*_wrap_OBClient_frame_set(PyObject
*self
, PyObject
*args
) {
6040 PyObject
*resultobj
;
6041 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6042 ob::OBFrame
*arg2
= (ob::OBFrame
*) 0 ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6046 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_frame_set",&obj0
,&obj1
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBFrame
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
6049 if (arg1
) (arg1
)->frame
= arg2
;
6051 Py_INCREF(Py_None
); resultobj
= Py_None
;
6058 static PyObject
*_wrap_OBClient_frame_get(PyObject
*self
, PyObject
*args
) {
6059 PyObject
*resultobj
;
6060 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6061 ob::OBFrame
*result
;
6062 PyObject
* obj0
= 0 ;
6064 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_frame_get",&obj0
)) goto fail
;
6065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6066 result
= (ob::OBFrame
*) ((arg1
)->frame
);
6068 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBFrame
, 0);
6075 static PyObject
*_wrap_OBClient_ignore_unmaps_set(PyObject
*self
, PyObject
*args
) {
6076 PyObject
*resultobj
;
6077 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6079 PyObject
* obj0
= 0 ;
6081 if(!PyArg_ParseTuple(args
,(char *)"Oi:OBClient_ignore_unmaps_set",&obj0
,&arg2
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6083 if (arg1
) (arg1
)->ignore_unmaps
= arg2
;
6085 Py_INCREF(Py_None
); resultobj
= Py_None
;
6092 static PyObject
*_wrap_OBClient_ignore_unmaps_get(PyObject
*self
, PyObject
*args
) {
6093 PyObject
*resultobj
;
6094 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6096 PyObject
* obj0
= 0 ;
6098 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_ignore_unmaps_get",&obj0
)) goto fail
;
6099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6100 result
= (int) ((arg1
)->ignore_unmaps
);
6102 resultobj
= PyInt_FromLong((long)result
);
6109 static PyObject
*_wrap_OBClient_screen(PyObject
*self
, PyObject
*args
) {
6110 PyObject
*resultobj
;
6111 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6115 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_screen",&obj0
)) goto fail
;
6116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6117 result
= (int)((ob::OBClient
const *)arg1
)->screen();
6119 resultobj
= PyInt_FromLong((long)result
);
6126 static PyObject
*_wrap_OBClient_window(PyObject
*self
, PyObject
*args
) {
6127 PyObject
*resultobj
;
6128 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_window",&obj0
)) goto fail
;
6133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6134 result
= (Window
)((ob::OBClient
const *)arg1
)->window();
6136 resultobj
= PyInt_FromLong((long)result
);
6143 static PyObject
*_wrap_OBClient_type(PyObject
*self
, PyObject
*args
) {
6144 PyObject
*resultobj
;
6145 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6147 PyObject
* obj0
= 0 ;
6149 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_type",&obj0
)) goto fail
;
6150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6151 result
= (int)((ob::OBClient
const *)arg1
)->type();
6153 resultobj
= PyInt_FromLong((long)result
);
6160 static PyObject
*_wrap_OBClient_normal(PyObject
*self
, PyObject
*args
) {
6161 PyObject
*resultobj
;
6162 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6164 PyObject
* obj0
= 0 ;
6166 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_normal",&obj0
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6168 result
= (bool)((ob::OBClient
const *)arg1
)->normal();
6170 resultobj
= PyInt_FromLong((long)result
);
6177 static PyObject
*_wrap_OBClient_desktop(PyObject
*self
, PyObject
*args
) {
6178 PyObject
*resultobj
;
6179 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6181 PyObject
* obj0
= 0 ;
6183 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_desktop",&obj0
)) goto fail
;
6184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6185 result
= (long)((ob::OBClient
const *)arg1
)->desktop();
6187 resultobj
= PyInt_FromLong((long)result
);
6194 static PyObject
*_wrap_OBClient_title(PyObject
*self
, PyObject
*args
) {
6195 PyObject
*resultobj
;
6196 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6197 std::string
*result
;
6198 PyObject
* obj0
= 0 ;
6200 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_title",&obj0
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6203 std::string
const &_result_ref
= ((ob::OBClient
const *)arg1
)->title();
6204 result
= (std::string
*) &_result_ref
;
6208 resultobj
= PyString_FromString(result
->c_str());
6216 static PyObject
*_wrap_OBClient_iconTitle(PyObject
*self
, PyObject
*args
) {
6217 PyObject
*resultobj
;
6218 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6219 std::string
*result
;
6220 PyObject
* obj0
= 0 ;
6222 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_iconTitle",&obj0
)) goto fail
;
6223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6225 std::string
const &_result_ref
= ((ob::OBClient
const *)arg1
)->iconTitle();
6226 result
= (std::string
*) &_result_ref
;
6230 resultobj
= PyString_FromString(result
->c_str());
6238 static PyObject
*_wrap_OBClient_appName(PyObject
*self
, PyObject
*args
) {
6239 PyObject
*resultobj
;
6240 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6241 std::string
*result
;
6242 PyObject
* obj0
= 0 ;
6244 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_appName",&obj0
)) goto fail
;
6245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6247 std::string
const &_result_ref
= ((ob::OBClient
const *)arg1
)->appName();
6248 result
= (std::string
*) &_result_ref
;
6252 resultobj
= PyString_FromString(result
->c_str());
6260 static PyObject
*_wrap_OBClient_appClass(PyObject
*self
, PyObject
*args
) {
6261 PyObject
*resultobj
;
6262 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6263 std::string
*result
;
6264 PyObject
* obj0
= 0 ;
6266 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_appClass",&obj0
)) goto fail
;
6267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6269 std::string
const &_result_ref
= ((ob::OBClient
const *)arg1
)->appClass();
6270 result
= (std::string
*) &_result_ref
;
6274 resultobj
= PyString_FromString(result
->c_str());
6282 static PyObject
*_wrap_OBClient_role(PyObject
*self
, PyObject
*args
) {
6283 PyObject
*resultobj
;
6284 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6285 std::string
*result
;
6286 PyObject
* obj0
= 0 ;
6288 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_role",&obj0
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6291 std::string
const &_result_ref
= ((ob::OBClient
const *)arg1
)->role();
6292 result
= (std::string
*) &_result_ref
;
6296 resultobj
= PyString_FromString(result
->c_str());
6304 static PyObject
*_wrap_OBClient_canFocus(PyObject
*self
, PyObject
*args
) {
6305 PyObject
*resultobj
;
6306 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6308 PyObject
* obj0
= 0 ;
6310 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_canFocus",&obj0
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6312 result
= (bool)((ob::OBClient
const *)arg1
)->canFocus();
6314 resultobj
= PyInt_FromLong((long)result
);
6321 static PyObject
*_wrap_OBClient_urgent(PyObject
*self
, PyObject
*args
) {
6322 PyObject
*resultobj
;
6323 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6327 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_urgent",&obj0
)) goto fail
;
6328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6329 result
= (bool)((ob::OBClient
const *)arg1
)->urgent();
6331 resultobj
= PyInt_FromLong((long)result
);
6338 static PyObject
*_wrap_OBClient_focusNotify(PyObject
*self
, PyObject
*args
) {
6339 PyObject
*resultobj
;
6340 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6342 PyObject
* obj0
= 0 ;
6344 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_focusNotify",&obj0
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6346 result
= (bool)((ob::OBClient
const *)arg1
)->focusNotify();
6348 resultobj
= PyInt_FromLong((long)result
);
6355 static PyObject
*_wrap_OBClient_shaped(PyObject
*self
, PyObject
*args
) {
6356 PyObject
*resultobj
;
6357 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6359 PyObject
* obj0
= 0 ;
6361 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_shaped",&obj0
)) goto fail
;
6362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6363 result
= (bool)((ob::OBClient
const *)arg1
)->shaped();
6365 resultobj
= PyInt_FromLong((long)result
);
6372 static PyObject
*_wrap_OBClient_gravity(PyObject
*self
, PyObject
*args
) {
6373 PyObject
*resultobj
;
6374 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6378 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_gravity",&obj0
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6380 result
= (int)((ob::OBClient
const *)arg1
)->gravity();
6382 resultobj
= PyInt_FromLong((long)result
);
6389 static PyObject
*_wrap_OBClient_positionRequested(PyObject
*self
, PyObject
*args
) {
6390 PyObject
*resultobj
;
6391 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_positionRequested",&obj0
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6397 result
= (bool)((ob::OBClient
const *)arg1
)->positionRequested();
6399 resultobj
= PyInt_FromLong((long)result
);
6406 static PyObject
*_wrap_OBClient_decorations(PyObject
*self
, PyObject
*args
) {
6407 PyObject
*resultobj
;
6408 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6409 ob::OBClient::DecorationFlags result
;
6410 PyObject
* obj0
= 0 ;
6412 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_decorations",&obj0
)) goto fail
;
6413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6414 result
= (ob::OBClient::DecorationFlags
)((ob::OBClient
const *)arg1
)->decorations();
6416 resultobj
= PyInt_FromLong((long)result
);
6423 static PyObject
*_wrap_OBClient_funtions(PyObject
*self
, PyObject
*args
) {
6424 PyObject
*resultobj
;
6425 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6426 ob::OBClient::FunctionFlags result
;
6427 PyObject
* obj0
= 0 ;
6429 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_funtions",&obj0
)) goto fail
;
6430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6431 result
= (ob::OBClient::FunctionFlags
)((ob::OBClient
const *)arg1
)->funtions();
6433 resultobj
= PyInt_FromLong((long)result
);
6440 static PyObject
*_wrap_OBClient_transientFor(PyObject
*self
, PyObject
*args
) {
6441 PyObject
*resultobj
;
6442 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6443 ob::OBClient
*result
;
6444 PyObject
* obj0
= 0 ;
6446 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_transientFor",&obj0
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6448 result
= (ob::OBClient
*)((ob::OBClient
const *)arg1
)->transientFor();
6450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
6457 static PyObject
*_wrap_OBClient_modal(PyObject
*self
, PyObject
*args
) {
6458 PyObject
*resultobj
;
6459 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6463 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_modal",&obj0
)) goto fail
;
6464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6465 result
= (bool)((ob::OBClient
const *)arg1
)->modal();
6467 resultobj
= PyInt_FromLong((long)result
);
6474 static PyObject
*_wrap_OBClient_shaded(PyObject
*self
, PyObject
*args
) {
6475 PyObject
*resultobj
;
6476 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6478 PyObject
* obj0
= 0 ;
6480 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_shaded",&obj0
)) goto fail
;
6481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6482 result
= (bool)((ob::OBClient
const *)arg1
)->shaded();
6484 resultobj
= PyInt_FromLong((long)result
);
6491 static PyObject
*_wrap_OBClient_iconic(PyObject
*self
, PyObject
*args
) {
6492 PyObject
*resultobj
;
6493 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6495 PyObject
* obj0
= 0 ;
6497 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_iconic",&obj0
)) goto fail
;
6498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6499 result
= (bool)((ob::OBClient
const *)arg1
)->iconic();
6501 resultobj
= PyInt_FromLong((long)result
);
6508 static PyObject
*_wrap_OBClient_maxVert(PyObject
*self
, PyObject
*args
) {
6509 PyObject
*resultobj
;
6510 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6514 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_maxVert",&obj0
)) goto fail
;
6515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6516 result
= (bool)((ob::OBClient
const *)arg1
)->maxVert();
6518 resultobj
= PyInt_FromLong((long)result
);
6525 static PyObject
*_wrap_OBClient_maxHorz(PyObject
*self
, PyObject
*args
) {
6526 PyObject
*resultobj
;
6527 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6531 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_maxHorz",&obj0
)) goto fail
;
6532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6533 result
= (bool)((ob::OBClient
const *)arg1
)->maxHorz();
6535 resultobj
= PyInt_FromLong((long)result
);
6542 static PyObject
*_wrap_OBClient_layer(PyObject
*self
, PyObject
*args
) {
6543 PyObject
*resultobj
;
6544 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6546 PyObject
* obj0
= 0 ;
6548 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_layer",&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6550 result
= (int)((ob::OBClient
const *)arg1
)->layer();
6552 resultobj
= PyInt_FromLong((long)result
);
6559 static PyObject
*_wrap_OBClient_toggleClientBorder(PyObject
*self
, PyObject
*args
) {
6560 PyObject
*resultobj
;
6561 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6566 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_toggleClientBorder",&obj0
,&obj1
)) goto fail
;
6567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6568 arg2
= (bool) PyInt_AsLong(obj1
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6570 (arg1
)->toggleClientBorder(arg2
);
6572 Py_INCREF(Py_None
); resultobj
= Py_None
;
6579 static PyObject
*_wrap_OBClient_area(PyObject
*self
, PyObject
*args
) {
6580 PyObject
*resultobj
;
6581 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6585 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_area",&obj0
)) goto fail
;
6586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6588 otk::Rect
const &_result_ref
= ((ob::OBClient
const *)arg1
)->area();
6589 result
= (otk::Rect
*) &_result_ref
;
6592 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
6599 static PyObject
*_wrap_OBClient_strut(PyObject
*self
, PyObject
*args
) {
6600 PyObject
*resultobj
;
6601 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6603 PyObject
* obj0
= 0 ;
6605 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_strut",&obj0
)) goto fail
;
6606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6608 otk::Strut
const &_result_ref
= ((ob::OBClient
const *)arg1
)->strut();
6609 result
= (otk::Strut
*) &_result_ref
;
6612 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 0);
6619 static PyObject
*_wrap_OBClient_move(PyObject
*self
, PyObject
*args
) {
6620 PyObject
*resultobj
;
6621 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6626 if(!PyArg_ParseTuple(args
,(char *)"Oii:OBClient_move",&obj0
,&arg2
,&arg3
)) goto fail
;
6627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6628 (arg1
)->move(arg2
,arg3
);
6630 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 static PyObject
*_wrap_OBClient_resize(PyObject
*self
, PyObject
*args
) {
6638 PyObject
*resultobj
;
6639 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6643 int arg5
= (int) INT_MIN
;
6644 int arg6
= (int) INT_MIN
;
6645 PyObject
* obj0
= 0 ;
6647 if(!PyArg_ParseTuple(args
,(char *)"Oiii|ii:OBClient_resize",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
6648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6649 (arg1
)->resize((ob::OBClient::Corner
)arg2
,arg3
,arg4
,arg5
,arg6
);
6651 Py_INCREF(Py_None
); resultobj
= Py_None
;
6658 static PyObject
*_wrap_OBClient_focus(PyObject
*self
, PyObject
*args
) {
6659 PyObject
*resultobj
;
6660 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6664 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_focus",&obj0
)) goto fail
;
6665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6666 result
= (bool)((ob::OBClient
const *)arg1
)->focus();
6668 resultobj
= PyInt_FromLong((long)result
);
6675 static PyObject
*_wrap_OBClient_unfocus(PyObject
*self
, PyObject
*args
) {
6676 PyObject
*resultobj
;
6677 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6678 PyObject
* obj0
= 0 ;
6680 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_unfocus",&obj0
)) goto fail
;
6681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6682 ((ob::OBClient
const *)arg1
)->unfocus();
6684 Py_INCREF(Py_None
); resultobj
= Py_None
;
6691 static PyObject
*_wrap_OBClient_focusHandler(PyObject
*self
, PyObject
*args
) {
6692 PyObject
*resultobj
;
6693 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6694 XFocusChangeEvent
*arg2
= 0 ;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6698 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_focusHandler",&obj0
,&obj1
)) goto fail
;
6699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6704 (arg1
)->focusHandler((XFocusChangeEvent
const &)*arg2
);
6706 Py_INCREF(Py_None
); resultobj
= Py_None
;
6713 static PyObject
*_wrap_OBClient_unfocusHandler(PyObject
*self
, PyObject
*args
) {
6714 PyObject
*resultobj
;
6715 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6716 XFocusChangeEvent
*arg2
= 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_unfocusHandler",&obj0
,&obj1
)) goto fail
;
6721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6726 (arg1
)->unfocusHandler((XFocusChangeEvent
const &)*arg2
);
6728 Py_INCREF(Py_None
); resultobj
= Py_None
;
6735 static PyObject
*_wrap_OBClient_propertyHandler(PyObject
*self
, PyObject
*args
) {
6736 PyObject
*resultobj
;
6737 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6738 XPropertyEvent
*arg2
= 0 ;
6739 PyObject
* obj0
= 0 ;
6740 PyObject
* obj1
= 0 ;
6742 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_propertyHandler",&obj0
,&obj1
)) goto fail
;
6743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6744 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6746 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6748 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
6750 Py_INCREF(Py_None
); resultobj
= Py_None
;
6757 static PyObject
*_wrap_OBClient_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
6758 PyObject
*resultobj
;
6759 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6760 XClientMessageEvent
*arg2
= 0 ;
6761 PyObject
* obj0
= 0 ;
6762 PyObject
* obj1
= 0 ;
6764 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
6765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6768 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6770 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
6772 Py_INCREF(Py_None
); resultobj
= Py_None
;
6779 static PyObject
*_wrap_OBClient_configureRequestHandler(PyObject
*self
, PyObject
*args
) {
6780 PyObject
*resultobj
;
6781 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6782 XConfigureRequestEvent
*arg2
= 0 ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6786 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_configureRequestHandler",&obj0
,&obj1
)) goto fail
;
6787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6788 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6790 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6792 (arg1
)->configureRequestHandler((XConfigureRequestEvent
const &)*arg2
);
6794 Py_INCREF(Py_None
); resultobj
= Py_None
;
6801 static PyObject
*_wrap_OBClient_unmapHandler(PyObject
*self
, PyObject
*args
) {
6802 PyObject
*resultobj
;
6803 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6804 XUnmapEvent
*arg2
= 0 ;
6805 PyObject
* obj0
= 0 ;
6806 PyObject
* obj1
= 0 ;
6808 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_unmapHandler",&obj0
,&obj1
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XUnmapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6812 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6814 (arg1
)->unmapHandler((XUnmapEvent
const &)*arg2
);
6816 Py_INCREF(Py_None
); resultobj
= Py_None
;
6823 static PyObject
*_wrap_OBClient_destroyHandler(PyObject
*self
, PyObject
*args
) {
6824 PyObject
*resultobj
;
6825 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6826 XDestroyWindowEvent
*arg2
= 0 ;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6830 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_destroyHandler",&obj0
,&obj1
)) goto fail
;
6831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6832 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XDestroyWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6834 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6836 (arg1
)->destroyHandler((XDestroyWindowEvent
const &)*arg2
);
6838 Py_INCREF(Py_None
); resultobj
= Py_None
;
6845 static PyObject
*_wrap_OBClient_reparentHandler(PyObject
*self
, PyObject
*args
) {
6846 PyObject
*resultobj
;
6847 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
6848 XReparentEvent
*arg2
= 0 ;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6852 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_reparentHandler",&obj0
,&obj1
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XReparentEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6856 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6858 (arg1
)->reparentHandler((XReparentEvent
const &)*arg2
);
6860 Py_INCREF(Py_None
); resultobj
= Py_None
;
6867 static PyObject
* OBClient_swigregister(PyObject
*self
, PyObject
*args
) {
6869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6870 SWIG_TypeClientData(SWIGTYPE_p_ob__OBClient
, obj
);
6872 return Py_BuildValue((char *)"");
6874 static PyObject
*_wrap_MouseData_screen_set(PyObject
*self
, PyObject
*args
) {
6875 PyObject
*resultobj
;
6876 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6878 PyObject
* obj0
= 0 ;
6880 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_screen_set",&obj0
,&arg2
)) goto fail
;
6881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6882 if (arg1
) (arg1
)->screen
= arg2
;
6884 Py_INCREF(Py_None
); resultobj
= Py_None
;
6891 static PyObject
*_wrap_MouseData_screen_get(PyObject
*self
, PyObject
*args
) {
6892 PyObject
*resultobj
;
6893 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6895 PyObject
* obj0
= 0 ;
6897 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_screen_get",&obj0
)) goto fail
;
6898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6899 result
= (int) ((arg1
)->screen
);
6901 resultobj
= PyInt_FromLong((long)result
);
6908 static PyObject
*_wrap_MouseData_client_set(PyObject
*self
, PyObject
*args
) {
6909 PyObject
*resultobj
;
6910 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6911 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6915 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_client_set",&obj0
,&obj1
)) goto fail
;
6916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6917 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
6918 if (arg1
) (arg1
)->client
= arg2
;
6920 Py_INCREF(Py_None
); resultobj
= Py_None
;
6927 static PyObject
*_wrap_MouseData_client_get(PyObject
*self
, PyObject
*args
) {
6928 PyObject
*resultobj
;
6929 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6930 ob::OBClient
*result
;
6931 PyObject
* obj0
= 0 ;
6933 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_client_get",&obj0
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6935 result
= (ob::OBClient
*) ((arg1
)->client
);
6937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
6944 static PyObject
*_wrap_MouseData_time_set(PyObject
*self
, PyObject
*args
) {
6945 PyObject
*resultobj
;
6946 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6951 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_time_set",&obj0
,&obj1
)) goto fail
;
6952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6953 arg2
= (Time
) PyInt_AsLong(obj1
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6955 if (arg1
) (arg1
)->time
= arg2
;
6957 Py_INCREF(Py_None
); resultobj
= Py_None
;
6964 static PyObject
*_wrap_MouseData_time_get(PyObject
*self
, PyObject
*args
) {
6965 PyObject
*resultobj
;
6966 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6970 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_time_get",&obj0
)) goto fail
;
6971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6972 result
= (Time
) ((arg1
)->time
);
6974 resultobj
= PyInt_FromLong((long)result
);
6981 static PyObject
*_wrap_MouseData_state_set(PyObject
*self
, PyObject
*args
) {
6982 PyObject
*resultobj
;
6983 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6988 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_state_set",&obj0
,&obj1
)) goto fail
;
6989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6990 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6992 if (arg1
) (arg1
)->state
= arg2
;
6994 Py_INCREF(Py_None
); resultobj
= Py_None
;
7001 static PyObject
*_wrap_MouseData_state_get(PyObject
*self
, PyObject
*args
) {
7002 PyObject
*resultobj
;
7003 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7004 unsigned int result
;
7005 PyObject
* obj0
= 0 ;
7007 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_state_get",&obj0
)) goto fail
;
7008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7009 result
= (unsigned int) ((arg1
)->state
);
7011 resultobj
= PyInt_FromLong((long)result
);
7018 static PyObject
*_wrap_MouseData_button_set(PyObject
*self
, PyObject
*args
) {
7019 PyObject
*resultobj
;
7020 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7025 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_button_set",&obj0
,&obj1
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7027 arg2
= (unsigned int) PyInt_AsLong(obj1
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7029 if (arg1
) (arg1
)->button
= arg2
;
7031 Py_INCREF(Py_None
); resultobj
= Py_None
;
7038 static PyObject
*_wrap_MouseData_button_get(PyObject
*self
, PyObject
*args
) {
7039 PyObject
*resultobj
;
7040 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7041 unsigned int result
;
7042 PyObject
* obj0
= 0 ;
7044 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_button_get",&obj0
)) goto fail
;
7045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7046 result
= (unsigned int) ((arg1
)->button
);
7048 resultobj
= PyInt_FromLong((long)result
);
7055 static PyObject
*_wrap_MouseData_context_set(PyObject
*self
, PyObject
*args
) {
7056 PyObject
*resultobj
;
7057 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7059 PyObject
* obj0
= 0 ;
7061 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_context_set",&obj0
,&arg2
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7063 if (arg1
) (arg1
)->context
= (ob::MouseContext
)arg2
;
7065 Py_INCREF(Py_None
); resultobj
= Py_None
;
7072 static PyObject
*_wrap_MouseData_context_get(PyObject
*self
, PyObject
*args
) {
7073 PyObject
*resultobj
;
7074 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7076 PyObject
* obj0
= 0 ;
7078 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_context_get",&obj0
)) goto fail
;
7079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7080 result
= (int) ((arg1
)->context
);
7082 resultobj
= PyInt_FromLong((long)result
);
7089 static PyObject
*_wrap_MouseData_action_set(PyObject
*self
, PyObject
*args
) {
7090 PyObject
*resultobj
;
7091 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7095 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_action_set",&obj0
,&arg2
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7097 if (arg1
) (arg1
)->action
= (ob::MouseAction
)arg2
;
7099 Py_INCREF(Py_None
); resultobj
= Py_None
;
7106 static PyObject
*_wrap_MouseData_action_get(PyObject
*self
, PyObject
*args
) {
7107 PyObject
*resultobj
;
7108 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7110 PyObject
* obj0
= 0 ;
7112 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_action_get",&obj0
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7114 result
= (int) ((arg1
)->action
);
7116 resultobj
= PyInt_FromLong((long)result
);
7123 static PyObject
*_wrap_MouseData_xroot_set(PyObject
*self
, PyObject
*args
) {
7124 PyObject
*resultobj
;
7125 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7127 PyObject
* obj0
= 0 ;
7129 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_xroot_set",&obj0
,&arg2
)) goto fail
;
7130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7131 if (arg1
) (arg1
)->xroot
= arg2
;
7133 Py_INCREF(Py_None
); resultobj
= Py_None
;
7140 static PyObject
*_wrap_MouseData_xroot_get(PyObject
*self
, PyObject
*args
) {
7141 PyObject
*resultobj
;
7142 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7144 PyObject
* obj0
= 0 ;
7146 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_xroot_get",&obj0
)) goto fail
;
7147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7148 result
= (int) ((arg1
)->xroot
);
7150 resultobj
= PyInt_FromLong((long)result
);
7157 static PyObject
*_wrap_MouseData_yroot_set(PyObject
*self
, PyObject
*args
) {
7158 PyObject
*resultobj
;
7159 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7163 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_yroot_set",&obj0
,&arg2
)) goto fail
;
7164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7165 if (arg1
) (arg1
)->yroot
= arg2
;
7167 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_MouseData_yroot_get(PyObject
*self
, PyObject
*args
) {
7175 PyObject
*resultobj
;
7176 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7180 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_yroot_get",&obj0
)) goto fail
;
7181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7182 result
= (int) ((arg1
)->yroot
);
7184 resultobj
= PyInt_FromLong((long)result
);
7191 static PyObject
*_wrap_MouseData_pressx_set(PyObject
*self
, PyObject
*args
) {
7192 PyObject
*resultobj
;
7193 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7195 PyObject
* obj0
= 0 ;
7197 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_pressx_set",&obj0
,&arg2
)) goto fail
;
7198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7199 if (arg1
) (arg1
)->pressx
= arg2
;
7201 Py_INCREF(Py_None
); resultobj
= Py_None
;
7208 static PyObject
*_wrap_MouseData_pressx_get(PyObject
*self
, PyObject
*args
) {
7209 PyObject
*resultobj
;
7210 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7212 PyObject
* obj0
= 0 ;
7214 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_pressx_get",&obj0
)) goto fail
;
7215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7216 result
= (int) ((arg1
)->pressx
);
7218 resultobj
= PyInt_FromLong((long)result
);
7225 static PyObject
*_wrap_MouseData_pressy_set(PyObject
*self
, PyObject
*args
) {
7226 PyObject
*resultobj
;
7227 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7229 PyObject
* obj0
= 0 ;
7231 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_pressy_set",&obj0
,&arg2
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7233 if (arg1
) (arg1
)->pressy
= arg2
;
7235 Py_INCREF(Py_None
); resultobj
= Py_None
;
7242 static PyObject
*_wrap_MouseData_pressy_get(PyObject
*self
, PyObject
*args
) {
7243 PyObject
*resultobj
;
7244 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7246 PyObject
* obj0
= 0 ;
7248 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_pressy_get",&obj0
)) goto fail
;
7249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7250 result
= (int) ((arg1
)->pressy
);
7252 resultobj
= PyInt_FromLong((long)result
);
7259 static PyObject
*_wrap_MouseData_press_clientx_set(PyObject
*self
, PyObject
*args
) {
7260 PyObject
*resultobj
;
7261 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7265 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientx_set",&obj0
,&arg2
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7267 if (arg1
) (arg1
)->press_clientx
= arg2
;
7269 Py_INCREF(Py_None
); resultobj
= Py_None
;
7276 static PyObject
*_wrap_MouseData_press_clientx_get(PyObject
*self
, PyObject
*args
) {
7277 PyObject
*resultobj
;
7278 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientx_get",&obj0
)) goto fail
;
7283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7284 result
= (int) ((arg1
)->press_clientx
);
7286 resultobj
= PyInt_FromLong((long)result
);
7293 static PyObject
*_wrap_MouseData_press_clienty_set(PyObject
*self
, PyObject
*args
) {
7294 PyObject
*resultobj
;
7295 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7299 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clienty_set",&obj0
,&arg2
)) goto fail
;
7300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7301 if (arg1
) (arg1
)->press_clienty
= arg2
;
7303 Py_INCREF(Py_None
); resultobj
= Py_None
;
7310 static PyObject
*_wrap_MouseData_press_clienty_get(PyObject
*self
, PyObject
*args
) {
7311 PyObject
*resultobj
;
7312 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7316 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clienty_get",&obj0
)) goto fail
;
7317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7318 result
= (int) ((arg1
)->press_clienty
);
7320 resultobj
= PyInt_FromLong((long)result
);
7327 static PyObject
*_wrap_MouseData_press_clientwidth_set(PyObject
*self
, PyObject
*args
) {
7328 PyObject
*resultobj
;
7329 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7331 PyObject
* obj0
= 0 ;
7333 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientwidth_set",&obj0
,&arg2
)) goto fail
;
7334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7335 if (arg1
) (arg1
)->press_clientwidth
= arg2
;
7337 Py_INCREF(Py_None
); resultobj
= Py_None
;
7344 static PyObject
*_wrap_MouseData_press_clientwidth_get(PyObject
*self
, PyObject
*args
) {
7345 PyObject
*resultobj
;
7346 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7348 PyObject
* obj0
= 0 ;
7350 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientwidth_get",&obj0
)) goto fail
;
7351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7352 result
= (int) ((arg1
)->press_clientwidth
);
7354 resultobj
= PyInt_FromLong((long)result
);
7361 static PyObject
*_wrap_MouseData_press_clientheight_set(PyObject
*self
, PyObject
*args
) {
7362 PyObject
*resultobj
;
7363 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7367 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientheight_set",&obj0
,&arg2
)) goto fail
;
7368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7369 if (arg1
) (arg1
)->press_clientheight
= arg2
;
7371 Py_INCREF(Py_None
); resultobj
= Py_None
;
7378 static PyObject
*_wrap_MouseData_press_clientheight_get(PyObject
*self
, PyObject
*args
) {
7379 PyObject
*resultobj
;
7380 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7382 PyObject
* obj0
= 0 ;
7384 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientheight_get",&obj0
)) goto fail
;
7385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7386 result
= (int) ((arg1
)->press_clientheight
);
7388 resultobj
= PyInt_FromLong((long)result
);
7395 static PyObject
*_wrap_new_MouseData__SWIG_0(PyObject
*self
, PyObject
*args
) {
7396 PyObject
*resultobj
;
7398 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
7406 otk::Point
*arg10
= 0 ;
7407 otk::Rect
*arg11
= 0 ;
7408 ob::MouseData
*result
;
7409 PyObject
* obj1
= 0 ;
7410 PyObject
* obj2
= 0 ;
7411 PyObject
* obj3
= 0 ;
7412 PyObject
* obj4
= 0 ;
7413 PyObject
* obj9
= 0 ;
7414 PyObject
* obj10
= 0 ;
7416 if(!PyArg_ParseTuple(args
,(char *)"iOOOOiiiiOO:new_MouseData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
,&obj10
)) goto fail
;
7417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7418 arg3
= (Time
) PyInt_AsLong(obj2
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7420 arg4
= (unsigned int) PyInt_AsLong(obj3
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7422 arg5
= (unsigned int) PyInt_AsLong(obj4
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7424 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7425 if (arg10
== NULL
) {
7426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7428 if ((SWIG_ConvertPtr(obj10
,(void **) &arg11
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7429 if (arg11
== NULL
) {
7430 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7432 result
= (ob::MouseData
*)new ob::MouseData(arg1
,arg2
,arg3
,arg4
,arg5
,(ob::MouseContext
)arg6
,(ob::MouseAction
)arg7
,arg8
,arg9
,(otk::Point
const &)*arg10
,(otk::Rect
const &)*arg11
);
7434 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__MouseData
, 1);
7441 static PyObject
*_wrap_new_MouseData__SWIG_1(PyObject
*self
, PyObject
*args
) {
7442 PyObject
*resultobj
;
7444 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
7450 ob::MouseData
*result
;
7451 PyObject
* obj1
= 0 ;
7452 PyObject
* obj2
= 0 ;
7453 PyObject
* obj3
= 0 ;
7454 PyObject
* obj4
= 0 ;
7456 if(!PyArg_ParseTuple(args
,(char *)"iOOOOii:new_MouseData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
)) goto fail
;
7457 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7458 arg3
= (Time
) PyInt_AsLong(obj2
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7460 arg4
= (unsigned int) PyInt_AsLong(obj3
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7462 arg5
= (unsigned int) PyInt_AsLong(obj4
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7464 result
= (ob::MouseData
*)new ob::MouseData(arg1
,arg2
,arg3
,arg4
,arg5
,(ob::MouseContext
)arg6
,(ob::MouseAction
)arg7
);
7466 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__MouseData
, 1);
7473 static PyObject
*_wrap_new_MouseData(PyObject
*self
, PyObject
*args
) {
7478 argc
= PyObject_Length(args
);
7479 for (ii
= 0; (ii
< argc
) && (ii
< 11); ii
++) {
7480 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7485 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
7490 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_ob__OBClient
, 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;
7507 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
7511 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
7515 _v
= (PyInt_Check(argv
[6]) || PyLong_Check(argv
[6])) ? 1 : 0;
7518 return _wrap_new_MouseData__SWIG_1(self
,args
);
7530 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
7535 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_ob__OBClient
, 0) == -1) {
7544 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7548 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7552 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
7556 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
7560 _v
= (PyInt_Check(argv
[6]) || PyLong_Check(argv
[6])) ? 1 : 0;
7564 _v
= (PyInt_Check(argv
[7]) || PyLong_Check(argv
[7])) ? 1 : 0;
7568 _v
= (PyInt_Check(argv
[8]) || PyLong_Check(argv
[8])) ? 1 : 0;
7573 if (SWIG_ConvertPtr(argv
[9], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
7583 if (SWIG_ConvertPtr(argv
[10], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
7591 return _wrap_new_MouseData__SWIG_0(self
,args
);
7605 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_MouseData'");
7610 static PyObject
* MouseData_swigregister(PyObject
*self
, PyObject
*args
) {
7612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7613 SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData
, obj
);
7615 return Py_BuildValue((char *)"");
7617 static PyObject
*_wrap_EventData_screen_set(PyObject
*self
, PyObject
*args
) {
7618 PyObject
*resultobj
;
7619 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7621 PyObject
* obj0
= 0 ;
7623 if(!PyArg_ParseTuple(args
,(char *)"Oi:EventData_screen_set",&obj0
,&arg2
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7625 if (arg1
) (arg1
)->screen
= arg2
;
7627 Py_INCREF(Py_None
); resultobj
= Py_None
;
7634 static PyObject
*_wrap_EventData_screen_get(PyObject
*self
, PyObject
*args
) {
7635 PyObject
*resultobj
;
7636 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7640 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_screen_get",&obj0
)) goto fail
;
7641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7642 result
= (int) ((arg1
)->screen
);
7644 resultobj
= PyInt_FromLong((long)result
);
7651 static PyObject
*_wrap_EventData_client_set(PyObject
*self
, PyObject
*args
) {
7652 PyObject
*resultobj
;
7653 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7654 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7658 if(!PyArg_ParseTuple(args
,(char *)"OO:EventData_client_set",&obj0
,&obj1
)) goto fail
;
7659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7660 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
7661 if (arg1
) (arg1
)->client
= arg2
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_EventData_client_get(PyObject
*self
, PyObject
*args
) {
7671 PyObject
*resultobj
;
7672 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7673 ob::OBClient
*result
;
7674 PyObject
* obj0
= 0 ;
7676 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_client_get",&obj0
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7678 result
= (ob::OBClient
*) ((arg1
)->client
);
7680 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
7687 static PyObject
*_wrap_EventData_state_set(PyObject
*self
, PyObject
*args
) {
7688 PyObject
*resultobj
;
7689 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7694 if(!PyArg_ParseTuple(args
,(char *)"OO:EventData_state_set",&obj0
,&obj1
)) goto fail
;
7695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7696 arg2
= (unsigned int) PyInt_AsLong(obj1
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7698 if (arg1
) (arg1
)->state
= arg2
;
7700 Py_INCREF(Py_None
); resultobj
= Py_None
;
7707 static PyObject
*_wrap_EventData_state_get(PyObject
*self
, PyObject
*args
) {
7708 PyObject
*resultobj
;
7709 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7710 unsigned int result
;
7711 PyObject
* obj0
= 0 ;
7713 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_state_get",&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7715 result
= (unsigned int) ((arg1
)->state
);
7717 resultobj
= PyInt_FromLong((long)result
);
7724 static PyObject
*_wrap_EventData_action_set(PyObject
*self
, PyObject
*args
) {
7725 PyObject
*resultobj
;
7726 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7730 if(!PyArg_ParseTuple(args
,(char *)"Oi:EventData_action_set",&obj0
,&arg2
)) goto fail
;
7731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7732 if (arg1
) (arg1
)->action
= (ob::EventAction
)arg2
;
7734 Py_INCREF(Py_None
); resultobj
= Py_None
;
7741 static PyObject
*_wrap_EventData_action_get(PyObject
*self
, PyObject
*args
) {
7742 PyObject
*resultobj
;
7743 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_action_get",&obj0
)) goto fail
;
7748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7749 result
= (int) ((arg1
)->action
);
7751 resultobj
= PyInt_FromLong((long)result
);
7758 static PyObject
*_wrap_new_EventData(PyObject
*self
, PyObject
*args
) {
7759 PyObject
*resultobj
;
7761 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
7764 ob::EventData
*result
;
7765 PyObject
* obj1
= 0 ;
7766 PyObject
* obj3
= 0 ;
7768 if(!PyArg_ParseTuple(args
,(char *)"iOiO:new_EventData",&arg1
,&obj1
,&arg3
,&obj3
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7770 arg4
= (unsigned int) PyInt_AsLong(obj3
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7772 result
= (ob::EventData
*)new ob::EventData(arg1
,arg2
,(ob::EventAction
)arg3
,arg4
);
7774 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__EventData
, 1);
7781 static PyObject
* EventData_swigregister(PyObject
*self
, PyObject
*args
) {
7783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7784 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData
, obj
);
7786 return Py_BuildValue((char *)"");
7788 static PyObject
*_wrap_KeyData_screen_set(PyObject
*self
, PyObject
*args
) {
7789 PyObject
*resultobj
;
7790 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7794 if(!PyArg_ParseTuple(args
,(char *)"Oi:KeyData_screen_set",&obj0
,&arg2
)) goto fail
;
7795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7796 if (arg1
) (arg1
)->screen
= arg2
;
7798 Py_INCREF(Py_None
); resultobj
= Py_None
;
7805 static PyObject
*_wrap_KeyData_screen_get(PyObject
*self
, PyObject
*args
) {
7806 PyObject
*resultobj
;
7807 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7811 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_screen_get",&obj0
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7813 result
= (int) ((arg1
)->screen
);
7815 resultobj
= PyInt_FromLong((long)result
);
7822 static PyObject
*_wrap_KeyData_client_set(PyObject
*self
, PyObject
*args
) {
7823 PyObject
*resultobj
;
7824 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7825 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
7826 PyObject
* obj0
= 0 ;
7827 PyObject
* obj1
= 0 ;
7829 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_client_set",&obj0
,&obj1
)) goto fail
;
7830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
7832 if (arg1
) (arg1
)->client
= arg2
;
7834 Py_INCREF(Py_None
); resultobj
= Py_None
;
7841 static PyObject
*_wrap_KeyData_client_get(PyObject
*self
, PyObject
*args
) {
7842 PyObject
*resultobj
;
7843 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7844 ob::OBClient
*result
;
7845 PyObject
* obj0
= 0 ;
7847 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_client_get",&obj0
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7849 result
= (ob::OBClient
*) ((arg1
)->client
);
7851 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
7858 static PyObject
*_wrap_KeyData_time_set(PyObject
*self
, PyObject
*args
) {
7859 PyObject
*resultobj
;
7860 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7865 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_time_set",&obj0
,&obj1
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7867 arg2
= (Time
) PyInt_AsLong(obj1
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7869 if (arg1
) (arg1
)->time
= arg2
;
7871 Py_INCREF(Py_None
); resultobj
= Py_None
;
7878 static PyObject
*_wrap_KeyData_time_get(PyObject
*self
, PyObject
*args
) {
7879 PyObject
*resultobj
;
7880 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7884 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_time_get",&obj0
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7886 result
= (Time
) ((arg1
)->time
);
7888 resultobj
= PyInt_FromLong((long)result
);
7895 static PyObject
*_wrap_KeyData_state_set(PyObject
*self
, PyObject
*args
) {
7896 PyObject
*resultobj
;
7897 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7900 PyObject
* obj1
= 0 ;
7902 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_state_set",&obj0
,&obj1
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7904 arg2
= (unsigned int) PyInt_AsLong(obj1
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7906 if (arg1
) (arg1
)->state
= arg2
;
7908 Py_INCREF(Py_None
); resultobj
= Py_None
;
7915 static PyObject
*_wrap_KeyData_state_get(PyObject
*self
, PyObject
*args
) {
7916 PyObject
*resultobj
;
7917 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7918 unsigned int result
;
7919 PyObject
* obj0
= 0 ;
7921 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_state_get",&obj0
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7923 result
= (unsigned int) ((arg1
)->state
);
7925 resultobj
= PyInt_FromLong((long)result
);
7932 static PyObject
*_wrap_KeyData_key_set(PyObject
*self
, PyObject
*args
) {
7933 PyObject
*resultobj
;
7934 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7935 std::string
*arg2
= (std::string
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7939 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_key_set",&obj0
,&obj1
)) goto fail
;
7940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7941 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_std__string
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7942 if (arg1
) (arg1
)->key
= *arg2
;
7944 Py_INCREF(Py_None
); resultobj
= Py_None
;
7951 static PyObject
*_wrap_KeyData_key_get(PyObject
*self
, PyObject
*args
) {
7952 PyObject
*resultobj
;
7953 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7954 std::string
*result
;
7955 PyObject
* obj0
= 0 ;
7957 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_key_get",&obj0
)) goto fail
;
7958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7959 result
= (std::string
*)& ((arg1
)->key
);
7961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_std__string
, 0);
7968 static PyObject
*_wrap_new_KeyData(PyObject
*self
, PyObject
*args
) {
7969 PyObject
*resultobj
;
7971 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
7975 ob::KeyData
*result
;
7976 PyObject
* obj1
= 0 ;
7977 PyObject
* obj2
= 0 ;
7978 PyObject
* obj3
= 0 ;
7979 PyObject
* obj4
= 0 ;
7981 if(!PyArg_ParseTuple(args
,(char *)"iOOOO:new_KeyData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7982 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7983 arg3
= (Time
) PyInt_AsLong(obj2
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7985 arg4
= (unsigned int) PyInt_AsLong(obj3
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7987 arg5
= (unsigned int) PyInt_AsLong(obj4
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7989 result
= (ob::KeyData
*)new ob::KeyData(arg1
,arg2
,arg3
,arg4
,arg5
);
7991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__KeyData
, 1);
7998 static PyObject
* KeyData_swigregister(PyObject
*self
, PyObject
*args
) {
8000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8001 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData
, obj
);
8003 return Py_BuildValue((char *)"");
8005 static PyObject
*_wrap_mbind(PyObject
*self
, PyObject
*args
) {
8006 PyObject
*resultobj
;
8007 std::string
*arg1
= 0 ;
8010 PyObject
*arg4
= (PyObject
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8014 PyObject
* obj3
= 0 ;
8016 if(!PyArg_ParseTuple(args
,(char *)"OiiO:mbind",&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
8018 if (PyString_Check(obj0
)) {
8019 temp1
= std::string(PyString_AsString(obj0
));
8022 SWIG_exception(SWIG_TypeError
, "string expected");
8026 result
= (PyObject
*)ob::mbind((std::string
const &)*arg1
,(ob::MouseContext
)arg2
,(ob::MouseAction
)arg3
,arg4
);
8035 static PyObject
*_wrap_kbind(PyObject
*self
, PyObject
*args
) {
8036 PyObject
*resultobj
;
8037 PyObject
*arg1
= (PyObject
*) 0 ;
8039 PyObject
*arg3
= (PyObject
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj2
= 0 ;
8044 if(!PyArg_ParseTuple(args
,(char *)"OiO:kbind",&obj0
,&arg2
,&obj2
)) goto fail
;
8047 result
= (PyObject
*)ob::kbind(arg1
,(ob::KeyContext
)arg2
,arg3
);
8056 static PyObject
*_wrap_ebind(PyObject
*self
, PyObject
*args
) {
8057 PyObject
*resultobj
;
8059 PyObject
*arg2
= (PyObject
*) 0 ;
8061 PyObject
* obj1
= 0 ;
8063 if(!PyArg_ParseTuple(args
,(char *)"iO:ebind",&arg1
,&obj1
)) goto fail
;
8065 result
= (PyObject
*)ob::ebind((ob::EventAction
)arg1
,arg2
);
8074 static PyObject
*_wrap_set_reset_key(PyObject
*self
, PyObject
*args
) {
8075 PyObject
*resultobj
;
8076 std::string
*arg1
= 0 ;
8078 PyObject
* obj0
= 0 ;
8080 if(!PyArg_ParseTuple(args
,(char *)"O:set_reset_key",&obj0
)) goto fail
;
8082 if (PyString_Check(obj0
)) {
8083 temp1
= std::string(PyString_AsString(obj0
));
8086 SWIG_exception(SWIG_TypeError
, "string expected");
8089 ob::set_reset_key((std::string
const &)*arg1
);
8091 Py_INCREF(Py_None
); resultobj
= Py_None
;
8098 static PyObject
*_wrap_send_client_msg(PyObject
*self
, PyObject
*args
) {
8099 PyObject
*resultobj
;
8104 long arg5
= (long) 0 ;
8105 long arg6
= (long) 0 ;
8106 long arg7
= (long) 0 ;
8107 long arg8
= (long) 0 ;
8109 PyObject
* obj0
= 0 ;
8110 PyObject
* obj2
= 0 ;
8112 if(!PyArg_ParseTuple(args
,(char *)"OiOl|llll:send_client_msg",&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
8113 arg1
= (Window
) PyInt_AsLong(obj0
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8115 arg3
= (Window
) PyInt_AsLong(obj2
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8117 result
= (PyObject
*)ob::send_client_msg(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
8126 static PyMethodDef SwigMethods
[] = {
8127 { (char *)"Openbox_instance", _wrap_Openbox_instance
, METH_VARARGS
},
8128 { (char *)"OBDisplay_display", _wrap_OBDisplay_display
, METH_VARARGS
},
8129 { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize
, METH_VARARGS
},
8130 { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy
, METH_VARARGS
},
8131 { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache
, METH_VARARGS
},
8132 { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo
, METH_VARARGS
},
8133 { (char *)"OBDisplay_findScreen", _wrap_OBDisplay_findScreen
, METH_VARARGS
},
8134 { (char *)"OBDisplay_xkb", _wrap_OBDisplay_xkb
, METH_VARARGS
},
8135 { (char *)"OBDisplay_xkbEventBase", _wrap_OBDisplay_xkbEventBase
, METH_VARARGS
},
8136 { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape
, METH_VARARGS
},
8137 { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase
, METH_VARARGS
},
8138 { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama
, METH_VARARGS
},
8139 { (char *)"OBDisplay_numLockMask", _wrap_OBDisplay_numLockMask
, METH_VARARGS
},
8140 { (char *)"OBDisplay_scrollLockMask", _wrap_OBDisplay_scrollLockMask
, METH_VARARGS
},
8141 { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab
, METH_VARARGS
},
8142 { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab
, METH_VARARGS
},
8143 { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton
, METH_VARARGS
},
8144 { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton
, METH_VARARGS
},
8145 { (char *)"OBDisplay_grabKey", _wrap_OBDisplay_grabKey
, METH_VARARGS
},
8146 { (char *)"OBDisplay_ungrabKey", _wrap_OBDisplay_ungrabKey
, METH_VARARGS
},
8147 { (char *)"OBDisplay_swigregister", OBDisplay_swigregister
, METH_VARARGS
},
8148 { (char *)"new_Point", _wrap_new_Point
, METH_VARARGS
},
8149 { (char *)"Point_setX", _wrap_Point_setX
, METH_VARARGS
},
8150 { (char *)"Point_x", _wrap_Point_x
, METH_VARARGS
},
8151 { (char *)"Point_setY", _wrap_Point_setY
, METH_VARARGS
},
8152 { (char *)"Point_y", _wrap_Point_y
, METH_VARARGS
},
8153 { (char *)"Point_setPoint", _wrap_Point_setPoint
, METH_VARARGS
},
8154 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
8155 { (char *)"new_OBProperty", _wrap_new_OBProperty
, METH_VARARGS
},
8156 { (char *)"delete_OBProperty", _wrap_delete_OBProperty
, METH_VARARGS
},
8157 { (char *)"OBProperty_set", _wrap_OBProperty_set
, METH_VARARGS
},
8158 { (char *)"OBProperty_get", _wrap_OBProperty_get
, METH_VARARGS
},
8159 { (char *)"OBProperty_erase", _wrap_OBProperty_erase
, METH_VARARGS
},
8160 { (char *)"OBProperty_atom", _wrap_OBProperty_atom
, METH_VARARGS
},
8161 { (char *)"OBProperty_swigregister", OBProperty_swigregister
, METH_VARARGS
},
8162 { (char *)"new_Rect", _wrap_new_Rect
, METH_VARARGS
},
8163 { (char *)"Rect_left", _wrap_Rect_left
, METH_VARARGS
},
8164 { (char *)"Rect_top", _wrap_Rect_top
, METH_VARARGS
},
8165 { (char *)"Rect_right", _wrap_Rect_right
, METH_VARARGS
},
8166 { (char *)"Rect_bottom", _wrap_Rect_bottom
, METH_VARARGS
},
8167 { (char *)"Rect_x", _wrap_Rect_x
, METH_VARARGS
},
8168 { (char *)"Rect_y", _wrap_Rect_y
, METH_VARARGS
},
8169 { (char *)"Rect_location", _wrap_Rect_location
, METH_VARARGS
},
8170 { (char *)"Rect_setX", _wrap_Rect_setX
, METH_VARARGS
},
8171 { (char *)"Rect_setY", _wrap_Rect_setY
, METH_VARARGS
},
8172 { (char *)"Rect_setPos", _wrap_Rect_setPos
, METH_VARARGS
},
8173 { (char *)"Rect_width", _wrap_Rect_width
, METH_VARARGS
},
8174 { (char *)"Rect_height", _wrap_Rect_height
, METH_VARARGS
},
8175 { (char *)"Rect_size", _wrap_Rect_size
, METH_VARARGS
},
8176 { (char *)"Rect_setWidth", _wrap_Rect_setWidth
, METH_VARARGS
},
8177 { (char *)"Rect_setHeight", _wrap_Rect_setHeight
, METH_VARARGS
},
8178 { (char *)"Rect_setSize", _wrap_Rect_setSize
, METH_VARARGS
},
8179 { (char *)"Rect_setRect", _wrap_Rect_setRect
, METH_VARARGS
},
8180 { (char *)"Rect_setCoords", _wrap_Rect_setCoords
, METH_VARARGS
},
8181 { (char *)"Rect___eq__", _wrap_Rect___eq__
, METH_VARARGS
},
8182 { (char *)"Rect___ne__", _wrap_Rect___ne__
, METH_VARARGS
},
8183 { (char *)"Rect___or__", _wrap_Rect___or__
, METH_VARARGS
},
8184 { (char *)"Rect___and__", _wrap_Rect___and__
, METH_VARARGS
},
8185 { (char *)"Rect___ior__", _wrap_Rect___ior__
, METH_VARARGS
},
8186 { (char *)"Rect___iand__", _wrap_Rect___iand__
, METH_VARARGS
},
8187 { (char *)"Rect_valid", _wrap_Rect_valid
, METH_VARARGS
},
8188 { (char *)"Rect_intersects", _wrap_Rect_intersects
, METH_VARARGS
},
8189 { (char *)"Rect_contains", _wrap_Rect_contains
, METH_VARARGS
},
8190 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
8191 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo
, METH_VARARGS
},
8192 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual
, METH_VARARGS
},
8193 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow
, METH_VARARGS
},
8194 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap
, METH_VARARGS
},
8195 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth
, METH_VARARGS
},
8196 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen
, METH_VARARGS
},
8197 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect
, METH_VARARGS
},
8198 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width
, METH_VARARGS
},
8199 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height
, METH_VARARGS
},
8200 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString
, METH_VARARGS
},
8201 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister
, METH_VARARGS
},
8202 { (char *)"Strut_top_set", _wrap_Strut_top_set
, METH_VARARGS
},
8203 { (char *)"Strut_top_get", _wrap_Strut_top_get
, METH_VARARGS
},
8204 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set
, METH_VARARGS
},
8205 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get
, METH_VARARGS
},
8206 { (char *)"Strut_left_set", _wrap_Strut_left_set
, METH_VARARGS
},
8207 { (char *)"Strut_left_get", _wrap_Strut_left_get
, METH_VARARGS
},
8208 { (char *)"Strut_right_set", _wrap_Strut_right_set
, METH_VARARGS
},
8209 { (char *)"Strut_right_get", _wrap_Strut_right_get
, METH_VARARGS
},
8210 { (char *)"new_Strut", _wrap_new_Strut
, METH_VARARGS
},
8211 { (char *)"Strut_swigregister", Strut_swigregister
, METH_VARARGS
},
8212 { (char *)"expandTilde", _wrap_expandTilde
, METH_VARARGS
},
8213 { (char *)"bexec", _wrap_bexec
, METH_VARARGS
},
8214 { (char *)"textPropertyToString", _wrap_textPropertyToString
, METH_VARARGS
},
8215 { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long
, METH_VARARGS
},
8216 { (char *)"itostring_long", _wrap_itostring_long
, METH_VARARGS
},
8217 { (char *)"itostring_unsigned", _wrap_itostring_unsigned
, METH_VARARGS
},
8218 { (char *)"itostring", _wrap_itostring
, METH_VARARGS
},
8219 { (char *)"putenv", _wrap_putenv
, METH_VARARGS
},
8220 { (char *)"basename", _wrap_basename
, METH_VARARGS
},
8221 { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle
, METH_VARARGS
},
8222 { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler
, METH_VARARGS
},
8223 { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler
, METH_VARARGS
},
8224 { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler
, METH_VARARGS
},
8225 { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler
, METH_VARARGS
},
8226 { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler
, METH_VARARGS
},
8227 { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler
, METH_VARARGS
},
8228 { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler
, METH_VARARGS
},
8229 { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler
, METH_VARARGS
},
8230 { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler
, METH_VARARGS
},
8231 { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler
, METH_VARARGS
},
8232 { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler
, METH_VARARGS
},
8233 { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler
, METH_VARARGS
},
8234 { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler
, METH_VARARGS
},
8235 { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler
, METH_VARARGS
},
8236 { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler
, METH_VARARGS
},
8237 { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler
, METH_VARARGS
},
8238 { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler
, METH_VARARGS
},
8239 { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler
, METH_VARARGS
},
8240 { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler
, METH_VARARGS
},
8241 { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler
, METH_VARARGS
},
8242 { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler
, METH_VARARGS
},
8243 { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler
, METH_VARARGS
},
8244 { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler
, METH_VARARGS
},
8245 { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler
, METH_VARARGS
},
8246 { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler
, METH_VARARGS
},
8247 { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler
, METH_VARARGS
},
8248 { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler
, METH_VARARGS
},
8249 { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler
, METH_VARARGS
},
8250 { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler
, METH_VARARGS
},
8251 { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler
, METH_VARARGS
},
8252 { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler
, METH_VARARGS
},
8253 { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler
, METH_VARARGS
},
8254 { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler
, METH_VARARGS
},
8255 { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister
, METH_VARARGS
},
8256 { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher
, METH_VARARGS
},
8257 { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher
, METH_VARARGS
},
8258 { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers
, METH_VARARGS
},
8259 { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler
, METH_VARARGS
},
8260 { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler
, METH_VARARGS
},
8261 { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents
, METH_VARARGS
},
8262 { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler
, METH_VARARGS
},
8263 { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler
, METH_VARARGS
},
8264 { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler
, METH_VARARGS
},
8265 { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler
, METH_VARARGS
},
8266 { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler
, METH_VARARGS
},
8267 { (char *)"OtkEventDispatcher_lastTime", _wrap_OtkEventDispatcher_lastTime
, METH_VARARGS
},
8268 { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister
, METH_VARARGS
},
8269 { (char *)"Cursors_session_set", _wrap_Cursors_session_set
, METH_VARARGS
},
8270 { (char *)"Cursors_session_get", _wrap_Cursors_session_get
, METH_VARARGS
},
8271 { (char *)"Cursors_move_set", _wrap_Cursors_move_set
, METH_VARARGS
},
8272 { (char *)"Cursors_move_get", _wrap_Cursors_move_get
, METH_VARARGS
},
8273 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set
, METH_VARARGS
},
8274 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get
, METH_VARARGS
},
8275 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set
, METH_VARARGS
},
8276 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get
, METH_VARARGS
},
8277 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set
, METH_VARARGS
},
8278 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get
, METH_VARARGS
},
8279 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set
, METH_VARARGS
},
8280 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get
, METH_VARARGS
},
8281 { (char *)"Cursors_swigregister", Cursors_swigregister
, METH_VARARGS
},
8282 { (char *)"Openbox_state", _wrap_Openbox_state
, METH_VARARGS
},
8283 { (char *)"Openbox_timerManager", _wrap_Openbox_timerManager
, METH_VARARGS
},
8284 { (char *)"Openbox_property", _wrap_Openbox_property
, METH_VARARGS
},
8285 { (char *)"Openbox_actions", _wrap_Openbox_actions
, METH_VARARGS
},
8286 { (char *)"Openbox_bindings", _wrap_Openbox_bindings
, METH_VARARGS
},
8287 { (char *)"Openbox_screen", _wrap_Openbox_screen
, METH_VARARGS
},
8288 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount
, METH_VARARGS
},
8289 { (char *)"Openbox_cursors", _wrap_Openbox_cursors
, METH_VARARGS
},
8290 { (char *)"Openbox_addClient", _wrap_Openbox_addClient
, METH_VARARGS
},
8291 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient
, METH_VARARGS
},
8292 { (char *)"Openbox_findClient", _wrap_Openbox_findClient
, METH_VARARGS
},
8293 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient
, METH_VARARGS
},
8294 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient
, METH_VARARGS
},
8295 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen
, METH_VARARGS
},
8296 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown
, METH_VARARGS
},
8297 { (char *)"Openbox_restart", _wrap_Openbox_restart
, METH_VARARGS
},
8298 { (char *)"Openbox_execute", _wrap_Openbox_execute
, METH_VARARGS
},
8299 { (char *)"Openbox_swigregister", Openbox_swigregister
, METH_VARARGS
},
8300 { (char *)"OBScreen_client", _wrap_OBScreen_client
, METH_VARARGS
},
8301 { (char *)"OBScreen_clientCount", _wrap_OBScreen_clientCount
, METH_VARARGS
},
8302 { (char *)"OBScreen_number", _wrap_OBScreen_number
, METH_VARARGS
},
8303 { (char *)"OBScreen_managed", _wrap_OBScreen_managed
, METH_VARARGS
},
8304 { (char *)"OBScreen_imageControl", _wrap_OBScreen_imageControl
, METH_VARARGS
},
8305 { (char *)"OBScreen_area", _wrap_OBScreen_area
, METH_VARARGS
},
8306 { (char *)"OBScreen_style", _wrap_OBScreen_style
, METH_VARARGS
},
8307 { (char *)"OBScreen_focuswindow", _wrap_OBScreen_focuswindow
, METH_VARARGS
},
8308 { (char *)"OBScreen_desktop", _wrap_OBScreen_desktop
, METH_VARARGS
},
8309 { (char *)"OBScreen_numDesktops", _wrap_OBScreen_numDesktops
, METH_VARARGS
},
8310 { (char *)"OBScreen_updateStrut", _wrap_OBScreen_updateStrut
, METH_VARARGS
},
8311 { (char *)"OBScreen_manageExisting", _wrap_OBScreen_manageExisting
, METH_VARARGS
},
8312 { (char *)"OBScreen_manageWindow", _wrap_OBScreen_manageWindow
, METH_VARARGS
},
8313 { (char *)"OBScreen_unmanageWindow", _wrap_OBScreen_unmanageWindow
, METH_VARARGS
},
8314 { (char *)"OBScreen_restack", _wrap_OBScreen_restack
, METH_VARARGS
},
8315 { (char *)"OBScreen_setDesktopName", _wrap_OBScreen_setDesktopName
, METH_VARARGS
},
8316 { (char *)"OBScreen_propertyHandler", _wrap_OBScreen_propertyHandler
, METH_VARARGS
},
8317 { (char *)"OBScreen_clientMessageHandler", _wrap_OBScreen_clientMessageHandler
, METH_VARARGS
},
8318 { (char *)"OBScreen_mapRequestHandler", _wrap_OBScreen_mapRequestHandler
, METH_VARARGS
},
8319 { (char *)"OBScreen_swigregister", OBScreen_swigregister
, METH_VARARGS
},
8320 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set
, METH_VARARGS
},
8321 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get
, METH_VARARGS
},
8322 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set
, METH_VARARGS
},
8323 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get
, METH_VARARGS
},
8324 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set
, METH_VARARGS
},
8325 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get
, METH_VARARGS
},
8326 { (char *)"MwmHints_swigregister", MwmHints_swigregister
, METH_VARARGS
},
8327 { (char *)"OBClient_frame_set", _wrap_OBClient_frame_set
, METH_VARARGS
},
8328 { (char *)"OBClient_frame_get", _wrap_OBClient_frame_get
, METH_VARARGS
},
8329 { (char *)"OBClient_ignore_unmaps_set", _wrap_OBClient_ignore_unmaps_set
, METH_VARARGS
},
8330 { (char *)"OBClient_ignore_unmaps_get", _wrap_OBClient_ignore_unmaps_get
, METH_VARARGS
},
8331 { (char *)"OBClient_screen", _wrap_OBClient_screen
, METH_VARARGS
},
8332 { (char *)"OBClient_window", _wrap_OBClient_window
, METH_VARARGS
},
8333 { (char *)"OBClient_type", _wrap_OBClient_type
, METH_VARARGS
},
8334 { (char *)"OBClient_normal", _wrap_OBClient_normal
, METH_VARARGS
},
8335 { (char *)"OBClient_desktop", _wrap_OBClient_desktop
, METH_VARARGS
},
8336 { (char *)"OBClient_title", _wrap_OBClient_title
, METH_VARARGS
},
8337 { (char *)"OBClient_iconTitle", _wrap_OBClient_iconTitle
, METH_VARARGS
},
8338 { (char *)"OBClient_appName", _wrap_OBClient_appName
, METH_VARARGS
},
8339 { (char *)"OBClient_appClass", _wrap_OBClient_appClass
, METH_VARARGS
},
8340 { (char *)"OBClient_role", _wrap_OBClient_role
, METH_VARARGS
},
8341 { (char *)"OBClient_canFocus", _wrap_OBClient_canFocus
, METH_VARARGS
},
8342 { (char *)"OBClient_urgent", _wrap_OBClient_urgent
, METH_VARARGS
},
8343 { (char *)"OBClient_focusNotify", _wrap_OBClient_focusNotify
, METH_VARARGS
},
8344 { (char *)"OBClient_shaped", _wrap_OBClient_shaped
, METH_VARARGS
},
8345 { (char *)"OBClient_gravity", _wrap_OBClient_gravity
, METH_VARARGS
},
8346 { (char *)"OBClient_positionRequested", _wrap_OBClient_positionRequested
, METH_VARARGS
},
8347 { (char *)"OBClient_decorations", _wrap_OBClient_decorations
, METH_VARARGS
},
8348 { (char *)"OBClient_funtions", _wrap_OBClient_funtions
, METH_VARARGS
},
8349 { (char *)"OBClient_transientFor", _wrap_OBClient_transientFor
, METH_VARARGS
},
8350 { (char *)"OBClient_modal", _wrap_OBClient_modal
, METH_VARARGS
},
8351 { (char *)"OBClient_shaded", _wrap_OBClient_shaded
, METH_VARARGS
},
8352 { (char *)"OBClient_iconic", _wrap_OBClient_iconic
, METH_VARARGS
},
8353 { (char *)"OBClient_maxVert", _wrap_OBClient_maxVert
, METH_VARARGS
},
8354 { (char *)"OBClient_maxHorz", _wrap_OBClient_maxHorz
, METH_VARARGS
},
8355 { (char *)"OBClient_layer", _wrap_OBClient_layer
, METH_VARARGS
},
8356 { (char *)"OBClient_toggleClientBorder", _wrap_OBClient_toggleClientBorder
, METH_VARARGS
},
8357 { (char *)"OBClient_area", _wrap_OBClient_area
, METH_VARARGS
},
8358 { (char *)"OBClient_strut", _wrap_OBClient_strut
, METH_VARARGS
},
8359 { (char *)"OBClient_move", _wrap_OBClient_move
, METH_VARARGS
},
8360 { (char *)"OBClient_resize", _wrap_OBClient_resize
, METH_VARARGS
},
8361 { (char *)"OBClient_focus", _wrap_OBClient_focus
, METH_VARARGS
},
8362 { (char *)"OBClient_unfocus", _wrap_OBClient_unfocus
, METH_VARARGS
},
8363 { (char *)"OBClient_focusHandler", _wrap_OBClient_focusHandler
, METH_VARARGS
},
8364 { (char *)"OBClient_unfocusHandler", _wrap_OBClient_unfocusHandler
, METH_VARARGS
},
8365 { (char *)"OBClient_propertyHandler", _wrap_OBClient_propertyHandler
, METH_VARARGS
},
8366 { (char *)"OBClient_clientMessageHandler", _wrap_OBClient_clientMessageHandler
, METH_VARARGS
},
8367 { (char *)"OBClient_configureRequestHandler", _wrap_OBClient_configureRequestHandler
, METH_VARARGS
},
8368 { (char *)"OBClient_unmapHandler", _wrap_OBClient_unmapHandler
, METH_VARARGS
},
8369 { (char *)"OBClient_destroyHandler", _wrap_OBClient_destroyHandler
, METH_VARARGS
},
8370 { (char *)"OBClient_reparentHandler", _wrap_OBClient_reparentHandler
, METH_VARARGS
},
8371 { (char *)"OBClient_swigregister", OBClient_swigregister
, METH_VARARGS
},
8372 { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set
, METH_VARARGS
},
8373 { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get
, METH_VARARGS
},
8374 { (char *)"MouseData_client_set", _wrap_MouseData_client_set
, METH_VARARGS
},
8375 { (char *)"MouseData_client_get", _wrap_MouseData_client_get
, METH_VARARGS
},
8376 { (char *)"MouseData_time_set", _wrap_MouseData_time_set
, METH_VARARGS
},
8377 { (char *)"MouseData_time_get", _wrap_MouseData_time_get
, METH_VARARGS
},
8378 { (char *)"MouseData_state_set", _wrap_MouseData_state_set
, METH_VARARGS
},
8379 { (char *)"MouseData_state_get", _wrap_MouseData_state_get
, METH_VARARGS
},
8380 { (char *)"MouseData_button_set", _wrap_MouseData_button_set
, METH_VARARGS
},
8381 { (char *)"MouseData_button_get", _wrap_MouseData_button_get
, METH_VARARGS
},
8382 { (char *)"MouseData_context_set", _wrap_MouseData_context_set
, METH_VARARGS
},
8383 { (char *)"MouseData_context_get", _wrap_MouseData_context_get
, METH_VARARGS
},
8384 { (char *)"MouseData_action_set", _wrap_MouseData_action_set
, METH_VARARGS
},
8385 { (char *)"MouseData_action_get", _wrap_MouseData_action_get
, METH_VARARGS
},
8386 { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set
, METH_VARARGS
},
8387 { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get
, METH_VARARGS
},
8388 { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set
, METH_VARARGS
},
8389 { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get
, METH_VARARGS
},
8390 { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set
, METH_VARARGS
},
8391 { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get
, METH_VARARGS
},
8392 { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set
, METH_VARARGS
},
8393 { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get
, METH_VARARGS
},
8394 { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set
, METH_VARARGS
},
8395 { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get
, METH_VARARGS
},
8396 { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set
, METH_VARARGS
},
8397 { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get
, METH_VARARGS
},
8398 { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set
, METH_VARARGS
},
8399 { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get
, METH_VARARGS
},
8400 { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set
, METH_VARARGS
},
8401 { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get
, METH_VARARGS
},
8402 { (char *)"new_MouseData", _wrap_new_MouseData
, METH_VARARGS
},
8403 { (char *)"MouseData_swigregister", MouseData_swigregister
, METH_VARARGS
},
8404 { (char *)"EventData_screen_set", _wrap_EventData_screen_set
, METH_VARARGS
},
8405 { (char *)"EventData_screen_get", _wrap_EventData_screen_get
, METH_VARARGS
},
8406 { (char *)"EventData_client_set", _wrap_EventData_client_set
, METH_VARARGS
},
8407 { (char *)"EventData_client_get", _wrap_EventData_client_get
, METH_VARARGS
},
8408 { (char *)"EventData_state_set", _wrap_EventData_state_set
, METH_VARARGS
},
8409 { (char *)"EventData_state_get", _wrap_EventData_state_get
, METH_VARARGS
},
8410 { (char *)"EventData_action_set", _wrap_EventData_action_set
, METH_VARARGS
},
8411 { (char *)"EventData_action_get", _wrap_EventData_action_get
, METH_VARARGS
},
8412 { (char *)"new_EventData", _wrap_new_EventData
, METH_VARARGS
},
8413 { (char *)"EventData_swigregister", EventData_swigregister
, METH_VARARGS
},
8414 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set
, METH_VARARGS
},
8415 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get
, METH_VARARGS
},
8416 { (char *)"KeyData_client_set", _wrap_KeyData_client_set
, METH_VARARGS
},
8417 { (char *)"KeyData_client_get", _wrap_KeyData_client_get
, METH_VARARGS
},
8418 { (char *)"KeyData_time_set", _wrap_KeyData_time_set
, METH_VARARGS
},
8419 { (char *)"KeyData_time_get", _wrap_KeyData_time_get
, METH_VARARGS
},
8420 { (char *)"KeyData_state_set", _wrap_KeyData_state_set
, METH_VARARGS
},
8421 { (char *)"KeyData_state_get", _wrap_KeyData_state_get
, METH_VARARGS
},
8422 { (char *)"KeyData_key_set", _wrap_KeyData_key_set
, METH_VARARGS
},
8423 { (char *)"KeyData_key_get", _wrap_KeyData_key_get
, METH_VARARGS
},
8424 { (char *)"new_KeyData", _wrap_new_KeyData
, METH_VARARGS
},
8425 { (char *)"KeyData_swigregister", KeyData_swigregister
, METH_VARARGS
},
8426 { (char *)"mbind", _wrap_mbind
, METH_VARARGS
},
8427 { (char *)"kbind", _wrap_kbind
, METH_VARARGS
},
8428 { (char *)"ebind", _wrap_ebind
, METH_VARARGS
},
8429 { (char *)"set_reset_key", _wrap_set_reset_key
, METH_VARARGS
},
8430 { (char *)"send_client_msg", _wrap_send_client_msg
, METH_VARARGS
},
8435 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
8437 static void *_p_ob__OBScreenTo_p_ob__OBWidget(void *x
) {
8438 return (void *)((ob::OBWidget
*) ((ob::OBScreen
*) x
));
8440 static void *_p_ob__OBClientTo_p_ob__OBWidget(void *x
) {
8441 return (void *)((ob::OBWidget
*) ((ob::OBClient
*) x
));
8443 static void *_p_ob__OBActionsTo_p_otk__OtkEventHandler(void *x
) {
8444 return (void *)((otk::OtkEventHandler
*) ((ob::OBActions
*) x
));
8446 static void *_p_ob__OpenboxTo_p_otk__OtkEventHandler(void *x
) {
8447 return (void *)((otk::OtkEventHandler
*) ((ob::Openbox
*) x
));
8449 static void *_p_ob__OBScreenTo_p_otk__OtkEventHandler(void *x
) {
8450 return (void *)((otk::OtkEventHandler
*) ((ob::OBScreen
*) x
));
8452 static void *_p_ob__OBClientTo_p_otk__OtkEventHandler(void *x
) {
8453 return (void *)((otk::OtkEventHandler
*) ((ob::OBClient
*) x
));
8455 static void *_p_ob__OpenboxTo_p_otk__OtkEventDispatcher(void *x
) {
8456 return (void *)((otk::OtkEventDispatcher
*) ((ob::Openbox
*) x
));
8458 static swig_type_info _swigt__p_ob__OBScreen
[] = {{"_p_ob__OBScreen", 0, "ob::OBScreen *", 0},{"_p_ob__OBScreen"},{0}};
8459 static swig_type_info _swigt__p_otk__Point
[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
8460 static swig_type_info _swigt__p_XMapEvent
[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
8461 static swig_type_info _swigt__p_XUnmapEvent
[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
8462 static swig_type_info _swigt__p_XColormapEvent
[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
8463 static swig_type_info _swigt__p_XNoExposeEvent
[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
8464 static swig_type_info _swigt__p_XGraphicsExposeEvent
[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
8465 static swig_type_info _swigt__p_XExposeEvent
[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
8466 static swig_type_info _swigt__p_XFocusChangeEvent
[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
8467 static swig_type_info _swigt__p_XClientMessageEvent
[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
8468 static swig_type_info _swigt__p_ob__MouseData
[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
8469 static swig_type_info _swigt__p_XSelectionClearEvent
[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
8470 static swig_type_info _swigt__p_otk__Rect
[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
8471 static swig_type_info _swigt__p_Visual
[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
8472 static swig_type_info _swigt__p_XResizeRequestEvent
[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
8473 static swig_type_info _swigt__p_XMapRequestEvent
[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
8474 static swig_type_info _swigt__p_XConfigureRequestEvent
[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
8475 static swig_type_info _swigt__p_XCirculateRequestEvent
[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
8476 static swig_type_info _swigt__p_XGravityEvent
[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
8477 static swig_type_info _swigt__p_XVisibilityEvent
[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
8478 static swig_type_info _swigt__p_XPropertyEvent
[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
8479 static swig_type_info _swigt__p_XSelectionRequestEvent
[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
8480 static swig_type_info _swigt__p_ob__Cursors
[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
8481 static swig_type_info _swigt__p_ob__OBFrame
[] = {{"_p_ob__OBFrame", 0, "ob::OBFrame *", 0},{"_p_ob__OBFrame"},{0}};
8482 static swig_type_info _swigt__p_otk__BImageControl
[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
8483 static swig_type_info _swigt__p_ob__MwmHints
[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
8484 static swig_type_info _swigt__p_ob__OBWidget
[] = {{"_p_ob__OBWidget", 0, "ob::OBWidget *", 0},{"_p_ob__OBWidget"},{"_p_ob__OBScreen", _p_ob__OBScreenTo_p_ob__OBWidget
},{"_p_ob__OBClient", _p_ob__OBClientTo_p_ob__OBWidget
},{0}};
8485 static swig_type_info _swigt__p_ob__KeyData
[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
8486 static swig_type_info _swigt__p_XConfigureEvent
[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
8487 static swig_type_info _swigt__p_XCirculateEvent
[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
8488 static swig_type_info _swigt__p_XRectangle
[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
8489 static swig_type_info _swigt__p_std__string
[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
8490 static swig_type_info _swigt__p_XCrossingEvent
[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
8491 static swig_type_info _swigt__p_Display
[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
8492 static swig_type_info _swigt__p_otk__OBDisplay
[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
8493 static swig_type_info _swigt__p_XMappingEvent
[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
8494 static swig_type_info _swigt__p_otk__Style
[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
8495 static swig_type_info _swigt__p_otk__OtkEventHandler
[] = {{"_p_otk__OtkEventHandler", 0, "otk::OtkEventHandler *", 0},{"_p_ob__OBActions", _p_ob__OBActionsTo_p_otk__OtkEventHandler
},{"_p_otk__OtkEventHandler"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventHandler
},{"_p_ob__OBScreen", _p_ob__OBScreenTo_p_otk__OtkEventHandler
},{"_p_ob__OBClient", _p_ob__OBClientTo_p_otk__OtkEventHandler
},{0}};
8496 static swig_type_info _swigt__p_XReparentEvent
[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
8497 static swig_type_info _swigt__p_otk__OtkEventDispatcher
[] = {{"_p_otk__OtkEventDispatcher", 0, "otk::OtkEventDispatcher *", 0},{"_p_otk__OtkEventDispatcher"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventDispatcher
},{0}};
8498 static swig_type_info _swigt__p_otk__BGCCache
[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
8499 static swig_type_info _swigt__p_ob__OBBindings
[] = {{"_p_ob__OBBindings", 0, "ob::OBBindings *", 0},{"_p_ob__OBBindings"},{0}};
8500 static swig_type_info _swigt__p_ob__Openbox
[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
8501 static swig_type_info _swigt__p_ob__OBActions
[] = {{"_p_ob__OBActions", 0, "ob::OBActions *", 0},{"_p_ob__OBActions"},{0}};
8502 static swig_type_info _swigt__p_XEvent
[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
8503 static swig_type_info _swigt__p_XTextProperty
[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
8504 static swig_type_info _swigt__p_otk__OBProperty
[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
8505 static swig_type_info _swigt__p_PyObject
[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
8506 static swig_type_info _swigt__p_otk__ScreenInfo
[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
8507 static swig_type_info _swigt__p_ob__OBClient
[] = {{"_p_ob__OBClient", 0, "ob::OBClient *", 0},{"_p_ob__OBClient"},{0}};
8508 static swig_type_info _swigt__p_ob__EventData
[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
8509 static swig_type_info _swigt__p_XCreateWindowEvent
[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
8510 static swig_type_info _swigt__p_XDestroyWindowEvent
[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
8511 static swig_type_info _swigt__p_otk__OBProperty__StringVect
[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
8512 static swig_type_info _swigt__p_XKeyEvent
[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
8513 static swig_type_info _swigt__p_otk__Strut
[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
8514 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
8515 static swig_type_info _swigt__p_p_unsigned_long
[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
8516 static swig_type_info _swigt__p_XMotionEvent
[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
8517 static swig_type_info _swigt__p_XButtonEvent
[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
8518 static swig_type_info _swigt__p_XSelectionEvent
[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
8519 static swig_type_info _swigt__p_otk__OBTimerQueueManager
[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
8521 static swig_type_info
*swig_types_initial
[] = {
8522 _swigt__p_ob__OBScreen
,
8523 _swigt__p_otk__Point
,
8524 _swigt__p_XMapEvent
,
8525 _swigt__p_XUnmapEvent
,
8526 _swigt__p_XColormapEvent
,
8527 _swigt__p_XNoExposeEvent
,
8528 _swigt__p_XGraphicsExposeEvent
,
8529 _swigt__p_XExposeEvent
,
8530 _swigt__p_XFocusChangeEvent
,
8531 _swigt__p_XClientMessageEvent
,
8532 _swigt__p_ob__MouseData
,
8533 _swigt__p_XSelectionClearEvent
,
8534 _swigt__p_otk__Rect
,
8536 _swigt__p_XResizeRequestEvent
,
8537 _swigt__p_XMapRequestEvent
,
8538 _swigt__p_XConfigureRequestEvent
,
8539 _swigt__p_XCirculateRequestEvent
,
8540 _swigt__p_XGravityEvent
,
8541 _swigt__p_XVisibilityEvent
,
8542 _swigt__p_XPropertyEvent
,
8543 _swigt__p_XSelectionRequestEvent
,
8544 _swigt__p_ob__Cursors
,
8545 _swigt__p_ob__OBFrame
,
8546 _swigt__p_otk__BImageControl
,
8547 _swigt__p_ob__MwmHints
,
8548 _swigt__p_ob__OBWidget
,
8549 _swigt__p_ob__KeyData
,
8550 _swigt__p_XConfigureEvent
,
8551 _swigt__p_XCirculateEvent
,
8552 _swigt__p_XRectangle
,
8553 _swigt__p_std__string
,
8554 _swigt__p_XCrossingEvent
,
8556 _swigt__p_otk__OBDisplay
,
8557 _swigt__p_XMappingEvent
,
8558 _swigt__p_otk__Style
,
8559 _swigt__p_otk__OtkEventHandler
,
8560 _swigt__p_XReparentEvent
,
8561 _swigt__p_otk__OtkEventDispatcher
,
8562 _swigt__p_otk__BGCCache
,
8563 _swigt__p_ob__OBBindings
,
8564 _swigt__p_ob__Openbox
,
8565 _swigt__p_ob__OBActions
,
8567 _swigt__p_XTextProperty
,
8568 _swigt__p_otk__OBProperty
,
8570 _swigt__p_otk__ScreenInfo
,
8571 _swigt__p_ob__OBClient
,
8572 _swigt__p_ob__EventData
,
8573 _swigt__p_XCreateWindowEvent
,
8574 _swigt__p_XDestroyWindowEvent
,
8575 _swigt__p_otk__OBProperty__StringVect
,
8576 _swigt__p_XKeyEvent
,
8577 _swigt__p_otk__Strut
,
8578 _swigt__p_unsigned_long
,
8579 _swigt__p_p_unsigned_long
,
8580 _swigt__p_XMotionEvent
,
8581 _swigt__p_XButtonEvent
,
8582 _swigt__p_XSelectionEvent
,
8583 _swigt__p_otk__OBTimerQueueManager
,
8588 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
8590 static swig_const_info swig_const_table
[] = {
8591 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal
, 0, 0, 0},
8592 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window
, 0, 0, 0},
8593 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap
, 0, 0, 0},
8594 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom
, 0, 0, 0},
8595 { SWIG_PY_INT
, (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String
, 0, 0, 0},
8596 { SWIG_PY_INT
, (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8
, 0, 0, 0},
8597 { SWIG_PY_INT
, (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid
, 0, 0, 0},
8598 { SWIG_PY_INT
, (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows
, 0, 0, 0},
8599 { SWIG_PY_INT
, (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols
, 0, 0, 0},
8600 { SWIG_PY_INT
, (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state
, 0, 0, 0},
8601 { SWIG_PY_INT
, (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window
, 0, 0, 0},
8602 { SWIG_PY_INT
, (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus
, 0, 0, 0},
8603 { SWIG_PY_INT
, (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state
, 0, 0, 0},
8604 { SWIG_PY_INT
, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name
, 0, 0, 0},
8605 { SWIG_PY_INT
, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name
, 0, 0, 0},
8606 { SWIG_PY_INT
, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class
, 0, 0, 0},
8607 { SWIG_PY_INT
, (char *)"OBProperty_wm_window_role", (long) otk::OBProperty::wm_window_role
, 0, 0, 0},
8608 { SWIG_PY_INT
, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints
, 0, 0, 0},
8609 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes
, 0, 0, 0},
8610 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes
, 0, 0, 0},
8611 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints
, 0, 0, 0},
8612 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages
, 0, 0, 0},
8613 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup
, 0, 0, 0},
8614 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add
, 0, 0, 0},
8615 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del
, 0, 0, 0},
8616 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus
, 0, 0, 0},
8617 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace
, 0, 0, 0},
8618 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count
, 0, 0, 0},
8619 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise
, 0, 0, 0},
8620 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower
, 0, 0, 0},
8621 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace
, 0, 0, 0},
8622 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus
, 0, 0, 0},
8623 { SWIG_PY_INT
, (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus
, 0, 0, 0},
8624 { SWIG_PY_INT
, (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu
, 0, 0, 0},
8625 { SWIG_PY_INT
, (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu
, 0, 0, 0},
8626 { SWIG_PY_INT
, (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported
, 0, 0, 0},
8627 { SWIG_PY_INT
, (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list
, 0, 0, 0},
8628 { SWIG_PY_INT
, (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking
, 0, 0, 0},
8629 { SWIG_PY_INT
, (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops
, 0, 0, 0},
8630 { SWIG_PY_INT
, (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry
, 0, 0, 0},
8631 { SWIG_PY_INT
, (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport
, 0, 0, 0},
8632 { SWIG_PY_INT
, (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop
, 0, 0, 0},
8633 { SWIG_PY_INT
, (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names
, 0, 0, 0},
8634 { SWIG_PY_INT
, (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window
, 0, 0, 0},
8635 { SWIG_PY_INT
, (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea
, 0, 0, 0},
8636 { SWIG_PY_INT
, (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check
, 0, 0, 0},
8637 { SWIG_PY_INT
, (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window
, 0, 0, 0},
8638 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize
, 0, 0, 0},
8639 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name
, 0, 0, 0},
8640 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name
, 0, 0, 0},
8641 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name
, 0, 0, 0},
8642 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name
, 0, 0, 0},
8643 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop
, 0, 0, 0},
8644 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type
, 0, 0, 0},
8645 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state
, 0, 0, 0},
8646 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut
, 0, 0, 0},
8647 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions
, 0, 0, 0},
8648 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop
, 0, 0, 0},
8649 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock
, 0, 0, 0},
8650 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar
, 0, 0, 0},
8651 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu
, 0, 0, 0},
8652 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility
, 0, 0, 0},
8653 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash
, 0, 0, 0},
8654 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog
, 0, 0, 0},
8655 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal
, 0, 0, 0},
8656 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft
, 0, 0, 0},
8657 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright
, 0, 0, 0},
8658 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft
, 0, 0, 0},
8659 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright
, 0, 0, 0},
8660 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move
, 0, 0, 0},
8661 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move
, 0, 0, 0},
8662 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize
, 0, 0, 0},
8663 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade
, 0, 0, 0},
8664 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz
, 0, 0, 0},
8665 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert
, 0, 0, 0},
8666 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop
, 0, 0, 0},
8667 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close
, 0, 0, 0},
8668 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal
, 0, 0, 0},
8669 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_sticky", (long) otk::OBProperty::net_wm_state_sticky
, 0, 0, 0},
8670 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert
, 0, 0, 0},
8671 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz
, 0, 0, 0},
8672 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded
, 0, 0, 0},
8673 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar
, 0, 0, 0},
8674 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager
, 0, 0, 0},
8675 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden
, 0, 0, 0},
8676 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen
, 0, 0, 0},
8677 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_above", (long) otk::OBProperty::net_wm_state_above
, 0, 0, 0},
8678 { SWIG_PY_INT
, (char *)"OBProperty_net_wm_state_below", (long) otk::OBProperty::net_wm_state_below
, 0, 0, 0},
8679 { SWIG_PY_INT
, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows
, 0, 0, 0},
8680 { 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},
8681 { SWIG_PY_INT
, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override
, 0, 0, 0},
8682 { SWIG_PY_INT
, (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS
, 0, 0, 0},
8683 { SWIG_PY_INT
, (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii
, 0, 0, 0},
8684 { SWIG_PY_INT
, (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8
, 0, 0, 0},
8685 { SWIG_PY_INT
, (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE
, 0, 0, 0},
8686 { SWIG_PY_INT
, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting
, 0, 0, 0},
8687 { SWIG_PY_INT
, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal
, 0, 0, 0},
8688 { SWIG_PY_INT
, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting
, 0, 0, 0},
8689 { SWIG_PY_INT
, (char *)"OBScreen_event_mask", (long) ob::OBScreen::event_mask
, 0, 0, 0},
8690 { SWIG_PY_INT
, (char *)"MwmHints_elements", (long) ob::MwmHints::elements
, 0, 0, 0},
8691 { SWIG_PY_INT
, (char *)"OBClient_Layer_Icon", (long) ob::OBClient::Layer_Icon
, 0, 0, 0},
8692 { SWIG_PY_INT
, (char *)"OBClient_Layer_Desktop", (long) ob::OBClient::Layer_Desktop
, 0, 0, 0},
8693 { SWIG_PY_INT
, (char *)"OBClient_Layer_Below", (long) ob::OBClient::Layer_Below
, 0, 0, 0},
8694 { SWIG_PY_INT
, (char *)"OBClient_Layer_Normal", (long) ob::OBClient::Layer_Normal
, 0, 0, 0},
8695 { SWIG_PY_INT
, (char *)"OBClient_Layer_Above", (long) ob::OBClient::Layer_Above
, 0, 0, 0},
8696 { SWIG_PY_INT
, (char *)"OBClient_Layer_Top", (long) ob::OBClient::Layer_Top
, 0, 0, 0},
8697 { SWIG_PY_INT
, (char *)"OBClient_Layer_Fullscreen", (long) ob::OBClient::Layer_Fullscreen
, 0, 0, 0},
8698 { SWIG_PY_INT
, (char *)"OBClient_Layer_Internal", (long) ob::OBClient::Layer_Internal
, 0, 0, 0},
8699 { SWIG_PY_INT
, (char *)"OBClient_NUM_LAYERS", (long) ob::OBClient::NUM_LAYERS
, 0, 0, 0},
8700 { SWIG_PY_INT
, (char *)"OBClient_TopLeft", (long) ob::OBClient::TopLeft
, 0, 0, 0},
8701 { SWIG_PY_INT
, (char *)"OBClient_TopRight", (long) ob::OBClient::TopRight
, 0, 0, 0},
8702 { SWIG_PY_INT
, (char *)"OBClient_BottomLeft", (long) ob::OBClient::BottomLeft
, 0, 0, 0},
8703 { SWIG_PY_INT
, (char *)"OBClient_BottomRight", (long) ob::OBClient::BottomRight
, 0, 0, 0},
8704 { SWIG_PY_INT
, (char *)"OBClient_Type_Desktop", (long) ob::OBClient::Type_Desktop
, 0, 0, 0},
8705 { SWIG_PY_INT
, (char *)"OBClient_Type_Dock", (long) ob::OBClient::Type_Dock
, 0, 0, 0},
8706 { SWIG_PY_INT
, (char *)"OBClient_Type_Toolbar", (long) ob::OBClient::Type_Toolbar
, 0, 0, 0},
8707 { SWIG_PY_INT
, (char *)"OBClient_Type_Menu", (long) ob::OBClient::Type_Menu
, 0, 0, 0},
8708 { SWIG_PY_INT
, (char *)"OBClient_Type_Utility", (long) ob::OBClient::Type_Utility
, 0, 0, 0},
8709 { SWIG_PY_INT
, (char *)"OBClient_Type_Splash", (long) ob::OBClient::Type_Splash
, 0, 0, 0},
8710 { SWIG_PY_INT
, (char *)"OBClient_Type_Dialog", (long) ob::OBClient::Type_Dialog
, 0, 0, 0},
8711 { SWIG_PY_INT
, (char *)"OBClient_Type_Normal", (long) ob::OBClient::Type_Normal
, 0, 0, 0},
8712 { SWIG_PY_INT
, (char *)"OBClient_MwmFlag_Functions", (long) ob::OBClient::MwmFlag_Functions
, 0, 0, 0},
8713 { SWIG_PY_INT
, (char *)"OBClient_MwmFlag_Decorations", (long) ob::OBClient::MwmFlag_Decorations
, 0, 0, 0},
8714 { SWIG_PY_INT
, (char *)"OBClient_MwmFunc_All", (long) ob::OBClient::MwmFunc_All
, 0, 0, 0},
8715 { SWIG_PY_INT
, (char *)"OBClient_MwmFunc_Resize", (long) ob::OBClient::MwmFunc_Resize
, 0, 0, 0},
8716 { SWIG_PY_INT
, (char *)"OBClient_MwmFunc_Move", (long) ob::OBClient::MwmFunc_Move
, 0, 0, 0},
8717 { SWIG_PY_INT
, (char *)"OBClient_MwmFunc_Iconify", (long) ob::OBClient::MwmFunc_Iconify
, 0, 0, 0},
8718 { SWIG_PY_INT
, (char *)"OBClient_MwmFunc_Maximize", (long) ob::OBClient::MwmFunc_Maximize
, 0, 0, 0},
8719 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_All", (long) ob::OBClient::MwmDecor_All
, 0, 0, 0},
8720 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_Border", (long) ob::OBClient::MwmDecor_Border
, 0, 0, 0},
8721 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_Handle", (long) ob::OBClient::MwmDecor_Handle
, 0, 0, 0},
8722 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_Title", (long) ob::OBClient::MwmDecor_Title
, 0, 0, 0},
8723 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_Iconify", (long) ob::OBClient::MwmDecor_Iconify
, 0, 0, 0},
8724 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_Maximize", (long) ob::OBClient::MwmDecor_Maximize
, 0, 0, 0},
8725 { SWIG_PY_INT
, (char *)"OBClient_Func_Resize", (long) ob::OBClient::Func_Resize
, 0, 0, 0},
8726 { SWIG_PY_INT
, (char *)"OBClient_Func_Move", (long) ob::OBClient::Func_Move
, 0, 0, 0},
8727 { SWIG_PY_INT
, (char *)"OBClient_Func_Iconify", (long) ob::OBClient::Func_Iconify
, 0, 0, 0},
8728 { SWIG_PY_INT
, (char *)"OBClient_Func_Maximize", (long) ob::OBClient::Func_Maximize
, 0, 0, 0},
8729 { SWIG_PY_INT
, (char *)"OBClient_Func_Close", (long) ob::OBClient::Func_Close
, 0, 0, 0},
8730 { SWIG_PY_INT
, (char *)"OBClient_Decor_Titlebar", (long) ob::OBClient::Decor_Titlebar
, 0, 0, 0},
8731 { SWIG_PY_INT
, (char *)"OBClient_Decor_Handle", (long) ob::OBClient::Decor_Handle
, 0, 0, 0},
8732 { SWIG_PY_INT
, (char *)"OBClient_Decor_Border", (long) ob::OBClient::Decor_Border
, 0, 0, 0},
8733 { SWIG_PY_INT
, (char *)"OBClient_Decor_Iconify", (long) ob::OBClient::Decor_Iconify
, 0, 0, 0},
8734 { SWIG_PY_INT
, (char *)"OBClient_Decor_Maximize", (long) ob::OBClient::Decor_Maximize
, 0, 0, 0},
8735 { SWIG_PY_INT
, (char *)"OBClient_Decor_Sticky", (long) ob::OBClient::Decor_Sticky
, 0, 0, 0},
8736 { SWIG_PY_INT
, (char *)"OBClient_Decor_Close", (long) ob::OBClient::Decor_Close
, 0, 0, 0},
8737 { SWIG_PY_INT
, (char *)"OBClient_State_Remove", (long) ob::OBClient::State_Remove
, 0, 0, 0},
8738 { SWIG_PY_INT
, (char *)"OBClient_State_Add", (long) ob::OBClient::State_Add
, 0, 0, 0},
8739 { SWIG_PY_INT
, (char *)"OBClient_State_Toggle", (long) ob::OBClient::State_Toggle
, 0, 0, 0},
8740 { SWIG_PY_INT
, (char *)"OBClient_event_mask", (long) ob::OBClient::event_mask
, 0, 0, 0},
8741 { SWIG_PY_INT
, (char *)"OBClient_no_propagate_mask", (long) ob::OBClient::no_propagate_mask
, 0, 0, 0},
8742 { SWIG_PY_INT
, (char *)"MC_Frame", (long) ob::MC_Frame
, 0, 0, 0},
8743 { SWIG_PY_INT
, (char *)"MC_Titlebar", (long) ob::MC_Titlebar
, 0, 0, 0},
8744 { SWIG_PY_INT
, (char *)"MC_Handle", (long) ob::MC_Handle
, 0, 0, 0},
8745 { SWIG_PY_INT
, (char *)"MC_Window", (long) ob::MC_Window
, 0, 0, 0},
8746 { SWIG_PY_INT
, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton
, 0, 0, 0},
8747 { SWIG_PY_INT
, (char *)"MC_CloseButton", (long) ob::MC_CloseButton
, 0, 0, 0},
8748 { SWIG_PY_INT
, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton
, 0, 0, 0},
8749 { SWIG_PY_INT
, (char *)"MC_StickyButton", (long) ob::MC_StickyButton
, 0, 0, 0},
8750 { SWIG_PY_INT
, (char *)"MC_Grip", (long) ob::MC_Grip
, 0, 0, 0},
8751 { SWIG_PY_INT
, (char *)"MC_Root", (long) ob::MC_Root
, 0, 0, 0},
8752 { SWIG_PY_INT
, (char *)"MC_MenuItem", (long) ob::MC_MenuItem
, 0, 0, 0},
8753 { SWIG_PY_INT
, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT
, 0, 0, 0},
8754 { SWIG_PY_INT
, (char *)"MousePress", (long) ob::MousePress
, 0, 0, 0},
8755 { SWIG_PY_INT
, (char *)"MouseClick", (long) ob::MouseClick
, 0, 0, 0},
8756 { SWIG_PY_INT
, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick
, 0, 0, 0},
8757 { SWIG_PY_INT
, (char *)"MouseMotion", (long) ob::MouseMotion
, 0, 0, 0},
8758 { SWIG_PY_INT
, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION
, 0, 0, 0},
8759 { SWIG_PY_INT
, (char *)"KC_Menu", (long) ob::KC_Menu
, 0, 0, 0},
8760 { SWIG_PY_INT
, (char *)"KC_All", (long) ob::KC_All
, 0, 0, 0},
8761 { SWIG_PY_INT
, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT
, 0, 0, 0},
8762 { SWIG_PY_INT
, (char *)"EventEnterWindow", (long) ob::EventEnterWindow
, 0, 0, 0},
8763 { SWIG_PY_INT
, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow
, 0, 0, 0},
8764 { SWIG_PY_INT
, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow
, 0, 0, 0},
8765 { SWIG_PY_INT
, (char *)"EventNewWindow", (long) ob::EventNewWindow
, 0, 0, 0},
8766 { SWIG_PY_INT
, (char *)"EventCloseWindow", (long) ob::EventCloseWindow
, 0, 0, 0},
8767 { SWIG_PY_INT
, (char *)"EventStartup", (long) ob::EventStartup
, 0, 0, 0},
8768 { SWIG_PY_INT
, (char *)"EventShutdown", (long) ob::EventShutdown
, 0, 0, 0},
8769 { SWIG_PY_INT
, (char *)"EventFocus", (long) ob::EventFocus
, 0, 0, 0},
8770 { SWIG_PY_INT
, (char *)"EventBell", (long) ob::EventBell
, 0, 0, 0},
8771 { SWIG_PY_INT
, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS
, 0, 0, 0},
8772 { SWIG_PY_INT
, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
8773 { SWIG_PY_INT
, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
8774 { SWIG_PY_INT
, (char *)"None", (long) 0L, 0, 0, 0},
8775 { SWIG_PY_INT
, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
8776 { SWIG_PY_INT
, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
8777 { SWIG_PY_INT
, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
8778 { SWIG_PY_INT
, (char *)"InputFocus", (long) 1L, 0, 0, 0},
8779 { SWIG_PY_INT
, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
8780 { SWIG_PY_INT
, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
8781 { SWIG_PY_INT
, (char *)"AnyKey", (long) 0L, 0, 0, 0},
8782 { SWIG_PY_INT
, (char *)"AnyButton", (long) 0L, 0, 0, 0},
8783 { SWIG_PY_INT
, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
8784 { SWIG_PY_INT
, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
8785 { SWIG_PY_INT
, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
8786 { SWIG_PY_INT
, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
8787 { SWIG_PY_INT
, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
8788 { SWIG_PY_INT
, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
8789 { SWIG_PY_INT
, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
8790 { SWIG_PY_INT
, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
8791 { SWIG_PY_INT
, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
8792 { SWIG_PY_INT
, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
8793 { SWIG_PY_INT
, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
8794 { SWIG_PY_INT
, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
8795 { SWIG_PY_INT
, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
8796 { SWIG_PY_INT
, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
8797 { SWIG_PY_INT
, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
8798 { SWIG_PY_INT
, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
8799 { SWIG_PY_INT
, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
8800 { SWIG_PY_INT
, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
8801 { SWIG_PY_INT
, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
8802 { SWIG_PY_INT
, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
8803 { SWIG_PY_INT
, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
8804 { SWIG_PY_INT
, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
8805 { SWIG_PY_INT
, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
8806 { SWIG_PY_INT
, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
8807 { SWIG_PY_INT
, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
8808 { SWIG_PY_INT
, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
8809 { SWIG_PY_INT
, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
8810 { SWIG_PY_INT
, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
8811 { SWIG_PY_INT
, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
8812 { SWIG_PY_INT
, (char *)"KeyPress", (long) 2, 0, 0, 0},
8813 { SWIG_PY_INT
, (char *)"KeyRelease", (long) 3, 0, 0, 0},
8814 { SWIG_PY_INT
, (char *)"ButtonPress", (long) 4, 0, 0, 0},
8815 { SWIG_PY_INT
, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
8816 { SWIG_PY_INT
, (char *)"MotionNotify", (long) 6, 0, 0, 0},
8817 { SWIG_PY_INT
, (char *)"EnterNotify", (long) 7, 0, 0, 0},
8818 { SWIG_PY_INT
, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
8819 { SWIG_PY_INT
, (char *)"FocusIn", (long) 9, 0, 0, 0},
8820 { SWIG_PY_INT
, (char *)"FocusOut", (long) 10, 0, 0, 0},
8821 { SWIG_PY_INT
, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
8822 { SWIG_PY_INT
, (char *)"Expose", (long) 12, 0, 0, 0},
8823 { SWIG_PY_INT
, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
8824 { SWIG_PY_INT
, (char *)"NoExpose", (long) 14, 0, 0, 0},
8825 { SWIG_PY_INT
, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
8826 { SWIG_PY_INT
, (char *)"CreateNotify", (long) 16, 0, 0, 0},
8827 { SWIG_PY_INT
, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
8828 { SWIG_PY_INT
, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
8829 { SWIG_PY_INT
, (char *)"MapNotify", (long) 19, 0, 0, 0},
8830 { SWIG_PY_INT
, (char *)"MapRequest", (long) 20, 0, 0, 0},
8831 { SWIG_PY_INT
, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
8832 { SWIG_PY_INT
, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
8833 { SWIG_PY_INT
, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
8834 { SWIG_PY_INT
, (char *)"GravityNotify", (long) 24, 0, 0, 0},
8835 { SWIG_PY_INT
, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
8836 { SWIG_PY_INT
, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
8837 { SWIG_PY_INT
, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
8838 { SWIG_PY_INT
, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
8839 { SWIG_PY_INT
, (char *)"SelectionClear", (long) 29, 0, 0, 0},
8840 { SWIG_PY_INT
, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
8841 { SWIG_PY_INT
, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
8842 { SWIG_PY_INT
, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
8843 { SWIG_PY_INT
, (char *)"ClientMessage", (long) 33, 0, 0, 0},
8844 { SWIG_PY_INT
, (char *)"MappingNotify", (long) 34, 0, 0, 0},
8845 { SWIG_PY_INT
, (char *)"LASTEvent", (long) 35, 0, 0, 0},
8846 { SWIG_PY_INT
, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
8847 { SWIG_PY_INT
, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
8848 { SWIG_PY_INT
, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
8849 { SWIG_PY_INT
, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
8850 { SWIG_PY_INT
, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
8851 { SWIG_PY_INT
, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
8852 { SWIG_PY_INT
, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
8853 { SWIG_PY_INT
, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
8854 { SWIG_PY_INT
, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
8855 { SWIG_PY_INT
, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
8856 { SWIG_PY_INT
, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
8857 { SWIG_PY_INT
, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
8858 { SWIG_PY_INT
, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
8859 { SWIG_PY_INT
, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
8860 { SWIG_PY_INT
, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
8861 { SWIG_PY_INT
, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
8862 { SWIG_PY_INT
, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
8863 { SWIG_PY_INT
, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
8864 { SWIG_PY_INT
, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
8865 { SWIG_PY_INT
, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
8866 { SWIG_PY_INT
, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
8867 { SWIG_PY_INT
, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
8868 { SWIG_PY_INT
, (char *)"Button1", (long) 1, 0, 0, 0},
8869 { SWIG_PY_INT
, (char *)"Button2", (long) 2, 0, 0, 0},
8870 { SWIG_PY_INT
, (char *)"Button3", (long) 3, 0, 0, 0},
8871 { SWIG_PY_INT
, (char *)"Button4", (long) 4, 0, 0, 0},
8872 { SWIG_PY_INT
, (char *)"Button5", (long) 5, 0, 0, 0},
8873 { SWIG_PY_INT
, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
8874 { SWIG_PY_INT
, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
8875 { SWIG_PY_INT
, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
8876 { SWIG_PY_INT
, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
8877 { SWIG_PY_INT
, (char *)"NotifyHint", (long) 1, 0, 0, 0},
8878 { SWIG_PY_INT
, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
8879 { SWIG_PY_INT
, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
8880 { SWIG_PY_INT
, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
8881 { SWIG_PY_INT
, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
8882 { SWIG_PY_INT
, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
8883 { SWIG_PY_INT
, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
8884 { SWIG_PY_INT
, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
8885 { SWIG_PY_INT
, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
8886 { SWIG_PY_INT
, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
8887 { SWIG_PY_INT
, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
8888 { SWIG_PY_INT
, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
8889 { SWIG_PY_INT
, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
8890 { SWIG_PY_INT
, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
8891 { SWIG_PY_INT
, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
8892 { SWIG_PY_INT
, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
8893 { SWIG_PY_INT
, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
8894 { SWIG_PY_INT
, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
8895 { SWIG_PY_INT
, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
8896 { SWIG_PY_INT
, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
8897 { SWIG_PY_INT
, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
8898 { SWIG_PY_INT
, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
8899 { SWIG_PY_INT
, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
8900 { SWIG_PY_INT
, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
8901 { SWIG_PY_INT
, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
8902 { SWIG_PY_INT
, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
8903 { SWIG_PY_INT
, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
8904 { SWIG_PY_INT
, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
8905 { SWIG_PY_INT
, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
8906 { SWIG_PY_INT
, (char *)"SyncPointer", (long) 1, 0, 0, 0},
8907 { SWIG_PY_INT
, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
8908 { SWIG_PY_INT
, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
8909 { SWIG_PY_INT
, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
8910 { SWIG_PY_INT
, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
8911 { SWIG_PY_INT
, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
8912 { SWIG_PY_INT
, (char *)"SyncBoth", (long) 7, 0, 0, 0},
8913 { SWIG_PY_INT
, (char *)"RevertToParent", (long) 2, 0, 0, 0},
8914 { SWIG_PY_INT
, (char *)"Success", (long) 0, 0, 0, 0},
8915 { SWIG_PY_INT
, (char *)"BadRequest", (long) 1, 0, 0, 0},
8916 { SWIG_PY_INT
, (char *)"BadValue", (long) 2, 0, 0, 0},
8917 { SWIG_PY_INT
, (char *)"BadWindow", (long) 3, 0, 0, 0},
8918 { SWIG_PY_INT
, (char *)"BadPixmap", (long) 4, 0, 0, 0},
8919 { SWIG_PY_INT
, (char *)"BadAtom", (long) 5, 0, 0, 0},
8920 { SWIG_PY_INT
, (char *)"BadCursor", (long) 6, 0, 0, 0},
8921 { SWIG_PY_INT
, (char *)"BadFont", (long) 7, 0, 0, 0},
8922 { SWIG_PY_INT
, (char *)"BadMatch", (long) 8, 0, 0, 0},
8923 { SWIG_PY_INT
, (char *)"BadDrawable", (long) 9, 0, 0, 0},
8924 { SWIG_PY_INT
, (char *)"BadAccess", (long) 10, 0, 0, 0},
8925 { SWIG_PY_INT
, (char *)"BadAlloc", (long) 11, 0, 0, 0},
8926 { SWIG_PY_INT
, (char *)"BadColor", (long) 12, 0, 0, 0},
8927 { SWIG_PY_INT
, (char *)"BadGC", (long) 13, 0, 0, 0},
8928 { SWIG_PY_INT
, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
8929 { SWIG_PY_INT
, (char *)"BadName", (long) 15, 0, 0, 0},
8930 { SWIG_PY_INT
, (char *)"BadLength", (long) 16, 0, 0, 0},
8931 { SWIG_PY_INT
, (char *)"BadImplementation", (long) 17, 0, 0, 0},
8932 { SWIG_PY_INT
, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
8933 { SWIG_PY_INT
, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
8934 { SWIG_PY_INT
, (char *)"InputOutput", (long) 1, 0, 0, 0},
8935 { SWIG_PY_INT
, (char *)"InputOnly", (long) 2, 0, 0, 0},
8936 { SWIG_PY_INT
, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
8937 { SWIG_PY_INT
, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
8938 { SWIG_PY_INT
, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
8939 { SWIG_PY_INT
, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
8940 { SWIG_PY_INT
, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
8941 { SWIG_PY_INT
, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
8942 { SWIG_PY_INT
, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
8943 { SWIG_PY_INT
, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
8944 { SWIG_PY_INT
, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
8945 { SWIG_PY_INT
, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
8946 { SWIG_PY_INT
, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
8947 { SWIG_PY_INT
, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
8948 { SWIG_PY_INT
, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
8949 { SWIG_PY_INT
, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
8950 { SWIG_PY_INT
, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
8951 { SWIG_PY_INT
, (char *)"CWX", (long) (1<<0), 0, 0, 0},
8952 { SWIG_PY_INT
, (char *)"CWY", (long) (1<<1), 0, 0, 0},
8953 { SWIG_PY_INT
, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
8954 { SWIG_PY_INT
, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
8955 { SWIG_PY_INT
, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
8956 { SWIG_PY_INT
, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
8957 { SWIG_PY_INT
, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
8958 { SWIG_PY_INT
, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
8959 { SWIG_PY_INT
, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
8960 { SWIG_PY_INT
, (char *)"NorthGravity", (long) 2, 0, 0, 0},
8961 { SWIG_PY_INT
, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
8962 { SWIG_PY_INT
, (char *)"WestGravity", (long) 4, 0, 0, 0},
8963 { SWIG_PY_INT
, (char *)"CenterGravity", (long) 5, 0, 0, 0},
8964 { SWIG_PY_INT
, (char *)"EastGravity", (long) 6, 0, 0, 0},
8965 { SWIG_PY_INT
, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
8966 { SWIG_PY_INT
, (char *)"SouthGravity", (long) 8, 0, 0, 0},
8967 { SWIG_PY_INT
, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
8968 { SWIG_PY_INT
, (char *)"StaticGravity", (long) 10, 0, 0, 0},
8969 { SWIG_PY_INT
, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
8970 { SWIG_PY_INT
, (char *)"NotUseful", (long) 0, 0, 0, 0},
8971 { SWIG_PY_INT
, (char *)"WhenMapped", (long) 1, 0, 0, 0},
8972 { SWIG_PY_INT
, (char *)"Always", (long) 2, 0, 0, 0},
8973 { SWIG_PY_INT
, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
8974 { SWIG_PY_INT
, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
8975 { SWIG_PY_INT
, (char *)"IsViewable", (long) 2, 0, 0, 0},
8976 { SWIG_PY_INT
, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
8977 { SWIG_PY_INT
, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
8978 { SWIG_PY_INT
, (char *)"DestroyAll", (long) 0, 0, 0, 0},
8979 { SWIG_PY_INT
, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
8980 { SWIG_PY_INT
, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
8981 { SWIG_PY_INT
, (char *)"Above", (long) 0, 0, 0, 0},
8982 { SWIG_PY_INT
, (char *)"Below", (long) 1, 0, 0, 0},
8983 { SWIG_PY_INT
, (char *)"TopIf", (long) 2, 0, 0, 0},
8984 { SWIG_PY_INT
, (char *)"BottomIf", (long) 3, 0, 0, 0},
8985 { SWIG_PY_INT
, (char *)"Opposite", (long) 4, 0, 0, 0},
8986 { SWIG_PY_INT
, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
8987 { SWIG_PY_INT
, (char *)"LowerHighest", (long) 1, 0, 0, 0},
8988 { SWIG_PY_INT
, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
8989 { SWIG_PY_INT
, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
8990 { SWIG_PY_INT
, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
8991 { SWIG_PY_INT
, (char *)"GXclear", (long) 0x0, 0, 0, 0},
8992 { SWIG_PY_INT
, (char *)"GXand", (long) 0x1, 0, 0, 0},
8993 { SWIG_PY_INT
, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
8994 { SWIG_PY_INT
, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
8995 { SWIG_PY_INT
, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
8996 { SWIG_PY_INT
, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
8997 { SWIG_PY_INT
, (char *)"GXxor", (long) 0x6, 0, 0, 0},
8998 { SWIG_PY_INT
, (char *)"GXor", (long) 0x7, 0, 0, 0},
8999 { SWIG_PY_INT
, (char *)"GXnor", (long) 0x8, 0, 0, 0},
9000 { SWIG_PY_INT
, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
9001 { SWIG_PY_INT
, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
9002 { SWIG_PY_INT
, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
9003 { SWIG_PY_INT
, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
9004 { SWIG_PY_INT
, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
9005 { SWIG_PY_INT
, (char *)"GXnand", (long) 0xe, 0, 0, 0},
9006 { SWIG_PY_INT
, (char *)"GXset", (long) 0xf, 0, 0, 0},
9007 { SWIG_PY_INT
, (char *)"LineSolid", (long) 0, 0, 0, 0},
9008 { SWIG_PY_INT
, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
9009 { SWIG_PY_INT
, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
9010 { SWIG_PY_INT
, (char *)"CapNotLast", (long) 0, 0, 0, 0},
9011 { SWIG_PY_INT
, (char *)"CapButt", (long) 1, 0, 0, 0},
9012 { SWIG_PY_INT
, (char *)"CapRound", (long) 2, 0, 0, 0},
9013 { SWIG_PY_INT
, (char *)"CapProjecting", (long) 3, 0, 0, 0},
9014 { SWIG_PY_INT
, (char *)"JoinMiter", (long) 0, 0, 0, 0},
9015 { SWIG_PY_INT
, (char *)"JoinRound", (long) 1, 0, 0, 0},
9016 { SWIG_PY_INT
, (char *)"JoinBevel", (long) 2, 0, 0, 0},
9017 { SWIG_PY_INT
, (char *)"FillSolid", (long) 0, 0, 0, 0},
9018 { SWIG_PY_INT
, (char *)"FillTiled", (long) 1, 0, 0, 0},
9019 { SWIG_PY_INT
, (char *)"FillStippled", (long) 2, 0, 0, 0},
9020 { SWIG_PY_INT
, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
9021 { SWIG_PY_INT
, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
9022 { SWIG_PY_INT
, (char *)"WindingRule", (long) 1, 0, 0, 0},
9023 { SWIG_PY_INT
, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
9024 { SWIG_PY_INT
, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
9025 { SWIG_PY_INT
, (char *)"Unsorted", (long) 0, 0, 0, 0},
9026 { SWIG_PY_INT
, (char *)"YSorted", (long) 1, 0, 0, 0},
9027 { SWIG_PY_INT
, (char *)"YXSorted", (long) 2, 0, 0, 0},
9028 { SWIG_PY_INT
, (char *)"YXBanded", (long) 3, 0, 0, 0},
9029 { SWIG_PY_INT
, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
9030 { SWIG_PY_INT
, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
9031 { SWIG_PY_INT
, (char *)"Complex", (long) 0, 0, 0, 0},
9032 { SWIG_PY_INT
, (char *)"Nonconvex", (long) 1, 0, 0, 0},
9033 { SWIG_PY_INT
, (char *)"Convex", (long) 2, 0, 0, 0},
9034 { SWIG_PY_INT
, (char *)"ArcChord", (long) 0, 0, 0, 0},
9035 { SWIG_PY_INT
, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
9036 { SWIG_PY_INT
, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
9037 { SWIG_PY_INT
, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
9038 { SWIG_PY_INT
, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
9039 { SWIG_PY_INT
, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
9040 { SWIG_PY_INT
, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
9041 { SWIG_PY_INT
, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
9042 { SWIG_PY_INT
, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
9043 { SWIG_PY_INT
, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
9044 { SWIG_PY_INT
, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
9045 { SWIG_PY_INT
, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
9046 { SWIG_PY_INT
, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
9047 { SWIG_PY_INT
, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
9048 { SWIG_PY_INT
, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
9049 { SWIG_PY_INT
, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
9050 { SWIG_PY_INT
, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
9051 { SWIG_PY_INT
, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
9052 { SWIG_PY_INT
, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
9053 { SWIG_PY_INT
, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
9054 { SWIG_PY_INT
, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
9055 { SWIG_PY_INT
, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
9056 { SWIG_PY_INT
, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
9057 { SWIG_PY_INT
, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
9058 { SWIG_PY_INT
, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
9059 { SWIG_PY_INT
, (char *)"GCLastBit", (long) 22, 0, 0, 0},
9060 { SWIG_PY_INT
, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
9061 { SWIG_PY_INT
, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
9062 { SWIG_PY_INT
, (char *)"FontChange", (long) 255, 0, 0, 0},
9063 { SWIG_PY_INT
, (char *)"XYBitmap", (long) 0, 0, 0, 0},
9064 { SWIG_PY_INT
, (char *)"XYPixmap", (long) 1, 0, 0, 0},
9065 { SWIG_PY_INT
, (char *)"ZPixmap", (long) 2, 0, 0, 0},
9066 { SWIG_PY_INT
, (char *)"AllocNone", (long) 0, 0, 0, 0},
9067 { SWIG_PY_INT
, (char *)"AllocAll", (long) 1, 0, 0, 0},
9068 { SWIG_PY_INT
, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
9069 { SWIG_PY_INT
, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
9070 { SWIG_PY_INT
, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
9071 { SWIG_PY_INT
, (char *)"CursorShape", (long) 0, 0, 0, 0},
9072 { SWIG_PY_INT
, (char *)"TileShape", (long) 1, 0, 0, 0},
9073 { SWIG_PY_INT
, (char *)"StippleShape", (long) 2, 0, 0, 0},
9074 { SWIG_PY_INT
, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
9075 { SWIG_PY_INT
, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
9076 { SWIG_PY_INT
, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
9077 { SWIG_PY_INT
, (char *)"LedModeOff", (long) 0, 0, 0, 0},
9078 { SWIG_PY_INT
, (char *)"LedModeOn", (long) 1, 0, 0, 0},
9079 { SWIG_PY_INT
, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
9080 { SWIG_PY_INT
, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
9081 { SWIG_PY_INT
, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
9082 { SWIG_PY_INT
, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
9083 { SWIG_PY_INT
, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
9084 { SWIG_PY_INT
, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
9085 { SWIG_PY_INT
, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
9086 { SWIG_PY_INT
, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
9087 { SWIG_PY_INT
, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
9088 { SWIG_PY_INT
, (char *)"MappingBusy", (long) 1, 0, 0, 0},
9089 { SWIG_PY_INT
, (char *)"MappingFailed", (long) 2, 0, 0, 0},
9090 { SWIG_PY_INT
, (char *)"MappingModifier", (long) 0, 0, 0, 0},
9091 { SWIG_PY_INT
, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
9092 { SWIG_PY_INT
, (char *)"MappingPointer", (long) 2, 0, 0, 0},
9093 { SWIG_PY_INT
, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
9094 { SWIG_PY_INT
, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
9095 { SWIG_PY_INT
, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
9096 { SWIG_PY_INT
, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
9097 { SWIG_PY_INT
, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
9098 { SWIG_PY_INT
, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
9099 { SWIG_PY_INT
, (char *)"AllowExposures", (long) 1, 0, 0, 0},
9100 { SWIG_PY_INT
, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
9101 { SWIG_PY_INT
, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
9102 { SWIG_PY_INT
, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
9103 { SWIG_PY_INT
, (char *)"HostInsert", (long) 0, 0, 0, 0},
9104 { SWIG_PY_INT
, (char *)"HostDelete", (long) 1, 0, 0, 0},
9105 { SWIG_PY_INT
, (char *)"EnableAccess", (long) 1, 0, 0, 0},
9106 { SWIG_PY_INT
, (char *)"DisableAccess", (long) 0, 0, 0, 0},
9107 { SWIG_PY_INT
, (char *)"StaticGray", (long) 0, 0, 0, 0},
9108 { SWIG_PY_INT
, (char *)"GrayScale", (long) 1, 0, 0, 0},
9109 { SWIG_PY_INT
, (char *)"StaticColor", (long) 2, 0, 0, 0},
9110 { SWIG_PY_INT
, (char *)"PseudoColor", (long) 3, 0, 0, 0},
9111 { SWIG_PY_INT
, (char *)"TrueColor", (long) 4, 0, 0, 0},
9112 { SWIG_PY_INT
, (char *)"DirectColor", (long) 5, 0, 0, 0},
9113 { SWIG_PY_INT
, (char *)"LSBFirst", (long) 0, 0, 0, 0},
9114 { SWIG_PY_INT
, (char *)"MSBFirst", (long) 1, 0, 0, 0},
9124 SWIGEXPORT(void) SWIG_init(void) {
9125 static PyObject
*SWIG_globals
= 0;
9126 static int typeinit
= 0;
9129 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
9130 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
9131 d
= PyModule_GetDict(m
);
9134 for (i
= 0; swig_types_initial
[i
]; i
++) {
9135 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
9139 SWIG_InstallConstants(d
,swig_const_table
);
9141 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
9142 SWIG_addvarlink(SWIG_globals
,(char*)"BSENTINEL",_wrap_BSENTINEL_get
, _wrap_BSENTINEL_set
);