1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021226-0459
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 inline SwigValueWrapper() : tt(0) { }
18 inline ~SwigValueWrapper() { if (tt
) delete tt
; }
19 inline SwigValueWrapper
& operator=(const T
& t
) { tt
= new T(t
); return *this; }
20 inline operator T
&() const { return *tt
; }
21 inline T
*operator&() { return tt
; }
28 /***********************************************************************
31 * This file contains generic SWIG runtime support for pointer
32 * type checking as well as a few commonly used macros to control
35 * Author : David Beazley (beazley@cs.uchicago.edu)
37 * Copyright (c) 1999-2000, The University of Chicago
39 * This file may be freely redistributed without license or fee provided
40 * this copyright message remains intact.
41 ************************************************************************/
45 #if defined(_WIN32) || defined(__WIN32__)
46 # if defined(_MSC_VER)
47 # if defined(STATIC_LINKED)
48 # define SWIGEXPORT(a) a
49 # define SWIGIMPORT(a) extern a
51 # define SWIGEXPORT(a) __declspec(dllexport) a
52 # define SWIGIMPORT(a) extern a
55 # if defined(__BORLANDC__)
56 # define SWIGEXPORT(a) a _export
57 # define SWIGIMPORT(a) a _export
59 # define SWIGEXPORT(a) a
60 # define SWIGIMPORT(a) a
64 # define SWIGEXPORT(a) a
65 # define SWIGIMPORT(a) a
69 #define SWIGRUNTIME(a) SWIGEXPORT(a)
71 #define SWIGRUNTIME(a) static a
78 typedef void *(*swig_converter_func
)(void *);
79 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
81 typedef struct swig_type_info
{
83 swig_converter_func converter
;
86 swig_dycast_func dcast
;
87 struct swig_type_info
*next
;
88 struct swig_type_info
*prev
;
93 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
94 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
95 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
96 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
97 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
98 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
102 static swig_type_info
*swig_type_list
= 0;
104 /* Register a type mapping with the type-checking */
105 SWIGRUNTIME(swig_type_info
*)
106 SWIG_TypeRegister(swig_type_info
*ti
)
108 swig_type_info
*tc
, *head
, *ret
, *next
;
109 /* Check to see if this type has already been registered */
112 if (strcmp(tc
->name
, ti
->name
) == 0) {
113 /* Already exists in the table. Just add additional types to the list */
114 if (tc
->clientdata
) ti
->clientdata
= tc
->clientdata
;
125 ti
->prev
= swig_type_list
;
128 /* Build linked lists */
132 /* Patch up the rest of the links */
143 /* Check the typename */
144 SWIGRUNTIME(swig_type_info
*)
145 SWIG_TypeCheck(char *c
, swig_type_info
*ty
)
148 if (!ty
) return 0; /* Void pointer */
149 s
= ty
->next
; /* First element always just a name */
151 if (strcmp(s
->name
,c
) == 0) {
152 if (s
== ty
->next
) return s
;
153 /* Move s to the top of the linked list */
154 s
->prev
->next
= s
->next
;
156 s
->next
->prev
= s
->prev
;
158 /* Insert s as second element in the list */
160 if (ty
->next
) ty
->next
->prev
= s
;
165 } while (s
&& (s
!= ty
->next
));
169 /* Cast a pointer up an inheritance hierarchy */
171 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
)
173 if ((!ty
) || (!ty
->converter
)) return ptr
;
174 return (*ty
->converter
)(ptr
);
177 /* Dynamic pointer casting. Down an inheritance hierarchy */
178 SWIGRUNTIME(swig_type_info
*)
179 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
)
181 swig_type_info
*lastty
= ty
;
182 if (!ty
|| !ty
->dcast
) return ty
;
183 while (ty
&& (ty
->dcast
)) {
184 ty
= (*ty
->dcast
)(ptr
);
190 /* Search for a swig_type_info structure */
191 SWIGRUNTIME(swig_type_info
*)
192 SWIG_TypeQuery(const char *name
) {
193 swig_type_info
*ty
= swig_type_list
;
195 if (ty
->str
&& (strcmp(name
,ty
->str
) == 0)) return ty
;
196 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
202 /* Set the clientdata field for a type */
204 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
205 swig_type_info
*tc
, *equiv
;
206 if (ti
->clientdata
== clientdata
) return;
207 ti
->clientdata
= clientdata
;
210 if (!equiv
->converter
) {
213 if ((strcmp(tc
->name
, equiv
->name
) == 0))
214 SWIG_TypeClientData(tc
,clientdata
);
228 /***********************************************************************
231 * This file contains the runtime support for Python modules
232 * and includes code for managing global variables and pointer
235 * Author : David Beazley (beazley@cs.uchicago.edu)
236 ************************************************************************/
244 #define SWIG_PY_INT 1
245 #define SWIG_PY_FLOAT 2
246 #define SWIG_PY_STRING 3
247 #define SWIG_PY_POINTER 4
248 #define SWIG_PY_BINARY 5
250 /* Flags for pointer conversion */
252 #define SWIG_POINTER_EXCEPTION 0x1
253 #define SWIG_POINTER_DISOWN 0x2
255 /* Exception handling in wrappers */
256 #define SWIG_fail goto fail
258 /* Constant information structure */
259 typedef struct swig_const_info
{
265 swig_type_info
**ptype
;
268 #ifdef SWIG_NOINCLUDE
270 SWIGEXPORT(PyObject
*) SWIG_newvarlink();
271 SWIGEXPORT(void) SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
272 SWIGEXPORT(int) SWIG_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
273 SWIGEXPORT(int) SWIG_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
274 SWIGEXPORT(char *) SWIG_PackData(char *c
, void *, int);
275 SWIGEXPORT(char *) SWIG_UnpackData(char *c
, void *, int);
276 SWIGEXPORT(PyObject
*) SWIG_NewPointerObj(void *, swig_type_info
*,int own
);
277 SWIGEXPORT(PyObject
*) SWIG_NewPackedObj(void *, int sz
, swig_type_info
*);
278 SWIGEXPORT(void) SWIG_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
281 /* -----------------------------------------------------------------------------
282 * global variable support code.
283 * ----------------------------------------------------------------------------- */
285 typedef struct swig_globalvar
{
286 char *name
; /* Name of global variable */
287 PyObject
*(*get_attr
)(void); /* Return the current value */
288 int (*set_attr
)(PyObject
*); /* Set the value */
289 struct swig_globalvar
*next
;
292 typedef struct swig_varlinkobject
{
294 swig_globalvar
*vars
;
295 } swig_varlinkobject
;
298 swig_varlink_repr(swig_varlinkobject
*v
) {
300 return PyString_FromString("<Global variables>");
304 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
307 fprintf(fp
,"Global variables { ");
308 for (var
= v
->vars
; var
; var
=var
->next
) {
309 fprintf(fp
,"%s", var
->name
);
310 if (var
->next
) fprintf(fp
,", ");
317 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
318 swig_globalvar
*var
= v
->vars
;
320 if (strcmp(var
->name
,n
) == 0) {
321 return (*var
->get_attr
)();
325 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
330 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
331 swig_globalvar
*var
= v
->vars
;
333 if (strcmp(var
->name
,n
) == 0) {
334 return (*var
->set_attr
)(p
);
338 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
342 statichere PyTypeObject varlinktype
= {
343 PyObject_HEAD_INIT(0)
345 (char *)"swigvarlink", /* Type name */
346 sizeof(swig_varlinkobject
), /* Basic size */
349 (printfunc
) swig_varlink_print
, /* Print */
350 (getattrfunc
) swig_varlink_getattr
, /* get attr */
351 (setattrfunc
) swig_varlink_setattr
, /* Set attr */
353 (reprfunc
) swig_varlink_repr
, /* tp_repr */
354 0, /* tp_as_number */
355 0, /* tp_as_mapping*/
359 /* Create a variable linking object for use later */
360 SWIGRUNTIME(PyObject
*)
361 SWIG_newvarlink(void) {
362 swig_varlinkobject
*result
= 0;
363 result
= PyMem_NEW(swig_varlinkobject
,1);
364 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
365 result
->ob_type
= &varlinktype
;
367 result
->ob_refcnt
= 0;
368 Py_XINCREF((PyObject
*) result
);
369 return ((PyObject
*) result
);
373 SWIG_addvarlink(PyObject
*p
, char *name
,
374 PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
375 swig_varlinkobject
*v
;
377 v
= (swig_varlinkobject
*) p
;
378 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
379 gv
->name
= (char *) malloc(strlen(name
)+1);
380 strcpy(gv
->name
,name
);
381 gv
->get_attr
= get_attr
;
382 gv
->set_attr
= set_attr
;
387 /* Pack binary data into a string */
389 SWIG_PackData(char *c
, void *ptr
, int sz
) {
390 static char hex
[17] = "0123456789abcdef";
392 unsigned char *u
= (unsigned char *) ptr
;
393 register unsigned char uu
;
394 for (i
= 0; i
< sz
; i
++,u
++) {
396 *(c
++) = hex
[(uu
& 0xf0) >> 4];
397 *(c
++) = hex
[uu
& 0xf];
402 /* Unpack binary data from a string */
404 SWIG_UnpackData(char *c
, void *ptr
, int sz
) {
405 register unsigned char uu
= 0;
407 unsigned char *u
= (unsigned char *) ptr
;
409 for (i
= 0; i
< sz
; i
++, u
++) {
411 if ((d
>= '0') && (d
<= '9'))
412 uu
= ((d
- '0') << 4);
413 else if ((d
>= 'a') && (d
<= 'f'))
414 uu
= ((d
- ('a'-10)) << 4);
416 if ((d
>= '0') && (d
<= '9'))
418 else if ((d
>= 'a') && (d
<= 'f'))
419 uu
|= (d
- ('a'-10));
425 /* Convert a pointer value */
427 SWIG_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
430 static PyObject
*SWIG_this
= 0;
435 if (obj
== Py_None
) {
439 #ifdef SWIG_COBJECT_TYPES
440 if (!(PyCObject_Check(obj
))) {
442 SWIG_this
= PyString_FromString("this");
444 obj
= PyObject_GetAttr(obj
,SWIG_this
);
446 if (!obj
) goto type_error
;
447 if (!PyCObject_Check(obj
)) {
452 *ptr
= PyCObject_AsVoidPtr(obj
);
453 c
= (char *) PyCObject_GetDesc(obj
);
454 if (newref
) Py_DECREF(obj
);
457 if (!(PyString_Check(obj
))) {
459 SWIG_this
= PyString_FromString("this");
461 obj
= PyObject_GetAttr(obj
,SWIG_this
);
463 if (!obj
) goto type_error
;
464 if (!PyString_Check(obj
)) {
469 c
= PyString_AsString(obj
);
470 /* Pointer values must start with leading underscore */
473 if (strcmp(c
,"NULL") == 0) {
474 if (newref
) { Py_DECREF(obj
); }
477 if (newref
) { Py_DECREF(obj
); }
482 c
= SWIG_UnpackData(c
,ptr
,sizeof(void *));
483 if (newref
) { Py_DECREF(obj
); }
486 #ifdef SWIG_COBJECT_TYPES
491 tc
= SWIG_TypeCheck(c
,ty
);
492 if (!tc
) goto type_error
;
493 *ptr
= SWIG_TypeCast(tc
,(void*) *ptr
);
496 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
497 PyObject
*zero
= PyInt_FromLong(0);
498 PyObject_SetAttrString(pyobj
,(char*)"thisown",zero
);
504 if (flags
& SWIG_POINTER_EXCEPTION
) {
506 char *temp
= (char *) malloc(64+strlen(ty
->name
));
507 sprintf(temp
,"Type error. Expected %s", ty
->name
);
508 PyErr_SetString(PyExc_TypeError
, temp
);
511 PyErr_SetString(PyExc_TypeError
,"Expected a pointer");
517 /* Convert a packed value value */
519 SWIG_ConvertPacked(PyObject
*obj
, void *ptr
, int sz
, swig_type_info
*ty
, int flags
) {
523 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
524 c
= PyString_AsString(obj
);
525 /* Pointer values must start with leading underscore */
526 if (*c
!= '_') goto type_error
;
528 c
= SWIG_UnpackData(c
,ptr
,sz
);
530 tc
= SWIG_TypeCheck(c
,ty
);
531 if (!tc
) goto type_error
;
539 char *temp
= (char *) malloc(64+strlen(ty
->name
));
540 sprintf(temp
,"Type error. Expected %s", ty
->name
);
541 PyErr_SetString(PyExc_TypeError
, temp
);
544 PyErr_SetString(PyExc_TypeError
,"Expected a pointer");
550 /* Create a new pointer object */
551 SWIGRUNTIME(PyObject
*)
552 SWIG_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
558 #ifdef SWIG_COBJECT_TYPES
559 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) type
->name
, NULL
);
565 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
566 strcpy(r
,type
->name
);
567 robj
= PyString_FromString(result
);
570 if (!robj
|| (robj
== Py_None
)) return robj
;
571 if (type
->clientdata
) {
573 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
575 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
579 PyObject
*n
= PyInt_FromLong(1);
580 PyObject_SetAttrString(inst
,(char*)"thisown",n
);
589 SWIGRUNTIME(PyObject
*)
590 SWIG_NewPackedObj(void *ptr
, int sz
, swig_type_info
*type
) {
593 if ((2*sz
+ 1 + strlen(type
->name
)) > 1000) return 0;
595 r
= SWIG_PackData(r
,ptr
,sz
);
596 strcpy(r
,type
->name
);
597 return PyString_FromString(result
);
600 /* Install Constants */
602 SWIG_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
605 for (i
= 0; constants
[i
].type
; i
++) {
606 switch(constants
[i
].type
) {
608 obj
= PyInt_FromLong(constants
[i
].lvalue
);
611 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
614 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
616 case SWIG_PY_POINTER
:
617 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
620 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
627 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
646 /* -------- TYPES TABLE (BEGIN) -------- */
648 #define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[0]
649 #define SWIGTYPE_p_ob__OBActions swig_types[1]
650 #define SWIGTYPE_p_ob__Cursors swig_types[2]
651 #define SWIGTYPE_p_ob__OBScreen swig_types[3]
652 #define SWIGTYPE_p_otk__Style swig_types[4]
653 #define SWIGTYPE_p_ob__OBFrame swig_types[5]
654 #define SWIGTYPE_p_XReparentEvent swig_types[6]
655 #define SWIGTYPE_p_ob__MouseData swig_types[7]
656 #define SWIGTYPE_p_ob__OBClient swig_types[8]
657 #define SWIGTYPE_p_ob__Openbox swig_types[9]
658 #define SWIGTYPE_p_otk__Strut swig_types[10]
659 #define SWIGTYPE_p_XRectangle swig_types[11]
660 #define SWIGTYPE_p_ob__KeyData swig_types[12]
661 #define SWIGTYPE_p_XMapRequestEvent swig_types[13]
662 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[14]
663 #define SWIGTYPE_p_otk__Point swig_types[15]
664 #define SWIGTYPE_p_otk__OtkEventHandler swig_types[16]
665 #define SWIGTYPE_p_std__string swig_types[17]
666 #define SWIGTYPE_p_otk__Rect swig_types[18]
667 #define SWIGTYPE_p_ob__OBWidget swig_types[19]
668 #define SWIGTYPE_p_XClientMessageEvent swig_types[20]
669 #define SWIGTYPE_p_XFocusChangeEvent swig_types[21]
670 #define SWIGTYPE_p_otk__OBProperty swig_types[22]
671 #define SWIGTYPE_p_ob__EventData swig_types[23]
672 #define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[24]
673 #define SWIGTYPE_p_XPropertyEvent swig_types[25]
674 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[26]
675 #define SWIGTYPE_p_otk__BImageControl swig_types[27]
676 #define SWIGTYPE_p_PyObject swig_types[28]
677 #define SWIGTYPE_p_ob__OBBindings swig_types[29]
678 #define SWIGTYPE_p_ob__MwmHints swig_types[30]
679 #define SWIGTYPE_p_XUnmapEvent swig_types[31]
680 static swig_type_info
*swig_types
[33];
682 /* -------- TYPES TABLE (END) -------- */
685 /*-----------------------------------------------
686 @(target):= _openbox.so
687 ------------------------------------------------*/
688 #define SWIG_init init_openbox
690 #define SWIG_name "_openbox"
693 # include "../config.h"
696 #include "openbox.hh"
699 #include "bindings.hh"
700 #include "actions.hh"
702 #include "otk/display.hh"
705 #define SWIG_MemoryError 1
706 #define SWIG_IOError 2
707 #define SWIG_RuntimeError 3
708 #define SWIG_IndexError 4
709 #define SWIG_TypeError 5
710 #define SWIG_DivisionByZero 6
711 #define SWIG_OverflowError 7
712 #define SWIG_SyntaxError 8
713 #define SWIG_ValueError 9
714 #define SWIG_SystemError 10
715 #define SWIG_UnknownError 99
718 static void _SWIG_exception(int code
, const char *msg
) {
720 case SWIG_MemoryError
:
721 PyErr_SetString(PyExc_MemoryError
,msg
);
724 PyErr_SetString(PyExc_IOError
,msg
);
726 case SWIG_RuntimeError
:
727 PyErr_SetString(PyExc_RuntimeError
,msg
);
729 case SWIG_IndexError
:
730 PyErr_SetString(PyExc_IndexError
,msg
);
733 PyErr_SetString(PyExc_TypeError
,msg
);
735 case SWIG_DivisionByZero
:
736 PyErr_SetString(PyExc_ZeroDivisionError
,msg
);
738 case SWIG_OverflowError
:
739 PyErr_SetString(PyExc_OverflowError
,msg
);
741 case SWIG_SyntaxError
:
742 PyErr_SetString(PyExc_SyntaxError
,msg
);
744 case SWIG_ValueError
:
745 PyErr_SetString(PyExc_ValueError
,msg
);
747 case SWIG_SystemError
:
748 PyErr_SetString(PyExc_SystemError
,msg
);
751 PyErr_SetString(PyExc_RuntimeError
,msg
);
756 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
764 static PyObject
* SwigInt_FromBool(bool b
) {
765 return PyInt_FromLong(b
? 1L : 0L);
767 static double SwigNumber_Check(PyObject
* o
) {
768 return PyFloat_Check(o
) || PyInt_Check(o
);
770 static double SwigNumber_AsDouble(PyObject
* o
) {
771 return (PyFloat_Check(o
) ? PyFloat_AsDouble(o
) : double(PyInt_AsLong(o
)));
773 static PyObject
* SwigString_FromString(const std::string
& s
) {
774 return PyString_FromString(s
.c_str());
776 static std::string
SwigString_AsString(PyObject
* o
) {
777 return std::string(PyString_AsString(o
));
786 ob::Openbox
*Openbox_instance() { return ob::Openbox::instance
; }
790 void python_callback(PyObject
*func
, MouseData
*data
)
795 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
796 SWIGTYPE_p_ob__MouseData
,
800 result
= PyEval_CallObject(func
, arglist
);
801 if (!result
|| PyErr_Occurred()) {
802 // an exception occured in the script, display it
810 void python_callback(PyObject
*func
, EventData
*data
)
815 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
816 SWIGTYPE_p_ob__EventData
,
820 result
= PyEval_CallObject(func
, arglist
);
821 if (!result
|| PyErr_Occurred()) {
822 // an exception occured in the script, display it
830 void python_callback(PyObject
*func
, KeyData
*data
)
835 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
836 SWIGTYPE_p_ob__KeyData
,
840 result
= PyEval_CallObject(func
, arglist
);
841 if (!result
|| PyErr_Occurred()) {
842 // an exception occured in the script, display it
855 ob::OBClient
*ob_OBScreen_client(ob::OBScreen
*self
,int i
){
856 if (i
>= (int)self
->clients
.size())
858 ob::OBClient::List::iterator it
= self
->clients
.begin();
862 int ob_OBScreen_clientCount(ob::OBScreen
const *self
){
863 return (int) self
->clients
.size();
868 static PyObject
*_wrap_Openbox_instance(PyObject
*self
, PyObject
*args
) {
872 if(!PyArg_ParseTuple(args
,(char *)":Openbox_instance")) goto fail
;
873 result
= (ob::Openbox
*)Openbox_instance();
875 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Openbox
, 0);
882 static PyObject
*_wrap_new_Point__SWIG_0(PyObject
*self
, PyObject
*args
) {
886 if(!PyArg_ParseTuple(args
,(char *)":new_Point")) goto fail
;
887 result
= (otk::Point
*)new otk::Point();
889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
896 static PyObject
*_wrap_new_Point__SWIG_1(PyObject
*self
, PyObject
*args
) {
902 if(!PyArg_ParseTuple(args
,(char *)"ii:new_Point",&arg1
,&arg2
)) goto fail
;
903 result
= (otk::Point
*)new otk::Point(arg1
,arg2
);
905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
912 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
) {
917 argc
= PyObject_Length(args
);
918 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
919 argv
[ii
] = PyTuple_GetItem(args
,ii
);
922 return _wrap_new_Point__SWIG_0(self
,args
);
927 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
931 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
934 return _wrap_new_Point__SWIG_1(self
,args
);
939 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Point'");
944 static PyObject
*_wrap_Point_setX(PyObject
*self
, PyObject
*args
) {
946 otk::Point
*arg1
= (otk::Point
*) 0 ;
948 PyObject
* obj0
= 0 ;
950 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setX",&obj0
,&arg2
)) goto fail
;
951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
954 Py_INCREF(Py_None
); resultobj
= Py_None
;
961 static PyObject
*_wrap_Point_x(PyObject
*self
, PyObject
*args
) {
963 otk::Point
*arg1
= (otk::Point
*) 0 ;
965 PyObject
* obj0
= 0 ;
967 if(!PyArg_ParseTuple(args
,(char *)"O:Point_x",&obj0
)) goto fail
;
968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
969 result
= (int)((otk::Point
const *)arg1
)->x();
971 resultobj
= PyInt_FromLong((long)result
);
978 static PyObject
*_wrap_Point_setY(PyObject
*self
, PyObject
*args
) {
980 otk::Point
*arg1
= (otk::Point
*) 0 ;
982 PyObject
* obj0
= 0 ;
984 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setY",&obj0
,&arg2
)) goto fail
;
985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
988 Py_INCREF(Py_None
); resultobj
= Py_None
;
995 static PyObject
*_wrap_Point_y(PyObject
*self
, PyObject
*args
) {
997 otk::Point
*arg1
= (otk::Point
*) 0 ;
999 PyObject
* obj0
= 0 ;
1001 if(!PyArg_ParseTuple(args
,(char *)"O:Point_y",&obj0
)) goto fail
;
1002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1003 result
= (int)((otk::Point
const *)arg1
)->y();
1005 resultobj
= PyInt_FromLong((long)result
);
1012 static PyObject
*_wrap_Point_setPoint(PyObject
*self
, PyObject
*args
) {
1013 PyObject
*resultobj
;
1014 otk::Point
*arg1
= (otk::Point
*) 0 ;
1017 PyObject
* obj0
= 0 ;
1019 if(!PyArg_ParseTuple(args
,(char *)"Oii:Point_setPoint",&obj0
,&arg2
,&arg3
)) goto fail
;
1020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1021 (arg1
)->setPoint(arg2
,arg3
);
1023 Py_INCREF(Py_None
); resultobj
= Py_None
;
1030 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
1032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1033 SWIG_TypeClientData(SWIGTYPE_p_otk__Point
, obj
);
1035 return Py_BuildValue((char *)"");
1037 static PyObject
*_wrap_new_Rect__SWIG_0(PyObject
*self
, PyObject
*args
) {
1038 PyObject
*resultobj
;
1041 if(!PyArg_ParseTuple(args
,(char *)":new_Rect")) goto fail
;
1042 result
= (otk::Rect
*)new otk::Rect();
1044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
1051 static PyObject
*_wrap_new_Rect__SWIG_1(PyObject
*self
, PyObject
*args
) {
1052 PyObject
*resultobj
;
1059 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Rect",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
1060 result
= (otk::Rect
*)new otk::Rect(arg1
,arg2
,arg3
,arg4
);
1062 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
1069 static PyObject
*_wrap_new_Rect__SWIG_2(PyObject
*self
, PyObject
*args
) {
1070 PyObject
*resultobj
;
1071 otk::Point
*arg1
= 0 ;
1072 otk::Point
*arg2
= 0 ;
1074 PyObject
* obj0
= 0 ;
1075 PyObject
* obj1
= 0 ;
1077 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Rect",&obj0
,&obj1
)) goto fail
;
1078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1080 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1086 result
= (otk::Rect
*)new otk::Rect((otk::Point
const &)*arg1
,(otk::Point
const &)*arg2
);
1088 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
1095 static PyObject
*_wrap_new_Rect__SWIG_3(PyObject
*self
, PyObject
*args
) {
1096 PyObject
*resultobj
;
1097 otk::Rect
*arg1
= 0 ;
1099 PyObject
* obj0
= 0 ;
1101 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
1102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1106 result
= (otk::Rect
*)new otk::Rect((otk::Rect
const &)*arg1
);
1108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
1115 static PyObject
*_wrap_new_Rect__SWIG_4(PyObject
*self
, PyObject
*args
) {
1116 PyObject
*resultobj
;
1117 XRectangle
*arg1
= 0 ;
1119 PyObject
* obj0
= 0 ;
1121 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
1122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_XRectangle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1124 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1126 result
= (otk::Rect
*)new otk::Rect((XRectangle
const &)*arg1
);
1128 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
1135 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
) {
1140 argc
= PyObject_Length(args
);
1141 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
1142 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1145 return _wrap_new_Rect__SWIG_0(self
,args
);
1151 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
1159 return _wrap_new_Rect__SWIG_3(self
,args
);
1166 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_XRectangle
, 0) == -1) {
1174 return _wrap_new_Rect__SWIG_4(self
,args
);
1181 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
1191 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
1199 return _wrap_new_Rect__SWIG_2(self
,args
);
1206 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
1210 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1214 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1218 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1221 return _wrap_new_Rect__SWIG_1(self
,args
);
1228 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Rect'");
1233 static PyObject
*_wrap_Rect_left(PyObject
*self
, PyObject
*args
) {
1234 PyObject
*resultobj
;
1235 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1237 PyObject
* obj0
= 0 ;
1239 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_left",&obj0
)) goto fail
;
1240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1241 result
= (int)((otk::Rect
const *)arg1
)->left();
1243 resultobj
= PyInt_FromLong((long)result
);
1250 static PyObject
*_wrap_Rect_top(PyObject
*self
, PyObject
*args
) {
1251 PyObject
*resultobj
;
1252 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1254 PyObject
* obj0
= 0 ;
1256 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_top",&obj0
)) goto fail
;
1257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1258 result
= (int)((otk::Rect
const *)arg1
)->top();
1260 resultobj
= PyInt_FromLong((long)result
);
1267 static PyObject
*_wrap_Rect_right(PyObject
*self
, PyObject
*args
) {
1268 PyObject
*resultobj
;
1269 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1271 PyObject
* obj0
= 0 ;
1273 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_right",&obj0
)) goto fail
;
1274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1275 result
= (int)((otk::Rect
const *)arg1
)->right();
1277 resultobj
= PyInt_FromLong((long)result
);
1284 static PyObject
*_wrap_Rect_bottom(PyObject
*self
, PyObject
*args
) {
1285 PyObject
*resultobj
;
1286 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1288 PyObject
* obj0
= 0 ;
1290 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_bottom",&obj0
)) goto fail
;
1291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1292 result
= (int)((otk::Rect
const *)arg1
)->bottom();
1294 resultobj
= PyInt_FromLong((long)result
);
1301 static PyObject
*_wrap_Rect_x(PyObject
*self
, PyObject
*args
) {
1302 PyObject
*resultobj
;
1303 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1305 PyObject
* obj0
= 0 ;
1307 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_x",&obj0
)) goto fail
;
1308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1309 result
= (int)((otk::Rect
const *)arg1
)->x();
1311 resultobj
= PyInt_FromLong((long)result
);
1318 static PyObject
*_wrap_Rect_y(PyObject
*self
, PyObject
*args
) {
1319 PyObject
*resultobj
;
1320 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1322 PyObject
* obj0
= 0 ;
1324 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_y",&obj0
)) goto fail
;
1325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1326 result
= (int)((otk::Rect
const *)arg1
)->y();
1328 resultobj
= PyInt_FromLong((long)result
);
1335 static PyObject
*_wrap_Rect_location(PyObject
*self
, PyObject
*args
) {
1336 PyObject
*resultobj
;
1337 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1339 PyObject
* obj0
= 0 ;
1341 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_location",&obj0
)) goto fail
;
1342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1343 result
= ((otk::Rect
const *)arg1
)->location();
1346 otk::Point
* resultptr
;
1347 resultptr
= new otk::Point((otk::Point
&) result
);
1348 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
1356 static PyObject
*_wrap_Rect_setX(PyObject
*self
, PyObject
*args
) {
1357 PyObject
*resultobj
;
1358 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1360 PyObject
* obj0
= 0 ;
1362 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setX",&obj0
,&arg2
)) goto fail
;
1363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1366 Py_INCREF(Py_None
); resultobj
= Py_None
;
1373 static PyObject
*_wrap_Rect_setY(PyObject
*self
, PyObject
*args
) {
1374 PyObject
*resultobj
;
1375 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1377 PyObject
* obj0
= 0 ;
1379 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setY",&obj0
,&arg2
)) goto fail
;
1380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1383 Py_INCREF(Py_None
); resultobj
= Py_None
;
1390 static PyObject
*_wrap_Rect_setPos__SWIG_0(PyObject
*self
, PyObject
*args
) {
1391 PyObject
*resultobj
;
1392 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1395 PyObject
* obj0
= 0 ;
1397 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setPos",&obj0
,&arg2
,&arg3
)) goto fail
;
1398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1399 (arg1
)->setPos(arg2
,arg3
);
1401 Py_INCREF(Py_None
); resultobj
= Py_None
;
1408 static PyObject
*_wrap_Rect_setPos__SWIG_1(PyObject
*self
, PyObject
*args
) {
1409 PyObject
*resultobj
;
1410 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1411 otk::Point
*arg2
= 0 ;
1412 PyObject
* obj0
= 0 ;
1413 PyObject
* obj1
= 0 ;
1415 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setPos",&obj0
,&obj1
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1419 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1421 (arg1
)->setPos((otk::Point
const &)*arg2
);
1423 Py_INCREF(Py_None
); resultobj
= Py_None
;
1430 static PyObject
*_wrap_Rect_setPos(PyObject
*self
, PyObject
*args
) {
1435 argc
= PyObject_Length(args
);
1436 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1437 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1443 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
1453 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
1461 return _wrap_Rect_setPos__SWIG_1(self
,args
);
1469 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
1478 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1482 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1485 return _wrap_Rect_setPos__SWIG_0(self
,args
);
1491 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setPos'");
1496 static PyObject
*_wrap_Rect_width(PyObject
*self
, PyObject
*args
) {
1497 PyObject
*resultobj
;
1498 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1500 PyObject
* obj0
= 0 ;
1502 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_width",&obj0
)) goto fail
;
1503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1504 result
= (int)((otk::Rect
const *)arg1
)->width();
1506 resultobj
= PyInt_FromLong((long)result
);
1513 static PyObject
*_wrap_Rect_height(PyObject
*self
, PyObject
*args
) {
1514 PyObject
*resultobj
;
1515 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1517 PyObject
* obj0
= 0 ;
1519 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_height",&obj0
)) goto fail
;
1520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1521 result
= (int)((otk::Rect
const *)arg1
)->height();
1523 resultobj
= PyInt_FromLong((long)result
);
1530 static PyObject
*_wrap_Rect_size(PyObject
*self
, PyObject
*args
) {
1531 PyObject
*resultobj
;
1532 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1534 PyObject
* obj0
= 0 ;
1536 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_size",&obj0
)) goto fail
;
1537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1538 result
= ((otk::Rect
const *)arg1
)->size();
1541 otk::Point
* resultptr
;
1542 resultptr
= new otk::Point((otk::Point
&) result
);
1543 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
1551 static PyObject
*_wrap_Rect_setWidth(PyObject
*self
, PyObject
*args
) {
1552 PyObject
*resultobj
;
1553 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1555 PyObject
* obj0
= 0 ;
1557 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setWidth",&obj0
,&arg2
)) goto fail
;
1558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1559 (arg1
)->setWidth(arg2
);
1561 Py_INCREF(Py_None
); resultobj
= Py_None
;
1568 static PyObject
*_wrap_Rect_setHeight(PyObject
*self
, PyObject
*args
) {
1569 PyObject
*resultobj
;
1570 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1572 PyObject
* obj0
= 0 ;
1574 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setHeight",&obj0
,&arg2
)) goto fail
;
1575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1576 (arg1
)->setHeight(arg2
);
1578 Py_INCREF(Py_None
); resultobj
= Py_None
;
1585 static PyObject
*_wrap_Rect_setSize__SWIG_0(PyObject
*self
, PyObject
*args
) {
1586 PyObject
*resultobj
;
1587 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1590 PyObject
* obj0
= 0 ;
1592 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setSize",&obj0
,&arg2
,&arg3
)) goto fail
;
1593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1594 (arg1
)->setSize(arg2
,arg3
);
1596 Py_INCREF(Py_None
); resultobj
= Py_None
;
1603 static PyObject
*_wrap_Rect_setSize__SWIG_1(PyObject
*self
, PyObject
*args
) {
1604 PyObject
*resultobj
;
1605 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1606 otk::Point
*arg2
= 0 ;
1607 PyObject
* obj0
= 0 ;
1608 PyObject
* obj1
= 0 ;
1610 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setSize",&obj0
,&obj1
)) goto fail
;
1611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1612 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1614 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1616 (arg1
)->setSize((otk::Point
const &)*arg2
);
1618 Py_INCREF(Py_None
); resultobj
= Py_None
;
1625 static PyObject
*_wrap_Rect_setSize(PyObject
*self
, PyObject
*args
) {
1630 argc
= PyObject_Length(args
);
1631 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1632 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1638 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
1648 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
1656 return _wrap_Rect_setSize__SWIG_1(self
,args
);
1664 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
1673 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1677 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1680 return _wrap_Rect_setSize__SWIG_0(self
,args
);
1686 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setSize'");
1691 static PyObject
*_wrap_Rect_setRect__SWIG_0(PyObject
*self
, PyObject
*args
) {
1692 PyObject
*resultobj
;
1693 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1698 PyObject
* obj0
= 0 ;
1700 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setRect",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
1701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1702 (arg1
)->setRect(arg2
,arg3
,arg4
,arg5
);
1704 Py_INCREF(Py_None
); resultobj
= Py_None
;
1711 static PyObject
*_wrap_Rect_setRect__SWIG_1(PyObject
*self
, PyObject
*args
) {
1712 PyObject
*resultobj
;
1713 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1714 otk::Point
*arg2
= 0 ;
1715 otk::Point
*arg3
= 0 ;
1716 PyObject
* obj0
= 0 ;
1717 PyObject
* obj1
= 0 ;
1718 PyObject
* obj2
= 0 ;
1720 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setRect",&obj0
,&obj1
,&obj2
)) goto fail
;
1721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1726 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1728 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1730 (arg1
)->setRect((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
1732 Py_INCREF(Py_None
); resultobj
= Py_None
;
1739 static PyObject
*_wrap_Rect_setRect(PyObject
*self
, PyObject
*args
) {
1744 argc
= PyObject_Length(args
);
1745 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
1746 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1752 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
1762 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
1772 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
1780 return _wrap_Rect_setRect__SWIG_1(self
,args
);
1789 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
1798 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1802 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1806 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1810 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
1813 return _wrap_Rect_setRect__SWIG_0(self
,args
);
1821 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setRect'");
1826 static PyObject
*_wrap_Rect_setCoords__SWIG_0(PyObject
*self
, PyObject
*args
) {
1827 PyObject
*resultobj
;
1828 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1833 PyObject
* obj0
= 0 ;
1835 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setCoords",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
1836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1837 (arg1
)->setCoords(arg2
,arg3
,arg4
,arg5
);
1839 Py_INCREF(Py_None
); resultobj
= Py_None
;
1846 static PyObject
*_wrap_Rect_setCoords__SWIG_1(PyObject
*self
, PyObject
*args
) {
1847 PyObject
*resultobj
;
1848 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1849 otk::Point
*arg2
= 0 ;
1850 otk::Point
*arg3
= 0 ;
1851 PyObject
* obj0
= 0 ;
1852 PyObject
* obj1
= 0 ;
1853 PyObject
* obj2
= 0 ;
1855 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setCoords",&obj0
,&obj1
,&obj2
)) goto fail
;
1856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1857 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1861 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1863 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1865 (arg1
)->setCoords((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
1867 Py_INCREF(Py_None
); resultobj
= Py_None
;
1874 static PyObject
*_wrap_Rect_setCoords(PyObject
*self
, PyObject
*args
) {
1879 argc
= PyObject_Length(args
);
1880 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
1881 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1887 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
1897 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
1907 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
1915 return _wrap_Rect_setCoords__SWIG_1(self
,args
);
1924 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
1933 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1937 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1941 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1945 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
1948 return _wrap_Rect_setCoords__SWIG_0(self
,args
);
1956 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setCoords'");
1961 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
) {
1962 PyObject
*resultobj
;
1963 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1964 otk::Rect
*arg2
= 0 ;
1966 PyObject
* obj0
= 0 ;
1967 PyObject
* obj1
= 0 ;
1969 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___eq__",&obj0
,&obj1
)) goto fail
;
1970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1975 result
= (bool)(arg1
)->operator ==((otk::Rect
const &)*arg2
);
1977 resultobj
= PyInt_FromLong((long)result
);
1984 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
) {
1985 PyObject
*resultobj
;
1986 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
1987 otk::Rect
*arg2
= 0 ;
1989 PyObject
* obj0
= 0 ;
1990 PyObject
* obj1
= 0 ;
1992 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___ne__",&obj0
,&obj1
)) goto fail
;
1993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1994 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1996 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1998 result
= (bool)(arg1
)->operator !=((otk::Rect
const &)*arg2
);
2000 resultobj
= PyInt_FromLong((long)result
);
2007 static PyObject
*_wrap_Rect___or__(PyObject
*self
, PyObject
*args
) {
2008 PyObject
*resultobj
;
2009 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2010 otk::Rect
*arg2
= 0 ;
2012 PyObject
* obj0
= 0 ;
2013 PyObject
* obj1
= 0 ;
2015 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___or__",&obj0
,&obj1
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2019 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2021 result
= ((otk::Rect
const *)arg1
)->operator |((otk::Rect
const &)*arg2
);
2024 otk::Rect
* resultptr
;
2025 resultptr
= new otk::Rect((otk::Rect
&) result
);
2026 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Rect
, 1);
2034 static PyObject
*_wrap_Rect___and__(PyObject
*self
, PyObject
*args
) {
2035 PyObject
*resultobj
;
2036 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2037 otk::Rect
*arg2
= 0 ;
2039 PyObject
* obj0
= 0 ;
2040 PyObject
* obj1
= 0 ;
2042 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___and__",&obj0
,&obj1
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2048 result
= ((otk::Rect
const *)arg1
)->operator &((otk::Rect
const &)*arg2
);
2051 otk::Rect
* resultptr
;
2052 resultptr
= new otk::Rect((otk::Rect
&) result
);
2053 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Rect
, 1);
2061 static PyObject
*_wrap_Rect___ior__(PyObject
*self
, PyObject
*args
) {
2062 PyObject
*resultobj
;
2063 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2064 otk::Rect
*arg2
= 0 ;
2066 PyObject
* obj0
= 0 ;
2067 PyObject
* obj1
= 0 ;
2069 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___ior__",&obj0
,&obj1
)) goto fail
;
2070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2073 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2076 otk::Rect
&_result_ref
= (arg1
)->operator |=((otk::Rect
const &)*arg2
);
2077 result
= (otk::Rect
*) &_result_ref
;
2080 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
2087 static PyObject
*_wrap_Rect___iand__(PyObject
*self
, PyObject
*args
) {
2088 PyObject
*resultobj
;
2089 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2090 otk::Rect
*arg2
= 0 ;
2092 PyObject
* obj0
= 0 ;
2093 PyObject
* obj1
= 0 ;
2095 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___iand__",&obj0
,&obj1
)) goto fail
;
2096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2097 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2099 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2102 otk::Rect
&_result_ref
= (arg1
)->operator &=((otk::Rect
const &)*arg2
);
2103 result
= (otk::Rect
*) &_result_ref
;
2106 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
2113 static PyObject
*_wrap_Rect_valid(PyObject
*self
, PyObject
*args
) {
2114 PyObject
*resultobj
;
2115 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2117 PyObject
* obj0
= 0 ;
2119 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_valid",&obj0
)) goto fail
;
2120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2121 result
= (bool)((otk::Rect
const *)arg1
)->valid();
2123 resultobj
= PyInt_FromLong((long)result
);
2130 static PyObject
*_wrap_Rect_intersects(PyObject
*self
, PyObject
*args
) {
2131 PyObject
*resultobj
;
2132 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2133 otk::Rect
*arg2
= 0 ;
2135 PyObject
* obj0
= 0 ;
2136 PyObject
* obj1
= 0 ;
2138 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_intersects",&obj0
,&obj1
)) goto fail
;
2139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2144 result
= (bool)((otk::Rect
const *)arg1
)->intersects((otk::Rect
const &)*arg2
);
2146 resultobj
= PyInt_FromLong((long)result
);
2153 static PyObject
*_wrap_Rect_contains__SWIG_0(PyObject
*self
, PyObject
*args
) {
2154 PyObject
*resultobj
;
2155 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2159 PyObject
* obj0
= 0 ;
2161 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_contains",&obj0
,&arg2
,&arg3
)) goto fail
;
2162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2163 result
= (bool)((otk::Rect
const *)arg1
)->contains(arg2
,arg3
);
2165 resultobj
= PyInt_FromLong((long)result
);
2172 static PyObject
*_wrap_Rect_contains__SWIG_1(PyObject
*self
, PyObject
*args
) {
2173 PyObject
*resultobj
;
2174 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2175 otk::Point
*arg2
= 0 ;
2177 PyObject
* obj0
= 0 ;
2178 PyObject
* obj1
= 0 ;
2180 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
2181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2182 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2184 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2186 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Point
const &)*arg2
);
2188 resultobj
= PyInt_FromLong((long)result
);
2195 static PyObject
*_wrap_Rect_contains__SWIG_2(PyObject
*self
, PyObject
*args
) {
2196 PyObject
*resultobj
;
2197 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2198 otk::Rect
*arg2
= 0 ;
2200 PyObject
* obj0
= 0 ;
2201 PyObject
* obj1
= 0 ;
2203 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2205 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2207 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2209 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Rect
const &)*arg2
);
2211 resultobj
= PyInt_FromLong((long)result
);
2218 static PyObject
*_wrap_Rect_contains(PyObject
*self
, PyObject
*args
) {
2223 argc
= PyObject_Length(args
);
2224 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2225 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2231 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2241 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2249 return _wrap_Rect_contains__SWIG_1(self
,args
);
2257 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2267 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2275 return _wrap_Rect_contains__SWIG_2(self
,args
);
2283 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2292 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2296 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2299 return _wrap_Rect_contains__SWIG_0(self
,args
);
2305 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_contains'");
2310 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
2312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2313 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect
, obj
);
2315 return Py_BuildValue((char *)"");
2317 static PyObject
*_wrap_Cursors_session_set(PyObject
*self
, PyObject
*args
) {
2318 PyObject
*resultobj
;
2319 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2321 PyObject
* obj0
= 0 ;
2322 PyObject
* obj1
= 0 ;
2324 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_session_set",&obj0
,&obj1
)) goto fail
;
2325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2326 arg2
= (Cursor
) PyInt_AsLong(obj1
);
2327 if (PyErr_Occurred()) SWIG_fail
;
2328 if (arg1
) (arg1
)->session
= arg2
;
2330 Py_INCREF(Py_None
); resultobj
= Py_None
;
2337 static PyObject
*_wrap_Cursors_session_get(PyObject
*self
, PyObject
*args
) {
2338 PyObject
*resultobj
;
2339 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2341 PyObject
* obj0
= 0 ;
2343 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_session_get",&obj0
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2345 result
= (Cursor
) ((arg1
)->session
);
2347 resultobj
= PyInt_FromLong((long)result
);
2354 static PyObject
*_wrap_Cursors_move_set(PyObject
*self
, PyObject
*args
) {
2355 PyObject
*resultobj
;
2356 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2358 PyObject
* obj0
= 0 ;
2359 PyObject
* obj1
= 0 ;
2361 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_move_set",&obj0
,&obj1
)) goto fail
;
2362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2363 arg2
= (Cursor
) PyInt_AsLong(obj1
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2365 if (arg1
) (arg1
)->move
= arg2
;
2367 Py_INCREF(Py_None
); resultobj
= Py_None
;
2374 static PyObject
*_wrap_Cursors_move_get(PyObject
*self
, PyObject
*args
) {
2375 PyObject
*resultobj
;
2376 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2378 PyObject
* obj0
= 0 ;
2380 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_move_get",&obj0
)) goto fail
;
2381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2382 result
= (Cursor
) ((arg1
)->move
);
2384 resultobj
= PyInt_FromLong((long)result
);
2391 static PyObject
*_wrap_Cursors_ll_angle_set(PyObject
*self
, PyObject
*args
) {
2392 PyObject
*resultobj
;
2393 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2395 PyObject
* obj0
= 0 ;
2396 PyObject
* obj1
= 0 ;
2398 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ll_angle_set",&obj0
,&obj1
)) goto fail
;
2399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2400 arg2
= (Cursor
) PyInt_AsLong(obj1
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2402 if (arg1
) (arg1
)->ll_angle
= arg2
;
2404 Py_INCREF(Py_None
); resultobj
= Py_None
;
2411 static PyObject
*_wrap_Cursors_ll_angle_get(PyObject
*self
, PyObject
*args
) {
2412 PyObject
*resultobj
;
2413 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2415 PyObject
* obj0
= 0 ;
2417 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ll_angle_get",&obj0
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2419 result
= (Cursor
) ((arg1
)->ll_angle
);
2421 resultobj
= PyInt_FromLong((long)result
);
2428 static PyObject
*_wrap_Cursors_lr_angle_set(PyObject
*self
, PyObject
*args
) {
2429 PyObject
*resultobj
;
2430 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2432 PyObject
* obj0
= 0 ;
2433 PyObject
* obj1
= 0 ;
2435 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_lr_angle_set",&obj0
,&obj1
)) goto fail
;
2436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2437 arg2
= (Cursor
) PyInt_AsLong(obj1
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2439 if (arg1
) (arg1
)->lr_angle
= arg2
;
2441 Py_INCREF(Py_None
); resultobj
= Py_None
;
2448 static PyObject
*_wrap_Cursors_lr_angle_get(PyObject
*self
, PyObject
*args
) {
2449 PyObject
*resultobj
;
2450 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2452 PyObject
* obj0
= 0 ;
2454 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_lr_angle_get",&obj0
)) goto fail
;
2455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2456 result
= (Cursor
) ((arg1
)->lr_angle
);
2458 resultobj
= PyInt_FromLong((long)result
);
2465 static PyObject
*_wrap_Cursors_ul_angle_set(PyObject
*self
, PyObject
*args
) {
2466 PyObject
*resultobj
;
2467 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2469 PyObject
* obj0
= 0 ;
2470 PyObject
* obj1
= 0 ;
2472 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ul_angle_set",&obj0
,&obj1
)) goto fail
;
2473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2474 arg2
= (Cursor
) PyInt_AsLong(obj1
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2476 if (arg1
) (arg1
)->ul_angle
= arg2
;
2478 Py_INCREF(Py_None
); resultobj
= Py_None
;
2485 static PyObject
*_wrap_Cursors_ul_angle_get(PyObject
*self
, PyObject
*args
) {
2486 PyObject
*resultobj
;
2487 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2489 PyObject
* obj0
= 0 ;
2491 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ul_angle_get",&obj0
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2493 result
= (Cursor
) ((arg1
)->ul_angle
);
2495 resultobj
= PyInt_FromLong((long)result
);
2502 static PyObject
*_wrap_Cursors_ur_angle_set(PyObject
*self
, PyObject
*args
) {
2503 PyObject
*resultobj
;
2504 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2506 PyObject
* obj0
= 0 ;
2507 PyObject
* obj1
= 0 ;
2509 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ur_angle_set",&obj0
,&obj1
)) goto fail
;
2510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2511 arg2
= (Cursor
) PyInt_AsLong(obj1
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2513 if (arg1
) (arg1
)->ur_angle
= arg2
;
2515 Py_INCREF(Py_None
); resultobj
= Py_None
;
2522 static PyObject
*_wrap_Cursors_ur_angle_get(PyObject
*self
, PyObject
*args
) {
2523 PyObject
*resultobj
;
2524 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
2526 PyObject
* obj0
= 0 ;
2528 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ur_angle_get",&obj0
)) goto fail
;
2529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2530 result
= (Cursor
) ((arg1
)->ur_angle
);
2532 resultobj
= PyInt_FromLong((long)result
);
2539 static PyObject
* Cursors_swigregister(PyObject
*self
, PyObject
*args
) {
2541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2542 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors
, obj
);
2544 return Py_BuildValue((char *)"");
2546 static PyObject
*_wrap_Openbox_state(PyObject
*self
, PyObject
*args
) {
2547 PyObject
*resultobj
;
2548 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2550 PyObject
* obj0
= 0 ;
2552 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_state",&obj0
)) goto fail
;
2553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2554 result
= (int)((ob::Openbox
const *)arg1
)->state();
2556 resultobj
= PyInt_FromLong((long)result
);
2563 static PyObject
*_wrap_Openbox_timerManager(PyObject
*self
, PyObject
*args
) {
2564 PyObject
*resultobj
;
2565 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2566 otk::OBTimerQueueManager
*result
;
2567 PyObject
* obj0
= 0 ;
2569 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_timerManager",&obj0
)) goto fail
;
2570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2571 result
= (otk::OBTimerQueueManager
*)(arg1
)->timerManager();
2573 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OBTimerQueueManager
, 0);
2580 static PyObject
*_wrap_Openbox_property(PyObject
*self
, PyObject
*args
) {
2581 PyObject
*resultobj
;
2582 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2583 otk::OBProperty
*result
;
2584 PyObject
* obj0
= 0 ;
2586 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_property",&obj0
)) goto fail
;
2587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2588 result
= (otk::OBProperty
*)((ob::Openbox
const *)arg1
)->property();
2590 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__OBProperty
, 0);
2597 static PyObject
*_wrap_Openbox_actions(PyObject
*self
, PyObject
*args
) {
2598 PyObject
*resultobj
;
2599 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2600 ob::OBActions
*result
;
2601 PyObject
* obj0
= 0 ;
2603 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_actions",&obj0
)) goto fail
;
2604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2605 result
= (ob::OBActions
*)((ob::Openbox
const *)arg1
)->actions();
2607 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBActions
, 0);
2614 static PyObject
*_wrap_Openbox_bindings(PyObject
*self
, PyObject
*args
) {
2615 PyObject
*resultobj
;
2616 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2617 ob::OBBindings
*result
;
2618 PyObject
* obj0
= 0 ;
2620 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_bindings",&obj0
)) goto fail
;
2621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2622 result
= (ob::OBBindings
*)((ob::Openbox
const *)arg1
)->bindings();
2624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBBindings
, 0);
2631 static PyObject
*_wrap_Openbox_screen(PyObject
*self
, PyObject
*args
) {
2632 PyObject
*resultobj
;
2633 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2635 ob::OBScreen
*result
;
2636 PyObject
* obj0
= 0 ;
2638 if(!PyArg_ParseTuple(args
,(char *)"Oi:Openbox_screen",&obj0
,&arg2
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2640 result
= (ob::OBScreen
*)(arg1
)->screen(arg2
);
2642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBScreen
, 0);
2649 static PyObject
*_wrap_Openbox_screenCount(PyObject
*self
, PyObject
*args
) {
2650 PyObject
*resultobj
;
2651 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2653 PyObject
* obj0
= 0 ;
2655 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_screenCount",&obj0
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2657 result
= (int)((ob::Openbox
const *)arg1
)->screenCount();
2659 resultobj
= PyInt_FromLong((long)result
);
2666 static PyObject
*_wrap_Openbox_cursors(PyObject
*self
, PyObject
*args
) {
2667 PyObject
*resultobj
;
2668 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2669 ob::Cursors
*result
;
2670 PyObject
* obj0
= 0 ;
2672 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_cursors",&obj0
)) goto fail
;
2673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2675 ob::Cursors
const &_result_ref
= ((ob::Openbox
const *)arg1
)->cursors();
2676 result
= (ob::Cursors
*) &_result_ref
;
2679 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Cursors
, 0);
2686 static PyObject
*_wrap_Openbox_addClient(PyObject
*self
, PyObject
*args
) {
2687 PyObject
*resultobj
;
2688 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2690 ob::OBClient
*arg3
= (ob::OBClient
*) 0 ;
2691 PyObject
* obj0
= 0 ;
2692 PyObject
* obj1
= 0 ;
2693 PyObject
* obj2
= 0 ;
2695 if(!PyArg_ParseTuple(args
,(char *)"OOO:Openbox_addClient",&obj0
,&obj1
,&obj2
)) goto fail
;
2696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2697 arg2
= (Window
) PyInt_AsLong(obj1
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2699 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2700 (arg1
)->addClient(arg2
,arg3
);
2702 Py_INCREF(Py_None
); resultobj
= Py_None
;
2709 static PyObject
*_wrap_Openbox_removeClient(PyObject
*self
, PyObject
*args
) {
2710 PyObject
*resultobj
;
2711 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2713 PyObject
* obj0
= 0 ;
2714 PyObject
* obj1
= 0 ;
2716 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_removeClient",&obj0
,&obj1
)) goto fail
;
2717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2718 arg2
= (Window
) PyInt_AsLong(obj1
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2720 (arg1
)->removeClient(arg2
);
2722 Py_INCREF(Py_None
); resultobj
= Py_None
;
2729 static PyObject
*_wrap_Openbox_findClient(PyObject
*self
, PyObject
*args
) {
2730 PyObject
*resultobj
;
2731 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2733 ob::OBClient
*result
;
2734 PyObject
* obj0
= 0 ;
2735 PyObject
* obj1
= 0 ;
2737 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_findClient",&obj0
,&obj1
)) goto fail
;
2738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2739 arg2
= (Window
) PyInt_AsLong(obj1
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2741 result
= (ob::OBClient
*)(arg1
)->findClient(arg2
);
2743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
2750 static PyObject
*_wrap_Openbox_focusedClient(PyObject
*self
, PyObject
*args
) {
2751 PyObject
*resultobj
;
2752 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2753 ob::OBClient
*result
;
2754 PyObject
* obj0
= 0 ;
2756 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_focusedClient",&obj0
)) goto fail
;
2757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2758 result
= (ob::OBClient
*)(arg1
)->focusedClient();
2760 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
2767 static PyObject
*_wrap_Openbox_setFocusedClient(PyObject
*self
, PyObject
*args
) {
2768 PyObject
*resultobj
;
2769 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2770 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
2771 PyObject
* obj0
= 0 ;
2772 PyObject
* obj1
= 0 ;
2774 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_setFocusedClient",&obj0
,&obj1
)) goto fail
;
2775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2777 (arg1
)->setFocusedClient(arg2
);
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2786 static PyObject
*_wrap_Openbox_focusedScreen(PyObject
*self
, PyObject
*args
) {
2787 PyObject
*resultobj
;
2788 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2789 ob::OBScreen
*result
;
2790 PyObject
* obj0
= 0 ;
2792 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_focusedScreen",&obj0
)) goto fail
;
2793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2794 result
= (ob::OBScreen
*)(arg1
)->focusedScreen();
2796 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBScreen
, 0);
2803 static PyObject
*_wrap_Openbox_shutdown(PyObject
*self
, PyObject
*args
) {
2804 PyObject
*resultobj
;
2805 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2806 PyObject
* obj0
= 0 ;
2808 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_shutdown",&obj0
)) goto fail
;
2809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2812 Py_INCREF(Py_None
); resultobj
= Py_None
;
2819 static PyObject
*_wrap_Openbox_restart(PyObject
*self
, PyObject
*args
) {
2820 PyObject
*resultobj
;
2821 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2822 std::string
const &arg2_defvalue
= "" ;
2823 std::string
*arg2
= (std::string
*) &arg2_defvalue
;
2825 PyObject
* obj0
= 0 ;
2826 PyObject
* obj1
= 0 ;
2828 if(!PyArg_ParseTuple(args
,(char *)"O|O:Openbox_restart",&obj0
,&obj1
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2832 if (PyString_Check(obj1
)) {
2833 temp2
= std::string(PyString_AsString(obj1
));
2836 SWIG_exception(SWIG_TypeError
, "string expected");
2840 (arg1
)->restart((std::string
const &)*arg2
);
2842 Py_INCREF(Py_None
); resultobj
= Py_None
;
2849 static PyObject
*_wrap_Openbox_execute(PyObject
*self
, PyObject
*args
) {
2850 PyObject
*resultobj
;
2851 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
2853 std::string
*arg3
= 0 ;
2855 PyObject
* obj0
= 0 ;
2856 PyObject
* obj2
= 0 ;
2858 if(!PyArg_ParseTuple(args
,(char *)"OiO:Openbox_execute",&obj0
,&arg2
,&obj2
)) goto fail
;
2859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2861 if (PyString_Check(obj2
)) {
2862 temp3
= std::string(PyString_AsString(obj2
));
2865 SWIG_exception(SWIG_TypeError
, "string expected");
2868 (arg1
)->execute(arg2
,(std::string
const &)*arg3
);
2870 Py_INCREF(Py_None
); resultobj
= Py_None
;
2877 static PyObject
* Openbox_swigregister(PyObject
*self
, PyObject
*args
) {
2879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2880 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox
, obj
);
2882 return Py_BuildValue((char *)"");
2884 static PyObject
*_wrap_OBScreen_client(PyObject
*self
, PyObject
*args
) {
2885 PyObject
*resultobj
;
2886 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
2888 ob::OBClient
*result
;
2889 PyObject
* obj0
= 0 ;
2891 if(!PyArg_ParseTuple(args
,(char *)"Oi:OBScreen_client",&obj0
,&arg2
)) goto fail
;
2892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2893 result
= (ob::OBClient
*)ob_OBScreen_client(arg1
,arg2
);
2895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
2902 static PyObject
*_wrap_OBScreen_clientCount(PyObject
*self
, PyObject
*args
) {
2903 PyObject
*resultobj
;
2904 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
2906 PyObject
* obj0
= 0 ;
2908 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_clientCount",&obj0
)) goto fail
;
2909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2910 result
= (int)ob_OBScreen_clientCount((ob::OBScreen
const *)arg1
);
2912 resultobj
= PyInt_FromLong((long)result
);
2919 static PyObject
*_wrap_OBScreen_number(PyObject
*self
, PyObject
*args
) {
2920 PyObject
*resultobj
;
2921 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
2923 PyObject
* obj0
= 0 ;
2925 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_number",&obj0
)) goto fail
;
2926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2927 result
= (int)((ob::OBScreen
const *)arg1
)->number();
2929 resultobj
= PyInt_FromLong((long)result
);
2936 static PyObject
*_wrap_OBScreen_managed(PyObject
*self
, PyObject
*args
) {
2937 PyObject
*resultobj
;
2938 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
2940 PyObject
* obj0
= 0 ;
2942 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_managed",&obj0
)) goto fail
;
2943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2944 result
= (bool)((ob::OBScreen
const *)arg1
)->managed();
2946 resultobj
= PyInt_FromLong((long)result
);
2953 static PyObject
*_wrap_OBScreen_imageControl(PyObject
*self
, PyObject
*args
) {
2954 PyObject
*resultobj
;
2955 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
2956 otk::BImageControl
*result
;
2957 PyObject
* obj0
= 0 ;
2959 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_imageControl",&obj0
)) goto fail
;
2960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2961 result
= (otk::BImageControl
*)(arg1
)->imageControl();
2963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__BImageControl
, 0);
2970 static PyObject
*_wrap_OBScreen_area(PyObject
*self
, PyObject
*args
) {
2971 PyObject
*resultobj
;
2972 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
2974 PyObject
* obj0
= 0 ;
2976 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_area",&obj0
)) goto fail
;
2977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2979 otk::Rect
const &_result_ref
= ((ob::OBScreen
const *)arg1
)->area();
2980 result
= (otk::Rect
*) &_result_ref
;
2983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
2990 static PyObject
*_wrap_OBScreen_style(PyObject
*self
, PyObject
*args
) {
2991 PyObject
*resultobj
;
2992 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
2994 PyObject
* obj0
= 0 ;
2996 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_style",&obj0
)) goto fail
;
2997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2998 result
= (otk::Style
*)((ob::OBScreen
const *)arg1
)->style();
3000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 0);
3007 static PyObject
*_wrap_OBScreen_focuswindow(PyObject
*self
, PyObject
*args
) {
3008 PyObject
*resultobj
;
3009 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3011 PyObject
* obj0
= 0 ;
3013 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_focuswindow",&obj0
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3015 result
= (Window
)((ob::OBScreen
const *)arg1
)->focuswindow();
3017 resultobj
= PyInt_FromLong((long)result
);
3024 static PyObject
*_wrap_OBScreen_desktop(PyObject
*self
, PyObject
*args
) {
3025 PyObject
*resultobj
;
3026 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3028 PyObject
* obj0
= 0 ;
3030 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_desktop",&obj0
)) goto fail
;
3031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3032 result
= (long)((ob::OBScreen
const *)arg1
)->desktop();
3034 resultobj
= PyInt_FromLong((long)result
);
3041 static PyObject
*_wrap_OBScreen_numDesktops(PyObject
*self
, PyObject
*args
) {
3042 PyObject
*resultobj
;
3043 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3045 PyObject
* obj0
= 0 ;
3047 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_numDesktops",&obj0
)) goto fail
;
3048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3049 result
= (long)((ob::OBScreen
const *)arg1
)->numDesktops();
3051 resultobj
= PyInt_FromLong((long)result
);
3058 static PyObject
*_wrap_OBScreen_updateStrut(PyObject
*self
, PyObject
*args
) {
3059 PyObject
*resultobj
;
3060 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3061 PyObject
* obj0
= 0 ;
3063 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_updateStrut",&obj0
)) goto fail
;
3064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3065 (arg1
)->updateStrut();
3067 Py_INCREF(Py_None
); resultobj
= Py_None
;
3074 static PyObject
*_wrap_OBScreen_manageExisting(PyObject
*self
, PyObject
*args
) {
3075 PyObject
*resultobj
;
3076 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3077 PyObject
* obj0
= 0 ;
3079 if(!PyArg_ParseTuple(args
,(char *)"O:OBScreen_manageExisting",&obj0
)) goto fail
;
3080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3081 (arg1
)->manageExisting();
3083 Py_INCREF(Py_None
); resultobj
= Py_None
;
3090 static PyObject
*_wrap_OBScreen_manageWindow(PyObject
*self
, PyObject
*args
) {
3091 PyObject
*resultobj
;
3092 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3094 PyObject
* obj0
= 0 ;
3095 PyObject
* obj1
= 0 ;
3097 if(!PyArg_ParseTuple(args
,(char *)"OO:OBScreen_manageWindow",&obj0
,&obj1
)) goto fail
;
3098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3099 arg2
= (Window
) PyInt_AsLong(obj1
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3101 (arg1
)->manageWindow(arg2
);
3103 Py_INCREF(Py_None
); resultobj
= Py_None
;
3110 static PyObject
*_wrap_OBScreen_unmanageWindow(PyObject
*self
, PyObject
*args
) {
3111 PyObject
*resultobj
;
3112 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3113 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
3114 PyObject
* obj0
= 0 ;
3115 PyObject
* obj1
= 0 ;
3117 if(!PyArg_ParseTuple(args
,(char *)"OO:OBScreen_unmanageWindow",&obj0
,&obj1
)) goto fail
;
3118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3120 (arg1
)->unmanageWindow(arg2
);
3122 Py_INCREF(Py_None
); resultobj
= Py_None
;
3129 static PyObject
*_wrap_OBScreen_restack(PyObject
*self
, PyObject
*args
) {
3130 PyObject
*resultobj
;
3131 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3133 ob::OBClient
*arg3
= (ob::OBClient
*) 0 ;
3134 PyObject
* obj0
= 0 ;
3135 PyObject
* obj1
= 0 ;
3136 PyObject
* obj2
= 0 ;
3138 if(!PyArg_ParseTuple(args
,(char *)"OOO:OBScreen_restack",&obj0
,&obj1
,&obj2
)) goto fail
;
3139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3140 arg2
= (bool) PyInt_AsLong(obj1
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3142 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3143 (arg1
)->restack(arg2
,arg3
);
3145 Py_INCREF(Py_None
); resultobj
= Py_None
;
3152 static PyObject
*_wrap_OBScreen_setDesktopName(PyObject
*self
, PyObject
*args
) {
3153 PyObject
*resultobj
;
3154 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3156 std::string
*arg3
= 0 ;
3158 PyObject
* obj0
= 0 ;
3159 PyObject
* obj2
= 0 ;
3161 if(!PyArg_ParseTuple(args
,(char *)"OlO:OBScreen_setDesktopName",&obj0
,&arg2
,&obj2
)) goto fail
;
3162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3164 if (PyString_Check(obj2
)) {
3165 temp3
= std::string(PyString_AsString(obj2
));
3168 SWIG_exception(SWIG_TypeError
, "string expected");
3171 (arg1
)->setDesktopName(arg2
,(std::string
const &)*arg3
);
3173 Py_INCREF(Py_None
); resultobj
= Py_None
;
3180 static PyObject
*_wrap_OBScreen_propertyHandler(PyObject
*self
, PyObject
*args
) {
3181 PyObject
*resultobj
;
3182 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3183 XPropertyEvent
*arg2
= 0 ;
3184 PyObject
* obj0
= 0 ;
3185 PyObject
* obj1
= 0 ;
3187 if(!PyArg_ParseTuple(args
,(char *)"OO:OBScreen_propertyHandler",&obj0
,&obj1
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3189 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3191 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3193 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
3195 Py_INCREF(Py_None
); resultobj
= Py_None
;
3202 static PyObject
*_wrap_OBScreen_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
3203 PyObject
*resultobj
;
3204 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3205 XClientMessageEvent
*arg2
= 0 ;
3206 PyObject
* obj0
= 0 ;
3207 PyObject
* obj1
= 0 ;
3209 if(!PyArg_ParseTuple(args
,(char *)"OO:OBScreen_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
3210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3215 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
3217 Py_INCREF(Py_None
); resultobj
= Py_None
;
3224 static PyObject
*_wrap_OBScreen_mapRequestHandler(PyObject
*self
, PyObject
*args
) {
3225 PyObject
*resultobj
;
3226 ob::OBScreen
*arg1
= (ob::OBScreen
*) 0 ;
3227 XMapRequestEvent
*arg2
= 0 ;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3231 if(!PyArg_ParseTuple(args
,(char *)"OO:OBScreen_mapRequestHandler",&obj0
,&obj1
)) goto fail
;
3232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3235 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3237 (arg1
)->mapRequestHandler((XMapRequestEvent
const &)*arg2
);
3239 Py_INCREF(Py_None
); resultobj
= Py_None
;
3246 static PyObject
* OBScreen_swigregister(PyObject
*self
, PyObject
*args
) {
3248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3249 SWIG_TypeClientData(SWIGTYPE_p_ob__OBScreen
, obj
);
3251 return Py_BuildValue((char *)"");
3253 static PyObject
*_wrap_MwmHints_flags_set(PyObject
*self
, PyObject
*args
) {
3254 PyObject
*resultobj
;
3255 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
3256 unsigned long arg2
;
3257 PyObject
* obj0
= 0 ;
3258 PyObject
* obj1
= 0 ;
3260 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_flags_set",&obj0
,&obj1
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3262 arg2
= (unsigned long) PyInt_AsLong(obj1
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3264 if (arg1
) (arg1
)->flags
= arg2
;
3266 Py_INCREF(Py_None
); resultobj
= Py_None
;
3273 static PyObject
*_wrap_MwmHints_flags_get(PyObject
*self
, PyObject
*args
) {
3274 PyObject
*resultobj
;
3275 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
3276 unsigned long result
;
3277 PyObject
* obj0
= 0 ;
3279 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_flags_get",&obj0
)) goto fail
;
3280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3281 result
= (unsigned long) ((arg1
)->flags
);
3283 resultobj
= PyInt_FromLong((long)result
);
3290 static PyObject
*_wrap_MwmHints_functions_set(PyObject
*self
, PyObject
*args
) {
3291 PyObject
*resultobj
;
3292 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
3293 unsigned long arg2
;
3294 PyObject
* obj0
= 0 ;
3295 PyObject
* obj1
= 0 ;
3297 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_functions_set",&obj0
,&obj1
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3299 arg2
= (unsigned long) PyInt_AsLong(obj1
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3301 if (arg1
) (arg1
)->functions
= arg2
;
3303 Py_INCREF(Py_None
); resultobj
= Py_None
;
3310 static PyObject
*_wrap_MwmHints_functions_get(PyObject
*self
, PyObject
*args
) {
3311 PyObject
*resultobj
;
3312 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
3313 unsigned long result
;
3314 PyObject
* obj0
= 0 ;
3316 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_functions_get",&obj0
)) goto fail
;
3317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3318 result
= (unsigned long) ((arg1
)->functions
);
3320 resultobj
= PyInt_FromLong((long)result
);
3327 static PyObject
*_wrap_MwmHints_decorations_set(PyObject
*self
, PyObject
*args
) {
3328 PyObject
*resultobj
;
3329 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
3330 unsigned long arg2
;
3331 PyObject
* obj0
= 0 ;
3332 PyObject
* obj1
= 0 ;
3334 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_decorations_set",&obj0
,&obj1
)) goto fail
;
3335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3336 arg2
= (unsigned long) PyInt_AsLong(obj1
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3338 if (arg1
) (arg1
)->decorations
= arg2
;
3340 Py_INCREF(Py_None
); resultobj
= Py_None
;
3347 static PyObject
*_wrap_MwmHints_decorations_get(PyObject
*self
, PyObject
*args
) {
3348 PyObject
*resultobj
;
3349 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
3350 unsigned long result
;
3351 PyObject
* obj0
= 0 ;
3353 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_decorations_get",&obj0
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3355 result
= (unsigned long) ((arg1
)->decorations
);
3357 resultobj
= PyInt_FromLong((long)result
);
3364 static PyObject
* MwmHints_swigregister(PyObject
*self
, PyObject
*args
) {
3366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3367 SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints
, obj
);
3369 return Py_BuildValue((char *)"");
3371 static PyObject
*_wrap_OBClient_frame_set(PyObject
*self
, PyObject
*args
) {
3372 PyObject
*resultobj
;
3373 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3374 ob::OBFrame
*arg2
= (ob::OBFrame
*) 0 ;
3375 PyObject
* obj0
= 0 ;
3376 PyObject
* obj1
= 0 ;
3378 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_frame_set",&obj0
,&obj1
)) goto fail
;
3379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3380 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBFrame
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3381 if (arg1
) (arg1
)->frame
= arg2
;
3383 Py_INCREF(Py_None
); resultobj
= Py_None
;
3390 static PyObject
*_wrap_OBClient_frame_get(PyObject
*self
, PyObject
*args
) {
3391 PyObject
*resultobj
;
3392 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3393 ob::OBFrame
*result
;
3394 PyObject
* obj0
= 0 ;
3396 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_frame_get",&obj0
)) goto fail
;
3397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3398 result
= (ob::OBFrame
*) ((arg1
)->frame
);
3400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBFrame
, 0);
3407 static PyObject
*_wrap_OBClient_ignore_unmaps_set(PyObject
*self
, PyObject
*args
) {
3408 PyObject
*resultobj
;
3409 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3413 if(!PyArg_ParseTuple(args
,(char *)"Oi:OBClient_ignore_unmaps_set",&obj0
,&arg2
)) goto fail
;
3414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3415 if (arg1
) (arg1
)->ignore_unmaps
= arg2
;
3417 Py_INCREF(Py_None
); resultobj
= Py_None
;
3424 static PyObject
*_wrap_OBClient_ignore_unmaps_get(PyObject
*self
, PyObject
*args
) {
3425 PyObject
*resultobj
;
3426 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3428 PyObject
* obj0
= 0 ;
3430 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_ignore_unmaps_get",&obj0
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3432 result
= (int) ((arg1
)->ignore_unmaps
);
3434 resultobj
= PyInt_FromLong((long)result
);
3441 static PyObject
*_wrap_OBClient_screen(PyObject
*self
, PyObject
*args
) {
3442 PyObject
*resultobj
;
3443 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3445 PyObject
* obj0
= 0 ;
3447 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_screen",&obj0
)) goto fail
;
3448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3449 result
= (int)((ob::OBClient
const *)arg1
)->screen();
3451 resultobj
= PyInt_FromLong((long)result
);
3458 static PyObject
*_wrap_OBClient_window(PyObject
*self
, PyObject
*args
) {
3459 PyObject
*resultobj
;
3460 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3462 PyObject
* obj0
= 0 ;
3464 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_window",&obj0
)) goto fail
;
3465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3466 result
= (Window
)((ob::OBClient
const *)arg1
)->window();
3468 resultobj
= PyInt_FromLong((long)result
);
3475 static PyObject
*_wrap_OBClient_type(PyObject
*self
, PyObject
*args
) {
3476 PyObject
*resultobj
;
3477 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3479 PyObject
* obj0
= 0 ;
3481 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_type",&obj0
)) goto fail
;
3482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3483 result
= (int)((ob::OBClient
const *)arg1
)->type();
3485 resultobj
= PyInt_FromLong((long)result
);
3492 static PyObject
*_wrap_OBClient_normal(PyObject
*self
, PyObject
*args
) {
3493 PyObject
*resultobj
;
3494 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3496 PyObject
* obj0
= 0 ;
3498 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_normal",&obj0
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3500 result
= (bool)((ob::OBClient
const *)arg1
)->normal();
3502 resultobj
= PyInt_FromLong((long)result
);
3509 static PyObject
*_wrap_OBClient_desktop(PyObject
*self
, PyObject
*args
) {
3510 PyObject
*resultobj
;
3511 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3513 PyObject
* obj0
= 0 ;
3515 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_desktop",&obj0
)) goto fail
;
3516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3517 result
= (long)((ob::OBClient
const *)arg1
)->desktop();
3519 resultobj
= PyInt_FromLong((long)result
);
3526 static PyObject
*_wrap_OBClient_title(PyObject
*self
, PyObject
*args
) {
3527 PyObject
*resultobj
;
3528 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3529 std::string
*result
;
3530 PyObject
* obj0
= 0 ;
3532 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_title",&obj0
)) goto fail
;
3533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3535 std::string
const &_result_ref
= ((ob::OBClient
const *)arg1
)->title();
3536 result
= (std::string
*) &_result_ref
;
3540 resultobj
= PyString_FromString(result
->c_str());
3548 static PyObject
*_wrap_OBClient_iconTitle(PyObject
*self
, PyObject
*args
) {
3549 PyObject
*resultobj
;
3550 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3551 std::string
*result
;
3552 PyObject
* obj0
= 0 ;
3554 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_iconTitle",&obj0
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3557 std::string
const &_result_ref
= ((ob::OBClient
const *)arg1
)->iconTitle();
3558 result
= (std::string
*) &_result_ref
;
3562 resultobj
= PyString_FromString(result
->c_str());
3570 static PyObject
*_wrap_OBClient_appName(PyObject
*self
, PyObject
*args
) {
3571 PyObject
*resultobj
;
3572 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3573 std::string
*result
;
3574 PyObject
* obj0
= 0 ;
3576 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_appName",&obj0
)) goto fail
;
3577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3579 std::string
const &_result_ref
= ((ob::OBClient
const *)arg1
)->appName();
3580 result
= (std::string
*) &_result_ref
;
3584 resultobj
= PyString_FromString(result
->c_str());
3592 static PyObject
*_wrap_OBClient_appClass(PyObject
*self
, PyObject
*args
) {
3593 PyObject
*resultobj
;
3594 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3595 std::string
*result
;
3596 PyObject
* obj0
= 0 ;
3598 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_appClass",&obj0
)) goto fail
;
3599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3601 std::string
const &_result_ref
= ((ob::OBClient
const *)arg1
)->appClass();
3602 result
= (std::string
*) &_result_ref
;
3606 resultobj
= PyString_FromString(result
->c_str());
3614 static PyObject
*_wrap_OBClient_role(PyObject
*self
, PyObject
*args
) {
3615 PyObject
*resultobj
;
3616 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3617 std::string
*result
;
3618 PyObject
* obj0
= 0 ;
3620 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_role",&obj0
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3623 std::string
const &_result_ref
= ((ob::OBClient
const *)arg1
)->role();
3624 result
= (std::string
*) &_result_ref
;
3628 resultobj
= PyString_FromString(result
->c_str());
3636 static PyObject
*_wrap_OBClient_canFocus(PyObject
*self
, PyObject
*args
) {
3637 PyObject
*resultobj
;
3638 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3640 PyObject
* obj0
= 0 ;
3642 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_canFocus",&obj0
)) goto fail
;
3643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3644 result
= (bool)((ob::OBClient
const *)arg1
)->canFocus();
3646 resultobj
= PyInt_FromLong((long)result
);
3653 static PyObject
*_wrap_OBClient_urgent(PyObject
*self
, PyObject
*args
) {
3654 PyObject
*resultobj
;
3655 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3657 PyObject
* obj0
= 0 ;
3659 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_urgent",&obj0
)) goto fail
;
3660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3661 result
= (bool)((ob::OBClient
const *)arg1
)->urgent();
3663 resultobj
= PyInt_FromLong((long)result
);
3670 static PyObject
*_wrap_OBClient_focusNotify(PyObject
*self
, PyObject
*args
) {
3671 PyObject
*resultobj
;
3672 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3674 PyObject
* obj0
= 0 ;
3676 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_focusNotify",&obj0
)) goto fail
;
3677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3678 result
= (bool)((ob::OBClient
const *)arg1
)->focusNotify();
3680 resultobj
= PyInt_FromLong((long)result
);
3687 static PyObject
*_wrap_OBClient_shaped(PyObject
*self
, PyObject
*args
) {
3688 PyObject
*resultobj
;
3689 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3691 PyObject
* obj0
= 0 ;
3693 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_shaped",&obj0
)) goto fail
;
3694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3695 result
= (bool)((ob::OBClient
const *)arg1
)->shaped();
3697 resultobj
= PyInt_FromLong((long)result
);
3704 static PyObject
*_wrap_OBClient_gravity(PyObject
*self
, PyObject
*args
) {
3705 PyObject
*resultobj
;
3706 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3710 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_gravity",&obj0
)) goto fail
;
3711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3712 result
= (int)((ob::OBClient
const *)arg1
)->gravity();
3714 resultobj
= PyInt_FromLong((long)result
);
3721 static PyObject
*_wrap_OBClient_positionRequested(PyObject
*self
, PyObject
*args
) {
3722 PyObject
*resultobj
;
3723 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3725 PyObject
* obj0
= 0 ;
3727 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_positionRequested",&obj0
)) goto fail
;
3728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3729 result
= (bool)((ob::OBClient
const *)arg1
)->positionRequested();
3731 resultobj
= PyInt_FromLong((long)result
);
3738 static PyObject
*_wrap_OBClient_decorations(PyObject
*self
, PyObject
*args
) {
3739 PyObject
*resultobj
;
3740 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3741 ob::OBClient::DecorationFlags result
;
3742 PyObject
* obj0
= 0 ;
3744 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_decorations",&obj0
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3746 result
= (ob::OBClient::DecorationFlags
)((ob::OBClient
const *)arg1
)->decorations();
3748 resultobj
= PyInt_FromLong((long)result
);
3755 static PyObject
*_wrap_OBClient_funtions(PyObject
*self
, PyObject
*args
) {
3756 PyObject
*resultobj
;
3757 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3758 ob::OBClient::FunctionFlags result
;
3759 PyObject
* obj0
= 0 ;
3761 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_funtions",&obj0
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3763 result
= (ob::OBClient::FunctionFlags
)((ob::OBClient
const *)arg1
)->funtions();
3765 resultobj
= PyInt_FromLong((long)result
);
3772 static PyObject
*_wrap_OBClient_transientFor(PyObject
*self
, PyObject
*args
) {
3773 PyObject
*resultobj
;
3774 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3775 ob::OBClient
*result
;
3776 PyObject
* obj0
= 0 ;
3778 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_transientFor",&obj0
)) goto fail
;
3779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3780 result
= (ob::OBClient
*)((ob::OBClient
const *)arg1
)->transientFor();
3782 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
3789 static PyObject
*_wrap_OBClient_modal(PyObject
*self
, PyObject
*args
) {
3790 PyObject
*resultobj
;
3791 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3795 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_modal",&obj0
)) goto fail
;
3796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3797 result
= (bool)((ob::OBClient
const *)arg1
)->modal();
3799 resultobj
= PyInt_FromLong((long)result
);
3806 static PyObject
*_wrap_OBClient_shaded(PyObject
*self
, PyObject
*args
) {
3807 PyObject
*resultobj
;
3808 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3810 PyObject
* obj0
= 0 ;
3812 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_shaded",&obj0
)) goto fail
;
3813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3814 result
= (bool)((ob::OBClient
const *)arg1
)->shaded();
3816 resultobj
= PyInt_FromLong((long)result
);
3823 static PyObject
*_wrap_OBClient_iconic(PyObject
*self
, PyObject
*args
) {
3824 PyObject
*resultobj
;
3825 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3829 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_iconic",&obj0
)) goto fail
;
3830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3831 result
= (bool)((ob::OBClient
const *)arg1
)->iconic();
3833 resultobj
= PyInt_FromLong((long)result
);
3840 static PyObject
*_wrap_OBClient_maxVert(PyObject
*self
, PyObject
*args
) {
3841 PyObject
*resultobj
;
3842 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3844 PyObject
* obj0
= 0 ;
3846 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_maxVert",&obj0
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3848 result
= (bool)((ob::OBClient
const *)arg1
)->maxVert();
3850 resultobj
= PyInt_FromLong((long)result
);
3857 static PyObject
*_wrap_OBClient_maxHorz(PyObject
*self
, PyObject
*args
) {
3858 PyObject
*resultobj
;
3859 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3861 PyObject
* obj0
= 0 ;
3863 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_maxHorz",&obj0
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3865 result
= (bool)((ob::OBClient
const *)arg1
)->maxHorz();
3867 resultobj
= PyInt_FromLong((long)result
);
3874 static PyObject
*_wrap_OBClient_layer(PyObject
*self
, PyObject
*args
) {
3875 PyObject
*resultobj
;
3876 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3878 PyObject
* obj0
= 0 ;
3880 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_layer",&obj0
)) goto fail
;
3881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3882 result
= (int)((ob::OBClient
const *)arg1
)->layer();
3884 resultobj
= PyInt_FromLong((long)result
);
3891 static PyObject
*_wrap_OBClient_toggleClientBorder(PyObject
*self
, PyObject
*args
) {
3892 PyObject
*resultobj
;
3893 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3895 PyObject
* obj0
= 0 ;
3896 PyObject
* obj1
= 0 ;
3898 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_toggleClientBorder",&obj0
,&obj1
)) goto fail
;
3899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3900 arg2
= (bool) PyInt_AsLong(obj1
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3902 (arg1
)->toggleClientBorder(arg2
);
3904 Py_INCREF(Py_None
); resultobj
= Py_None
;
3911 static PyObject
*_wrap_OBClient_area(PyObject
*self
, PyObject
*args
) {
3912 PyObject
*resultobj
;
3913 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3915 PyObject
* obj0
= 0 ;
3917 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_area",&obj0
)) goto fail
;
3918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3920 otk::Rect
const &_result_ref
= ((ob::OBClient
const *)arg1
)->area();
3921 result
= (otk::Rect
*) &_result_ref
;
3924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
3931 static PyObject
*_wrap_OBClient_strut(PyObject
*self
, PyObject
*args
) {
3932 PyObject
*resultobj
;
3933 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3937 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_strut",&obj0
)) goto fail
;
3938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3940 otk::Strut
const &_result_ref
= ((ob::OBClient
const *)arg1
)->strut();
3941 result
= (otk::Strut
*) &_result_ref
;
3944 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 0);
3951 static PyObject
*_wrap_OBClient_move(PyObject
*self
, PyObject
*args
) {
3952 PyObject
*resultobj
;
3953 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3956 PyObject
* obj0
= 0 ;
3958 if(!PyArg_ParseTuple(args
,(char *)"Oii:OBClient_move",&obj0
,&arg2
,&arg3
)) goto fail
;
3959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3960 (arg1
)->move(arg2
,arg3
);
3962 Py_INCREF(Py_None
); resultobj
= Py_None
;
3969 static PyObject
*_wrap_OBClient_resize(PyObject
*self
, PyObject
*args
) {
3970 PyObject
*resultobj
;
3971 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3975 int arg5
= (int) INT_MIN
;
3976 int arg6
= (int) INT_MIN
;
3977 PyObject
* obj0
= 0 ;
3979 if(!PyArg_ParseTuple(args
,(char *)"Oiii|ii:OBClient_resize",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
3980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3981 (arg1
)->resize((ob::OBClient::Corner
)arg2
,arg3
,arg4
,arg5
,arg6
);
3983 Py_INCREF(Py_None
); resultobj
= Py_None
;
3990 static PyObject
*_wrap_OBClient_focus(PyObject
*self
, PyObject
*args
) {
3991 PyObject
*resultobj
;
3992 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
3994 PyObject
* obj0
= 0 ;
3996 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_focus",&obj0
)) goto fail
;
3997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3998 result
= (bool)((ob::OBClient
const *)arg1
)->focus();
4000 resultobj
= PyInt_FromLong((long)result
);
4007 static PyObject
*_wrap_OBClient_unfocus(PyObject
*self
, PyObject
*args
) {
4008 PyObject
*resultobj
;
4009 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
4010 PyObject
* obj0
= 0 ;
4012 if(!PyArg_ParseTuple(args
,(char *)"O:OBClient_unfocus",&obj0
)) goto fail
;
4013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4014 ((ob::OBClient
const *)arg1
)->unfocus();
4016 Py_INCREF(Py_None
); resultobj
= Py_None
;
4023 static PyObject
*_wrap_OBClient_focusHandler(PyObject
*self
, PyObject
*args
) {
4024 PyObject
*resultobj
;
4025 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
4026 XFocusChangeEvent
*arg2
= 0 ;
4027 PyObject
* obj0
= 0 ;
4028 PyObject
* obj1
= 0 ;
4030 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_focusHandler",&obj0
,&obj1
)) goto fail
;
4031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4032 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4034 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4036 (arg1
)->focusHandler((XFocusChangeEvent
const &)*arg2
);
4038 Py_INCREF(Py_None
); resultobj
= Py_None
;
4045 static PyObject
*_wrap_OBClient_unfocusHandler(PyObject
*self
, PyObject
*args
) {
4046 PyObject
*resultobj
;
4047 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
4048 XFocusChangeEvent
*arg2
= 0 ;
4049 PyObject
* obj0
= 0 ;
4050 PyObject
* obj1
= 0 ;
4052 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_unfocusHandler",&obj0
,&obj1
)) goto fail
;
4053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4054 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4056 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4058 (arg1
)->unfocusHandler((XFocusChangeEvent
const &)*arg2
);
4060 Py_INCREF(Py_None
); resultobj
= Py_None
;
4067 static PyObject
*_wrap_OBClient_propertyHandler(PyObject
*self
, PyObject
*args
) {
4068 PyObject
*resultobj
;
4069 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
4070 XPropertyEvent
*arg2
= 0 ;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4074 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_propertyHandler",&obj0
,&obj1
)) goto fail
;
4075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4080 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
4082 Py_INCREF(Py_None
); resultobj
= Py_None
;
4089 static PyObject
*_wrap_OBClient_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
4090 PyObject
*resultobj
;
4091 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
4092 XClientMessageEvent
*arg2
= 0 ;
4093 PyObject
* obj0
= 0 ;
4094 PyObject
* obj1
= 0 ;
4096 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
4097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4100 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4102 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
4104 Py_INCREF(Py_None
); resultobj
= Py_None
;
4111 static PyObject
*_wrap_OBClient_configureRequestHandler(PyObject
*self
, PyObject
*args
) {
4112 PyObject
*resultobj
;
4113 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
4114 XConfigureRequestEvent
*arg2
= 0 ;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4118 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_configureRequestHandler",&obj0
,&obj1
)) goto fail
;
4119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4124 (arg1
)->configureRequestHandler((XConfigureRequestEvent
const &)*arg2
);
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_OBClient_unmapHandler(PyObject
*self
, PyObject
*args
) {
4134 PyObject
*resultobj
;
4135 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
4136 XUnmapEvent
*arg2
= 0 ;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4140 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_unmapHandler",&obj0
,&obj1
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XUnmapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4146 (arg1
)->unmapHandler((XUnmapEvent
const &)*arg2
);
4148 Py_INCREF(Py_None
); resultobj
= Py_None
;
4155 static PyObject
*_wrap_OBClient_destroyHandler(PyObject
*self
, PyObject
*args
) {
4156 PyObject
*resultobj
;
4157 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
4158 XDestroyWindowEvent
*arg2
= 0 ;
4159 PyObject
* obj0
= 0 ;
4160 PyObject
* obj1
= 0 ;
4162 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_destroyHandler",&obj0
,&obj1
)) goto fail
;
4163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XDestroyWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4166 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4168 (arg1
)->destroyHandler((XDestroyWindowEvent
const &)*arg2
);
4170 Py_INCREF(Py_None
); resultobj
= Py_None
;
4177 static PyObject
*_wrap_OBClient_reparentHandler(PyObject
*self
, PyObject
*args
) {
4178 PyObject
*resultobj
;
4179 ob::OBClient
*arg1
= (ob::OBClient
*) 0 ;
4180 XReparentEvent
*arg2
= 0 ;
4181 PyObject
* obj0
= 0 ;
4182 PyObject
* obj1
= 0 ;
4184 if(!PyArg_ParseTuple(args
,(char *)"OO:OBClient_reparentHandler",&obj0
,&obj1
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4186 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XReparentEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4188 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4190 (arg1
)->reparentHandler((XReparentEvent
const &)*arg2
);
4192 Py_INCREF(Py_None
); resultobj
= Py_None
;
4199 static PyObject
* OBClient_swigregister(PyObject
*self
, PyObject
*args
) {
4201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4202 SWIG_TypeClientData(SWIGTYPE_p_ob__OBClient
, obj
);
4204 return Py_BuildValue((char *)"");
4206 static PyObject
*_wrap_MouseData_screen_set(PyObject
*self
, PyObject
*args
) {
4207 PyObject
*resultobj
;
4208 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_screen_set",&obj0
,&arg2
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4214 if (arg1
) (arg1
)->screen
= arg2
;
4216 Py_INCREF(Py_None
); resultobj
= Py_None
;
4223 static PyObject
*_wrap_MouseData_screen_get(PyObject
*self
, PyObject
*args
) {
4224 PyObject
*resultobj
;
4225 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4227 PyObject
* obj0
= 0 ;
4229 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_screen_get",&obj0
)) goto fail
;
4230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4231 result
= (int) ((arg1
)->screen
);
4233 resultobj
= PyInt_FromLong((long)result
);
4240 static PyObject
*_wrap_MouseData_client_set(PyObject
*self
, PyObject
*args
) {
4241 PyObject
*resultobj
;
4242 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4243 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4247 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_client_set",&obj0
,&obj1
)) goto fail
;
4248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4250 if (arg1
) (arg1
)->client
= arg2
;
4252 Py_INCREF(Py_None
); resultobj
= Py_None
;
4259 static PyObject
*_wrap_MouseData_client_get(PyObject
*self
, PyObject
*args
) {
4260 PyObject
*resultobj
;
4261 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4262 ob::OBClient
*result
;
4263 PyObject
* obj0
= 0 ;
4265 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_client_get",&obj0
)) goto fail
;
4266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4267 result
= (ob::OBClient
*) ((arg1
)->client
);
4269 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
4276 static PyObject
*_wrap_MouseData_time_set(PyObject
*self
, PyObject
*args
) {
4277 PyObject
*resultobj
;
4278 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4280 PyObject
* obj0
= 0 ;
4281 PyObject
* obj1
= 0 ;
4283 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_time_set",&obj0
,&obj1
)) goto fail
;
4284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4285 arg2
= (Time
) PyInt_AsLong(obj1
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4287 if (arg1
) (arg1
)->time
= arg2
;
4289 Py_INCREF(Py_None
); resultobj
= Py_None
;
4296 static PyObject
*_wrap_MouseData_time_get(PyObject
*self
, PyObject
*args
) {
4297 PyObject
*resultobj
;
4298 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4300 PyObject
* obj0
= 0 ;
4302 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_time_get",&obj0
)) goto fail
;
4303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4304 result
= (Time
) ((arg1
)->time
);
4306 resultobj
= PyInt_FromLong((long)result
);
4313 static PyObject
*_wrap_MouseData_state_set(PyObject
*self
, PyObject
*args
) {
4314 PyObject
*resultobj
;
4315 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4317 PyObject
* obj0
= 0 ;
4318 PyObject
* obj1
= 0 ;
4320 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_state_set",&obj0
,&obj1
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4322 arg2
= (unsigned int) PyInt_AsLong(obj1
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4324 if (arg1
) (arg1
)->state
= arg2
;
4326 Py_INCREF(Py_None
); resultobj
= Py_None
;
4333 static PyObject
*_wrap_MouseData_state_get(PyObject
*self
, PyObject
*args
) {
4334 PyObject
*resultobj
;
4335 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4336 unsigned int result
;
4337 PyObject
* obj0
= 0 ;
4339 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_state_get",&obj0
)) goto fail
;
4340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4341 result
= (unsigned int) ((arg1
)->state
);
4343 resultobj
= PyInt_FromLong((long)result
);
4350 static PyObject
*_wrap_MouseData_button_set(PyObject
*self
, PyObject
*args
) {
4351 PyObject
*resultobj
;
4352 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_button_set",&obj0
,&obj1
)) goto fail
;
4358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4359 arg2
= (unsigned int) PyInt_AsLong(obj1
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4361 if (arg1
) (arg1
)->button
= arg2
;
4363 Py_INCREF(Py_None
); resultobj
= Py_None
;
4370 static PyObject
*_wrap_MouseData_button_get(PyObject
*self
, PyObject
*args
) {
4371 PyObject
*resultobj
;
4372 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4373 unsigned int result
;
4374 PyObject
* obj0
= 0 ;
4376 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_button_get",&obj0
)) goto fail
;
4377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4378 result
= (unsigned int) ((arg1
)->button
);
4380 resultobj
= PyInt_FromLong((long)result
);
4387 static PyObject
*_wrap_MouseData_context_set(PyObject
*self
, PyObject
*args
) {
4388 PyObject
*resultobj
;
4389 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4393 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_context_set",&obj0
,&arg2
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4395 if (arg1
) (arg1
)->context
= (ob::MouseContext
)arg2
;
4397 Py_INCREF(Py_None
); resultobj
= Py_None
;
4404 static PyObject
*_wrap_MouseData_context_get(PyObject
*self
, PyObject
*args
) {
4405 PyObject
*resultobj
;
4406 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4408 PyObject
* obj0
= 0 ;
4410 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_context_get",&obj0
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4412 result
= (int) ((arg1
)->context
);
4414 resultobj
= PyInt_FromLong((long)result
);
4421 static PyObject
*_wrap_MouseData_action_set(PyObject
*self
, PyObject
*args
) {
4422 PyObject
*resultobj
;
4423 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4425 PyObject
* obj0
= 0 ;
4427 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_action_set",&obj0
,&arg2
)) goto fail
;
4428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4429 if (arg1
) (arg1
)->action
= (ob::MouseAction
)arg2
;
4431 Py_INCREF(Py_None
); resultobj
= Py_None
;
4438 static PyObject
*_wrap_MouseData_action_get(PyObject
*self
, PyObject
*args
) {
4439 PyObject
*resultobj
;
4440 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4444 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_action_get",&obj0
)) goto fail
;
4445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4446 result
= (int) ((arg1
)->action
);
4448 resultobj
= PyInt_FromLong((long)result
);
4455 static PyObject
*_wrap_MouseData_xroot_set(PyObject
*self
, PyObject
*args
) {
4456 PyObject
*resultobj
;
4457 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4461 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_xroot_set",&obj0
,&arg2
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4463 if (arg1
) (arg1
)->xroot
= arg2
;
4465 Py_INCREF(Py_None
); resultobj
= Py_None
;
4472 static PyObject
*_wrap_MouseData_xroot_get(PyObject
*self
, PyObject
*args
) {
4473 PyObject
*resultobj
;
4474 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4476 PyObject
* obj0
= 0 ;
4478 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_xroot_get",&obj0
)) goto fail
;
4479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4480 result
= (int) ((arg1
)->xroot
);
4482 resultobj
= PyInt_FromLong((long)result
);
4489 static PyObject
*_wrap_MouseData_yroot_set(PyObject
*self
, PyObject
*args
) {
4490 PyObject
*resultobj
;
4491 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4493 PyObject
* obj0
= 0 ;
4495 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_yroot_set",&obj0
,&arg2
)) goto fail
;
4496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4497 if (arg1
) (arg1
)->yroot
= arg2
;
4499 Py_INCREF(Py_None
); resultobj
= Py_None
;
4506 static PyObject
*_wrap_MouseData_yroot_get(PyObject
*self
, PyObject
*args
) {
4507 PyObject
*resultobj
;
4508 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4512 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_yroot_get",&obj0
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4514 result
= (int) ((arg1
)->yroot
);
4516 resultobj
= PyInt_FromLong((long)result
);
4523 static PyObject
*_wrap_MouseData_pressx_set(PyObject
*self
, PyObject
*args
) {
4524 PyObject
*resultobj
;
4525 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4527 PyObject
* obj0
= 0 ;
4529 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_pressx_set",&obj0
,&arg2
)) goto fail
;
4530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4531 if (arg1
) (arg1
)->pressx
= arg2
;
4533 Py_INCREF(Py_None
); resultobj
= Py_None
;
4540 static PyObject
*_wrap_MouseData_pressx_get(PyObject
*self
, PyObject
*args
) {
4541 PyObject
*resultobj
;
4542 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4544 PyObject
* obj0
= 0 ;
4546 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_pressx_get",&obj0
)) goto fail
;
4547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4548 result
= (int) ((arg1
)->pressx
);
4550 resultobj
= PyInt_FromLong((long)result
);
4557 static PyObject
*_wrap_MouseData_pressy_set(PyObject
*self
, PyObject
*args
) {
4558 PyObject
*resultobj
;
4559 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4561 PyObject
* obj0
= 0 ;
4563 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_pressy_set",&obj0
,&arg2
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4565 if (arg1
) (arg1
)->pressy
= arg2
;
4567 Py_INCREF(Py_None
); resultobj
= Py_None
;
4574 static PyObject
*_wrap_MouseData_pressy_get(PyObject
*self
, PyObject
*args
) {
4575 PyObject
*resultobj
;
4576 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4578 PyObject
* obj0
= 0 ;
4580 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_pressy_get",&obj0
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4582 result
= (int) ((arg1
)->pressy
);
4584 resultobj
= PyInt_FromLong((long)result
);
4591 static PyObject
*_wrap_MouseData_press_clientx_set(PyObject
*self
, PyObject
*args
) {
4592 PyObject
*resultobj
;
4593 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4595 PyObject
* obj0
= 0 ;
4597 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientx_set",&obj0
,&arg2
)) goto fail
;
4598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4599 if (arg1
) (arg1
)->press_clientx
= arg2
;
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4608 static PyObject
*_wrap_MouseData_press_clientx_get(PyObject
*self
, PyObject
*args
) {
4609 PyObject
*resultobj
;
4610 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4614 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientx_get",&obj0
)) goto fail
;
4615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4616 result
= (int) ((arg1
)->press_clientx
);
4618 resultobj
= PyInt_FromLong((long)result
);
4625 static PyObject
*_wrap_MouseData_press_clienty_set(PyObject
*self
, PyObject
*args
) {
4626 PyObject
*resultobj
;
4627 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4629 PyObject
* obj0
= 0 ;
4631 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clienty_set",&obj0
,&arg2
)) goto fail
;
4632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4633 if (arg1
) (arg1
)->press_clienty
= arg2
;
4635 Py_INCREF(Py_None
); resultobj
= Py_None
;
4642 static PyObject
*_wrap_MouseData_press_clienty_get(PyObject
*self
, PyObject
*args
) {
4643 PyObject
*resultobj
;
4644 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4646 PyObject
* obj0
= 0 ;
4648 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clienty_get",&obj0
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4650 result
= (int) ((arg1
)->press_clienty
);
4652 resultobj
= PyInt_FromLong((long)result
);
4659 static PyObject
*_wrap_MouseData_press_clientwidth_set(PyObject
*self
, PyObject
*args
) {
4660 PyObject
*resultobj
;
4661 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4665 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientwidth_set",&obj0
,&arg2
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4667 if (arg1
) (arg1
)->press_clientwidth
= arg2
;
4669 Py_INCREF(Py_None
); resultobj
= Py_None
;
4676 static PyObject
*_wrap_MouseData_press_clientwidth_get(PyObject
*self
, PyObject
*args
) {
4677 PyObject
*resultobj
;
4678 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4680 PyObject
* obj0
= 0 ;
4682 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientwidth_get",&obj0
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4684 result
= (int) ((arg1
)->press_clientwidth
);
4686 resultobj
= PyInt_FromLong((long)result
);
4693 static PyObject
*_wrap_MouseData_press_clientheight_set(PyObject
*self
, PyObject
*args
) {
4694 PyObject
*resultobj
;
4695 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4699 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientheight_set",&obj0
,&arg2
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4701 if (arg1
) (arg1
)->press_clientheight
= arg2
;
4703 Py_INCREF(Py_None
); resultobj
= Py_None
;
4710 static PyObject
*_wrap_MouseData_press_clientheight_get(PyObject
*self
, PyObject
*args
) {
4711 PyObject
*resultobj
;
4712 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
4714 PyObject
* obj0
= 0 ;
4716 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientheight_get",&obj0
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4718 result
= (int) ((arg1
)->press_clientheight
);
4720 resultobj
= PyInt_FromLong((long)result
);
4727 static PyObject
*_wrap_new_MouseData__SWIG_0(PyObject
*self
, PyObject
*args
) {
4728 PyObject
*resultobj
;
4730 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
4738 otk::Point
*arg10
= 0 ;
4739 otk::Rect
*arg11
= 0 ;
4740 ob::MouseData
*result
;
4741 PyObject
* obj1
= 0 ;
4742 PyObject
* obj2
= 0 ;
4743 PyObject
* obj3
= 0 ;
4744 PyObject
* obj4
= 0 ;
4745 PyObject
* obj9
= 0 ;
4746 PyObject
* obj10
= 0 ;
4748 if(!PyArg_ParseTuple(args
,(char *)"iOOOOiiiiOO:new_MouseData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
,&obj10
)) goto fail
;
4749 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4750 arg3
= (Time
) PyInt_AsLong(obj2
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4752 arg4
= (unsigned int) PyInt_AsLong(obj3
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4754 arg5
= (unsigned int) PyInt_AsLong(obj4
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4756 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4757 if (arg10
== NULL
) {
4758 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4760 if ((SWIG_ConvertPtr(obj10
,(void **) &arg11
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4761 if (arg11
== NULL
) {
4762 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4764 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
);
4766 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__MouseData
, 1);
4773 static PyObject
*_wrap_new_MouseData__SWIG_1(PyObject
*self
, PyObject
*args
) {
4774 PyObject
*resultobj
;
4776 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
4782 ob::MouseData
*result
;
4783 PyObject
* obj1
= 0 ;
4784 PyObject
* obj2
= 0 ;
4785 PyObject
* obj3
= 0 ;
4786 PyObject
* obj4
= 0 ;
4788 if(!PyArg_ParseTuple(args
,(char *)"iOOOOii:new_MouseData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
)) goto fail
;
4789 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4790 arg3
= (Time
) PyInt_AsLong(obj2
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4792 arg4
= (unsigned int) PyInt_AsLong(obj3
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4794 arg5
= (unsigned int) PyInt_AsLong(obj4
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4796 result
= (ob::MouseData
*)new ob::MouseData(arg1
,arg2
,arg3
,arg4
,arg5
,(ob::MouseContext
)arg6
,(ob::MouseAction
)arg7
);
4798 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__MouseData
, 1);
4805 static PyObject
*_wrap_new_MouseData(PyObject
*self
, PyObject
*args
) {
4810 argc
= PyObject_Length(args
);
4811 for (ii
= 0; (ii
< argc
) && (ii
< 11); ii
++) {
4812 argv
[ii
] = PyTuple_GetItem(args
,ii
);
4817 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4822 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_ob__OBClient
, 0) == -1) {
4831 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4835 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
4839 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
4843 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
4847 _v
= (PyInt_Check(argv
[6]) || PyLong_Check(argv
[6])) ? 1 : 0;
4850 return _wrap_new_MouseData__SWIG_1(self
,args
);
4862 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4867 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_ob__OBClient
, 0) == -1) {
4876 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4880 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
4884 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
4888 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
4892 _v
= (PyInt_Check(argv
[6]) || PyLong_Check(argv
[6])) ? 1 : 0;
4896 _v
= (PyInt_Check(argv
[7]) || PyLong_Check(argv
[7])) ? 1 : 0;
4900 _v
= (PyInt_Check(argv
[8]) || PyLong_Check(argv
[8])) ? 1 : 0;
4905 if (SWIG_ConvertPtr(argv
[9], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
4915 if (SWIG_ConvertPtr(argv
[10], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
4923 return _wrap_new_MouseData__SWIG_0(self
,args
);
4937 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_MouseData'");
4942 static PyObject
* MouseData_swigregister(PyObject
*self
, PyObject
*args
) {
4944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4945 SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData
, obj
);
4947 return Py_BuildValue((char *)"");
4949 static PyObject
*_wrap_EventData_screen_set(PyObject
*self
, PyObject
*args
) {
4950 PyObject
*resultobj
;
4951 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
4953 PyObject
* obj0
= 0 ;
4955 if(!PyArg_ParseTuple(args
,(char *)"Oi:EventData_screen_set",&obj0
,&arg2
)) goto fail
;
4956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4957 if (arg1
) (arg1
)->screen
= arg2
;
4959 Py_INCREF(Py_None
); resultobj
= Py_None
;
4966 static PyObject
*_wrap_EventData_screen_get(PyObject
*self
, PyObject
*args
) {
4967 PyObject
*resultobj
;
4968 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4972 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_screen_get",&obj0
)) goto fail
;
4973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4974 result
= (int) ((arg1
)->screen
);
4976 resultobj
= PyInt_FromLong((long)result
);
4983 static PyObject
*_wrap_EventData_client_set(PyObject
*self
, PyObject
*args
) {
4984 PyObject
*resultobj
;
4985 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
4986 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4990 if(!PyArg_ParseTuple(args
,(char *)"OO:EventData_client_set",&obj0
,&obj1
)) goto fail
;
4991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4993 if (arg1
) (arg1
)->client
= arg2
;
4995 Py_INCREF(Py_None
); resultobj
= Py_None
;
5002 static PyObject
*_wrap_EventData_client_get(PyObject
*self
, PyObject
*args
) {
5003 PyObject
*resultobj
;
5004 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
5005 ob::OBClient
*result
;
5006 PyObject
* obj0
= 0 ;
5008 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_client_get",&obj0
)) goto fail
;
5009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5010 result
= (ob::OBClient
*) ((arg1
)->client
);
5012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
5019 static PyObject
*_wrap_EventData_state_set(PyObject
*self
, PyObject
*args
) {
5020 PyObject
*resultobj
;
5021 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5026 if(!PyArg_ParseTuple(args
,(char *)"OO:EventData_state_set",&obj0
,&obj1
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5028 arg2
= (unsigned int) PyInt_AsLong(obj1
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5030 if (arg1
) (arg1
)->state
= arg2
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_EventData_state_get(PyObject
*self
, PyObject
*args
) {
5040 PyObject
*resultobj
;
5041 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
5042 unsigned int result
;
5043 PyObject
* obj0
= 0 ;
5045 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_state_get",&obj0
)) goto fail
;
5046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5047 result
= (unsigned int) ((arg1
)->state
);
5049 resultobj
= PyInt_FromLong((long)result
);
5056 static PyObject
*_wrap_EventData_action_set(PyObject
*self
, PyObject
*args
) {
5057 PyObject
*resultobj
;
5058 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5062 if(!PyArg_ParseTuple(args
,(char *)"Oi:EventData_action_set",&obj0
,&arg2
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5064 if (arg1
) (arg1
)->action
= (ob::EventAction
)arg2
;
5066 Py_INCREF(Py_None
); resultobj
= Py_None
;
5073 static PyObject
*_wrap_EventData_action_get(PyObject
*self
, PyObject
*args
) {
5074 PyObject
*resultobj
;
5075 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
5077 PyObject
* obj0
= 0 ;
5079 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_action_get",&obj0
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5081 result
= (int) ((arg1
)->action
);
5083 resultobj
= PyInt_FromLong((long)result
);
5090 static PyObject
*_wrap_new_EventData(PyObject
*self
, PyObject
*args
) {
5091 PyObject
*resultobj
;
5093 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
5096 ob::EventData
*result
;
5097 PyObject
* obj1
= 0 ;
5098 PyObject
* obj3
= 0 ;
5100 if(!PyArg_ParseTuple(args
,(char *)"iOiO:new_EventData",&arg1
,&obj1
,&arg3
,&obj3
)) goto fail
;
5101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5102 arg4
= (unsigned int) PyInt_AsLong(obj3
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5104 result
= (ob::EventData
*)new ob::EventData(arg1
,arg2
,(ob::EventAction
)arg3
,arg4
);
5106 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__EventData
, 1);
5113 static PyObject
* EventData_swigregister(PyObject
*self
, PyObject
*args
) {
5115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5116 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData
, obj
);
5118 return Py_BuildValue((char *)"");
5120 static PyObject
*_wrap_KeyData_screen_set(PyObject
*self
, PyObject
*args
) {
5121 PyObject
*resultobj
;
5122 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
5124 PyObject
* obj0
= 0 ;
5126 if(!PyArg_ParseTuple(args
,(char *)"Oi:KeyData_screen_set",&obj0
,&arg2
)) goto fail
;
5127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5128 if (arg1
) (arg1
)->screen
= arg2
;
5130 Py_INCREF(Py_None
); resultobj
= Py_None
;
5137 static PyObject
*_wrap_KeyData_screen_get(PyObject
*self
, PyObject
*args
) {
5138 PyObject
*resultobj
;
5139 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
5141 PyObject
* obj0
= 0 ;
5143 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_screen_get",&obj0
)) goto fail
;
5144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5145 result
= (int) ((arg1
)->screen
);
5147 resultobj
= PyInt_FromLong((long)result
);
5154 static PyObject
*_wrap_KeyData_client_set(PyObject
*self
, PyObject
*args
) {
5155 PyObject
*resultobj
;
5156 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
5157 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
5158 PyObject
* obj0
= 0 ;
5159 PyObject
* obj1
= 0 ;
5161 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_client_set",&obj0
,&obj1
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5163 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5164 if (arg1
) (arg1
)->client
= arg2
;
5166 Py_INCREF(Py_None
); resultobj
= Py_None
;
5173 static PyObject
*_wrap_KeyData_client_get(PyObject
*self
, PyObject
*args
) {
5174 PyObject
*resultobj
;
5175 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
5176 ob::OBClient
*result
;
5177 PyObject
* obj0
= 0 ;
5179 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_client_get",&obj0
)) goto fail
;
5180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5181 result
= (ob::OBClient
*) ((arg1
)->client
);
5183 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__OBClient
, 0);
5190 static PyObject
*_wrap_KeyData_time_set(PyObject
*self
, PyObject
*args
) {
5191 PyObject
*resultobj
;
5192 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5195 PyObject
* obj1
= 0 ;
5197 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_time_set",&obj0
,&obj1
)) goto fail
;
5198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5199 arg2
= (Time
) PyInt_AsLong(obj1
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5201 if (arg1
) (arg1
)->time
= arg2
;
5203 Py_INCREF(Py_None
); resultobj
= Py_None
;
5210 static PyObject
*_wrap_KeyData_time_get(PyObject
*self
, PyObject
*args
) {
5211 PyObject
*resultobj
;
5212 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5216 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_time_get",&obj0
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5218 result
= (Time
) ((arg1
)->time
);
5220 resultobj
= PyInt_FromLong((long)result
);
5227 static PyObject
*_wrap_KeyData_state_set(PyObject
*self
, PyObject
*args
) {
5228 PyObject
*resultobj
;
5229 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5232 PyObject
* obj1
= 0 ;
5234 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_state_set",&obj0
,&obj1
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5236 arg2
= (unsigned int) PyInt_AsLong(obj1
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5238 if (arg1
) (arg1
)->state
= arg2
;
5240 Py_INCREF(Py_None
); resultobj
= Py_None
;
5247 static PyObject
*_wrap_KeyData_state_get(PyObject
*self
, PyObject
*args
) {
5248 PyObject
*resultobj
;
5249 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
5250 unsigned int result
;
5251 PyObject
* obj0
= 0 ;
5253 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_state_get",&obj0
)) goto fail
;
5254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5255 result
= (unsigned int) ((arg1
)->state
);
5257 resultobj
= PyInt_FromLong((long)result
);
5264 static PyObject
*_wrap_KeyData_key_set(PyObject
*self
, PyObject
*args
) {
5265 PyObject
*resultobj
;
5266 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
5267 std::string
*arg2
= (std::string
*) 0 ;
5268 PyObject
* obj0
= 0 ;
5269 PyObject
* obj1
= 0 ;
5271 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_key_set",&obj0
,&obj1
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_std__string
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5274 if (arg1
) (arg1
)->key
= *arg2
;
5276 Py_INCREF(Py_None
); resultobj
= Py_None
;
5283 static PyObject
*_wrap_KeyData_key_get(PyObject
*self
, PyObject
*args
) {
5284 PyObject
*resultobj
;
5285 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
5286 std::string
*result
;
5287 PyObject
* obj0
= 0 ;
5289 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_key_get",&obj0
)) goto fail
;
5290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5291 result
= (std::string
*)& ((arg1
)->key
);
5293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_std__string
, 0);
5300 static PyObject
*_wrap_new_KeyData(PyObject
*self
, PyObject
*args
) {
5301 PyObject
*resultobj
;
5303 ob::OBClient
*arg2
= (ob::OBClient
*) 0 ;
5307 ob::KeyData
*result
;
5308 PyObject
* obj1
= 0 ;
5309 PyObject
* obj2
= 0 ;
5310 PyObject
* obj3
= 0 ;
5311 PyObject
* obj4
= 0 ;
5313 if(!PyArg_ParseTuple(args
,(char *)"iOOOO:new_KeyData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5314 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__OBClient
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5315 arg3
= (Time
) PyInt_AsLong(obj2
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5317 arg4
= (unsigned int) PyInt_AsLong(obj3
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5319 arg5
= (unsigned int) PyInt_AsLong(obj4
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5321 result
= (ob::KeyData
*)new ob::KeyData(arg1
,arg2
,arg3
,arg4
,arg5
);
5323 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__KeyData
, 1);
5330 static PyObject
* KeyData_swigregister(PyObject
*self
, PyObject
*args
) {
5332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5333 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData
, obj
);
5335 return Py_BuildValue((char *)"");
5337 static PyObject
*_wrap_mbind(PyObject
*self
, PyObject
*args
) {
5338 PyObject
*resultobj
;
5339 std::string
*arg1
= 0 ;
5342 PyObject
*arg4
= (PyObject
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5346 PyObject
* obj3
= 0 ;
5348 if(!PyArg_ParseTuple(args
,(char *)"OiiO:mbind",&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5350 if (PyString_Check(obj0
)) {
5351 temp1
= std::string(PyString_AsString(obj0
));
5354 SWIG_exception(SWIG_TypeError
, "string expected");
5358 result
= (PyObject
*)ob::mbind((std::string
const &)*arg1
,(ob::MouseContext
)arg2
,(ob::MouseAction
)arg3
,arg4
);
5367 static PyObject
*_wrap_kbind(PyObject
*self
, PyObject
*args
) {
5368 PyObject
*resultobj
;
5369 PyObject
*arg1
= (PyObject
*) 0 ;
5371 PyObject
*arg3
= (PyObject
*) 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj2
= 0 ;
5376 if(!PyArg_ParseTuple(args
,(char *)"OiO:kbind",&obj0
,&arg2
,&obj2
)) goto fail
;
5379 result
= (PyObject
*)ob::kbind(arg1
,(ob::KeyContext
)arg2
,arg3
);
5388 static PyObject
*_wrap_ebind(PyObject
*self
, PyObject
*args
) {
5389 PyObject
*resultobj
;
5391 PyObject
*arg2
= (PyObject
*) 0 ;
5393 PyObject
* obj1
= 0 ;
5395 if(!PyArg_ParseTuple(args
,(char *)"iO:ebind",&arg1
,&obj1
)) goto fail
;
5397 result
= (PyObject
*)ob::ebind((ob::EventAction
)arg1
,arg2
);
5406 static PyObject
*_wrap_set_reset_key(PyObject
*self
, PyObject
*args
) {
5407 PyObject
*resultobj
;
5408 std::string
*arg1
= 0 ;
5410 PyObject
* obj0
= 0 ;
5412 if(!PyArg_ParseTuple(args
,(char *)"O:set_reset_key",&obj0
)) goto fail
;
5414 if (PyString_Check(obj0
)) {
5415 temp1
= std::string(PyString_AsString(obj0
));
5418 SWIG_exception(SWIG_TypeError
, "string expected");
5421 ob::set_reset_key((std::string
const &)*arg1
);
5423 Py_INCREF(Py_None
); resultobj
= Py_None
;
5430 static PyObject
*_wrap_send_client_msg(PyObject
*self
, PyObject
*args
) {
5431 PyObject
*resultobj
;
5436 long arg5
= (long) 0 ;
5437 long arg6
= (long) 0 ;
5438 long arg7
= (long) 0 ;
5439 long arg8
= (long) 0 ;
5441 PyObject
* obj0
= 0 ;
5442 PyObject
* obj2
= 0 ;
5444 if(!PyArg_ParseTuple(args
,(char *)"OiOl|llll:send_client_msg",&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
5445 arg1
= (Window
) PyInt_AsLong(obj0
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5447 arg3
= (Window
) PyInt_AsLong(obj2
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5449 result
= (PyObject
*)ob::send_client_msg(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
5458 static PyMethodDef SwigMethods
[] = {
5459 { (char *)"Openbox_instance", _wrap_Openbox_instance
, METH_VARARGS
},
5460 { (char *)"new_Point", _wrap_new_Point
, METH_VARARGS
},
5461 { (char *)"Point_setX", _wrap_Point_setX
, METH_VARARGS
},
5462 { (char *)"Point_x", _wrap_Point_x
, METH_VARARGS
},
5463 { (char *)"Point_setY", _wrap_Point_setY
, METH_VARARGS
},
5464 { (char *)"Point_y", _wrap_Point_y
, METH_VARARGS
},
5465 { (char *)"Point_setPoint", _wrap_Point_setPoint
, METH_VARARGS
},
5466 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
5467 { (char *)"new_Rect", _wrap_new_Rect
, METH_VARARGS
},
5468 { (char *)"Rect_left", _wrap_Rect_left
, METH_VARARGS
},
5469 { (char *)"Rect_top", _wrap_Rect_top
, METH_VARARGS
},
5470 { (char *)"Rect_right", _wrap_Rect_right
, METH_VARARGS
},
5471 { (char *)"Rect_bottom", _wrap_Rect_bottom
, METH_VARARGS
},
5472 { (char *)"Rect_x", _wrap_Rect_x
, METH_VARARGS
},
5473 { (char *)"Rect_y", _wrap_Rect_y
, METH_VARARGS
},
5474 { (char *)"Rect_location", _wrap_Rect_location
, METH_VARARGS
},
5475 { (char *)"Rect_setX", _wrap_Rect_setX
, METH_VARARGS
},
5476 { (char *)"Rect_setY", _wrap_Rect_setY
, METH_VARARGS
},
5477 { (char *)"Rect_setPos", _wrap_Rect_setPos
, METH_VARARGS
},
5478 { (char *)"Rect_width", _wrap_Rect_width
, METH_VARARGS
},
5479 { (char *)"Rect_height", _wrap_Rect_height
, METH_VARARGS
},
5480 { (char *)"Rect_size", _wrap_Rect_size
, METH_VARARGS
},
5481 { (char *)"Rect_setWidth", _wrap_Rect_setWidth
, METH_VARARGS
},
5482 { (char *)"Rect_setHeight", _wrap_Rect_setHeight
, METH_VARARGS
},
5483 { (char *)"Rect_setSize", _wrap_Rect_setSize
, METH_VARARGS
},
5484 { (char *)"Rect_setRect", _wrap_Rect_setRect
, METH_VARARGS
},
5485 { (char *)"Rect_setCoords", _wrap_Rect_setCoords
, METH_VARARGS
},
5486 { (char *)"Rect___eq__", _wrap_Rect___eq__
, METH_VARARGS
},
5487 { (char *)"Rect___ne__", _wrap_Rect___ne__
, METH_VARARGS
},
5488 { (char *)"Rect___or__", _wrap_Rect___or__
, METH_VARARGS
},
5489 { (char *)"Rect___and__", _wrap_Rect___and__
, METH_VARARGS
},
5490 { (char *)"Rect___ior__", _wrap_Rect___ior__
, METH_VARARGS
},
5491 { (char *)"Rect___iand__", _wrap_Rect___iand__
, METH_VARARGS
},
5492 { (char *)"Rect_valid", _wrap_Rect_valid
, METH_VARARGS
},
5493 { (char *)"Rect_intersects", _wrap_Rect_intersects
, METH_VARARGS
},
5494 { (char *)"Rect_contains", _wrap_Rect_contains
, METH_VARARGS
},
5495 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
5496 { (char *)"Cursors_session_set", _wrap_Cursors_session_set
, METH_VARARGS
},
5497 { (char *)"Cursors_session_get", _wrap_Cursors_session_get
, METH_VARARGS
},
5498 { (char *)"Cursors_move_set", _wrap_Cursors_move_set
, METH_VARARGS
},
5499 { (char *)"Cursors_move_get", _wrap_Cursors_move_get
, METH_VARARGS
},
5500 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set
, METH_VARARGS
},
5501 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get
, METH_VARARGS
},
5502 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set
, METH_VARARGS
},
5503 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get
, METH_VARARGS
},
5504 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set
, METH_VARARGS
},
5505 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get
, METH_VARARGS
},
5506 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set
, METH_VARARGS
},
5507 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get
, METH_VARARGS
},
5508 { (char *)"Cursors_swigregister", Cursors_swigregister
, METH_VARARGS
},
5509 { (char *)"Openbox_state", _wrap_Openbox_state
, METH_VARARGS
},
5510 { (char *)"Openbox_timerManager", _wrap_Openbox_timerManager
, METH_VARARGS
},
5511 { (char *)"Openbox_property", _wrap_Openbox_property
, METH_VARARGS
},
5512 { (char *)"Openbox_actions", _wrap_Openbox_actions
, METH_VARARGS
},
5513 { (char *)"Openbox_bindings", _wrap_Openbox_bindings
, METH_VARARGS
},
5514 { (char *)"Openbox_screen", _wrap_Openbox_screen
, METH_VARARGS
},
5515 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount
, METH_VARARGS
},
5516 { (char *)"Openbox_cursors", _wrap_Openbox_cursors
, METH_VARARGS
},
5517 { (char *)"Openbox_addClient", _wrap_Openbox_addClient
, METH_VARARGS
},
5518 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient
, METH_VARARGS
},
5519 { (char *)"Openbox_findClient", _wrap_Openbox_findClient
, METH_VARARGS
},
5520 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient
, METH_VARARGS
},
5521 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient
, METH_VARARGS
},
5522 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen
, METH_VARARGS
},
5523 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown
, METH_VARARGS
},
5524 { (char *)"Openbox_restart", _wrap_Openbox_restart
, METH_VARARGS
},
5525 { (char *)"Openbox_execute", _wrap_Openbox_execute
, METH_VARARGS
},
5526 { (char *)"Openbox_swigregister", Openbox_swigregister
, METH_VARARGS
},
5527 { (char *)"OBScreen_client", _wrap_OBScreen_client
, METH_VARARGS
},
5528 { (char *)"OBScreen_clientCount", _wrap_OBScreen_clientCount
, METH_VARARGS
},
5529 { (char *)"OBScreen_number", _wrap_OBScreen_number
, METH_VARARGS
},
5530 { (char *)"OBScreen_managed", _wrap_OBScreen_managed
, METH_VARARGS
},
5531 { (char *)"OBScreen_imageControl", _wrap_OBScreen_imageControl
, METH_VARARGS
},
5532 { (char *)"OBScreen_area", _wrap_OBScreen_area
, METH_VARARGS
},
5533 { (char *)"OBScreen_style", _wrap_OBScreen_style
, METH_VARARGS
},
5534 { (char *)"OBScreen_focuswindow", _wrap_OBScreen_focuswindow
, METH_VARARGS
},
5535 { (char *)"OBScreen_desktop", _wrap_OBScreen_desktop
, METH_VARARGS
},
5536 { (char *)"OBScreen_numDesktops", _wrap_OBScreen_numDesktops
, METH_VARARGS
},
5537 { (char *)"OBScreen_updateStrut", _wrap_OBScreen_updateStrut
, METH_VARARGS
},
5538 { (char *)"OBScreen_manageExisting", _wrap_OBScreen_manageExisting
, METH_VARARGS
},
5539 { (char *)"OBScreen_manageWindow", _wrap_OBScreen_manageWindow
, METH_VARARGS
},
5540 { (char *)"OBScreen_unmanageWindow", _wrap_OBScreen_unmanageWindow
, METH_VARARGS
},
5541 { (char *)"OBScreen_restack", _wrap_OBScreen_restack
, METH_VARARGS
},
5542 { (char *)"OBScreen_setDesktopName", _wrap_OBScreen_setDesktopName
, METH_VARARGS
},
5543 { (char *)"OBScreen_propertyHandler", _wrap_OBScreen_propertyHandler
, METH_VARARGS
},
5544 { (char *)"OBScreen_clientMessageHandler", _wrap_OBScreen_clientMessageHandler
, METH_VARARGS
},
5545 { (char *)"OBScreen_mapRequestHandler", _wrap_OBScreen_mapRequestHandler
, METH_VARARGS
},
5546 { (char *)"OBScreen_swigregister", OBScreen_swigregister
, METH_VARARGS
},
5547 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set
, METH_VARARGS
},
5548 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get
, METH_VARARGS
},
5549 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set
, METH_VARARGS
},
5550 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get
, METH_VARARGS
},
5551 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set
, METH_VARARGS
},
5552 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get
, METH_VARARGS
},
5553 { (char *)"MwmHints_swigregister", MwmHints_swigregister
, METH_VARARGS
},
5554 { (char *)"OBClient_frame_set", _wrap_OBClient_frame_set
, METH_VARARGS
},
5555 { (char *)"OBClient_frame_get", _wrap_OBClient_frame_get
, METH_VARARGS
},
5556 { (char *)"OBClient_ignore_unmaps_set", _wrap_OBClient_ignore_unmaps_set
, METH_VARARGS
},
5557 { (char *)"OBClient_ignore_unmaps_get", _wrap_OBClient_ignore_unmaps_get
, METH_VARARGS
},
5558 { (char *)"OBClient_screen", _wrap_OBClient_screen
, METH_VARARGS
},
5559 { (char *)"OBClient_window", _wrap_OBClient_window
, METH_VARARGS
},
5560 { (char *)"OBClient_type", _wrap_OBClient_type
, METH_VARARGS
},
5561 { (char *)"OBClient_normal", _wrap_OBClient_normal
, METH_VARARGS
},
5562 { (char *)"OBClient_desktop", _wrap_OBClient_desktop
, METH_VARARGS
},
5563 { (char *)"OBClient_title", _wrap_OBClient_title
, METH_VARARGS
},
5564 { (char *)"OBClient_iconTitle", _wrap_OBClient_iconTitle
, METH_VARARGS
},
5565 { (char *)"OBClient_appName", _wrap_OBClient_appName
, METH_VARARGS
},
5566 { (char *)"OBClient_appClass", _wrap_OBClient_appClass
, METH_VARARGS
},
5567 { (char *)"OBClient_role", _wrap_OBClient_role
, METH_VARARGS
},
5568 { (char *)"OBClient_canFocus", _wrap_OBClient_canFocus
, METH_VARARGS
},
5569 { (char *)"OBClient_urgent", _wrap_OBClient_urgent
, METH_VARARGS
},
5570 { (char *)"OBClient_focusNotify", _wrap_OBClient_focusNotify
, METH_VARARGS
},
5571 { (char *)"OBClient_shaped", _wrap_OBClient_shaped
, METH_VARARGS
},
5572 { (char *)"OBClient_gravity", _wrap_OBClient_gravity
, METH_VARARGS
},
5573 { (char *)"OBClient_positionRequested", _wrap_OBClient_positionRequested
, METH_VARARGS
},
5574 { (char *)"OBClient_decorations", _wrap_OBClient_decorations
, METH_VARARGS
},
5575 { (char *)"OBClient_funtions", _wrap_OBClient_funtions
, METH_VARARGS
},
5576 { (char *)"OBClient_transientFor", _wrap_OBClient_transientFor
, METH_VARARGS
},
5577 { (char *)"OBClient_modal", _wrap_OBClient_modal
, METH_VARARGS
},
5578 { (char *)"OBClient_shaded", _wrap_OBClient_shaded
, METH_VARARGS
},
5579 { (char *)"OBClient_iconic", _wrap_OBClient_iconic
, METH_VARARGS
},
5580 { (char *)"OBClient_maxVert", _wrap_OBClient_maxVert
, METH_VARARGS
},
5581 { (char *)"OBClient_maxHorz", _wrap_OBClient_maxHorz
, METH_VARARGS
},
5582 { (char *)"OBClient_layer", _wrap_OBClient_layer
, METH_VARARGS
},
5583 { (char *)"OBClient_toggleClientBorder", _wrap_OBClient_toggleClientBorder
, METH_VARARGS
},
5584 { (char *)"OBClient_area", _wrap_OBClient_area
, METH_VARARGS
},
5585 { (char *)"OBClient_strut", _wrap_OBClient_strut
, METH_VARARGS
},
5586 { (char *)"OBClient_move", _wrap_OBClient_move
, METH_VARARGS
},
5587 { (char *)"OBClient_resize", _wrap_OBClient_resize
, METH_VARARGS
},
5588 { (char *)"OBClient_focus", _wrap_OBClient_focus
, METH_VARARGS
},
5589 { (char *)"OBClient_unfocus", _wrap_OBClient_unfocus
, METH_VARARGS
},
5590 { (char *)"OBClient_focusHandler", _wrap_OBClient_focusHandler
, METH_VARARGS
},
5591 { (char *)"OBClient_unfocusHandler", _wrap_OBClient_unfocusHandler
, METH_VARARGS
},
5592 { (char *)"OBClient_propertyHandler", _wrap_OBClient_propertyHandler
, METH_VARARGS
},
5593 { (char *)"OBClient_clientMessageHandler", _wrap_OBClient_clientMessageHandler
, METH_VARARGS
},
5594 { (char *)"OBClient_configureRequestHandler", _wrap_OBClient_configureRequestHandler
, METH_VARARGS
},
5595 { (char *)"OBClient_unmapHandler", _wrap_OBClient_unmapHandler
, METH_VARARGS
},
5596 { (char *)"OBClient_destroyHandler", _wrap_OBClient_destroyHandler
, METH_VARARGS
},
5597 { (char *)"OBClient_reparentHandler", _wrap_OBClient_reparentHandler
, METH_VARARGS
},
5598 { (char *)"OBClient_swigregister", OBClient_swigregister
, METH_VARARGS
},
5599 { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set
, METH_VARARGS
},
5600 { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get
, METH_VARARGS
},
5601 { (char *)"MouseData_client_set", _wrap_MouseData_client_set
, METH_VARARGS
},
5602 { (char *)"MouseData_client_get", _wrap_MouseData_client_get
, METH_VARARGS
},
5603 { (char *)"MouseData_time_set", _wrap_MouseData_time_set
, METH_VARARGS
},
5604 { (char *)"MouseData_time_get", _wrap_MouseData_time_get
, METH_VARARGS
},
5605 { (char *)"MouseData_state_set", _wrap_MouseData_state_set
, METH_VARARGS
},
5606 { (char *)"MouseData_state_get", _wrap_MouseData_state_get
, METH_VARARGS
},
5607 { (char *)"MouseData_button_set", _wrap_MouseData_button_set
, METH_VARARGS
},
5608 { (char *)"MouseData_button_get", _wrap_MouseData_button_get
, METH_VARARGS
},
5609 { (char *)"MouseData_context_set", _wrap_MouseData_context_set
, METH_VARARGS
},
5610 { (char *)"MouseData_context_get", _wrap_MouseData_context_get
, METH_VARARGS
},
5611 { (char *)"MouseData_action_set", _wrap_MouseData_action_set
, METH_VARARGS
},
5612 { (char *)"MouseData_action_get", _wrap_MouseData_action_get
, METH_VARARGS
},
5613 { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set
, METH_VARARGS
},
5614 { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get
, METH_VARARGS
},
5615 { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set
, METH_VARARGS
},
5616 { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get
, METH_VARARGS
},
5617 { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set
, METH_VARARGS
},
5618 { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get
, METH_VARARGS
},
5619 { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set
, METH_VARARGS
},
5620 { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get
, METH_VARARGS
},
5621 { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set
, METH_VARARGS
},
5622 { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get
, METH_VARARGS
},
5623 { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set
, METH_VARARGS
},
5624 { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get
, METH_VARARGS
},
5625 { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set
, METH_VARARGS
},
5626 { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get
, METH_VARARGS
},
5627 { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set
, METH_VARARGS
},
5628 { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get
, METH_VARARGS
},
5629 { (char *)"new_MouseData", _wrap_new_MouseData
, METH_VARARGS
},
5630 { (char *)"MouseData_swigregister", MouseData_swigregister
, METH_VARARGS
},
5631 { (char *)"EventData_screen_set", _wrap_EventData_screen_set
, METH_VARARGS
},
5632 { (char *)"EventData_screen_get", _wrap_EventData_screen_get
, METH_VARARGS
},
5633 { (char *)"EventData_client_set", _wrap_EventData_client_set
, METH_VARARGS
},
5634 { (char *)"EventData_client_get", _wrap_EventData_client_get
, METH_VARARGS
},
5635 { (char *)"EventData_state_set", _wrap_EventData_state_set
, METH_VARARGS
},
5636 { (char *)"EventData_state_get", _wrap_EventData_state_get
, METH_VARARGS
},
5637 { (char *)"EventData_action_set", _wrap_EventData_action_set
, METH_VARARGS
},
5638 { (char *)"EventData_action_get", _wrap_EventData_action_get
, METH_VARARGS
},
5639 { (char *)"new_EventData", _wrap_new_EventData
, METH_VARARGS
},
5640 { (char *)"EventData_swigregister", EventData_swigregister
, METH_VARARGS
},
5641 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set
, METH_VARARGS
},
5642 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get
, METH_VARARGS
},
5643 { (char *)"KeyData_client_set", _wrap_KeyData_client_set
, METH_VARARGS
},
5644 { (char *)"KeyData_client_get", _wrap_KeyData_client_get
, METH_VARARGS
},
5645 { (char *)"KeyData_time_set", _wrap_KeyData_time_set
, METH_VARARGS
},
5646 { (char *)"KeyData_time_get", _wrap_KeyData_time_get
, METH_VARARGS
},
5647 { (char *)"KeyData_state_set", _wrap_KeyData_state_set
, METH_VARARGS
},
5648 { (char *)"KeyData_state_get", _wrap_KeyData_state_get
, METH_VARARGS
},
5649 { (char *)"KeyData_key_set", _wrap_KeyData_key_set
, METH_VARARGS
},
5650 { (char *)"KeyData_key_get", _wrap_KeyData_key_get
, METH_VARARGS
},
5651 { (char *)"new_KeyData", _wrap_new_KeyData
, METH_VARARGS
},
5652 { (char *)"KeyData_swigregister", KeyData_swigregister
, METH_VARARGS
},
5653 { (char *)"mbind", _wrap_mbind
, METH_VARARGS
},
5654 { (char *)"kbind", _wrap_kbind
, METH_VARARGS
},
5655 { (char *)"ebind", _wrap_ebind
, METH_VARARGS
},
5656 { (char *)"set_reset_key", _wrap_set_reset_key
, METH_VARARGS
},
5657 { (char *)"send_client_msg", _wrap_send_client_msg
, METH_VARARGS
},
5662 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
5664 static void *_p_ob__OBScreenTo_p_ob__OBWidget(void *x
) {
5665 return (void *)((ob::OBWidget
*) ((ob::OBScreen
*) x
));
5667 static void *_p_ob__OBClientTo_p_ob__OBWidget(void *x
) {
5668 return (void *)((ob::OBWidget
*) ((ob::OBClient
*) x
));
5670 static void *_p_ob__OBActionsTo_p_otk__OtkEventHandler(void *x
) {
5671 return (void *)((otk::OtkEventHandler
*) ((ob::OBActions
*) x
));
5673 static void *_p_ob__OpenboxTo_p_otk__OtkEventHandler(void *x
) {
5674 return (void *)((otk::OtkEventHandler
*) ((ob::Openbox
*) x
));
5676 static void *_p_ob__OBScreenTo_p_otk__OtkEventHandler(void *x
) {
5677 return (void *)((otk::OtkEventHandler
*) ((ob::OBScreen
*) x
));
5679 static void *_p_ob__OBClientTo_p_otk__OtkEventHandler(void *x
) {
5680 return (void *)((otk::OtkEventHandler
*) ((ob::OBClient
*) x
));
5682 static void *_p_ob__OpenboxTo_p_otk__OtkEventDispatcher(void *x
) {
5683 return (void *)((otk::OtkEventDispatcher
*) ((ob::Openbox
*) x
));
5685 static swig_type_info _swigt__p_otk__OBTimerQueueManager
[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
5686 static swig_type_info _swigt__p_ob__OBActions
[] = {{"_p_ob__OBActions", 0, "ob::OBActions *", 0},{"_p_ob__OBActions"},{0}};
5687 static swig_type_info _swigt__p_ob__Cursors
[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
5688 static swig_type_info _swigt__p_ob__OBScreen
[] = {{"_p_ob__OBScreen", 0, "ob::OBScreen *", 0},{"_p_ob__OBScreen"},{0}};
5689 static swig_type_info _swigt__p_otk__Style
[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
5690 static swig_type_info _swigt__p_ob__OBFrame
[] = {{"_p_ob__OBFrame", 0, "ob::OBFrame *", 0},{"_p_ob__OBFrame"},{0}};
5691 static swig_type_info _swigt__p_XReparentEvent
[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
5692 static swig_type_info _swigt__p_ob__MouseData
[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
5693 static swig_type_info _swigt__p_ob__OBClient
[] = {{"_p_ob__OBClient", 0, "ob::OBClient *", 0},{"_p_ob__OBClient"},{0}};
5694 static swig_type_info _swigt__p_ob__Openbox
[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
5695 static swig_type_info _swigt__p_otk__Strut
[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
5696 static swig_type_info _swigt__p_XRectangle
[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
5697 static swig_type_info _swigt__p_ob__KeyData
[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
5698 static swig_type_info _swigt__p_XMapRequestEvent
[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
5699 static swig_type_info _swigt__p_XConfigureRequestEvent
[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
5700 static swig_type_info _swigt__p_otk__Point
[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
5701 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}};
5702 static swig_type_info _swigt__p_std__string
[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
5703 static swig_type_info _swigt__p_otk__Rect
[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
5704 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}};
5705 static swig_type_info _swigt__p_XClientMessageEvent
[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
5706 static swig_type_info _swigt__p_XFocusChangeEvent
[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
5707 static swig_type_info _swigt__p_otk__OBProperty
[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
5708 static swig_type_info _swigt__p_ob__EventData
[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
5709 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}};
5710 static swig_type_info _swigt__p_XPropertyEvent
[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
5711 static swig_type_info _swigt__p_XDestroyWindowEvent
[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
5712 static swig_type_info _swigt__p_otk__BImageControl
[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
5713 static swig_type_info _swigt__p_PyObject
[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
5714 static swig_type_info _swigt__p_ob__OBBindings
[] = {{"_p_ob__OBBindings", 0, "ob::OBBindings *", 0},{"_p_ob__OBBindings"},{0}};
5715 static swig_type_info _swigt__p_ob__MwmHints
[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
5716 static swig_type_info _swigt__p_XUnmapEvent
[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
5718 static swig_type_info
*swig_types_initial
[] = {
5719 _swigt__p_otk__OBTimerQueueManager
,
5720 _swigt__p_ob__OBActions
,
5721 _swigt__p_ob__Cursors
,
5722 _swigt__p_ob__OBScreen
,
5723 _swigt__p_otk__Style
,
5724 _swigt__p_ob__OBFrame
,
5725 _swigt__p_XReparentEvent
,
5726 _swigt__p_ob__MouseData
,
5727 _swigt__p_ob__OBClient
,
5728 _swigt__p_ob__Openbox
,
5729 _swigt__p_otk__Strut
,
5730 _swigt__p_XRectangle
,
5731 _swigt__p_ob__KeyData
,
5732 _swigt__p_XMapRequestEvent
,
5733 _swigt__p_XConfigureRequestEvent
,
5734 _swigt__p_otk__Point
,
5735 _swigt__p_otk__OtkEventHandler
,
5736 _swigt__p_std__string
,
5737 _swigt__p_otk__Rect
,
5738 _swigt__p_ob__OBWidget
,
5739 _swigt__p_XClientMessageEvent
,
5740 _swigt__p_XFocusChangeEvent
,
5741 _swigt__p_otk__OBProperty
,
5742 _swigt__p_ob__EventData
,
5743 _swigt__p_otk__OtkEventDispatcher
,
5744 _swigt__p_XPropertyEvent
,
5745 _swigt__p_XDestroyWindowEvent
,
5746 _swigt__p_otk__BImageControl
,
5748 _swigt__p_ob__OBBindings
,
5749 _swigt__p_ob__MwmHints
,
5750 _swigt__p_XUnmapEvent
,
5755 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
5757 static swig_const_info swig_const_table
[] = {
5758 { SWIG_PY_INT
, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting
, 0, 0, 0},
5759 { SWIG_PY_INT
, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal
, 0, 0, 0},
5760 { SWIG_PY_INT
, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting
, 0, 0, 0},
5761 { SWIG_PY_INT
, (char *)"OBScreen_event_mask", (long) ob::OBScreen::event_mask
, 0, 0, 0},
5762 { SWIG_PY_INT
, (char *)"MwmHints_elements", (long) ob::MwmHints::elements
, 0, 0, 0},
5763 { SWIG_PY_INT
, (char *)"OBClient_Layer_Icon", (long) ob::OBClient::Layer_Icon
, 0, 0, 0},
5764 { SWIG_PY_INT
, (char *)"OBClient_Layer_Desktop", (long) ob::OBClient::Layer_Desktop
, 0, 0, 0},
5765 { SWIG_PY_INT
, (char *)"OBClient_Layer_Below", (long) ob::OBClient::Layer_Below
, 0, 0, 0},
5766 { SWIG_PY_INT
, (char *)"OBClient_Layer_Normal", (long) ob::OBClient::Layer_Normal
, 0, 0, 0},
5767 { SWIG_PY_INT
, (char *)"OBClient_Layer_Above", (long) ob::OBClient::Layer_Above
, 0, 0, 0},
5768 { SWIG_PY_INT
, (char *)"OBClient_Layer_Top", (long) ob::OBClient::Layer_Top
, 0, 0, 0},
5769 { SWIG_PY_INT
, (char *)"OBClient_Layer_Fullscreen", (long) ob::OBClient::Layer_Fullscreen
, 0, 0, 0},
5770 { SWIG_PY_INT
, (char *)"OBClient_Layer_Internal", (long) ob::OBClient::Layer_Internal
, 0, 0, 0},
5771 { SWIG_PY_INT
, (char *)"OBClient_NUM_LAYERS", (long) ob::OBClient::NUM_LAYERS
, 0, 0, 0},
5772 { SWIG_PY_INT
, (char *)"OBClient_TopLeft", (long) ob::OBClient::TopLeft
, 0, 0, 0},
5773 { SWIG_PY_INT
, (char *)"OBClient_TopRight", (long) ob::OBClient::TopRight
, 0, 0, 0},
5774 { SWIG_PY_INT
, (char *)"OBClient_BottomLeft", (long) ob::OBClient::BottomLeft
, 0, 0, 0},
5775 { SWIG_PY_INT
, (char *)"OBClient_BottomRight", (long) ob::OBClient::BottomRight
, 0, 0, 0},
5776 { SWIG_PY_INT
, (char *)"OBClient_Type_Desktop", (long) ob::OBClient::Type_Desktop
, 0, 0, 0},
5777 { SWIG_PY_INT
, (char *)"OBClient_Type_Dock", (long) ob::OBClient::Type_Dock
, 0, 0, 0},
5778 { SWIG_PY_INT
, (char *)"OBClient_Type_Toolbar", (long) ob::OBClient::Type_Toolbar
, 0, 0, 0},
5779 { SWIG_PY_INT
, (char *)"OBClient_Type_Menu", (long) ob::OBClient::Type_Menu
, 0, 0, 0},
5780 { SWIG_PY_INT
, (char *)"OBClient_Type_Utility", (long) ob::OBClient::Type_Utility
, 0, 0, 0},
5781 { SWIG_PY_INT
, (char *)"OBClient_Type_Splash", (long) ob::OBClient::Type_Splash
, 0, 0, 0},
5782 { SWIG_PY_INT
, (char *)"OBClient_Type_Dialog", (long) ob::OBClient::Type_Dialog
, 0, 0, 0},
5783 { SWIG_PY_INT
, (char *)"OBClient_Type_Normal", (long) ob::OBClient::Type_Normal
, 0, 0, 0},
5784 { SWIG_PY_INT
, (char *)"OBClient_MwmFlag_Functions", (long) ob::OBClient::MwmFlag_Functions
, 0, 0, 0},
5785 { SWIG_PY_INT
, (char *)"OBClient_MwmFlag_Decorations", (long) ob::OBClient::MwmFlag_Decorations
, 0, 0, 0},
5786 { SWIG_PY_INT
, (char *)"OBClient_MwmFunc_All", (long) ob::OBClient::MwmFunc_All
, 0, 0, 0},
5787 { SWIG_PY_INT
, (char *)"OBClient_MwmFunc_Resize", (long) ob::OBClient::MwmFunc_Resize
, 0, 0, 0},
5788 { SWIG_PY_INT
, (char *)"OBClient_MwmFunc_Move", (long) ob::OBClient::MwmFunc_Move
, 0, 0, 0},
5789 { SWIG_PY_INT
, (char *)"OBClient_MwmFunc_Iconify", (long) ob::OBClient::MwmFunc_Iconify
, 0, 0, 0},
5790 { SWIG_PY_INT
, (char *)"OBClient_MwmFunc_Maximize", (long) ob::OBClient::MwmFunc_Maximize
, 0, 0, 0},
5791 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_All", (long) ob::OBClient::MwmDecor_All
, 0, 0, 0},
5792 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_Border", (long) ob::OBClient::MwmDecor_Border
, 0, 0, 0},
5793 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_Handle", (long) ob::OBClient::MwmDecor_Handle
, 0, 0, 0},
5794 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_Title", (long) ob::OBClient::MwmDecor_Title
, 0, 0, 0},
5795 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_Iconify", (long) ob::OBClient::MwmDecor_Iconify
, 0, 0, 0},
5796 { SWIG_PY_INT
, (char *)"OBClient_MwmDecor_Maximize", (long) ob::OBClient::MwmDecor_Maximize
, 0, 0, 0},
5797 { SWIG_PY_INT
, (char *)"OBClient_Func_Resize", (long) ob::OBClient::Func_Resize
, 0, 0, 0},
5798 { SWIG_PY_INT
, (char *)"OBClient_Func_Move", (long) ob::OBClient::Func_Move
, 0, 0, 0},
5799 { SWIG_PY_INT
, (char *)"OBClient_Func_Iconify", (long) ob::OBClient::Func_Iconify
, 0, 0, 0},
5800 { SWIG_PY_INT
, (char *)"OBClient_Func_Maximize", (long) ob::OBClient::Func_Maximize
, 0, 0, 0},
5801 { SWIG_PY_INT
, (char *)"OBClient_Func_Close", (long) ob::OBClient::Func_Close
, 0, 0, 0},
5802 { SWIG_PY_INT
, (char *)"OBClient_Decor_Titlebar", (long) ob::OBClient::Decor_Titlebar
, 0, 0, 0},
5803 { SWIG_PY_INT
, (char *)"OBClient_Decor_Handle", (long) ob::OBClient::Decor_Handle
, 0, 0, 0},
5804 { SWIG_PY_INT
, (char *)"OBClient_Decor_Border", (long) ob::OBClient::Decor_Border
, 0, 0, 0},
5805 { SWIG_PY_INT
, (char *)"OBClient_Decor_Iconify", (long) ob::OBClient::Decor_Iconify
, 0, 0, 0},
5806 { SWIG_PY_INT
, (char *)"OBClient_Decor_Maximize", (long) ob::OBClient::Decor_Maximize
, 0, 0, 0},
5807 { SWIG_PY_INT
, (char *)"OBClient_Decor_Sticky", (long) ob::OBClient::Decor_Sticky
, 0, 0, 0},
5808 { SWIG_PY_INT
, (char *)"OBClient_Decor_Close", (long) ob::OBClient::Decor_Close
, 0, 0, 0},
5809 { SWIG_PY_INT
, (char *)"OBClient_State_Remove", (long) ob::OBClient::State_Remove
, 0, 0, 0},
5810 { SWIG_PY_INT
, (char *)"OBClient_State_Add", (long) ob::OBClient::State_Add
, 0, 0, 0},
5811 { SWIG_PY_INT
, (char *)"OBClient_State_Toggle", (long) ob::OBClient::State_Toggle
, 0, 0, 0},
5812 { SWIG_PY_INT
, (char *)"OBClient_event_mask", (long) ob::OBClient::event_mask
, 0, 0, 0},
5813 { SWIG_PY_INT
, (char *)"OBClient_no_propagate_mask", (long) ob::OBClient::no_propagate_mask
, 0, 0, 0},
5814 { SWIG_PY_INT
, (char *)"MC_Frame", (long) ob::MC_Frame
, 0, 0, 0},
5815 { SWIG_PY_INT
, (char *)"MC_Titlebar", (long) ob::MC_Titlebar
, 0, 0, 0},
5816 { SWIG_PY_INT
, (char *)"MC_Handle", (long) ob::MC_Handle
, 0, 0, 0},
5817 { SWIG_PY_INT
, (char *)"MC_Window", (long) ob::MC_Window
, 0, 0, 0},
5818 { SWIG_PY_INT
, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton
, 0, 0, 0},
5819 { SWIG_PY_INT
, (char *)"MC_CloseButton", (long) ob::MC_CloseButton
, 0, 0, 0},
5820 { SWIG_PY_INT
, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton
, 0, 0, 0},
5821 { SWIG_PY_INT
, (char *)"MC_StickyButton", (long) ob::MC_StickyButton
, 0, 0, 0},
5822 { SWIG_PY_INT
, (char *)"MC_Grip", (long) ob::MC_Grip
, 0, 0, 0},
5823 { SWIG_PY_INT
, (char *)"MC_Root", (long) ob::MC_Root
, 0, 0, 0},
5824 { SWIG_PY_INT
, (char *)"MC_MenuItem", (long) ob::MC_MenuItem
, 0, 0, 0},
5825 { SWIG_PY_INT
, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT
, 0, 0, 0},
5826 { SWIG_PY_INT
, (char *)"MousePress", (long) ob::MousePress
, 0, 0, 0},
5827 { SWIG_PY_INT
, (char *)"MouseClick", (long) ob::MouseClick
, 0, 0, 0},
5828 { SWIG_PY_INT
, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick
, 0, 0, 0},
5829 { SWIG_PY_INT
, (char *)"MouseMotion", (long) ob::MouseMotion
, 0, 0, 0},
5830 { SWIG_PY_INT
, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION
, 0, 0, 0},
5831 { SWIG_PY_INT
, (char *)"KC_Menu", (long) ob::KC_Menu
, 0, 0, 0},
5832 { SWIG_PY_INT
, (char *)"KC_All", (long) ob::KC_All
, 0, 0, 0},
5833 { SWIG_PY_INT
, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT
, 0, 0, 0},
5834 { SWIG_PY_INT
, (char *)"EventEnterWindow", (long) ob::EventEnterWindow
, 0, 0, 0},
5835 { SWIG_PY_INT
, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow
, 0, 0, 0},
5836 { SWIG_PY_INT
, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow
, 0, 0, 0},
5837 { SWIG_PY_INT
, (char *)"EventNewWindow", (long) ob::EventNewWindow
, 0, 0, 0},
5838 { SWIG_PY_INT
, (char *)"EventCloseWindow", (long) ob::EventCloseWindow
, 0, 0, 0},
5839 { SWIG_PY_INT
, (char *)"EventStartup", (long) ob::EventStartup
, 0, 0, 0},
5840 { SWIG_PY_INT
, (char *)"EventShutdown", (long) ob::EventShutdown
, 0, 0, 0},
5841 { SWIG_PY_INT
, (char *)"EventFocus", (long) ob::EventFocus
, 0, 0, 0},
5842 { SWIG_PY_INT
, (char *)"EventBell", (long) ob::EventBell
, 0, 0, 0},
5843 { SWIG_PY_INT
, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS
, 0, 0, 0},
5844 { SWIG_PY_INT
, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
5845 { SWIG_PY_INT
, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
5846 { SWIG_PY_INT
, (char *)"None", (long) 0L, 0, 0, 0},
5847 { SWIG_PY_INT
, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
5848 { SWIG_PY_INT
, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
5849 { SWIG_PY_INT
, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
5850 { SWIG_PY_INT
, (char *)"InputFocus", (long) 1L, 0, 0, 0},
5851 { SWIG_PY_INT
, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
5852 { SWIG_PY_INT
, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
5853 { SWIG_PY_INT
, (char *)"AnyKey", (long) 0L, 0, 0, 0},
5854 { SWIG_PY_INT
, (char *)"AnyButton", (long) 0L, 0, 0, 0},
5855 { SWIG_PY_INT
, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
5856 { SWIG_PY_INT
, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
5857 { SWIG_PY_INT
, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
5858 { SWIG_PY_INT
, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
5859 { SWIG_PY_INT
, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
5860 { SWIG_PY_INT
, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
5861 { SWIG_PY_INT
, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
5862 { SWIG_PY_INT
, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
5863 { SWIG_PY_INT
, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
5864 { SWIG_PY_INT
, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
5865 { SWIG_PY_INT
, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
5866 { SWIG_PY_INT
, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
5867 { SWIG_PY_INT
, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
5868 { SWIG_PY_INT
, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
5869 { SWIG_PY_INT
, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
5870 { SWIG_PY_INT
, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
5871 { SWIG_PY_INT
, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
5872 { SWIG_PY_INT
, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
5873 { SWIG_PY_INT
, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
5874 { SWIG_PY_INT
, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
5875 { SWIG_PY_INT
, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
5876 { SWIG_PY_INT
, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
5877 { SWIG_PY_INT
, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
5878 { SWIG_PY_INT
, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
5879 { SWIG_PY_INT
, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
5880 { SWIG_PY_INT
, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
5881 { SWIG_PY_INT
, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
5882 { SWIG_PY_INT
, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
5883 { SWIG_PY_INT
, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
5884 { SWIG_PY_INT
, (char *)"KeyPress", (long) 2, 0, 0, 0},
5885 { SWIG_PY_INT
, (char *)"KeyRelease", (long) 3, 0, 0, 0},
5886 { SWIG_PY_INT
, (char *)"ButtonPress", (long) 4, 0, 0, 0},
5887 { SWIG_PY_INT
, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
5888 { SWIG_PY_INT
, (char *)"MotionNotify", (long) 6, 0, 0, 0},
5889 { SWIG_PY_INT
, (char *)"EnterNotify", (long) 7, 0, 0, 0},
5890 { SWIG_PY_INT
, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
5891 { SWIG_PY_INT
, (char *)"FocusIn", (long) 9, 0, 0, 0},
5892 { SWIG_PY_INT
, (char *)"FocusOut", (long) 10, 0, 0, 0},
5893 { SWIG_PY_INT
, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
5894 { SWIG_PY_INT
, (char *)"Expose", (long) 12, 0, 0, 0},
5895 { SWIG_PY_INT
, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
5896 { SWIG_PY_INT
, (char *)"NoExpose", (long) 14, 0, 0, 0},
5897 { SWIG_PY_INT
, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
5898 { SWIG_PY_INT
, (char *)"CreateNotify", (long) 16, 0, 0, 0},
5899 { SWIG_PY_INT
, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
5900 { SWIG_PY_INT
, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
5901 { SWIG_PY_INT
, (char *)"MapNotify", (long) 19, 0, 0, 0},
5902 { SWIG_PY_INT
, (char *)"MapRequest", (long) 20, 0, 0, 0},
5903 { SWIG_PY_INT
, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
5904 { SWIG_PY_INT
, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
5905 { SWIG_PY_INT
, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
5906 { SWIG_PY_INT
, (char *)"GravityNotify", (long) 24, 0, 0, 0},
5907 { SWIG_PY_INT
, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
5908 { SWIG_PY_INT
, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
5909 { SWIG_PY_INT
, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
5910 { SWIG_PY_INT
, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
5911 { SWIG_PY_INT
, (char *)"SelectionClear", (long) 29, 0, 0, 0},
5912 { SWIG_PY_INT
, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
5913 { SWIG_PY_INT
, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
5914 { SWIG_PY_INT
, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
5915 { SWIG_PY_INT
, (char *)"ClientMessage", (long) 33, 0, 0, 0},
5916 { SWIG_PY_INT
, (char *)"MappingNotify", (long) 34, 0, 0, 0},
5917 { SWIG_PY_INT
, (char *)"LASTEvent", (long) 35, 0, 0, 0},
5918 { SWIG_PY_INT
, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
5919 { SWIG_PY_INT
, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
5920 { SWIG_PY_INT
, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
5921 { SWIG_PY_INT
, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
5922 { SWIG_PY_INT
, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
5923 { SWIG_PY_INT
, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
5924 { SWIG_PY_INT
, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
5925 { SWIG_PY_INT
, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
5926 { SWIG_PY_INT
, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
5927 { SWIG_PY_INT
, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
5928 { SWIG_PY_INT
, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
5929 { SWIG_PY_INT
, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
5930 { SWIG_PY_INT
, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
5931 { SWIG_PY_INT
, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
5932 { SWIG_PY_INT
, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
5933 { SWIG_PY_INT
, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
5934 { SWIG_PY_INT
, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
5935 { SWIG_PY_INT
, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
5936 { SWIG_PY_INT
, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
5937 { SWIG_PY_INT
, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
5938 { SWIG_PY_INT
, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
5939 { SWIG_PY_INT
, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
5940 { SWIG_PY_INT
, (char *)"Button1", (long) 1, 0, 0, 0},
5941 { SWIG_PY_INT
, (char *)"Button2", (long) 2, 0, 0, 0},
5942 { SWIG_PY_INT
, (char *)"Button3", (long) 3, 0, 0, 0},
5943 { SWIG_PY_INT
, (char *)"Button4", (long) 4, 0, 0, 0},
5944 { SWIG_PY_INT
, (char *)"Button5", (long) 5, 0, 0, 0},
5945 { SWIG_PY_INT
, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
5946 { SWIG_PY_INT
, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
5947 { SWIG_PY_INT
, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
5948 { SWIG_PY_INT
, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
5949 { SWIG_PY_INT
, (char *)"NotifyHint", (long) 1, 0, 0, 0},
5950 { SWIG_PY_INT
, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
5951 { SWIG_PY_INT
, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
5952 { SWIG_PY_INT
, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
5953 { SWIG_PY_INT
, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
5954 { SWIG_PY_INT
, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
5955 { SWIG_PY_INT
, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
5956 { SWIG_PY_INT
, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
5957 { SWIG_PY_INT
, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
5958 { SWIG_PY_INT
, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
5959 { SWIG_PY_INT
, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
5960 { SWIG_PY_INT
, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
5961 { SWIG_PY_INT
, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
5962 { SWIG_PY_INT
, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
5963 { SWIG_PY_INT
, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
5964 { SWIG_PY_INT
, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
5965 { SWIG_PY_INT
, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
5966 { SWIG_PY_INT
, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
5967 { SWIG_PY_INT
, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
5968 { SWIG_PY_INT
, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
5969 { SWIG_PY_INT
, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
5970 { SWIG_PY_INT
, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
5971 { SWIG_PY_INT
, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
5972 { SWIG_PY_INT
, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
5973 { SWIG_PY_INT
, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
5974 { SWIG_PY_INT
, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
5975 { SWIG_PY_INT
, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
5976 { SWIG_PY_INT
, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
5977 { SWIG_PY_INT
, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
5978 { SWIG_PY_INT
, (char *)"SyncPointer", (long) 1, 0, 0, 0},
5979 { SWIG_PY_INT
, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
5980 { SWIG_PY_INT
, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
5981 { SWIG_PY_INT
, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
5982 { SWIG_PY_INT
, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
5983 { SWIG_PY_INT
, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
5984 { SWIG_PY_INT
, (char *)"SyncBoth", (long) 7, 0, 0, 0},
5985 { SWIG_PY_INT
, (char *)"RevertToParent", (long) 2, 0, 0, 0},
5986 { SWIG_PY_INT
, (char *)"Success", (long) 0, 0, 0, 0},
5987 { SWIG_PY_INT
, (char *)"BadRequest", (long) 1, 0, 0, 0},
5988 { SWIG_PY_INT
, (char *)"BadValue", (long) 2, 0, 0, 0},
5989 { SWIG_PY_INT
, (char *)"BadWindow", (long) 3, 0, 0, 0},
5990 { SWIG_PY_INT
, (char *)"BadPixmap", (long) 4, 0, 0, 0},
5991 { SWIG_PY_INT
, (char *)"BadAtom", (long) 5, 0, 0, 0},
5992 { SWIG_PY_INT
, (char *)"BadCursor", (long) 6, 0, 0, 0},
5993 { SWIG_PY_INT
, (char *)"BadFont", (long) 7, 0, 0, 0},
5994 { SWIG_PY_INT
, (char *)"BadMatch", (long) 8, 0, 0, 0},
5995 { SWIG_PY_INT
, (char *)"BadDrawable", (long) 9, 0, 0, 0},
5996 { SWIG_PY_INT
, (char *)"BadAccess", (long) 10, 0, 0, 0},
5997 { SWIG_PY_INT
, (char *)"BadAlloc", (long) 11, 0, 0, 0},
5998 { SWIG_PY_INT
, (char *)"BadColor", (long) 12, 0, 0, 0},
5999 { SWIG_PY_INT
, (char *)"BadGC", (long) 13, 0, 0, 0},
6000 { SWIG_PY_INT
, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
6001 { SWIG_PY_INT
, (char *)"BadName", (long) 15, 0, 0, 0},
6002 { SWIG_PY_INT
, (char *)"BadLength", (long) 16, 0, 0, 0},
6003 { SWIG_PY_INT
, (char *)"BadImplementation", (long) 17, 0, 0, 0},
6004 { SWIG_PY_INT
, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
6005 { SWIG_PY_INT
, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
6006 { SWIG_PY_INT
, (char *)"InputOutput", (long) 1, 0, 0, 0},
6007 { SWIG_PY_INT
, (char *)"InputOnly", (long) 2, 0, 0, 0},
6008 { SWIG_PY_INT
, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
6009 { SWIG_PY_INT
, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
6010 { SWIG_PY_INT
, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
6011 { SWIG_PY_INT
, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
6012 { SWIG_PY_INT
, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
6013 { SWIG_PY_INT
, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
6014 { SWIG_PY_INT
, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
6015 { SWIG_PY_INT
, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
6016 { SWIG_PY_INT
, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
6017 { SWIG_PY_INT
, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
6018 { SWIG_PY_INT
, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
6019 { SWIG_PY_INT
, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
6020 { SWIG_PY_INT
, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
6021 { SWIG_PY_INT
, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
6022 { SWIG_PY_INT
, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
6023 { SWIG_PY_INT
, (char *)"CWX", (long) (1<<0), 0, 0, 0},
6024 { SWIG_PY_INT
, (char *)"CWY", (long) (1<<1), 0, 0, 0},
6025 { SWIG_PY_INT
, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
6026 { SWIG_PY_INT
, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
6027 { SWIG_PY_INT
, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
6028 { SWIG_PY_INT
, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
6029 { SWIG_PY_INT
, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
6030 { SWIG_PY_INT
, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
6031 { SWIG_PY_INT
, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
6032 { SWIG_PY_INT
, (char *)"NorthGravity", (long) 2, 0, 0, 0},
6033 { SWIG_PY_INT
, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
6034 { SWIG_PY_INT
, (char *)"WestGravity", (long) 4, 0, 0, 0},
6035 { SWIG_PY_INT
, (char *)"CenterGravity", (long) 5, 0, 0, 0},
6036 { SWIG_PY_INT
, (char *)"EastGravity", (long) 6, 0, 0, 0},
6037 { SWIG_PY_INT
, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
6038 { SWIG_PY_INT
, (char *)"SouthGravity", (long) 8, 0, 0, 0},
6039 { SWIG_PY_INT
, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
6040 { SWIG_PY_INT
, (char *)"StaticGravity", (long) 10, 0, 0, 0},
6041 { SWIG_PY_INT
, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
6042 { SWIG_PY_INT
, (char *)"NotUseful", (long) 0, 0, 0, 0},
6043 { SWIG_PY_INT
, (char *)"WhenMapped", (long) 1, 0, 0, 0},
6044 { SWIG_PY_INT
, (char *)"Always", (long) 2, 0, 0, 0},
6045 { SWIG_PY_INT
, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
6046 { SWIG_PY_INT
, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
6047 { SWIG_PY_INT
, (char *)"IsViewable", (long) 2, 0, 0, 0},
6048 { SWIG_PY_INT
, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
6049 { SWIG_PY_INT
, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
6050 { SWIG_PY_INT
, (char *)"DestroyAll", (long) 0, 0, 0, 0},
6051 { SWIG_PY_INT
, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
6052 { SWIG_PY_INT
, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
6053 { SWIG_PY_INT
, (char *)"Above", (long) 0, 0, 0, 0},
6054 { SWIG_PY_INT
, (char *)"Below", (long) 1, 0, 0, 0},
6055 { SWIG_PY_INT
, (char *)"TopIf", (long) 2, 0, 0, 0},
6056 { SWIG_PY_INT
, (char *)"BottomIf", (long) 3, 0, 0, 0},
6057 { SWIG_PY_INT
, (char *)"Opposite", (long) 4, 0, 0, 0},
6058 { SWIG_PY_INT
, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
6059 { SWIG_PY_INT
, (char *)"LowerHighest", (long) 1, 0, 0, 0},
6060 { SWIG_PY_INT
, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
6061 { SWIG_PY_INT
, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
6062 { SWIG_PY_INT
, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
6063 { SWIG_PY_INT
, (char *)"GXclear", (long) 0x0, 0, 0, 0},
6064 { SWIG_PY_INT
, (char *)"GXand", (long) 0x1, 0, 0, 0},
6065 { SWIG_PY_INT
, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
6066 { SWIG_PY_INT
, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
6067 { SWIG_PY_INT
, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
6068 { SWIG_PY_INT
, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
6069 { SWIG_PY_INT
, (char *)"GXxor", (long) 0x6, 0, 0, 0},
6070 { SWIG_PY_INT
, (char *)"GXor", (long) 0x7, 0, 0, 0},
6071 { SWIG_PY_INT
, (char *)"GXnor", (long) 0x8, 0, 0, 0},
6072 { SWIG_PY_INT
, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
6073 { SWIG_PY_INT
, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
6074 { SWIG_PY_INT
, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
6075 { SWIG_PY_INT
, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
6076 { SWIG_PY_INT
, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
6077 { SWIG_PY_INT
, (char *)"GXnand", (long) 0xe, 0, 0, 0},
6078 { SWIG_PY_INT
, (char *)"GXset", (long) 0xf, 0, 0, 0},
6079 { SWIG_PY_INT
, (char *)"LineSolid", (long) 0, 0, 0, 0},
6080 { SWIG_PY_INT
, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
6081 { SWIG_PY_INT
, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
6082 { SWIG_PY_INT
, (char *)"CapNotLast", (long) 0, 0, 0, 0},
6083 { SWIG_PY_INT
, (char *)"CapButt", (long) 1, 0, 0, 0},
6084 { SWIG_PY_INT
, (char *)"CapRound", (long) 2, 0, 0, 0},
6085 { SWIG_PY_INT
, (char *)"CapProjecting", (long) 3, 0, 0, 0},
6086 { SWIG_PY_INT
, (char *)"JoinMiter", (long) 0, 0, 0, 0},
6087 { SWIG_PY_INT
, (char *)"JoinRound", (long) 1, 0, 0, 0},
6088 { SWIG_PY_INT
, (char *)"JoinBevel", (long) 2, 0, 0, 0},
6089 { SWIG_PY_INT
, (char *)"FillSolid", (long) 0, 0, 0, 0},
6090 { SWIG_PY_INT
, (char *)"FillTiled", (long) 1, 0, 0, 0},
6091 { SWIG_PY_INT
, (char *)"FillStippled", (long) 2, 0, 0, 0},
6092 { SWIG_PY_INT
, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
6093 { SWIG_PY_INT
, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
6094 { SWIG_PY_INT
, (char *)"WindingRule", (long) 1, 0, 0, 0},
6095 { SWIG_PY_INT
, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
6096 { SWIG_PY_INT
, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
6097 { SWIG_PY_INT
, (char *)"Unsorted", (long) 0, 0, 0, 0},
6098 { SWIG_PY_INT
, (char *)"YSorted", (long) 1, 0, 0, 0},
6099 { SWIG_PY_INT
, (char *)"YXSorted", (long) 2, 0, 0, 0},
6100 { SWIG_PY_INT
, (char *)"YXBanded", (long) 3, 0, 0, 0},
6101 { SWIG_PY_INT
, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
6102 { SWIG_PY_INT
, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
6103 { SWIG_PY_INT
, (char *)"Complex", (long) 0, 0, 0, 0},
6104 { SWIG_PY_INT
, (char *)"Nonconvex", (long) 1, 0, 0, 0},
6105 { SWIG_PY_INT
, (char *)"Convex", (long) 2, 0, 0, 0},
6106 { SWIG_PY_INT
, (char *)"ArcChord", (long) 0, 0, 0, 0},
6107 { SWIG_PY_INT
, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
6108 { SWIG_PY_INT
, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
6109 { SWIG_PY_INT
, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
6110 { SWIG_PY_INT
, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
6111 { SWIG_PY_INT
, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
6112 { SWIG_PY_INT
, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
6113 { SWIG_PY_INT
, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
6114 { SWIG_PY_INT
, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
6115 { SWIG_PY_INT
, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
6116 { SWIG_PY_INT
, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
6117 { SWIG_PY_INT
, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
6118 { SWIG_PY_INT
, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
6119 { SWIG_PY_INT
, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
6120 { SWIG_PY_INT
, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
6121 { SWIG_PY_INT
, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
6122 { SWIG_PY_INT
, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
6123 { SWIG_PY_INT
, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
6124 { SWIG_PY_INT
, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
6125 { SWIG_PY_INT
, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
6126 { SWIG_PY_INT
, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
6127 { SWIG_PY_INT
, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
6128 { SWIG_PY_INT
, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
6129 { SWIG_PY_INT
, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
6130 { SWIG_PY_INT
, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
6131 { SWIG_PY_INT
, (char *)"GCLastBit", (long) 22, 0, 0, 0},
6132 { SWIG_PY_INT
, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
6133 { SWIG_PY_INT
, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
6134 { SWIG_PY_INT
, (char *)"FontChange", (long) 255, 0, 0, 0},
6135 { SWIG_PY_INT
, (char *)"XYBitmap", (long) 0, 0, 0, 0},
6136 { SWIG_PY_INT
, (char *)"XYPixmap", (long) 1, 0, 0, 0},
6137 { SWIG_PY_INT
, (char *)"ZPixmap", (long) 2, 0, 0, 0},
6138 { SWIG_PY_INT
, (char *)"AllocNone", (long) 0, 0, 0, 0},
6139 { SWIG_PY_INT
, (char *)"AllocAll", (long) 1, 0, 0, 0},
6140 { SWIG_PY_INT
, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
6141 { SWIG_PY_INT
, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
6142 { SWIG_PY_INT
, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
6143 { SWIG_PY_INT
, (char *)"CursorShape", (long) 0, 0, 0, 0},
6144 { SWIG_PY_INT
, (char *)"TileShape", (long) 1, 0, 0, 0},
6145 { SWIG_PY_INT
, (char *)"StippleShape", (long) 2, 0, 0, 0},
6146 { SWIG_PY_INT
, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
6147 { SWIG_PY_INT
, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
6148 { SWIG_PY_INT
, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
6149 { SWIG_PY_INT
, (char *)"LedModeOff", (long) 0, 0, 0, 0},
6150 { SWIG_PY_INT
, (char *)"LedModeOn", (long) 1, 0, 0, 0},
6151 { SWIG_PY_INT
, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
6152 { SWIG_PY_INT
, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
6153 { SWIG_PY_INT
, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
6154 { SWIG_PY_INT
, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
6155 { SWIG_PY_INT
, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
6156 { SWIG_PY_INT
, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
6157 { SWIG_PY_INT
, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
6158 { SWIG_PY_INT
, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
6159 { SWIG_PY_INT
, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
6160 { SWIG_PY_INT
, (char *)"MappingBusy", (long) 1, 0, 0, 0},
6161 { SWIG_PY_INT
, (char *)"MappingFailed", (long) 2, 0, 0, 0},
6162 { SWIG_PY_INT
, (char *)"MappingModifier", (long) 0, 0, 0, 0},
6163 { SWIG_PY_INT
, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
6164 { SWIG_PY_INT
, (char *)"MappingPointer", (long) 2, 0, 0, 0},
6165 { SWIG_PY_INT
, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
6166 { SWIG_PY_INT
, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
6167 { SWIG_PY_INT
, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
6168 { SWIG_PY_INT
, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
6169 { SWIG_PY_INT
, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
6170 { SWIG_PY_INT
, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
6171 { SWIG_PY_INT
, (char *)"AllowExposures", (long) 1, 0, 0, 0},
6172 { SWIG_PY_INT
, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
6173 { SWIG_PY_INT
, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
6174 { SWIG_PY_INT
, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
6175 { SWIG_PY_INT
, (char *)"HostInsert", (long) 0, 0, 0, 0},
6176 { SWIG_PY_INT
, (char *)"HostDelete", (long) 1, 0, 0, 0},
6177 { SWIG_PY_INT
, (char *)"EnableAccess", (long) 1, 0, 0, 0},
6178 { SWIG_PY_INT
, (char *)"DisableAccess", (long) 0, 0, 0, 0},
6179 { SWIG_PY_INT
, (char *)"StaticGray", (long) 0, 0, 0, 0},
6180 { SWIG_PY_INT
, (char *)"GrayScale", (long) 1, 0, 0, 0},
6181 { SWIG_PY_INT
, (char *)"StaticColor", (long) 2, 0, 0, 0},
6182 { SWIG_PY_INT
, (char *)"PseudoColor", (long) 3, 0, 0, 0},
6183 { SWIG_PY_INT
, (char *)"TrueColor", (long) 4, 0, 0, 0},
6184 { SWIG_PY_INT
, (char *)"DirectColor", (long) 5, 0, 0, 0},
6185 { SWIG_PY_INT
, (char *)"LSBFirst", (long) 0, 0, 0, 0},
6186 { SWIG_PY_INT
, (char *)"MSBFirst", (long) 1, 0, 0, 0},
6196 SWIGEXPORT(void) SWIG_init(void) {
6197 static PyObject
*SWIG_globals
= 0;
6198 static int typeinit
= 0;
6201 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
6202 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
6203 d
= PyModule_GetDict(m
);
6206 for (i
= 0; swig_types_initial
[i
]; i
++) {
6207 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
6211 SWIG_InstallConstants(d
,swig_const_table
);