1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021128-1508
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 inline SwigValueWrapper() : tt(0) { }
18 inline ~SwigValueWrapper() { if (tt
) delete tt
; }
19 inline SwigValueWrapper
& operator=(const T
& t
) { tt
= new T(t
); return *this; }
20 inline operator T
&() const { return *tt
; }
21 inline T
*operator&() { return tt
; }
28 /***********************************************************************
31 * This file contains generic SWIG runtime support for pointer
32 * type checking as well as a few commonly used macros to control
35 * Author : David Beazley (beazley@cs.uchicago.edu)
37 * Copyright (c) 1999-2000, The University of Chicago
39 * This file may be freely redistributed without license or fee provided
40 * this copyright message remains intact.
41 ************************************************************************/
45 #if defined(_WIN32) || defined(__WIN32__)
46 # if defined(_MSC_VER)
47 # if defined(STATIC_LINKED)
48 # define SWIGEXPORT(a) a
49 # define SWIGIMPORT(a) extern a
51 # define SWIGEXPORT(a) __declspec(dllexport) a
52 # define SWIGIMPORT(a) extern a
55 # if defined(__BORLANDC__)
56 # define SWIGEXPORT(a) a _export
57 # define SWIGIMPORT(a) a _export
59 # define SWIGEXPORT(a) a
60 # define SWIGIMPORT(a) a
64 # define SWIGEXPORT(a) a
65 # define SWIGIMPORT(a) a
69 #define SWIGRUNTIME(a) SWIGEXPORT(a)
71 #define SWIGRUNTIME(a) static a
78 typedef void *(*swig_converter_func
)(void *);
79 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
81 typedef struct swig_type_info
{
83 swig_converter_func converter
;
86 swig_dycast_func dcast
;
87 struct swig_type_info
*next
;
88 struct swig_type_info
*prev
;
93 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
94 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
95 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
96 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
97 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
98 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
102 static swig_type_info
*swig_type_list
= 0;
104 /* Register a type mapping with the type-checking */
105 SWIGRUNTIME(swig_type_info
*)
106 SWIG_TypeRegister(swig_type_info
*ti
)
108 swig_type_info
*tc
, *head
, *ret
, *next
;
109 /* Check to see if this type has already been registered */
112 if (strcmp(tc
->name
, ti
->name
) == 0) {
113 /* Already exists in the table. Just add additional types to the list */
114 if (tc
->clientdata
) ti
->clientdata
= tc
->clientdata
;
125 ti
->prev
= swig_type_list
;
128 /* Build linked lists */
132 /* Patch up the rest of the links */
143 /* Check the typename */
144 SWIGRUNTIME(swig_type_info
*)
145 SWIG_TypeCheck(char *c
, swig_type_info
*ty
)
148 if (!ty
) return 0; /* Void pointer */
149 s
= ty
->next
; /* First element always just a name */
151 if (strcmp(s
->name
,c
) == 0) {
152 if (s
== ty
->next
) return s
;
153 /* Move s to the top of the linked list */
154 s
->prev
->next
= s
->next
;
156 s
->next
->prev
= s
->prev
;
158 /* Insert s as second element in the list */
160 if (ty
->next
) ty
->next
->prev
= s
;
165 } while (s
&& (s
!= ty
->next
));
169 /* Cast a pointer up an inheritance hierarchy */
171 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
)
173 if ((!ty
) || (!ty
->converter
)) return ptr
;
174 return (*ty
->converter
)(ptr
);
177 /* Dynamic pointer casting. Down an inheritance hierarchy */
178 SWIGRUNTIME(swig_type_info
*)
179 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
)
181 swig_type_info
*lastty
= ty
;
182 if (!ty
|| !ty
->dcast
) return ty
;
183 while (ty
&& (ty
->dcast
)) {
184 ty
= (*ty
->dcast
)(ptr
);
190 /* Search for a swig_type_info structure */
191 SWIGRUNTIME(swig_type_info
*)
192 SWIG_TypeQuery(const char *name
) {
193 swig_type_info
*ty
= swig_type_list
;
195 if (ty
->str
&& (strcmp(name
,ty
->str
) == 0)) return ty
;
196 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
202 /* Set the clientdata field for a type */
204 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
205 swig_type_info
*tc
, *equiv
;
206 if (ti
->clientdata
== clientdata
) return;
207 ti
->clientdata
= clientdata
;
210 if (!equiv
->converter
) {
213 if ((strcmp(tc
->name
, equiv
->name
) == 0))
214 SWIG_TypeClientData(tc
,clientdata
);
228 /***********************************************************************
231 * This file contains the runtime support for Python modules
232 * and includes code for managing global variables and pointer
235 * Author : David Beazley (beazley@cs.uchicago.edu)
236 ************************************************************************/
244 #define SWIG_PY_INT 1
245 #define SWIG_PY_FLOAT 2
246 #define SWIG_PY_STRING 3
247 #define SWIG_PY_POINTER 4
248 #define SWIG_PY_BINARY 5
250 /* Flags for pointer conversion */
252 #define SWIG_POINTER_EXCEPTION 0x1
253 #define SWIG_POINTER_DISOWN 0x2
255 /* Exception handling in wrappers */
256 #define SWIG_fail goto fail
258 /* Constant information structure */
259 typedef struct swig_const_info
{
265 swig_type_info
**ptype
;
268 #ifdef SWIG_NOINCLUDE
270 SWIGEXPORT(PyObject
*) SWIG_newvarlink();
271 SWIGEXPORT(void) SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
272 SWIGEXPORT(int) SWIG_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
273 SWIGEXPORT(int) SWIG_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
274 SWIGEXPORT(char *) SWIG_PackData(char *c
, void *, int);
275 SWIGEXPORT(char *) SWIG_UnpackData(char *c
, void *, int);
276 SWIGEXPORT(PyObject
*) SWIG_NewPointerObj(void *, swig_type_info
*,int own
);
277 SWIGEXPORT(PyObject
*) SWIG_NewPackedObj(void *, int sz
, swig_type_info
*);
278 SWIGEXPORT(void) SWIG_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
281 /* -----------------------------------------------------------------------------
282 * global variable support code.
283 * ----------------------------------------------------------------------------- */
285 typedef struct swig_globalvar
{
286 char *name
; /* Name of global variable */
287 PyObject
*(*get_attr
)(void); /* Return the current value */
288 int (*set_attr
)(PyObject
*); /* Set the value */
289 struct swig_globalvar
*next
;
292 typedef struct swig_varlinkobject
{
294 swig_globalvar
*vars
;
295 } swig_varlinkobject
;
298 swig_varlink_repr(swig_varlinkobject
*v
) {
300 return PyString_FromString("<Global variables>");
304 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
307 fprintf(fp
,"Global variables { ");
308 for (var
= v
->vars
; var
; var
=var
->next
) {
309 fprintf(fp
,"%s", var
->name
);
310 if (var
->next
) fprintf(fp
,", ");
317 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
318 swig_globalvar
*var
= v
->vars
;
320 if (strcmp(var
->name
,n
) == 0) {
321 return (*var
->get_attr
)();
325 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
330 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
331 swig_globalvar
*var
= v
->vars
;
333 if (strcmp(var
->name
,n
) == 0) {
334 return (*var
->set_attr
)(p
);
338 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
342 statichere PyTypeObject varlinktype
= {
343 PyObject_HEAD_INIT(0)
345 (char *)"swigvarlink", /* Type name */
346 sizeof(swig_varlinkobject
), /* Basic size */
349 (printfunc
) swig_varlink_print
, /* Print */
350 (getattrfunc
) swig_varlink_getattr
, /* get attr */
351 (setattrfunc
) swig_varlink_setattr
, /* Set attr */
353 (reprfunc
) swig_varlink_repr
, /* tp_repr */
354 0, /* tp_as_number */
355 0, /* tp_as_mapping*/
359 /* Create a variable linking object for use later */
360 SWIGRUNTIME(PyObject
*)
361 SWIG_newvarlink(void) {
362 swig_varlinkobject
*result
= 0;
363 result
= PyMem_NEW(swig_varlinkobject
,1);
364 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
365 result
->ob_type
= &varlinktype
;
367 result
->ob_refcnt
= 0;
368 Py_XINCREF((PyObject
*) result
);
369 return ((PyObject
*) result
);
373 SWIG_addvarlink(PyObject
*p
, char *name
,
374 PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
375 swig_varlinkobject
*v
;
377 v
= (swig_varlinkobject
*) p
;
378 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
379 gv
->name
= (char *) malloc(strlen(name
)+1);
380 strcpy(gv
->name
,name
);
381 gv
->get_attr
= get_attr
;
382 gv
->set_attr
= set_attr
;
387 /* Pack binary data into a string */
389 SWIG_PackData(char *c
, void *ptr
, int sz
) {
390 static char hex
[17] = "0123456789abcdef";
392 unsigned char *u
= (unsigned char *) ptr
;
393 register unsigned char uu
;
394 for (i
= 0; i
< sz
; i
++,u
++) {
396 *(c
++) = hex
[(uu
& 0xf0) >> 4];
397 *(c
++) = hex
[uu
& 0xf];
402 /* Unpack binary data from a string */
404 SWIG_UnpackData(char *c
, void *ptr
, int sz
) {
405 register unsigned char uu
= 0;
407 unsigned char *u
= (unsigned char *) ptr
;
409 for (i
= 0; i
< sz
; i
++, u
++) {
411 if ((d
>= '0') && (d
<= '9'))
412 uu
= ((d
- '0') << 4);
413 else if ((d
>= 'a') && (d
<= 'f'))
414 uu
= ((d
- ('a'-10)) << 4);
416 if ((d
>= '0') && (d
<= '9'))
418 else if ((d
>= 'a') && (d
<= 'f'))
419 uu
|= (d
- ('a'-10));
425 /* Convert a pointer value */
427 SWIG_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
430 static PyObject
*SWIG_this
= 0;
435 if (obj
== Py_None
) {
439 #ifdef SWIG_COBJECT_TYPES
440 if (!(PyCObject_Check(obj
))) {
442 SWIG_this
= PyString_FromString("this");
444 obj
= PyObject_GetAttr(obj
,SWIG_this
);
446 if (!obj
) goto type_error
;
447 if (!PyCObject_Check(obj
)) {
452 *ptr
= PyCObject_AsVoidPtr(obj
);
453 c
= (char *) PyCObject_GetDesc(obj
);
454 if (newref
) Py_DECREF(obj
);
457 if (!(PyString_Check(obj
))) {
459 SWIG_this
= PyString_FromString("this");
461 obj
= PyObject_GetAttr(obj
,SWIG_this
);
463 if (!obj
) goto type_error
;
464 if (!PyString_Check(obj
)) {
469 c
= PyString_AsString(obj
);
470 /* Pointer values must start with leading underscore */
473 if (strcmp(c
,"NULL") == 0) {
474 if (newref
) { Py_DECREF(obj
); }
477 if (newref
) { Py_DECREF(obj
); }
482 c
= SWIG_UnpackData(c
,ptr
,sizeof(void *));
483 if (newref
) { Py_DECREF(obj
); }
486 #ifdef SWIG_COBJECT_TYPES
491 tc
= SWIG_TypeCheck(c
,ty
);
492 if (!tc
) goto type_error
;
493 *ptr
= SWIG_TypeCast(tc
,(void*) *ptr
);
496 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
497 PyObject
*zero
= PyInt_FromLong(0);
498 PyObject_SetAttrString(pyobj
,(char*)"thisown",zero
);
504 if (flags
& SWIG_POINTER_EXCEPTION
) {
506 char *temp
= (char *) malloc(64+strlen(ty
->name
));
507 sprintf(temp
,"Type error. Expected %s", ty
->name
);
508 PyErr_SetString(PyExc_TypeError
, temp
);
511 PyErr_SetString(PyExc_TypeError
,"Expected a pointer");
517 /* Convert a packed value value */
519 SWIG_ConvertPacked(PyObject
*obj
, void *ptr
, int sz
, swig_type_info
*ty
, int flags
) {
523 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
524 c
= PyString_AsString(obj
);
525 /* Pointer values must start with leading underscore */
526 if (*c
!= '_') goto type_error
;
528 c
= SWIG_UnpackData(c
,ptr
,sz
);
530 tc
= SWIG_TypeCheck(c
,ty
);
531 if (!tc
) goto type_error
;
539 char *temp
= (char *) malloc(64+strlen(ty
->name
));
540 sprintf(temp
,"Type error. Expected %s", ty
->name
);
541 PyErr_SetString(PyExc_TypeError
, temp
);
544 PyErr_SetString(PyExc_TypeError
,"Expected a pointer");
550 /* Create a new pointer object */
551 SWIGRUNTIME(PyObject
*)
552 SWIG_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
558 #ifdef SWIG_COBJECT_TYPES
559 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) type
->name
, NULL
);
565 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
566 strcpy(r
,type
->name
);
567 robj
= PyString_FromString(result
);
570 if (!robj
|| (robj
== Py_None
)) return robj
;
571 if (type
->clientdata
) {
573 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
575 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
579 PyObject
*n
= PyInt_FromLong(1);
580 PyObject_SetAttrString(inst
,(char*)"thisown",n
);
589 SWIGRUNTIME(PyObject
*)
590 SWIG_NewPackedObj(void *ptr
, int sz
, swig_type_info
*type
) {
593 if ((2*sz
+ 1 + strlen(type
->name
)) > 1000) return 0;
595 r
= SWIG_PackData(r
,ptr
,sz
);
596 strcpy(r
,type
->name
);
597 return PyString_FromString(result
);
600 /* Install Constants */
602 SWIG_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
605 for (i
= 0; constants
[i
].type
; i
++) {
606 switch(constants
[i
].type
) {
608 obj
= PyInt_FromLong(constants
[i
].lvalue
);
611 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
614 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
616 case SWIG_PY_POINTER
:
617 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
620 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
627 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
646 /* -------- TYPES TABLE (BEGIN) -------- */
648 #define SWIGTYPE_p_otk__Point swig_types[0]
649 #define SWIGTYPE_p_ob__Client swig_types[1]
650 #define SWIGTYPE_p_XMapEvent swig_types[2]
651 #define SWIGTYPE_p_XUnmapEvent swig_types[3]
652 #define SWIGTYPE_p_XColormapEvent swig_types[4]
653 #define SWIGTYPE_p_XNoExposeEvent swig_types[5]
654 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[6]
655 #define SWIGTYPE_p_XExposeEvent swig_types[7]
656 #define SWIGTYPE_p_XFocusChangeEvent swig_types[8]
657 #define SWIGTYPE_p_XClientMessageEvent swig_types[9]
658 #define SWIGTYPE_p_ob__MouseData swig_types[10]
659 #define SWIGTYPE_p_XSelectionClearEvent swig_types[11]
660 #define SWIGTYPE_p_otk__Rect swig_types[12]
661 #define SWIGTYPE_p_Visual swig_types[13]
662 #define SWIGTYPE_p_XResizeRequestEvent swig_types[14]
663 #define SWIGTYPE_p_XMapRequestEvent swig_types[15]
664 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[16]
665 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[17]
666 #define SWIGTYPE_p_XGravityEvent swig_types[18]
667 #define SWIGTYPE_p_XVisibilityEvent swig_types[19]
668 #define SWIGTYPE_p_XPropertyEvent swig_types[20]
669 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[21]
670 #define SWIGTYPE_p_ob__Cursors swig_types[22]
671 #define SWIGTYPE_p_otk__ImageControl swig_types[23]
672 #define SWIGTYPE_p_ob__MwmHints swig_types[24]
673 #define SWIGTYPE_p_ob__Screen swig_types[25]
674 #define SWIGTYPE_p_ob__Frame swig_types[26]
675 #define SWIGTYPE_p_ob__KeyData swig_types[27]
676 #define SWIGTYPE_p_XConfigureEvent swig_types[28]
677 #define SWIGTYPE_p_XCirculateEvent swig_types[29]
678 #define SWIGTYPE_p_XRectangle swig_types[30]
679 #define SWIGTYPE_p_std__string swig_types[31]
680 #define SWIGTYPE_p_XCrossingEvent swig_types[32]
681 #define SWIGTYPE_p_Display swig_types[33]
682 #define SWIGTYPE_p_otk__Display swig_types[34]
683 #define SWIGTYPE_p_XMappingEvent swig_types[35]
684 #define SWIGTYPE_p_otk__Style swig_types[36]
685 #define SWIGTYPE_p_otk__EventHandler swig_types[37]
686 #define SWIGTYPE_p_XReparentEvent swig_types[38]
687 #define SWIGTYPE_p_otk__EventDispatcher swig_types[39]
688 #define SWIGTYPE_p_otk__GCCache swig_types[40]
689 #define SWIGTYPE_p_ob__Bindings swig_types[41]
690 #define SWIGTYPE_p_ob__Openbox swig_types[42]
691 #define SWIGTYPE_p_ob__Actions swig_types[43]
692 #define SWIGTYPE_p_XEvent swig_types[44]
693 #define SWIGTYPE_p_otk__Property swig_types[45]
694 #define SWIGTYPE_p_PyObject swig_types[46]
695 #define SWIGTYPE_p_otk__ScreenInfo swig_types[47]
696 #define SWIGTYPE_p_ob__EventData swig_types[48]
697 #define SWIGTYPE_p_XCreateWindowEvent swig_types[49]
698 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[50]
699 #define SWIGTYPE_p_otk__Property__StringVect swig_types[51]
700 #define SWIGTYPE_p_ob__WidgetBase swig_types[52]
701 #define SWIGTYPE_p_XKeyEvent swig_types[53]
702 #define SWIGTYPE_p_otk__Strut swig_types[54]
703 #define SWIGTYPE_p_unsigned_long swig_types[55]
704 #define SWIGTYPE_p_p_unsigned_long swig_types[56]
705 #define SWIGTYPE_p_XMotionEvent swig_types[57]
706 #define SWIGTYPE_p_XButtonEvent swig_types[58]
707 #define SWIGTYPE_p_XSelectionEvent swig_types[59]
708 #define SWIGTYPE_p_otk__TimerQueueManager swig_types[60]
709 static swig_type_info
*swig_types
[62];
711 /* -------- TYPES TABLE (END) -------- */
714 /*-----------------------------------------------
715 @(target):= _openbox.so
716 ------------------------------------------------*/
717 #define SWIG_init init_openbox
719 #define SWIG_name "_openbox"
722 # include "../config.h"
725 #include "openbox.hh"
728 #include "bindings.hh"
729 #include "actions.hh"
731 #include "otk/otk.hh"
734 #define SWIG_MemoryError 1
735 #define SWIG_IOError 2
736 #define SWIG_RuntimeError 3
737 #define SWIG_IndexError 4
738 #define SWIG_TypeError 5
739 #define SWIG_DivisionByZero 6
740 #define SWIG_OverflowError 7
741 #define SWIG_SyntaxError 8
742 #define SWIG_ValueError 9
743 #define SWIG_SystemError 10
744 #define SWIG_UnknownError 99
747 static void _SWIG_exception(int code
, const char *msg
) {
749 case SWIG_MemoryError
:
750 PyErr_SetString(PyExc_MemoryError
,msg
);
753 PyErr_SetString(PyExc_IOError
,msg
);
755 case SWIG_RuntimeError
:
756 PyErr_SetString(PyExc_RuntimeError
,msg
);
758 case SWIG_IndexError
:
759 PyErr_SetString(PyExc_IndexError
,msg
);
762 PyErr_SetString(PyExc_TypeError
,msg
);
764 case SWIG_DivisionByZero
:
765 PyErr_SetString(PyExc_ZeroDivisionError
,msg
);
767 case SWIG_OverflowError
:
768 PyErr_SetString(PyExc_OverflowError
,msg
);
770 case SWIG_SyntaxError
:
771 PyErr_SetString(PyExc_SyntaxError
,msg
);
773 case SWIG_ValueError
:
774 PyErr_SetString(PyExc_ValueError
,msg
);
776 case SWIG_SystemError
:
777 PyErr_SetString(PyExc_SystemError
,msg
);
780 PyErr_SetString(PyExc_RuntimeError
,msg
);
785 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
793 PyObject
* SwigInt_FromBool(bool b
) {
794 return PyInt_FromLong(b
? 1L : 0L);
796 double SwigNumber_Check(PyObject
* o
) {
797 return PyFloat_Check(o
) || PyInt_Check(o
);
799 double SwigNumber_AsDouble(PyObject
* o
) {
800 return (PyFloat_Check(o
) ? PyFloat_AsDouble(o
) : double(PyInt_AsLong(o
)));
802 PyObject
* SwigString_FromString(const std::string
& s
) {
803 return PyString_FromString(s
.c_str());
805 std::string
SwigString_AsString(PyObject
* o
) {
806 return std::string(PyString_AsString(o
));
815 ob::Openbox
*Openbox_instance() { return ob::Openbox::instance
; }
819 void python_callback(PyObject
*func
, MouseData
*data
)
824 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
825 SWIGTYPE_p_ob__MouseData
,
829 result
= PyEval_CallObject(func
, arglist
);
830 if (!result
|| PyErr_Occurred()) {
831 // an exception occured in the script, display it
839 void python_callback(PyObject
*func
, EventData
*data
)
844 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
845 SWIGTYPE_p_ob__EventData
,
849 result
= PyEval_CallObject(func
, arglist
);
850 if (!result
|| PyErr_Occurred()) {
851 // an exception occured in the script, display it
859 void python_callback(PyObject
*func
, KeyData
*data
)
864 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
865 SWIGTYPE_p_ob__KeyData
,
869 result
= PyEval_CallObject(func
, arglist
);
870 if (!result
|| PyErr_Occurred()) {
871 // an exception occured in the script, display it
885 Display
*Display_display() { return otk::Display::display
; }
887 ob::Client
*ob_Screen_client(ob::Screen
*self
,int i
){
888 if (i
>= (int)self
->clients
.size())
890 ob::Client::List::iterator it
= self
->clients
.begin();
894 int ob_Screen_clientCount(ob::Screen
const *self
){
895 return (int) self
->clients
.size();
900 static PyObject
*_wrap_Openbox_instance(PyObject
*self
, PyObject
*args
) {
904 if(!PyArg_ParseTuple(args
,(char *)":Openbox_instance")) goto fail
;
905 result
= (ob::Openbox
*)Openbox_instance();
907 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Openbox
, 0);
914 static PyObject
*_wrap_Display_display(PyObject
*self
, PyObject
*args
) {
918 if(!PyArg_ParseTuple(args
,(char *)":Display_display")) goto fail
;
919 result
= (Display
*)Display_display();
921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Display
, 0);
928 static PyObject
*_wrap_Display_initialize(PyObject
*self
, PyObject
*args
) {
932 if(!PyArg_ParseTuple(args
,(char *)"s:Display_initialize",&arg1
)) goto fail
;
933 otk::Display::initialize(arg1
);
935 Py_INCREF(Py_None
); resultobj
= Py_None
;
942 static PyObject
*_wrap_Display_destroy(PyObject
*self
, PyObject
*args
) {
945 if(!PyArg_ParseTuple(args
,(char *)":Display_destroy")) goto fail
;
946 otk::Display::destroy();
948 Py_INCREF(Py_None
); resultobj
= Py_None
;
955 static PyObject
*_wrap_Display_gcCache(PyObject
*self
, PyObject
*args
) {
957 otk::GCCache
*result
;
959 if(!PyArg_ParseTuple(args
,(char *)":Display_gcCache")) goto fail
;
960 result
= (otk::GCCache
*)otk::Display::gcCache();
962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__GCCache
, 0);
969 static PyObject
*_wrap_Display_screenInfo(PyObject
*self
, PyObject
*args
) {
972 otk::ScreenInfo
*result
;
974 if(!PyArg_ParseTuple(args
,(char *)"i:Display_screenInfo",&arg1
)) goto fail
;
975 result
= (otk::ScreenInfo
*)otk::Display::screenInfo(arg1
);
977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
984 static PyObject
*_wrap_Display_findScreen(PyObject
*self
, PyObject
*args
) {
987 otk::ScreenInfo
*result
;
988 PyObject
* obj0
= 0 ;
990 if(!PyArg_ParseTuple(args
,(char *)"O:Display_findScreen",&obj0
)) goto fail
;
991 arg1
= (Window
) PyInt_AsLong(obj0
);
992 if (PyErr_Occurred()) SWIG_fail
;
993 result
= (otk::ScreenInfo
*)otk::Display::findScreen(arg1
);
995 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
1002 static PyObject
*_wrap_Display_xkb(PyObject
*self
, PyObject
*args
) {
1003 PyObject
*resultobj
;
1006 if(!PyArg_ParseTuple(args
,(char *)":Display_xkb")) goto fail
;
1007 result
= (bool)otk::Display::xkb();
1009 resultobj
= PyInt_FromLong((long)result
);
1016 static PyObject
*_wrap_Display_xkbEventBase(PyObject
*self
, PyObject
*args
) {
1017 PyObject
*resultobj
;
1020 if(!PyArg_ParseTuple(args
,(char *)":Display_xkbEventBase")) goto fail
;
1021 result
= (int)otk::Display::xkbEventBase();
1023 resultobj
= PyInt_FromLong((long)result
);
1030 static PyObject
*_wrap_Display_shape(PyObject
*self
, PyObject
*args
) {
1031 PyObject
*resultobj
;
1034 if(!PyArg_ParseTuple(args
,(char *)":Display_shape")) goto fail
;
1035 result
= (bool)otk::Display::shape();
1037 resultobj
= PyInt_FromLong((long)result
);
1044 static PyObject
*_wrap_Display_shapeEventBase(PyObject
*self
, PyObject
*args
) {
1045 PyObject
*resultobj
;
1048 if(!PyArg_ParseTuple(args
,(char *)":Display_shapeEventBase")) goto fail
;
1049 result
= (int)otk::Display::shapeEventBase();
1051 resultobj
= PyInt_FromLong((long)result
);
1058 static PyObject
*_wrap_Display_xinerama(PyObject
*self
, PyObject
*args
) {
1059 PyObject
*resultobj
;
1062 if(!PyArg_ParseTuple(args
,(char *)":Display_xinerama")) goto fail
;
1063 result
= (bool)otk::Display::xinerama();
1065 resultobj
= PyInt_FromLong((long)result
);
1072 static PyObject
*_wrap_Display_numLockMask(PyObject
*self
, PyObject
*args
) {
1073 PyObject
*resultobj
;
1074 unsigned int result
;
1076 if(!PyArg_ParseTuple(args
,(char *)":Display_numLockMask")) goto fail
;
1077 result
= (unsigned int)otk::Display::numLockMask();
1079 resultobj
= PyInt_FromLong((long)result
);
1086 static PyObject
*_wrap_Display_scrollLockMask(PyObject
*self
, PyObject
*args
) {
1087 PyObject
*resultobj
;
1088 unsigned int result
;
1090 if(!PyArg_ParseTuple(args
,(char *)":Display_scrollLockMask")) goto fail
;
1091 result
= (unsigned int)otk::Display::scrollLockMask();
1093 resultobj
= PyInt_FromLong((long)result
);
1100 static PyObject
*_wrap_Display_grab(PyObject
*self
, PyObject
*args
) {
1101 PyObject
*resultobj
;
1103 if(!PyArg_ParseTuple(args
,(char *)":Display_grab")) goto fail
;
1104 otk::Display::grab();
1106 Py_INCREF(Py_None
); resultobj
= Py_None
;
1113 static PyObject
*_wrap_Display_ungrab(PyObject
*self
, PyObject
*args
) {
1114 PyObject
*resultobj
;
1116 if(!PyArg_ParseTuple(args
,(char *)":Display_ungrab")) goto fail
;
1117 otk::Display::ungrab();
1119 Py_INCREF(Py_None
); resultobj
= Py_None
;
1126 static PyObject
*_wrap_Display_grabButton(PyObject
*self
, PyObject
*args
) {
1127 PyObject
*resultobj
;
1138 PyObject
* obj0
= 0 ;
1139 PyObject
* obj1
= 0 ;
1140 PyObject
* obj2
= 0 ;
1141 PyObject
* obj3
= 0 ;
1142 PyObject
* obj4
= 0 ;
1143 PyObject
* obj7
= 0 ;
1144 PyObject
* obj8
= 0 ;
1145 PyObject
* obj9
= 0 ;
1147 if(!PyArg_ParseTuple(args
,(char *)"OOOOOiiOOO:Display_grabButton",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
1148 arg1
= (unsigned int) PyInt_AsLong(obj0
);
1149 if (PyErr_Occurred()) SWIG_fail
;
1150 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1151 if (PyErr_Occurred()) SWIG_fail
;
1152 arg3
= (Window
) PyInt_AsLong(obj2
);
1153 if (PyErr_Occurred()) SWIG_fail
;
1154 arg4
= (bool) PyInt_AsLong(obj3
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1156 arg5
= (unsigned int) PyInt_AsLong(obj4
);
1157 if (PyErr_Occurred()) SWIG_fail
;
1158 arg8
= (Window
) PyInt_AsLong(obj7
);
1159 if (PyErr_Occurred()) SWIG_fail
;
1160 arg9
= (Cursor
) PyInt_AsLong(obj8
);
1161 if (PyErr_Occurred()) SWIG_fail
;
1162 arg10
= (bool) PyInt_AsLong(obj9
);
1163 if (PyErr_Occurred()) SWIG_fail
;
1164 otk::Display::grabButton(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
1166 Py_INCREF(Py_None
); resultobj
= Py_None
;
1173 static PyObject
*_wrap_Display_ungrabButton(PyObject
*self
, PyObject
*args
) {
1174 PyObject
*resultobj
;
1178 PyObject
* obj0
= 0 ;
1179 PyObject
* obj1
= 0 ;
1180 PyObject
* obj2
= 0 ;
1182 if(!PyArg_ParseTuple(args
,(char *)"OOO:Display_ungrabButton",&obj0
,&obj1
,&obj2
)) goto fail
;
1183 arg1
= (unsigned int) PyInt_AsLong(obj0
);
1184 if (PyErr_Occurred()) SWIG_fail
;
1185 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1186 if (PyErr_Occurred()) SWIG_fail
;
1187 arg3
= (Window
) PyInt_AsLong(obj2
);
1188 if (PyErr_Occurred()) SWIG_fail
;
1189 otk::Display::ungrabButton(arg1
,arg2
,arg3
);
1191 Py_INCREF(Py_None
); resultobj
= Py_None
;
1198 static PyObject
*_wrap_Display_grabKey(PyObject
*self
, PyObject
*args
) {
1199 PyObject
*resultobj
;
1207 PyObject
* obj0
= 0 ;
1208 PyObject
* obj1
= 0 ;
1209 PyObject
* obj2
= 0 ;
1210 PyObject
* obj3
= 0 ;
1211 PyObject
* obj6
= 0 ;
1213 if(!PyArg_ParseTuple(args
,(char *)"OOOOiiO:Display_grabKey",&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
1214 arg1
= (unsigned int) PyInt_AsLong(obj0
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1216 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1217 if (PyErr_Occurred()) SWIG_fail
;
1218 arg3
= (Window
) PyInt_AsLong(obj2
);
1219 if (PyErr_Occurred()) SWIG_fail
;
1220 arg4
= (bool) PyInt_AsLong(obj3
);
1221 if (PyErr_Occurred()) SWIG_fail
;
1222 arg7
= (bool) PyInt_AsLong(obj6
);
1223 if (PyErr_Occurred()) SWIG_fail
;
1224 otk::Display::grabKey(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
1226 Py_INCREF(Py_None
); resultobj
= Py_None
;
1233 static PyObject
*_wrap_Display_ungrabKey(PyObject
*self
, PyObject
*args
) {
1234 PyObject
*resultobj
;
1238 PyObject
* obj0
= 0 ;
1239 PyObject
* obj1
= 0 ;
1240 PyObject
* obj2
= 0 ;
1242 if(!PyArg_ParseTuple(args
,(char *)"OOO:Display_ungrabKey",&obj0
,&obj1
,&obj2
)) goto fail
;
1243 arg1
= (unsigned int) PyInt_AsLong(obj0
);
1244 if (PyErr_Occurred()) SWIG_fail
;
1245 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1246 if (PyErr_Occurred()) SWIG_fail
;
1247 arg3
= (Window
) PyInt_AsLong(obj2
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1249 otk::Display::ungrabKey(arg1
,arg2
,arg3
);
1251 Py_INCREF(Py_None
); resultobj
= Py_None
;
1258 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
1260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1261 SWIG_TypeClientData(SWIGTYPE_p_otk__Display
, obj
);
1263 return Py_BuildValue((char *)"");
1265 static PyObject
*_wrap_new_Point__SWIG_0(PyObject
*self
, PyObject
*args
) {
1266 PyObject
*resultobj
;
1269 if(!PyArg_ParseTuple(args
,(char *)":new_Point")) goto fail
;
1270 result
= (otk::Point
*)new otk::Point();
1272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
1279 static PyObject
*_wrap_new_Point__SWIG_1(PyObject
*self
, PyObject
*args
) {
1280 PyObject
*resultobj
;
1285 if(!PyArg_ParseTuple(args
,(char *)"ii:new_Point",&arg1
,&arg2
)) goto fail
;
1286 result
= (otk::Point
*)new otk::Point(arg1
,arg2
);
1288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
1295 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
) {
1300 argc
= PyObject_Length(args
);
1301 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
1302 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1305 return _wrap_new_Point__SWIG_0(self
,args
);
1310 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
1314 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1317 return _wrap_new_Point__SWIG_1(self
,args
);
1322 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Point'");
1327 static PyObject
*_wrap_Point_setX(PyObject
*self
, PyObject
*args
) {
1328 PyObject
*resultobj
;
1329 otk::Point
*arg1
= (otk::Point
*) 0 ;
1331 PyObject
* obj0
= 0 ;
1333 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setX",&obj0
,&arg2
)) goto fail
;
1334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1337 Py_INCREF(Py_None
); resultobj
= Py_None
;
1344 static PyObject
*_wrap_Point_x(PyObject
*self
, PyObject
*args
) {
1345 PyObject
*resultobj
;
1346 otk::Point
*arg1
= (otk::Point
*) 0 ;
1348 PyObject
* obj0
= 0 ;
1350 if(!PyArg_ParseTuple(args
,(char *)"O:Point_x",&obj0
)) goto fail
;
1351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1352 result
= (int)((otk::Point
const *)arg1
)->x();
1354 resultobj
= PyInt_FromLong((long)result
);
1361 static PyObject
*_wrap_Point_setY(PyObject
*self
, PyObject
*args
) {
1362 PyObject
*resultobj
;
1363 otk::Point
*arg1
= (otk::Point
*) 0 ;
1365 PyObject
* obj0
= 0 ;
1367 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setY",&obj0
,&arg2
)) goto fail
;
1368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1371 Py_INCREF(Py_None
); resultobj
= Py_None
;
1378 static PyObject
*_wrap_Point_y(PyObject
*self
, PyObject
*args
) {
1379 PyObject
*resultobj
;
1380 otk::Point
*arg1
= (otk::Point
*) 0 ;
1382 PyObject
* obj0
= 0 ;
1384 if(!PyArg_ParseTuple(args
,(char *)"O:Point_y",&obj0
)) goto fail
;
1385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1386 result
= (int)((otk::Point
const *)arg1
)->y();
1388 resultobj
= PyInt_FromLong((long)result
);
1395 static PyObject
*_wrap_Point_setPoint(PyObject
*self
, PyObject
*args
) {
1396 PyObject
*resultobj
;
1397 otk::Point
*arg1
= (otk::Point
*) 0 ;
1400 PyObject
* obj0
= 0 ;
1402 if(!PyArg_ParseTuple(args
,(char *)"Oii:Point_setPoint",&obj0
,&arg2
,&arg3
)) goto fail
;
1403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1404 (arg1
)->setPoint(arg2
,arg3
);
1406 Py_INCREF(Py_None
); resultobj
= Py_None
;
1413 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
1415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1416 SWIG_TypeClientData(SWIGTYPE_p_otk__Point
, obj
);
1418 return Py_BuildValue((char *)"");
1420 static PyObject
*_wrap_new_Property(PyObject
*self
, PyObject
*args
) {
1421 PyObject
*resultobj
;
1422 otk::Property
*result
;
1424 if(!PyArg_ParseTuple(args
,(char *)":new_Property")) goto fail
;
1425 result
= (otk::Property
*)new otk::Property();
1427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Property
, 1);
1434 static PyObject
*_wrap_delete_Property(PyObject
*self
, PyObject
*args
) {
1435 PyObject
*resultobj
;
1436 otk::Property
*arg1
= (otk::Property
*) 0 ;
1437 PyObject
* obj0
= 0 ;
1439 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Property",&obj0
)) goto fail
;
1440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Property
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1443 Py_INCREF(Py_None
); resultobj
= Py_None
;
1450 static PyObject
*_wrap_Property_set__SWIG_0(PyObject
*self
, PyObject
*args
) {
1451 PyObject
*resultobj
;
1452 otk::Property
*arg1
= (otk::Property
*) 0 ;
1456 unsigned long arg5
;
1457 PyObject
* obj0
= 0 ;
1458 PyObject
* obj1
= 0 ;
1459 PyObject
* obj4
= 0 ;
1461 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:Property_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
1462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Property
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1463 arg2
= (Window
) PyInt_AsLong(obj1
);
1464 if (PyErr_Occurred()) SWIG_fail
;
1465 arg5
= (unsigned long) PyInt_AsLong(obj4
);
1466 if (PyErr_Occurred()) SWIG_fail
;
1467 ((otk::Property
const *)arg1
)->set(arg2
,(otk::Property::Atoms
)arg3
,(otk::Property::Atoms
)arg4
,arg5
);
1469 Py_INCREF(Py_None
); resultobj
= Py_None
;
1476 static PyObject
*_wrap_Property_set__SWIG_1(PyObject
*self
, PyObject
*args
) {
1477 PyObject
*resultobj
;
1478 otk::Property
*arg1
= (otk::Property
*) 0 ;
1482 unsigned long *arg5
;
1484 PyObject
* obj0
= 0 ;
1485 PyObject
* obj1
= 0 ;
1486 PyObject
* obj4
= 0 ;
1488 if(!PyArg_ParseTuple(args
,(char *)"OOiiOi:Property_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&arg6
)) goto fail
;
1489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Property
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1490 arg2
= (Window
) PyInt_AsLong(obj1
);
1491 if (PyErr_Occurred()) SWIG_fail
;
1492 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1493 ((otk::Property
const *)arg1
)->set(arg2
,(otk::Property::Atoms
)arg3
,(otk::Property::Atoms
)arg4
,arg5
,arg6
);
1495 Py_INCREF(Py_None
); resultobj
= Py_None
;
1502 static PyObject
*_wrap_Property_set__SWIG_2(PyObject
*self
, PyObject
*args
) {
1503 PyObject
*resultobj
;
1504 otk::Property
*arg1
= (otk::Property
*) 0 ;
1508 std::string
*arg5
= 0 ;
1510 PyObject
* obj0
= 0 ;
1511 PyObject
* obj1
= 0 ;
1512 PyObject
* obj4
= 0 ;
1514 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:Property_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
1515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Property
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1516 arg2
= (Window
) PyInt_AsLong(obj1
);
1517 if (PyErr_Occurred()) SWIG_fail
;
1519 if (PyString_Check(obj4
)) {
1520 temp5
= std::string(PyString_AsString(obj4
));
1523 SWIG_exception(SWIG_TypeError
, "string expected");
1526 ((otk::Property
const *)arg1
)->set(arg2
,(otk::Property::Atoms
)arg3
,(otk::Property::StringType
)arg4
,(std::string
const &)*arg5
);
1528 Py_INCREF(Py_None
); resultobj
= Py_None
;
1535 static PyObject
*_wrap_Property_set__SWIG_3(PyObject
*self
, PyObject
*args
) {
1536 PyObject
*resultobj
;
1537 otk::Property
*arg1
= (otk::Property
*) 0 ;
1541 otk::Property::StringVect
*arg5
= 0 ;
1542 PyObject
* obj0
= 0 ;
1543 PyObject
* obj1
= 0 ;
1544 PyObject
* obj4
= 0 ;
1546 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:Property_set",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
1547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Property
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1548 arg2
= (Window
) PyInt_AsLong(obj1
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1550 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_otk__Property__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1554 ((otk::Property
const *)arg1
)->set(arg2
,(otk::Property::Atoms
)arg3
,(otk::Property::StringType
)arg4
,(otk::Property::StringVect
const &)*arg5
);
1556 Py_INCREF(Py_None
); resultobj
= Py_None
;
1563 static PyObject
*_wrap_Property_set(PyObject
*self
, PyObject
*args
) {
1568 argc
= PyObject_Length(args
);
1569 for (ii
= 0; (ii
< argc
) && (ii
< 6); ii
++) {
1570 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1576 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Property
, 0) == -1) {
1585 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1589 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1593 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1598 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_otk__Property__StringVect
, 0) == -1) {
1606 return _wrap_Property_set__SWIG_3(self
,args
);
1617 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Property
, 0) == -1) {
1626 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1630 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1634 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1638 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
1641 return _wrap_Property_set__SWIG_0(self
,args
);
1652 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Property
, 0) == -1) {
1661 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1665 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1669 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1673 _v
= PyString_Check(argv
[4]) ? 1 : 0;
1676 return _wrap_Property_set__SWIG_2(self
,args
);
1687 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Property
, 0) == -1) {
1696 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1700 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1704 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1709 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
1718 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
1721 return _wrap_Property_set__SWIG_1(self
,args
);
1730 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Property_set'");
1735 static PyObject
*_wrap_Property_get__SWIG_0(PyObject
*self
, PyObject
*args
) {
1736 PyObject
*resultobj
;
1737 otk::Property
*arg1
= (otk::Property
*) 0 ;
1741 unsigned long *arg5
= (unsigned long *) 0 ;
1742 unsigned long **arg6
= (unsigned long **) 0 ;
1744 PyObject
* obj0
= 0 ;
1745 PyObject
* obj1
= 0 ;
1746 PyObject
* obj4
= 0 ;
1747 PyObject
* obj5
= 0 ;
1749 if(!PyArg_ParseTuple(args
,(char *)"OOiiOO:Property_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
)) goto fail
;
1750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Property
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1751 arg2
= (Window
) PyInt_AsLong(obj1
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1753 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1754 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1755 result
= (bool)((otk::Property
const *)arg1
)->get(arg2
,(otk::Property::Atoms
)arg3
,(otk::Property::Atoms
)arg4
,arg5
,arg6
);
1757 resultobj
= PyInt_FromLong((long)result
);
1764 static PyObject
*_wrap_Property_get__SWIG_1(PyObject
*self
, PyObject
*args
) {
1765 PyObject
*resultobj
;
1766 otk::Property
*arg1
= (otk::Property
*) 0 ;
1770 unsigned long *arg5
= (unsigned long *) 0 ;
1772 PyObject
* obj0
= 0 ;
1773 PyObject
* obj1
= 0 ;
1774 PyObject
* obj4
= 0 ;
1776 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:Property_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
1777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Property
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1778 arg2
= (Window
) PyInt_AsLong(obj1
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1780 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1781 result
= (bool)((otk::Property
const *)arg1
)->get(arg2
,(otk::Property::Atoms
)arg3
,(otk::Property::Atoms
)arg4
,arg5
);
1783 resultobj
= PyInt_FromLong((long)result
);
1790 static PyObject
*_wrap_Property_get__SWIG_2(PyObject
*self
, PyObject
*args
) {
1791 PyObject
*resultobj
;
1792 otk::Property
*arg1
= (otk::Property
*) 0 ;
1796 std::string
*arg5
= (std::string
*) 0 ;
1798 PyObject
* obj0
= 0 ;
1799 PyObject
* obj1
= 0 ;
1800 PyObject
* obj4
= 0 ;
1802 if(!PyArg_ParseTuple(args
,(char *)"OOiiO:Property_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
1803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Property
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1804 arg2
= (Window
) PyInt_AsLong(obj1
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1806 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_std__string
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1807 result
= (bool)((otk::Property
const *)arg1
)->get(arg2
,(otk::Property::Atoms
)arg3
,(otk::Property::StringType
)arg4
,arg5
);
1809 resultobj
= PyInt_FromLong((long)result
);
1816 static PyObject
*_wrap_Property_get__SWIG_3(PyObject
*self
, PyObject
*args
) {
1817 PyObject
*resultobj
;
1818 otk::Property
*arg1
= (otk::Property
*) 0 ;
1822 unsigned long *arg5
= (unsigned long *) 0 ;
1823 otk::Property::StringVect
*arg6
= (otk::Property::StringVect
*) 0 ;
1825 PyObject
* obj0
= 0 ;
1826 PyObject
* obj1
= 0 ;
1827 PyObject
* obj4
= 0 ;
1828 PyObject
* obj5
= 0 ;
1830 if(!PyArg_ParseTuple(args
,(char *)"OOiiOO:Property_get",&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
)) goto fail
;
1831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Property
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1832 arg2
= (Window
) PyInt_AsLong(obj1
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1834 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1835 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_otk__Property__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1836 result
= (bool)((otk::Property
const *)arg1
)->get(arg2
,(otk::Property::Atoms
)arg3
,(otk::Property::StringType
)arg4
,arg5
,arg6
);
1838 resultobj
= PyInt_FromLong((long)result
);
1845 static PyObject
*_wrap_Property_get(PyObject
*self
, PyObject
*args
) {
1850 argc
= PyObject_Length(args
);
1851 for (ii
= 0; (ii
< argc
) && (ii
< 6); ii
++) {
1852 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1858 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Property
, 0) == -1) {
1867 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1871 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1875 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1880 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
1888 return _wrap_Property_get__SWIG_1(self
,args
);
1899 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Property
, 0) == -1) {
1908 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1912 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1916 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1921 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_std__string
, 0) == -1) {
1929 return _wrap_Property_get__SWIG_2(self
,args
);
1940 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Property
, 0) == -1) {
1949 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1953 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1957 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
1962 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
1972 if (SWIG_ConvertPtr(argv
[5], (void **) &ptr
, SWIGTYPE_p_p_unsigned_long
, 0) == -1) {
1980 return _wrap_Property_get__SWIG_0(self
,args
);
1992 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Property
, 0) == -1) {
2001 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2005 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2009 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
2014 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
2024 if (SWIG_ConvertPtr(argv
[5], (void **) &ptr
, SWIGTYPE_p_otk__Property__StringVect
, 0) == -1) {
2032 return _wrap_Property_get__SWIG_3(self
,args
);
2041 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Property_get'");
2046 static PyObject
*_wrap_Property_erase(PyObject
*self
, PyObject
*args
) {
2047 PyObject
*resultobj
;
2048 otk::Property
*arg1
= (otk::Property
*) 0 ;
2051 PyObject
* obj0
= 0 ;
2052 PyObject
* obj1
= 0 ;
2054 if(!PyArg_ParseTuple(args
,(char *)"OOi:Property_erase",&obj0
,&obj1
,&arg3
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Property
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2056 arg2
= (Window
) PyInt_AsLong(obj1
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2058 ((otk::Property
const *)arg1
)->erase(arg2
,(otk::Property::Atoms
)arg3
);
2060 Py_INCREF(Py_None
); resultobj
= Py_None
;
2067 static PyObject
*_wrap_Property_atom(PyObject
*self
, PyObject
*args
) {
2068 PyObject
*resultobj
;
2069 otk::Property
*arg1
= (otk::Property
*) 0 ;
2072 PyObject
* obj0
= 0 ;
2074 if(!PyArg_ParseTuple(args
,(char *)"Oi:Property_atom",&obj0
,&arg2
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Property
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2076 result
= (Atom
)((otk::Property
const *)arg1
)->atom((otk::Property::Atoms
)arg2
);
2078 resultobj
= PyInt_FromLong((long)result
);
2085 static PyObject
* Property_swigregister(PyObject
*self
, PyObject
*args
) {
2087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2088 SWIG_TypeClientData(SWIGTYPE_p_otk__Property
, obj
);
2090 return Py_BuildValue((char *)"");
2092 static PyObject
*_wrap_new_Rect__SWIG_0(PyObject
*self
, PyObject
*args
) {
2093 PyObject
*resultobj
;
2096 if(!PyArg_ParseTuple(args
,(char *)":new_Rect")) goto fail
;
2097 result
= (otk::Rect
*)new otk::Rect();
2099 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
2106 static PyObject
*_wrap_new_Rect__SWIG_1(PyObject
*self
, PyObject
*args
) {
2107 PyObject
*resultobj
;
2114 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Rect",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2115 result
= (otk::Rect
*)new otk::Rect(arg1
,arg2
,arg3
,arg4
);
2117 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
2124 static PyObject
*_wrap_new_Rect__SWIG_2(PyObject
*self
, PyObject
*args
) {
2125 PyObject
*resultobj
;
2126 otk::Point
*arg1
= 0 ;
2127 otk::Point
*arg2
= 0 ;
2129 PyObject
* obj0
= 0 ;
2130 PyObject
* obj1
= 0 ;
2132 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Rect",&obj0
,&obj1
)) goto fail
;
2133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2135 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2139 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2141 result
= (otk::Rect
*)new otk::Rect((otk::Point
const &)*arg1
,(otk::Point
const &)*arg2
);
2143 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
2150 static PyObject
*_wrap_new_Rect__SWIG_3(PyObject
*self
, PyObject
*args
) {
2151 PyObject
*resultobj
;
2152 otk::Rect
*arg1
= 0 ;
2154 PyObject
* obj0
= 0 ;
2156 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
2157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2159 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2161 result
= (otk::Rect
*)new otk::Rect((otk::Rect
const &)*arg1
);
2163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
2170 static PyObject
*_wrap_new_Rect__SWIG_4(PyObject
*self
, PyObject
*args
) {
2171 PyObject
*resultobj
;
2172 XRectangle
*arg1
= 0 ;
2174 PyObject
* obj0
= 0 ;
2176 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
2177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_XRectangle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2181 result
= (otk::Rect
*)new otk::Rect((XRectangle
const &)*arg1
);
2183 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
2190 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
) {
2195 argc
= PyObject_Length(args
);
2196 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
2197 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2200 return _wrap_new_Rect__SWIG_0(self
,args
);
2206 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2214 return _wrap_new_Rect__SWIG_3(self
,args
);
2221 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_XRectangle
, 0) == -1) {
2229 return _wrap_new_Rect__SWIG_4(self
,args
);
2236 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2246 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2254 return _wrap_new_Rect__SWIG_2(self
,args
);
2261 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
2265 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2269 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2273 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
2276 return _wrap_new_Rect__SWIG_1(self
,args
);
2283 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Rect'");
2288 static PyObject
*_wrap_Rect_left(PyObject
*self
, PyObject
*args
) {
2289 PyObject
*resultobj
;
2290 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2292 PyObject
* obj0
= 0 ;
2294 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_left",&obj0
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2296 result
= (int)((otk::Rect
const *)arg1
)->left();
2298 resultobj
= PyInt_FromLong((long)result
);
2305 static PyObject
*_wrap_Rect_top(PyObject
*self
, PyObject
*args
) {
2306 PyObject
*resultobj
;
2307 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2309 PyObject
* obj0
= 0 ;
2311 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_top",&obj0
)) goto fail
;
2312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2313 result
= (int)((otk::Rect
const *)arg1
)->top();
2315 resultobj
= PyInt_FromLong((long)result
);
2322 static PyObject
*_wrap_Rect_right(PyObject
*self
, PyObject
*args
) {
2323 PyObject
*resultobj
;
2324 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2326 PyObject
* obj0
= 0 ;
2328 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_right",&obj0
)) goto fail
;
2329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2330 result
= (int)((otk::Rect
const *)arg1
)->right();
2332 resultobj
= PyInt_FromLong((long)result
);
2339 static PyObject
*_wrap_Rect_bottom(PyObject
*self
, PyObject
*args
) {
2340 PyObject
*resultobj
;
2341 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2343 PyObject
* obj0
= 0 ;
2345 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_bottom",&obj0
)) goto fail
;
2346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2347 result
= (int)((otk::Rect
const *)arg1
)->bottom();
2349 resultobj
= PyInt_FromLong((long)result
);
2356 static PyObject
*_wrap_Rect_x(PyObject
*self
, PyObject
*args
) {
2357 PyObject
*resultobj
;
2358 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2360 PyObject
* obj0
= 0 ;
2362 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_x",&obj0
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2364 result
= (int)((otk::Rect
const *)arg1
)->x();
2366 resultobj
= PyInt_FromLong((long)result
);
2373 static PyObject
*_wrap_Rect_y(PyObject
*self
, PyObject
*args
) {
2374 PyObject
*resultobj
;
2375 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2377 PyObject
* obj0
= 0 ;
2379 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_y",&obj0
)) goto fail
;
2380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2381 result
= (int)((otk::Rect
const *)arg1
)->y();
2383 resultobj
= PyInt_FromLong((long)result
);
2390 static PyObject
*_wrap_Rect_location(PyObject
*self
, PyObject
*args
) {
2391 PyObject
*resultobj
;
2392 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2394 PyObject
* obj0
= 0 ;
2396 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_location",&obj0
)) goto fail
;
2397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2398 result
= ((otk::Rect
const *)arg1
)->location();
2401 otk::Point
* resultptr
;
2402 resultptr
= new otk::Point((otk::Point
&) result
);
2403 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
2411 static PyObject
*_wrap_Rect_setX(PyObject
*self
, PyObject
*args
) {
2412 PyObject
*resultobj
;
2413 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2415 PyObject
* obj0
= 0 ;
2417 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setX",&obj0
,&arg2
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2421 Py_INCREF(Py_None
); resultobj
= Py_None
;
2428 static PyObject
*_wrap_Rect_setY(PyObject
*self
, PyObject
*args
) {
2429 PyObject
*resultobj
;
2430 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2432 PyObject
* obj0
= 0 ;
2434 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setY",&obj0
,&arg2
)) goto fail
;
2435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2438 Py_INCREF(Py_None
); resultobj
= Py_None
;
2445 static PyObject
*_wrap_Rect_setPos__SWIG_0(PyObject
*self
, PyObject
*args
) {
2446 PyObject
*resultobj
;
2447 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2450 PyObject
* obj0
= 0 ;
2452 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setPos",&obj0
,&arg2
,&arg3
)) goto fail
;
2453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2454 (arg1
)->setPos(arg2
,arg3
);
2456 Py_INCREF(Py_None
); resultobj
= Py_None
;
2463 static PyObject
*_wrap_Rect_setPos__SWIG_1(PyObject
*self
, PyObject
*args
) {
2464 PyObject
*resultobj
;
2465 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2466 otk::Point
*arg2
= 0 ;
2467 PyObject
* obj0
= 0 ;
2468 PyObject
* obj1
= 0 ;
2470 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setPos",&obj0
,&obj1
)) goto fail
;
2471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2474 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2476 (arg1
)->setPos((otk::Point
const &)*arg2
);
2478 Py_INCREF(Py_None
); resultobj
= Py_None
;
2485 static PyObject
*_wrap_Rect_setPos(PyObject
*self
, PyObject
*args
) {
2490 argc
= PyObject_Length(args
);
2491 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2492 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2498 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2508 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2516 return _wrap_Rect_setPos__SWIG_1(self
,args
);
2524 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2533 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2537 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2540 return _wrap_Rect_setPos__SWIG_0(self
,args
);
2546 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setPos'");
2551 static PyObject
*_wrap_Rect_width(PyObject
*self
, PyObject
*args
) {
2552 PyObject
*resultobj
;
2553 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2555 PyObject
* obj0
= 0 ;
2557 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_width",&obj0
)) goto fail
;
2558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2559 result
= (int)((otk::Rect
const *)arg1
)->width();
2561 resultobj
= PyInt_FromLong((long)result
);
2568 static PyObject
*_wrap_Rect_height(PyObject
*self
, PyObject
*args
) {
2569 PyObject
*resultobj
;
2570 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2572 PyObject
* obj0
= 0 ;
2574 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_height",&obj0
)) goto fail
;
2575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2576 result
= (int)((otk::Rect
const *)arg1
)->height();
2578 resultobj
= PyInt_FromLong((long)result
);
2585 static PyObject
*_wrap_Rect_size(PyObject
*self
, PyObject
*args
) {
2586 PyObject
*resultobj
;
2587 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2589 PyObject
* obj0
= 0 ;
2591 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_size",&obj0
)) goto fail
;
2592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2593 result
= ((otk::Rect
const *)arg1
)->size();
2596 otk::Point
* resultptr
;
2597 resultptr
= new otk::Point((otk::Point
&) result
);
2598 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
2606 static PyObject
*_wrap_Rect_setWidth(PyObject
*self
, PyObject
*args
) {
2607 PyObject
*resultobj
;
2608 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2610 PyObject
* obj0
= 0 ;
2612 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setWidth",&obj0
,&arg2
)) goto fail
;
2613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2614 (arg1
)->setWidth(arg2
);
2616 Py_INCREF(Py_None
); resultobj
= Py_None
;
2623 static PyObject
*_wrap_Rect_setHeight(PyObject
*self
, PyObject
*args
) {
2624 PyObject
*resultobj
;
2625 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2627 PyObject
* obj0
= 0 ;
2629 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setHeight",&obj0
,&arg2
)) goto fail
;
2630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2631 (arg1
)->setHeight(arg2
);
2633 Py_INCREF(Py_None
); resultobj
= Py_None
;
2640 static PyObject
*_wrap_Rect_setSize__SWIG_0(PyObject
*self
, PyObject
*args
) {
2641 PyObject
*resultobj
;
2642 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2645 PyObject
* obj0
= 0 ;
2647 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setSize",&obj0
,&arg2
,&arg3
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2649 (arg1
)->setSize(arg2
,arg3
);
2651 Py_INCREF(Py_None
); resultobj
= Py_None
;
2658 static PyObject
*_wrap_Rect_setSize__SWIG_1(PyObject
*self
, PyObject
*args
) {
2659 PyObject
*resultobj
;
2660 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2661 otk::Point
*arg2
= 0 ;
2662 PyObject
* obj0
= 0 ;
2663 PyObject
* obj1
= 0 ;
2665 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setSize",&obj0
,&obj1
)) goto fail
;
2666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2669 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2671 (arg1
)->setSize((otk::Point
const &)*arg2
);
2673 Py_INCREF(Py_None
); resultobj
= Py_None
;
2680 static PyObject
*_wrap_Rect_setSize(PyObject
*self
, PyObject
*args
) {
2685 argc
= PyObject_Length(args
);
2686 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2687 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2693 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2703 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2711 return _wrap_Rect_setSize__SWIG_1(self
,args
);
2719 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2728 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2732 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2735 return _wrap_Rect_setSize__SWIG_0(self
,args
);
2741 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setSize'");
2746 static PyObject
*_wrap_Rect_setRect__SWIG_0(PyObject
*self
, PyObject
*args
) {
2747 PyObject
*resultobj
;
2748 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2753 PyObject
* obj0
= 0 ;
2755 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setRect",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2757 (arg1
)->setRect(arg2
,arg3
,arg4
,arg5
);
2759 Py_INCREF(Py_None
); resultobj
= Py_None
;
2766 static PyObject
*_wrap_Rect_setRect__SWIG_1(PyObject
*self
, PyObject
*args
) {
2767 PyObject
*resultobj
;
2768 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2769 otk::Point
*arg2
= 0 ;
2770 otk::Point
*arg3
= 0 ;
2771 PyObject
* obj0
= 0 ;
2772 PyObject
* obj1
= 0 ;
2773 PyObject
* obj2
= 0 ;
2775 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setRect",&obj0
,&obj1
,&obj2
)) goto fail
;
2776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2781 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2783 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2785 (arg1
)->setRect((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
2787 Py_INCREF(Py_None
); resultobj
= Py_None
;
2794 static PyObject
*_wrap_Rect_setRect(PyObject
*self
, PyObject
*args
) {
2799 argc
= PyObject_Length(args
);
2800 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
2801 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2807 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2817 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2827 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2835 return _wrap_Rect_setRect__SWIG_1(self
,args
);
2844 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2853 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2857 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2861 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
2865 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
2868 return _wrap_Rect_setRect__SWIG_0(self
,args
);
2876 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setRect'");
2881 static PyObject
*_wrap_Rect_setCoords__SWIG_0(PyObject
*self
, PyObject
*args
) {
2882 PyObject
*resultobj
;
2883 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2888 PyObject
* obj0
= 0 ;
2890 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setCoords",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2892 (arg1
)->setCoords(arg2
,arg3
,arg4
,arg5
);
2894 Py_INCREF(Py_None
); resultobj
= Py_None
;
2901 static PyObject
*_wrap_Rect_setCoords__SWIG_1(PyObject
*self
, PyObject
*args
) {
2902 PyObject
*resultobj
;
2903 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
2904 otk::Point
*arg2
= 0 ;
2905 otk::Point
*arg3
= 0 ;
2906 PyObject
* obj0
= 0 ;
2907 PyObject
* obj1
= 0 ;
2908 PyObject
* obj2
= 0 ;
2910 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setCoords",&obj0
,&obj1
,&obj2
)) goto fail
;
2911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2912 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2914 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2916 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2918 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2920 (arg1
)->setCoords((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
2922 Py_INCREF(Py_None
); resultobj
= Py_None
;
2929 static PyObject
*_wrap_Rect_setCoords(PyObject
*self
, PyObject
*args
) {
2934 argc
= PyObject_Length(args
);
2935 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
2936 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2942 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2952 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2962 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
2970 return _wrap_Rect_setCoords__SWIG_1(self
,args
);
2979 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
2988 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
2992 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
2996 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
3000 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
3003 return _wrap_Rect_setCoords__SWIG_0(self
,args
);
3011 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setCoords'");
3016 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
) {
3017 PyObject
*resultobj
;
3018 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3019 otk::Rect
*arg2
= 0 ;
3021 PyObject
* obj0
= 0 ;
3022 PyObject
* obj1
= 0 ;
3024 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___eq__",&obj0
,&obj1
)) goto fail
;
3025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3026 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3028 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3030 result
= (bool)(arg1
)->operator ==((otk::Rect
const &)*arg2
);
3032 resultobj
= PyInt_FromLong((long)result
);
3039 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
) {
3040 PyObject
*resultobj
;
3041 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3042 otk::Rect
*arg2
= 0 ;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3047 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___ne__",&obj0
,&obj1
)) goto fail
;
3048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3049 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3051 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3053 result
= (bool)(arg1
)->operator !=((otk::Rect
const &)*arg2
);
3055 resultobj
= PyInt_FromLong((long)result
);
3062 static PyObject
*_wrap_Rect___or__(PyObject
*self
, PyObject
*args
) {
3063 PyObject
*resultobj
;
3064 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3065 otk::Rect
*arg2
= 0 ;
3067 PyObject
* obj0
= 0 ;
3068 PyObject
* obj1
= 0 ;
3070 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___or__",&obj0
,&obj1
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3076 result
= ((otk::Rect
const *)arg1
)->operator |((otk::Rect
const &)*arg2
);
3079 otk::Rect
* resultptr
;
3080 resultptr
= new otk::Rect((otk::Rect
&) result
);
3081 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Rect
, 1);
3089 static PyObject
*_wrap_Rect___and__(PyObject
*self
, PyObject
*args
) {
3090 PyObject
*resultobj
;
3091 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3092 otk::Rect
*arg2
= 0 ;
3094 PyObject
* obj0
= 0 ;
3095 PyObject
* obj1
= 0 ;
3097 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___and__",&obj0
,&obj1
)) goto fail
;
3098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3099 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3101 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3103 result
= ((otk::Rect
const *)arg1
)->operator &((otk::Rect
const &)*arg2
);
3106 otk::Rect
* resultptr
;
3107 resultptr
= new otk::Rect((otk::Rect
&) result
);
3108 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Rect
, 1);
3116 static PyObject
*_wrap_Rect___ior__(PyObject
*self
, PyObject
*args
) {
3117 PyObject
*resultobj
;
3118 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3119 otk::Rect
*arg2
= 0 ;
3121 PyObject
* obj0
= 0 ;
3122 PyObject
* obj1
= 0 ;
3124 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___ior__",&obj0
,&obj1
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3126 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3128 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3131 otk::Rect
&_result_ref
= (arg1
)->operator |=((otk::Rect
const &)*arg2
);
3132 result
= (otk::Rect
*) &_result_ref
;
3135 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
3142 static PyObject
*_wrap_Rect___iand__(PyObject
*self
, PyObject
*args
) {
3143 PyObject
*resultobj
;
3144 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3145 otk::Rect
*arg2
= 0 ;
3147 PyObject
* obj0
= 0 ;
3148 PyObject
* obj1
= 0 ;
3150 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___iand__",&obj0
,&obj1
)) goto fail
;
3151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3152 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3154 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3157 otk::Rect
&_result_ref
= (arg1
)->operator &=((otk::Rect
const &)*arg2
);
3158 result
= (otk::Rect
*) &_result_ref
;
3161 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
3168 static PyObject
*_wrap_Rect_valid(PyObject
*self
, PyObject
*args
) {
3169 PyObject
*resultobj
;
3170 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3172 PyObject
* obj0
= 0 ;
3174 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_valid",&obj0
)) goto fail
;
3175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3176 result
= (bool)((otk::Rect
const *)arg1
)->valid();
3178 resultobj
= PyInt_FromLong((long)result
);
3185 static PyObject
*_wrap_Rect_intersects(PyObject
*self
, PyObject
*args
) {
3186 PyObject
*resultobj
;
3187 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3188 otk::Rect
*arg2
= 0 ;
3190 PyObject
* obj0
= 0 ;
3191 PyObject
* obj1
= 0 ;
3193 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_intersects",&obj0
,&obj1
)) goto fail
;
3194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3197 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3199 result
= (bool)((otk::Rect
const *)arg1
)->intersects((otk::Rect
const &)*arg2
);
3201 resultobj
= PyInt_FromLong((long)result
);
3208 static PyObject
*_wrap_Rect_contains__SWIG_0(PyObject
*self
, PyObject
*args
) {
3209 PyObject
*resultobj
;
3210 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3214 PyObject
* obj0
= 0 ;
3216 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_contains",&obj0
,&arg2
,&arg3
)) goto fail
;
3217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3218 result
= (bool)((otk::Rect
const *)arg1
)->contains(arg2
,arg3
);
3220 resultobj
= PyInt_FromLong((long)result
);
3227 static PyObject
*_wrap_Rect_contains__SWIG_1(PyObject
*self
, PyObject
*args
) {
3228 PyObject
*resultobj
;
3229 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3230 otk::Point
*arg2
= 0 ;
3232 PyObject
* obj0
= 0 ;
3233 PyObject
* obj1
= 0 ;
3235 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
3236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3241 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Point
const &)*arg2
);
3243 resultobj
= PyInt_FromLong((long)result
);
3250 static PyObject
*_wrap_Rect_contains__SWIG_2(PyObject
*self
, PyObject
*args
) {
3251 PyObject
*resultobj
;
3252 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
3253 otk::Rect
*arg2
= 0 ;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3258 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
3259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3264 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Rect
const &)*arg2
);
3266 resultobj
= PyInt_FromLong((long)result
);
3273 static PyObject
*_wrap_Rect_contains(PyObject
*self
, PyObject
*args
) {
3278 argc
= PyObject_Length(args
);
3279 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3280 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3286 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
3296 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
3304 return _wrap_Rect_contains__SWIG_1(self
,args
);
3312 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
3322 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
3330 return _wrap_Rect_contains__SWIG_2(self
,args
);
3338 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
3347 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
3351 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
3354 return _wrap_Rect_contains__SWIG_0(self
,args
);
3360 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_contains'");
3365 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
3367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3368 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect
, obj
);
3370 return Py_BuildValue((char *)"");
3372 static PyObject
*_wrap_new_ScreenInfo(PyObject
*self
, PyObject
*args
) {
3373 PyObject
*resultobj
;
3375 otk::ScreenInfo
*result
;
3376 PyObject
* obj0
= 0 ;
3378 if(!PyArg_ParseTuple(args
,(char *)"O:new_ScreenInfo",&obj0
)) goto fail
;
3379 arg1
= (unsigned int) PyInt_AsLong(obj0
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3381 result
= (otk::ScreenInfo
*)new otk::ScreenInfo(arg1
);
3383 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 1);
3390 static PyObject
*_wrap_ScreenInfo_visual(PyObject
*self
, PyObject
*args
) {
3391 PyObject
*resultobj
;
3392 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3394 PyObject
* obj0
= 0 ;
3396 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_visual",&obj0
)) goto fail
;
3397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3398 result
= (Visual
*)((otk::ScreenInfo
const *)arg1
)->visual();
3400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Visual
, 0);
3407 static PyObject
*_wrap_ScreenInfo_rootWindow(PyObject
*self
, PyObject
*args
) {
3408 PyObject
*resultobj
;
3409 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3413 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rootWindow",&obj0
)) goto fail
;
3414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3415 result
= (Window
)((otk::ScreenInfo
const *)arg1
)->rootWindow();
3417 resultobj
= PyInt_FromLong((long)result
);
3424 static PyObject
*_wrap_ScreenInfo_colormap(PyObject
*self
, PyObject
*args
) {
3425 PyObject
*resultobj
;
3426 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3428 PyObject
* obj0
= 0 ;
3430 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_colormap",&obj0
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3432 result
= (Colormap
)((otk::ScreenInfo
const *)arg1
)->colormap();
3434 resultobj
= PyInt_FromLong((long)result
);
3441 static PyObject
*_wrap_ScreenInfo_depth(PyObject
*self
, PyObject
*args
) {
3442 PyObject
*resultobj
;
3443 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3445 PyObject
* obj0
= 0 ;
3447 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_depth",&obj0
)) goto fail
;
3448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3449 result
= (int)((otk::ScreenInfo
const *)arg1
)->depth();
3451 resultobj
= PyInt_FromLong((long)result
);
3458 static PyObject
*_wrap_ScreenInfo_screen(PyObject
*self
, PyObject
*args
) {
3459 PyObject
*resultobj
;
3460 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3461 unsigned int result
;
3462 PyObject
* obj0
= 0 ;
3464 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_screen",&obj0
)) goto fail
;
3465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3466 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->screen();
3468 resultobj
= PyInt_FromLong((long)result
);
3475 static PyObject
*_wrap_ScreenInfo_rect(PyObject
*self
, PyObject
*args
) {
3476 PyObject
*resultobj
;
3477 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3479 PyObject
* obj0
= 0 ;
3481 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rect",&obj0
)) goto fail
;
3482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3484 otk::Rect
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->rect();
3485 result
= (otk::Rect
*) &_result_ref
;
3488 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
3495 static PyObject
*_wrap_ScreenInfo_width(PyObject
*self
, PyObject
*args
) {
3496 PyObject
*resultobj
;
3497 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3498 unsigned int result
;
3499 PyObject
* obj0
= 0 ;
3501 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_width",&obj0
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3503 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->width();
3505 resultobj
= PyInt_FromLong((long)result
);
3512 static PyObject
*_wrap_ScreenInfo_height(PyObject
*self
, PyObject
*args
) {
3513 PyObject
*resultobj
;
3514 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3515 unsigned int result
;
3516 PyObject
* obj0
= 0 ;
3518 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_height",&obj0
)) goto fail
;
3519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3520 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->height();
3522 resultobj
= PyInt_FromLong((long)result
);
3529 static PyObject
*_wrap_ScreenInfo_displayString(PyObject
*self
, PyObject
*args
) {
3530 PyObject
*resultobj
;
3531 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
3532 std::string
*result
;
3533 PyObject
* obj0
= 0 ;
3535 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_displayString",&obj0
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3538 std::string
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->displayString();
3539 result
= (std::string
*) &_result_ref
;
3543 resultobj
= PyString_FromString(result
->c_str());
3551 static PyObject
* ScreenInfo_swigregister(PyObject
*self
, PyObject
*args
) {
3553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3554 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo
, obj
);
3556 return Py_BuildValue((char *)"");
3558 static PyObject
*_wrap_Strut_top_set(PyObject
*self
, PyObject
*args
) {
3559 PyObject
*resultobj
;
3560 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3563 PyObject
* obj1
= 0 ;
3565 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_top_set",&obj0
,&obj1
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3567 arg2
= (unsigned int) PyInt_AsLong(obj1
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3569 if (arg1
) (arg1
)->top
= arg2
;
3571 Py_INCREF(Py_None
); resultobj
= Py_None
;
3578 static PyObject
*_wrap_Strut_top_get(PyObject
*self
, PyObject
*args
) {
3579 PyObject
*resultobj
;
3580 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3581 unsigned int result
;
3582 PyObject
* obj0
= 0 ;
3584 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_top_get",&obj0
)) goto fail
;
3585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3586 result
= (unsigned int) ((arg1
)->top
);
3588 resultobj
= PyInt_FromLong((long)result
);
3595 static PyObject
*_wrap_Strut_bottom_set(PyObject
*self
, PyObject
*args
) {
3596 PyObject
*resultobj
;
3597 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3600 PyObject
* obj1
= 0 ;
3602 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_bottom_set",&obj0
,&obj1
)) goto fail
;
3603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3604 arg2
= (unsigned int) PyInt_AsLong(obj1
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3606 if (arg1
) (arg1
)->bottom
= arg2
;
3608 Py_INCREF(Py_None
); resultobj
= Py_None
;
3615 static PyObject
*_wrap_Strut_bottom_get(PyObject
*self
, PyObject
*args
) {
3616 PyObject
*resultobj
;
3617 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3618 unsigned int result
;
3619 PyObject
* obj0
= 0 ;
3621 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_bottom_get",&obj0
)) goto fail
;
3622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3623 result
= (unsigned int) ((arg1
)->bottom
);
3625 resultobj
= PyInt_FromLong((long)result
);
3632 static PyObject
*_wrap_Strut_left_set(PyObject
*self
, PyObject
*args
) {
3633 PyObject
*resultobj
;
3634 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3636 PyObject
* obj0
= 0 ;
3637 PyObject
* obj1
= 0 ;
3639 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_left_set",&obj0
,&obj1
)) goto fail
;
3640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3641 arg2
= (unsigned int) PyInt_AsLong(obj1
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3643 if (arg1
) (arg1
)->left
= arg2
;
3645 Py_INCREF(Py_None
); resultobj
= Py_None
;
3652 static PyObject
*_wrap_Strut_left_get(PyObject
*self
, PyObject
*args
) {
3653 PyObject
*resultobj
;
3654 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3655 unsigned int result
;
3656 PyObject
* obj0
= 0 ;
3658 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_left_get",&obj0
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3660 result
= (unsigned int) ((arg1
)->left
);
3662 resultobj
= PyInt_FromLong((long)result
);
3669 static PyObject
*_wrap_Strut_right_set(PyObject
*self
, PyObject
*args
) {
3670 PyObject
*resultobj
;
3671 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3673 PyObject
* obj0
= 0 ;
3674 PyObject
* obj1
= 0 ;
3676 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_right_set",&obj0
,&obj1
)) goto fail
;
3677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3678 arg2
= (unsigned int) PyInt_AsLong(obj1
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3680 if (arg1
) (arg1
)->right
= arg2
;
3682 Py_INCREF(Py_None
); resultobj
= Py_None
;
3689 static PyObject
*_wrap_Strut_right_get(PyObject
*self
, PyObject
*args
) {
3690 PyObject
*resultobj
;
3691 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
3692 unsigned int result
;
3693 PyObject
* obj0
= 0 ;
3695 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_right_get",&obj0
)) goto fail
;
3696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3697 result
= (unsigned int) ((arg1
)->right
);
3699 resultobj
= PyInt_FromLong((long)result
);
3706 static PyObject
*_wrap_new_Strut__SWIG_0(PyObject
*self
, PyObject
*args
) {
3707 PyObject
*resultobj
;
3710 if(!PyArg_ParseTuple(args
,(char *)":new_Strut")) goto fail
;
3711 result
= (otk::Strut
*)new otk::Strut();
3713 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
3720 static PyObject
*_wrap_new_Strut__SWIG_1(PyObject
*self
, PyObject
*args
) {
3721 PyObject
*resultobj
;
3728 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Strut",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
3729 result
= (otk::Strut
*)new otk::Strut(arg1
,arg2
,arg3
,arg4
);
3731 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
3738 static PyObject
*_wrap_new_Strut(PyObject
*self
, PyObject
*args
) {
3743 argc
= PyObject_Length(args
);
3744 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
3745 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3748 return _wrap_new_Strut__SWIG_0(self
,args
);
3753 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
3757 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
3761 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
3765 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
3768 return _wrap_new_Strut__SWIG_1(self
,args
);
3775 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Strut'");
3780 static PyObject
* Strut_swigregister(PyObject
*self
, PyObject
*args
) {
3782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3783 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut
, obj
);
3785 return Py_BuildValue((char *)"");
3787 static PyObject
*_wrap_EventHandler_handle(PyObject
*self
, PyObject
*args
) {
3788 PyObject
*resultobj
;
3789 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3792 PyObject
* obj1
= 0 ;
3794 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_handle",&obj0
,&obj1
)) goto fail
;
3795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3796 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3798 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3800 (arg1
)->handle((XEvent
const &)*arg2
);
3802 Py_INCREF(Py_None
); resultobj
= Py_None
;
3809 static PyObject
*_wrap_EventHandler_keyPressHandler(PyObject
*self
, PyObject
*args
) {
3810 PyObject
*resultobj
;
3811 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
3812 XKeyEvent
*arg2
= 0 ;
3813 PyObject
* obj0
= 0 ;
3814 PyObject
* obj1
= 0 ;
3816 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_keyPressHandler",&obj0
,&obj1
)) goto fail
;
3817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3818 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3820 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3822 (arg1
)->keyPressHandler((XKeyEvent
const &)*arg2
);
3824 Py_INCREF(Py_None
); resultobj
= Py_None
;
3831 static PyObject
*_wrap_EventHandler_keyReleaseHandler(PyObject
*self
, PyObject
*args
) {
3832 PyObject
*resultobj
;
3833 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
3834 XKeyEvent
*arg2
= 0 ;
3835 PyObject
* obj0
= 0 ;
3836 PyObject
* obj1
= 0 ;
3838 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_keyReleaseHandler",&obj0
,&obj1
)) goto fail
;
3839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3840 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3844 (arg1
)->keyReleaseHandler((XKeyEvent
const &)*arg2
);
3846 Py_INCREF(Py_None
); resultobj
= Py_None
;
3853 static PyObject
*_wrap_EventHandler_buttonPressHandler(PyObject
*self
, PyObject
*args
) {
3854 PyObject
*resultobj
;
3855 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
3856 XButtonEvent
*arg2
= 0 ;
3857 PyObject
* obj0
= 0 ;
3858 PyObject
* obj1
= 0 ;
3860 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_buttonPressHandler",&obj0
,&obj1
)) goto fail
;
3861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3862 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3864 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3866 (arg1
)->buttonPressHandler((XButtonEvent
const &)*arg2
);
3868 Py_INCREF(Py_None
); resultobj
= Py_None
;
3875 static PyObject
*_wrap_EventHandler_buttonReleaseHandler(PyObject
*self
, PyObject
*args
) {
3876 PyObject
*resultobj
;
3877 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
3878 XButtonEvent
*arg2
= 0 ;
3879 PyObject
* obj0
= 0 ;
3880 PyObject
* obj1
= 0 ;
3882 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_buttonReleaseHandler",&obj0
,&obj1
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3888 (arg1
)->buttonReleaseHandler((XButtonEvent
const &)*arg2
);
3890 Py_INCREF(Py_None
); resultobj
= Py_None
;
3897 static PyObject
*_wrap_EventHandler_motionHandler(PyObject
*self
, PyObject
*args
) {
3898 PyObject
*resultobj
;
3899 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
3900 XMotionEvent
*arg2
= 0 ;
3901 PyObject
* obj0
= 0 ;
3902 PyObject
* obj1
= 0 ;
3904 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_motionHandler",&obj0
,&obj1
)) goto fail
;
3905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3906 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMotionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3908 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3910 (arg1
)->motionHandler((XMotionEvent
const &)*arg2
);
3912 Py_INCREF(Py_None
); resultobj
= Py_None
;
3919 static PyObject
*_wrap_EventHandler_enterHandler(PyObject
*self
, PyObject
*args
) {
3920 PyObject
*resultobj
;
3921 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
3922 XCrossingEvent
*arg2
= 0 ;
3923 PyObject
* obj0
= 0 ;
3924 PyObject
* obj1
= 0 ;
3926 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_enterHandler",&obj0
,&obj1
)) goto fail
;
3927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3928 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCrossingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3930 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3932 (arg1
)->enterHandler((XCrossingEvent
const &)*arg2
);
3934 Py_INCREF(Py_None
); resultobj
= Py_None
;
3941 static PyObject
*_wrap_EventHandler_leaveHandler(PyObject
*self
, PyObject
*args
) {
3942 PyObject
*resultobj
;
3943 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
3944 XCrossingEvent
*arg2
= 0 ;
3945 PyObject
* obj0
= 0 ;
3946 PyObject
* obj1
= 0 ;
3948 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_leaveHandler",&obj0
,&obj1
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCrossingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3952 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3954 (arg1
)->leaveHandler((XCrossingEvent
const &)*arg2
);
3956 Py_INCREF(Py_None
); resultobj
= Py_None
;
3963 static PyObject
*_wrap_EventHandler_focusHandler(PyObject
*self
, PyObject
*args
) {
3964 PyObject
*resultobj
;
3965 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
3966 XFocusChangeEvent
*arg2
= 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_focusHandler",&obj0
,&obj1
)) goto fail
;
3971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3972 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3974 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3976 (arg1
)->focusHandler((XFocusChangeEvent
const &)*arg2
);
3978 Py_INCREF(Py_None
); resultobj
= Py_None
;
3985 static PyObject
*_wrap_EventHandler_unfocusHandler(PyObject
*self
, PyObject
*args
) {
3986 PyObject
*resultobj
;
3987 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
3988 XFocusChangeEvent
*arg2
= 0 ;
3989 PyObject
* obj0
= 0 ;
3990 PyObject
* obj1
= 0 ;
3992 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_unfocusHandler",&obj0
,&obj1
)) goto fail
;
3993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3994 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3996 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3998 (arg1
)->unfocusHandler((XFocusChangeEvent
const &)*arg2
);
4000 Py_INCREF(Py_None
); resultobj
= Py_None
;
4007 static PyObject
*_wrap_EventHandler_exposeHandler(PyObject
*self
, PyObject
*args
) {
4008 PyObject
*resultobj
;
4009 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4010 XExposeEvent
*arg2
= 0 ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4014 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_exposeHandler",&obj0
,&obj1
)) goto fail
;
4015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4016 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4018 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4020 (arg1
)->exposeHandler((XExposeEvent
const &)*arg2
);
4022 Py_INCREF(Py_None
); resultobj
= Py_None
;
4029 static PyObject
*_wrap_EventHandler_graphicsExposeHandler(PyObject
*self
, PyObject
*args
) {
4030 PyObject
*resultobj
;
4031 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4032 XGraphicsExposeEvent
*arg2
= 0 ;
4033 PyObject
* obj0
= 0 ;
4034 PyObject
* obj1
= 0 ;
4036 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_graphicsExposeHandler",&obj0
,&obj1
)) goto fail
;
4037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XGraphicsExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4040 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4042 (arg1
)->graphicsExposeHandler((XGraphicsExposeEvent
const &)*arg2
);
4044 Py_INCREF(Py_None
); resultobj
= Py_None
;
4051 static PyObject
*_wrap_EventHandler_noExposeEventHandler(PyObject
*self
, PyObject
*args
) {
4052 PyObject
*resultobj
;
4053 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4054 XNoExposeEvent
*arg2
= 0 ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_noExposeEventHandler",&obj0
,&obj1
)) goto fail
;
4059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XNoExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4062 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4064 (arg1
)->noExposeEventHandler((XNoExposeEvent
const &)*arg2
);
4066 Py_INCREF(Py_None
); resultobj
= Py_None
;
4073 static PyObject
*_wrap_EventHandler_circulateRequestHandler(PyObject
*self
, PyObject
*args
) {
4074 PyObject
*resultobj
;
4075 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4076 XCirculateRequestEvent
*arg2
= 0 ;
4077 PyObject
* obj0
= 0 ;
4078 PyObject
* obj1
= 0 ;
4080 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_circulateRequestHandler",&obj0
,&obj1
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCirculateRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4086 (arg1
)->circulateRequestHandler((XCirculateRequestEvent
const &)*arg2
);
4088 Py_INCREF(Py_None
); resultobj
= Py_None
;
4095 static PyObject
*_wrap_EventHandler_configureRequestHandler(PyObject
*self
, PyObject
*args
) {
4096 PyObject
*resultobj
;
4097 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4098 XConfigureRequestEvent
*arg2
= 0 ;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4102 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_configureRequestHandler",&obj0
,&obj1
)) goto fail
;
4103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4106 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4108 (arg1
)->configureRequestHandler((XConfigureRequestEvent
const &)*arg2
);
4110 Py_INCREF(Py_None
); resultobj
= Py_None
;
4117 static PyObject
*_wrap_EventHandler_mapRequestHandler(PyObject
*self
, PyObject
*args
) {
4118 PyObject
*resultobj
;
4119 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4120 XMapRequestEvent
*arg2
= 0 ;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4124 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_mapRequestHandler",&obj0
,&obj1
)) goto fail
;
4125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4126 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4128 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4130 (arg1
)->mapRequestHandler((XMapRequestEvent
const &)*arg2
);
4132 Py_INCREF(Py_None
); resultobj
= Py_None
;
4139 static PyObject
*_wrap_EventHandler_resizeRequestHandler(PyObject
*self
, PyObject
*args
) {
4140 PyObject
*resultobj
;
4141 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4142 XResizeRequestEvent
*arg2
= 0 ;
4143 PyObject
* obj0
= 0 ;
4144 PyObject
* obj1
= 0 ;
4146 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_resizeRequestHandler",&obj0
,&obj1
)) goto fail
;
4147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XResizeRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4152 (arg1
)->resizeRequestHandler((XResizeRequestEvent
const &)*arg2
);
4154 Py_INCREF(Py_None
); resultobj
= Py_None
;
4161 static PyObject
*_wrap_EventHandler_circulateHandler(PyObject
*self
, PyObject
*args
) {
4162 PyObject
*resultobj
;
4163 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4164 XCirculateEvent
*arg2
= 0 ;
4165 PyObject
* obj0
= 0 ;
4166 PyObject
* obj1
= 0 ;
4168 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_circulateHandler",&obj0
,&obj1
)) goto fail
;
4169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4170 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCirculateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4174 (arg1
)->circulateHandler((XCirculateEvent
const &)*arg2
);
4176 Py_INCREF(Py_None
); resultobj
= Py_None
;
4183 static PyObject
*_wrap_EventHandler_configureHandler(PyObject
*self
, PyObject
*args
) {
4184 PyObject
*resultobj
;
4185 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4186 XConfigureEvent
*arg2
= 0 ;
4187 PyObject
* obj0
= 0 ;
4188 PyObject
* obj1
= 0 ;
4190 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_configureHandler",&obj0
,&obj1
)) goto fail
;
4191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4192 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4194 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4196 (arg1
)->configureHandler((XConfigureEvent
const &)*arg2
);
4198 Py_INCREF(Py_None
); resultobj
= Py_None
;
4205 static PyObject
*_wrap_EventHandler_createHandler(PyObject
*self
, PyObject
*args
) {
4206 PyObject
*resultobj
;
4207 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4208 XCreateWindowEvent
*arg2
= 0 ;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4212 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_createHandler",&obj0
,&obj1
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCreateWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4216 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4218 (arg1
)->createHandler((XCreateWindowEvent
const &)*arg2
);
4220 Py_INCREF(Py_None
); resultobj
= Py_None
;
4227 static PyObject
*_wrap_EventHandler_destroyHandler(PyObject
*self
, PyObject
*args
) {
4228 PyObject
*resultobj
;
4229 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4230 XDestroyWindowEvent
*arg2
= 0 ;
4231 PyObject
* obj0
= 0 ;
4232 PyObject
* obj1
= 0 ;
4234 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_destroyHandler",&obj0
,&obj1
)) goto fail
;
4235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4236 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XDestroyWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4238 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4240 (arg1
)->destroyHandler((XDestroyWindowEvent
const &)*arg2
);
4242 Py_INCREF(Py_None
); resultobj
= Py_None
;
4249 static PyObject
*_wrap_EventHandler_gravityHandler(PyObject
*self
, PyObject
*args
) {
4250 PyObject
*resultobj
;
4251 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4252 XGravityEvent
*arg2
= 0 ;
4253 PyObject
* obj0
= 0 ;
4254 PyObject
* obj1
= 0 ;
4256 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_gravityHandler",&obj0
,&obj1
)) goto fail
;
4257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XGravityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4260 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4262 (arg1
)->gravityHandler((XGravityEvent
const &)*arg2
);
4264 Py_INCREF(Py_None
); resultobj
= Py_None
;
4271 static PyObject
*_wrap_EventHandler_mapHandler(PyObject
*self
, PyObject
*args
) {
4272 PyObject
*resultobj
;
4273 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4274 XMapEvent
*arg2
= 0 ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4278 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_mapHandler",&obj0
,&obj1
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4282 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4284 (arg1
)->mapHandler((XMapEvent
const &)*arg2
);
4286 Py_INCREF(Py_None
); resultobj
= Py_None
;
4293 static PyObject
*_wrap_EventHandler_mappingHandler(PyObject
*self
, PyObject
*args
) {
4294 PyObject
*resultobj
;
4295 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4296 XMappingEvent
*arg2
= 0 ;
4297 PyObject
* obj0
= 0 ;
4298 PyObject
* obj1
= 0 ;
4300 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_mappingHandler",&obj0
,&obj1
)) goto fail
;
4301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4302 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMappingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4304 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4306 (arg1
)->mappingHandler((XMappingEvent
const &)*arg2
);
4308 Py_INCREF(Py_None
); resultobj
= Py_None
;
4315 static PyObject
*_wrap_EventHandler_reparentHandler(PyObject
*self
, PyObject
*args
) {
4316 PyObject
*resultobj
;
4317 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4318 XReparentEvent
*arg2
= 0 ;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4322 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_reparentHandler",&obj0
,&obj1
)) goto fail
;
4323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XReparentEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4328 (arg1
)->reparentHandler((XReparentEvent
const &)*arg2
);
4330 Py_INCREF(Py_None
); resultobj
= Py_None
;
4337 static PyObject
*_wrap_EventHandler_unmapHandler(PyObject
*self
, PyObject
*args
) {
4338 PyObject
*resultobj
;
4339 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4340 XUnmapEvent
*arg2
= 0 ;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4344 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_unmapHandler",&obj0
,&obj1
)) goto fail
;
4345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XUnmapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4348 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4350 (arg1
)->unmapHandler((XUnmapEvent
const &)*arg2
);
4352 Py_INCREF(Py_None
); resultobj
= Py_None
;
4359 static PyObject
*_wrap_EventHandler_visibilityHandler(PyObject
*self
, PyObject
*args
) {
4360 PyObject
*resultobj
;
4361 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4362 XVisibilityEvent
*arg2
= 0 ;
4363 PyObject
* obj0
= 0 ;
4364 PyObject
* obj1
= 0 ;
4366 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_visibilityHandler",&obj0
,&obj1
)) goto fail
;
4367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XVisibilityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4370 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4372 (arg1
)->visibilityHandler((XVisibilityEvent
const &)*arg2
);
4374 Py_INCREF(Py_None
); resultobj
= Py_None
;
4381 static PyObject
*_wrap_EventHandler_colorMapHandler(PyObject
*self
, PyObject
*args
) {
4382 PyObject
*resultobj
;
4383 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4384 XColormapEvent
*arg2
= 0 ;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4388 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_colorMapHandler",&obj0
,&obj1
)) goto fail
;
4389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XColormapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4392 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4394 (arg1
)->colorMapHandler((XColormapEvent
const &)*arg2
);
4396 Py_INCREF(Py_None
); resultobj
= Py_None
;
4403 static PyObject
*_wrap_EventHandler_propertyHandler(PyObject
*self
, PyObject
*args
) {
4404 PyObject
*resultobj
;
4405 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4406 XPropertyEvent
*arg2
= 0 ;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4410 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_propertyHandler",&obj0
,&obj1
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4414 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4416 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
4418 Py_INCREF(Py_None
); resultobj
= Py_None
;
4425 static PyObject
*_wrap_EventHandler_selectionClearHandler(PyObject
*self
, PyObject
*args
) {
4426 PyObject
*resultobj
;
4427 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4428 XSelectionClearEvent
*arg2
= 0 ;
4429 PyObject
* obj0
= 0 ;
4430 PyObject
* obj1
= 0 ;
4432 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_selectionClearHandler",&obj0
,&obj1
)) goto fail
;
4433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionClearEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4436 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4438 (arg1
)->selectionClearHandler((XSelectionClearEvent
const &)*arg2
);
4440 Py_INCREF(Py_None
); resultobj
= Py_None
;
4447 static PyObject
*_wrap_EventHandler_selectionHandler(PyObject
*self
, PyObject
*args
) {
4448 PyObject
*resultobj
;
4449 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4450 XSelectionEvent
*arg2
= 0 ;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4454 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_selectionHandler",&obj0
,&obj1
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4460 (arg1
)->selectionHandler((XSelectionEvent
const &)*arg2
);
4462 Py_INCREF(Py_None
); resultobj
= Py_None
;
4469 static PyObject
*_wrap_EventHandler_selectionRequestHandler(PyObject
*self
, PyObject
*args
) {
4470 PyObject
*resultobj
;
4471 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4472 XSelectionRequestEvent
*arg2
= 0 ;
4473 PyObject
* obj0
= 0 ;
4474 PyObject
* obj1
= 0 ;
4476 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_selectionRequestHandler",&obj0
,&obj1
)) goto fail
;
4477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4478 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4480 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4482 (arg1
)->selectionRequestHandler((XSelectionRequestEvent
const &)*arg2
);
4484 Py_INCREF(Py_None
); resultobj
= Py_None
;
4491 static PyObject
*_wrap_EventHandler_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
4492 PyObject
*resultobj
;
4493 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4494 XClientMessageEvent
*arg2
= 0 ;
4495 PyObject
* obj0
= 0 ;
4496 PyObject
* obj1
= 0 ;
4498 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4502 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4504 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
4506 Py_INCREF(Py_None
); resultobj
= Py_None
;
4513 static PyObject
*_wrap_delete_EventHandler(PyObject
*self
, PyObject
*args
) {
4514 PyObject
*resultobj
;
4515 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
4516 PyObject
* obj0
= 0 ;
4518 if(!PyArg_ParseTuple(args
,(char *)"O:delete_EventHandler",&obj0
)) goto fail
;
4519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4522 Py_INCREF(Py_None
); resultobj
= Py_None
;
4529 static PyObject
* EventHandler_swigregister(PyObject
*self
, PyObject
*args
) {
4531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4532 SWIG_TypeClientData(SWIGTYPE_p_otk__EventHandler
, obj
);
4534 return Py_BuildValue((char *)"");
4536 static PyObject
*_wrap_new_EventDispatcher(PyObject
*self
, PyObject
*args
) {
4537 PyObject
*resultobj
;
4538 otk::EventDispatcher
*result
;
4540 if(!PyArg_ParseTuple(args
,(char *)":new_EventDispatcher")) goto fail
;
4541 result
= (otk::EventDispatcher
*)new otk::EventDispatcher();
4543 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventDispatcher
, 1);
4550 static PyObject
*_wrap_delete_EventDispatcher(PyObject
*self
, PyObject
*args
) {
4551 PyObject
*resultobj
;
4552 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4555 if(!PyArg_ParseTuple(args
,(char *)"O:delete_EventDispatcher",&obj0
)) goto fail
;
4556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4559 Py_INCREF(Py_None
); resultobj
= Py_None
;
4566 static PyObject
*_wrap_EventDispatcher_clearAllHandlers(PyObject
*self
, PyObject
*args
) {
4567 PyObject
*resultobj
;
4568 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4571 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_clearAllHandlers",&obj0
)) goto fail
;
4572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4573 (arg1
)->clearAllHandlers();
4575 Py_INCREF(Py_None
); resultobj
= Py_None
;
4582 static PyObject
*_wrap_EventDispatcher_registerHandler(PyObject
*self
, PyObject
*args
) {
4583 PyObject
*resultobj
;
4584 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
4586 otk::EventHandler
*arg3
= (otk::EventHandler
*) 0 ;
4587 PyObject
* obj0
= 0 ;
4588 PyObject
* obj1
= 0 ;
4589 PyObject
* obj2
= 0 ;
4591 if(!PyArg_ParseTuple(args
,(char *)"OOO:EventDispatcher_registerHandler",&obj0
,&obj1
,&obj2
)) goto fail
;
4592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4593 arg2
= (Window
) PyInt_AsLong(obj1
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4595 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4596 (arg1
)->registerHandler(arg2
,arg3
);
4598 Py_INCREF(Py_None
); resultobj
= Py_None
;
4605 static PyObject
*_wrap_EventDispatcher_clearHandler(PyObject
*self
, PyObject
*args
) {
4606 PyObject
*resultobj
;
4607 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
4609 PyObject
* obj0
= 0 ;
4610 PyObject
* obj1
= 0 ;
4612 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_clearHandler",&obj0
,&obj1
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4614 arg2
= (Window
) PyInt_AsLong(obj1
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4616 (arg1
)->clearHandler(arg2
);
4618 Py_INCREF(Py_None
); resultobj
= Py_None
;
4625 static PyObject
*_wrap_EventDispatcher_dispatchEvents(PyObject
*self
, PyObject
*args
) {
4626 PyObject
*resultobj
;
4627 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4630 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_dispatchEvents",&obj0
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4632 (arg1
)->dispatchEvents();
4634 Py_INCREF(Py_None
); resultobj
= Py_None
;
4641 static PyObject
*_wrap_EventDispatcher_setFallbackHandler(PyObject
*self
, PyObject
*args
) {
4642 PyObject
*resultobj
;
4643 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
4644 otk::EventHandler
*arg2
= (otk::EventHandler
*) 0 ;
4645 PyObject
* obj0
= 0 ;
4646 PyObject
* obj1
= 0 ;
4648 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_setFallbackHandler",&obj0
,&obj1
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4650 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4651 (arg1
)->setFallbackHandler(arg2
);
4653 Py_INCREF(Py_None
); resultobj
= Py_None
;
4660 static PyObject
*_wrap_EventDispatcher_getFallbackHandler(PyObject
*self
, PyObject
*args
) {
4661 PyObject
*resultobj
;
4662 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
4663 otk::EventHandler
*result
;
4664 PyObject
* obj0
= 0 ;
4666 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_getFallbackHandler",&obj0
)) goto fail
;
4667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4668 result
= (otk::EventHandler
*)((otk::EventDispatcher
const *)arg1
)->getFallbackHandler();
4670 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventHandler
, 0);
4677 static PyObject
*_wrap_EventDispatcher_setMasterHandler(PyObject
*self
, PyObject
*args
) {
4678 PyObject
*resultobj
;
4679 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
4680 otk::EventHandler
*arg2
= (otk::EventHandler
*) 0 ;
4681 PyObject
* obj0
= 0 ;
4682 PyObject
* obj1
= 0 ;
4684 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_setMasterHandler",&obj0
,&obj1
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4687 (arg1
)->setMasterHandler(arg2
);
4689 Py_INCREF(Py_None
); resultobj
= Py_None
;
4696 static PyObject
*_wrap_EventDispatcher_getMasterHandler(PyObject
*self
, PyObject
*args
) {
4697 PyObject
*resultobj
;
4698 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
4699 otk::EventHandler
*result
;
4700 PyObject
* obj0
= 0 ;
4702 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_getMasterHandler",&obj0
)) goto fail
;
4703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4704 result
= (otk::EventHandler
*)((otk::EventDispatcher
const *)arg1
)->getMasterHandler();
4706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventHandler
, 0);
4713 static PyObject
*_wrap_EventDispatcher_findHandler(PyObject
*self
, PyObject
*args
) {
4714 PyObject
*resultobj
;
4715 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
4717 otk::EventHandler
*result
;
4718 PyObject
* obj0
= 0 ;
4719 PyObject
* obj1
= 0 ;
4721 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_findHandler",&obj0
,&obj1
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4723 arg2
= (Window
) PyInt_AsLong(obj1
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4725 result
= (otk::EventHandler
*)(arg1
)->findHandler(arg2
);
4727 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventHandler
, 0);
4734 static PyObject
*_wrap_EventDispatcher_lastTime(PyObject
*self
, PyObject
*args
) {
4735 PyObject
*resultobj
;
4736 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
4738 PyObject
* obj0
= 0 ;
4740 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_lastTime",&obj0
)) goto fail
;
4741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4742 result
= (Time
)((otk::EventDispatcher
const *)arg1
)->lastTime();
4744 resultobj
= PyInt_FromLong((long)result
);
4751 static PyObject
* EventDispatcher_swigregister(PyObject
*self
, PyObject
*args
) {
4753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4754 SWIG_TypeClientData(SWIGTYPE_p_otk__EventDispatcher
, obj
);
4756 return Py_BuildValue((char *)"");
4758 static PyObject
*_wrap_Cursors_session_set(PyObject
*self
, PyObject
*args
) {
4759 PyObject
*resultobj
;
4760 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4762 PyObject
* obj0
= 0 ;
4763 PyObject
* obj1
= 0 ;
4765 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_session_set",&obj0
,&obj1
)) goto fail
;
4766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4767 arg2
= (Cursor
) PyInt_AsLong(obj1
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4769 if (arg1
) (arg1
)->session
= arg2
;
4771 Py_INCREF(Py_None
); resultobj
= Py_None
;
4778 static PyObject
*_wrap_Cursors_session_get(PyObject
*self
, PyObject
*args
) {
4779 PyObject
*resultobj
;
4780 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4782 PyObject
* obj0
= 0 ;
4784 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_session_get",&obj0
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4786 result
= (Cursor
) ((arg1
)->session
);
4788 resultobj
= PyInt_FromLong((long)result
);
4795 static PyObject
*_wrap_Cursors_move_set(PyObject
*self
, PyObject
*args
) {
4796 PyObject
*resultobj
;
4797 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4802 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_move_set",&obj0
,&obj1
)) goto fail
;
4803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4804 arg2
= (Cursor
) PyInt_AsLong(obj1
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4806 if (arg1
) (arg1
)->move
= arg2
;
4808 Py_INCREF(Py_None
); resultobj
= Py_None
;
4815 static PyObject
*_wrap_Cursors_move_get(PyObject
*self
, PyObject
*args
) {
4816 PyObject
*resultobj
;
4817 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4819 PyObject
* obj0
= 0 ;
4821 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_move_get",&obj0
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4823 result
= (Cursor
) ((arg1
)->move
);
4825 resultobj
= PyInt_FromLong((long)result
);
4832 static PyObject
*_wrap_Cursors_ll_angle_set(PyObject
*self
, PyObject
*args
) {
4833 PyObject
*resultobj
;
4834 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4839 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ll_angle_set",&obj0
,&obj1
)) goto fail
;
4840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4841 arg2
= (Cursor
) PyInt_AsLong(obj1
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4843 if (arg1
) (arg1
)->ll_angle
= arg2
;
4845 Py_INCREF(Py_None
); resultobj
= Py_None
;
4852 static PyObject
*_wrap_Cursors_ll_angle_get(PyObject
*self
, PyObject
*args
) {
4853 PyObject
*resultobj
;
4854 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4856 PyObject
* obj0
= 0 ;
4858 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ll_angle_get",&obj0
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4860 result
= (Cursor
) ((arg1
)->ll_angle
);
4862 resultobj
= PyInt_FromLong((long)result
);
4869 static PyObject
*_wrap_Cursors_lr_angle_set(PyObject
*self
, PyObject
*args
) {
4870 PyObject
*resultobj
;
4871 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4876 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_lr_angle_set",&obj0
,&obj1
)) goto fail
;
4877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4878 arg2
= (Cursor
) PyInt_AsLong(obj1
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4880 if (arg1
) (arg1
)->lr_angle
= arg2
;
4882 Py_INCREF(Py_None
); resultobj
= Py_None
;
4889 static PyObject
*_wrap_Cursors_lr_angle_get(PyObject
*self
, PyObject
*args
) {
4890 PyObject
*resultobj
;
4891 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4893 PyObject
* obj0
= 0 ;
4895 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_lr_angle_get",&obj0
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4897 result
= (Cursor
) ((arg1
)->lr_angle
);
4899 resultobj
= PyInt_FromLong((long)result
);
4906 static PyObject
*_wrap_Cursors_ul_angle_set(PyObject
*self
, PyObject
*args
) {
4907 PyObject
*resultobj
;
4908 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4913 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ul_angle_set",&obj0
,&obj1
)) goto fail
;
4914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4915 arg2
= (Cursor
) PyInt_AsLong(obj1
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4917 if (arg1
) (arg1
)->ul_angle
= arg2
;
4919 Py_INCREF(Py_None
); resultobj
= Py_None
;
4926 static PyObject
*_wrap_Cursors_ul_angle_get(PyObject
*self
, PyObject
*args
) {
4927 PyObject
*resultobj
;
4928 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4930 PyObject
* obj0
= 0 ;
4932 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ul_angle_get",&obj0
)) goto fail
;
4933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4934 result
= (Cursor
) ((arg1
)->ul_angle
);
4936 resultobj
= PyInt_FromLong((long)result
);
4943 static PyObject
*_wrap_Cursors_ur_angle_set(PyObject
*self
, PyObject
*args
) {
4944 PyObject
*resultobj
;
4945 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4947 PyObject
* obj0
= 0 ;
4948 PyObject
* obj1
= 0 ;
4950 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ur_angle_set",&obj0
,&obj1
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4952 arg2
= (Cursor
) PyInt_AsLong(obj1
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4954 if (arg1
) (arg1
)->ur_angle
= arg2
;
4956 Py_INCREF(Py_None
); resultobj
= Py_None
;
4963 static PyObject
*_wrap_Cursors_ur_angle_get(PyObject
*self
, PyObject
*args
) {
4964 PyObject
*resultobj
;
4965 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4969 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ur_angle_get",&obj0
)) goto fail
;
4970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4971 result
= (Cursor
) ((arg1
)->ur_angle
);
4973 resultobj
= PyInt_FromLong((long)result
);
4980 static PyObject
* Cursors_swigregister(PyObject
*self
, PyObject
*args
) {
4982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4983 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors
, obj
);
4985 return Py_BuildValue((char *)"");
4987 static PyObject
*_wrap_Openbox_state(PyObject
*self
, PyObject
*args
) {
4988 PyObject
*resultobj
;
4989 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
4991 PyObject
* obj0
= 0 ;
4993 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_state",&obj0
)) goto fail
;
4994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4995 result
= (int)((ob::Openbox
const *)arg1
)->state();
4997 resultobj
= PyInt_FromLong((long)result
);
5004 static PyObject
*_wrap_Openbox_timerManager(PyObject
*self
, PyObject
*args
) {
5005 PyObject
*resultobj
;
5006 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5007 otk::TimerQueueManager
*result
;
5008 PyObject
* obj0
= 0 ;
5010 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_timerManager",&obj0
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5012 result
= (otk::TimerQueueManager
*)(arg1
)->timerManager();
5014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__TimerQueueManager
, 0);
5021 static PyObject
*_wrap_Openbox_property(PyObject
*self
, PyObject
*args
) {
5022 PyObject
*resultobj
;
5023 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5024 otk::Property
*result
;
5025 PyObject
* obj0
= 0 ;
5027 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_property",&obj0
)) goto fail
;
5028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5029 result
= (otk::Property
*)((ob::Openbox
const *)arg1
)->property();
5031 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Property
, 0);
5038 static PyObject
*_wrap_Openbox_actions(PyObject
*self
, PyObject
*args
) {
5039 PyObject
*resultobj
;
5040 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5041 ob::Actions
*result
;
5042 PyObject
* obj0
= 0 ;
5044 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_actions",&obj0
)) goto fail
;
5045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5046 result
= (ob::Actions
*)((ob::Openbox
const *)arg1
)->actions();
5048 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Actions
, 0);
5055 static PyObject
*_wrap_Openbox_bindings(PyObject
*self
, PyObject
*args
) {
5056 PyObject
*resultobj
;
5057 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5058 ob::Bindings
*result
;
5059 PyObject
* obj0
= 0 ;
5061 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_bindings",&obj0
)) goto fail
;
5062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5063 result
= (ob::Bindings
*)((ob::Openbox
const *)arg1
)->bindings();
5065 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Bindings
, 0);
5072 static PyObject
*_wrap_Openbox_screen(PyObject
*self
, PyObject
*args
) {
5073 PyObject
*resultobj
;
5074 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5077 PyObject
* obj0
= 0 ;
5079 if(!PyArg_ParseTuple(args
,(char *)"Oi:Openbox_screen",&obj0
,&arg2
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5081 result
= (ob::Screen
*)(arg1
)->screen(arg2
);
5083 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Screen
, 0);
5090 static PyObject
*_wrap_Openbox_screenCount(PyObject
*self
, PyObject
*args
) {
5091 PyObject
*resultobj
;
5092 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5096 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_screenCount",&obj0
)) goto fail
;
5097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5098 result
= (int)((ob::Openbox
const *)arg1
)->screenCount();
5100 resultobj
= PyInt_FromLong((long)result
);
5107 static PyObject
*_wrap_Openbox_cursors(PyObject
*self
, PyObject
*args
) {
5108 PyObject
*resultobj
;
5109 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5110 ob::Cursors
*result
;
5111 PyObject
* obj0
= 0 ;
5113 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_cursors",&obj0
)) goto fail
;
5114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5116 ob::Cursors
const &_result_ref
= ((ob::Openbox
const *)arg1
)->cursors();
5117 result
= (ob::Cursors
*) &_result_ref
;
5120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Cursors
, 0);
5127 static PyObject
*_wrap_Openbox_addClient(PyObject
*self
, PyObject
*args
) {
5128 PyObject
*resultobj
;
5129 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5131 ob::Client
*arg3
= (ob::Client
*) 0 ;
5132 PyObject
* obj0
= 0 ;
5133 PyObject
* obj1
= 0 ;
5134 PyObject
* obj2
= 0 ;
5136 if(!PyArg_ParseTuple(args
,(char *)"OOO:Openbox_addClient",&obj0
,&obj1
,&obj2
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5138 arg2
= (Window
) PyInt_AsLong(obj1
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5140 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5141 (arg1
)->addClient(arg2
,arg3
);
5143 Py_INCREF(Py_None
); resultobj
= Py_None
;
5150 static PyObject
*_wrap_Openbox_removeClient(PyObject
*self
, PyObject
*args
) {
5151 PyObject
*resultobj
;
5152 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5157 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_removeClient",&obj0
,&obj1
)) goto fail
;
5158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5159 arg2
= (Window
) PyInt_AsLong(obj1
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5161 (arg1
)->removeClient(arg2
);
5163 Py_INCREF(Py_None
); resultobj
= Py_None
;
5170 static PyObject
*_wrap_Openbox_findClient(PyObject
*self
, PyObject
*args
) {
5171 PyObject
*resultobj
;
5172 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5175 PyObject
* obj0
= 0 ;
5176 PyObject
* obj1
= 0 ;
5178 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_findClient",&obj0
,&obj1
)) goto fail
;
5179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5180 arg2
= (Window
) PyInt_AsLong(obj1
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5182 result
= (ob::Client
*)(arg1
)->findClient(arg2
);
5184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
5191 static PyObject
*_wrap_Openbox_focusedClient(PyObject
*self
, PyObject
*args
) {
5192 PyObject
*resultobj
;
5193 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5195 PyObject
* obj0
= 0 ;
5197 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_focusedClient",&obj0
)) goto fail
;
5198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5199 result
= (ob::Client
*)(arg1
)->focusedClient();
5201 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
5208 static PyObject
*_wrap_Openbox_setFocusedClient(PyObject
*self
, PyObject
*args
) {
5209 PyObject
*resultobj
;
5210 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5211 ob::Client
*arg2
= (ob::Client
*) 0 ;
5212 PyObject
* obj0
= 0 ;
5213 PyObject
* obj1
= 0 ;
5215 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_setFocusedClient",&obj0
,&obj1
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5218 (arg1
)->setFocusedClient(arg2
);
5220 Py_INCREF(Py_None
); resultobj
= Py_None
;
5227 static PyObject
*_wrap_Openbox_focusedScreen(PyObject
*self
, PyObject
*args
) {
5228 PyObject
*resultobj
;
5229 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5233 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_focusedScreen",&obj0
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5235 result
= (ob::Screen
*)(arg1
)->focusedScreen();
5237 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Screen
, 0);
5244 static PyObject
*_wrap_Openbox_shutdown(PyObject
*self
, PyObject
*args
) {
5245 PyObject
*resultobj
;
5246 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5247 PyObject
* obj0
= 0 ;
5249 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_shutdown",&obj0
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5253 Py_INCREF(Py_None
); resultobj
= Py_None
;
5260 static PyObject
*_wrap_Openbox_restart(PyObject
*self
, PyObject
*args
) {
5261 PyObject
*resultobj
;
5262 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5263 std::string
const &arg2_defvalue
= "" ;
5264 std::string
*arg2
= (std::string
*) &arg2_defvalue
;
5266 PyObject
* obj0
= 0 ;
5267 PyObject
* obj1
= 0 ;
5269 if(!PyArg_ParseTuple(args
,(char *)"O|O:Openbox_restart",&obj0
,&obj1
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5273 if (PyString_Check(obj1
)) {
5274 temp2
= std::string(PyString_AsString(obj1
));
5277 SWIG_exception(SWIG_TypeError
, "string expected");
5281 (arg1
)->restart((std::string
const &)*arg2
);
5283 Py_INCREF(Py_None
); resultobj
= Py_None
;
5290 static PyObject
*_wrap_Openbox_execute(PyObject
*self
, PyObject
*args
) {
5291 PyObject
*resultobj
;
5292 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
5294 std::string
*arg3
= 0 ;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj2
= 0 ;
5299 if(!PyArg_ParseTuple(args
,(char *)"OiO:Openbox_execute",&obj0
,&arg2
,&obj2
)) goto fail
;
5300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5302 if (PyString_Check(obj2
)) {
5303 temp3
= std::string(PyString_AsString(obj2
));
5306 SWIG_exception(SWIG_TypeError
, "string expected");
5309 (arg1
)->execute(arg2
,(std::string
const &)*arg3
);
5311 Py_INCREF(Py_None
); resultobj
= Py_None
;
5318 static PyObject
* Openbox_swigregister(PyObject
*self
, PyObject
*args
) {
5320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5321 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox
, obj
);
5323 return Py_BuildValue((char *)"");
5325 static PyObject
*_wrap_Screen_client(PyObject
*self
, PyObject
*args
) {
5326 PyObject
*resultobj
;
5327 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5332 if(!PyArg_ParseTuple(args
,(char *)"Oi:Screen_client",&obj0
,&arg2
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5334 result
= (ob::Client
*)ob_Screen_client(arg1
,arg2
);
5336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
5343 static PyObject
*_wrap_Screen_clientCount(PyObject
*self
, PyObject
*args
) {
5344 PyObject
*resultobj
;
5345 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5349 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_clientCount",&obj0
)) goto fail
;
5350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5351 result
= (int)ob_Screen_clientCount((ob::Screen
const *)arg1
);
5353 resultobj
= PyInt_FromLong((long)result
);
5360 static PyObject
*_wrap_Screen_number(PyObject
*self
, PyObject
*args
) {
5361 PyObject
*resultobj
;
5362 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5364 PyObject
* obj0
= 0 ;
5366 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_number",&obj0
)) goto fail
;
5367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5368 result
= (int)((ob::Screen
const *)arg1
)->number();
5370 resultobj
= PyInt_FromLong((long)result
);
5377 static PyObject
*_wrap_Screen_managed(PyObject
*self
, PyObject
*args
) {
5378 PyObject
*resultobj
;
5379 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5381 PyObject
* obj0
= 0 ;
5383 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_managed",&obj0
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5385 result
= (bool)((ob::Screen
const *)arg1
)->managed();
5387 resultobj
= PyInt_FromLong((long)result
);
5394 static PyObject
*_wrap_Screen_imageControl(PyObject
*self
, PyObject
*args
) {
5395 PyObject
*resultobj
;
5396 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5397 otk::ImageControl
*result
;
5398 PyObject
* obj0
= 0 ;
5400 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_imageControl",&obj0
)) goto fail
;
5401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5402 result
= (otk::ImageControl
*)(arg1
)->imageControl();
5404 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ImageControl
, 0);
5411 static PyObject
*_wrap_Screen_area(PyObject
*self
, PyObject
*args
) {
5412 PyObject
*resultobj
;
5413 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5415 PyObject
* obj0
= 0 ;
5417 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_area",&obj0
)) goto fail
;
5418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5420 otk::Rect
const &_result_ref
= ((ob::Screen
const *)arg1
)->area();
5421 result
= (otk::Rect
*) &_result_ref
;
5424 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
5431 static PyObject
*_wrap_Screen_style(PyObject
*self
, PyObject
*args
) {
5432 PyObject
*resultobj
;
5433 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5435 PyObject
* obj0
= 0 ;
5437 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_style",&obj0
)) goto fail
;
5438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5439 result
= (otk::Style
*)((ob::Screen
const *)arg1
)->style();
5441 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 0);
5448 static PyObject
*_wrap_Screen_focuswindow(PyObject
*self
, PyObject
*args
) {
5449 PyObject
*resultobj
;
5450 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5452 PyObject
* obj0
= 0 ;
5454 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_focuswindow",&obj0
)) goto fail
;
5455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5456 result
= (Window
)((ob::Screen
const *)arg1
)->focuswindow();
5458 resultobj
= PyInt_FromLong((long)result
);
5465 static PyObject
*_wrap_Screen_desktop(PyObject
*self
, PyObject
*args
) {
5466 PyObject
*resultobj
;
5467 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5469 PyObject
* obj0
= 0 ;
5471 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_desktop",&obj0
)) goto fail
;
5472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5473 result
= (long)((ob::Screen
const *)arg1
)->desktop();
5475 resultobj
= PyInt_FromLong((long)result
);
5482 static PyObject
*_wrap_Screen_numDesktops(PyObject
*self
, PyObject
*args
) {
5483 PyObject
*resultobj
;
5484 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5486 PyObject
* obj0
= 0 ;
5488 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_numDesktops",&obj0
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5490 result
= (long)((ob::Screen
const *)arg1
)->numDesktops();
5492 resultobj
= PyInt_FromLong((long)result
);
5499 static PyObject
*_wrap_Screen_updateStrut(PyObject
*self
, PyObject
*args
) {
5500 PyObject
*resultobj
;
5501 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5502 PyObject
* obj0
= 0 ;
5504 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_updateStrut",&obj0
)) goto fail
;
5505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5506 (arg1
)->updateStrut();
5508 Py_INCREF(Py_None
); resultobj
= Py_None
;
5515 static PyObject
*_wrap_Screen_manageExisting(PyObject
*self
, PyObject
*args
) {
5516 PyObject
*resultobj
;
5517 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5518 PyObject
* obj0
= 0 ;
5520 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_manageExisting",&obj0
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5522 (arg1
)->manageExisting();
5524 Py_INCREF(Py_None
); resultobj
= Py_None
;
5531 static PyObject
*_wrap_Screen_manageWindow(PyObject
*self
, PyObject
*args
) {
5532 PyObject
*resultobj
;
5533 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5536 PyObject
* obj1
= 0 ;
5538 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_manageWindow",&obj0
,&obj1
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5540 arg2
= (Window
) PyInt_AsLong(obj1
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5542 (arg1
)->manageWindow(arg2
);
5544 Py_INCREF(Py_None
); resultobj
= Py_None
;
5551 static PyObject
*_wrap_Screen_unmanageWindow(PyObject
*self
, PyObject
*args
) {
5552 PyObject
*resultobj
;
5553 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5554 ob::Client
*arg2
= (ob::Client
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5558 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_unmanageWindow",&obj0
,&obj1
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5560 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5561 (arg1
)->unmanageWindow(arg2
);
5563 Py_INCREF(Py_None
); resultobj
= Py_None
;
5570 static PyObject
*_wrap_Screen_restack(PyObject
*self
, PyObject
*args
) {
5571 PyObject
*resultobj
;
5572 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5574 ob::Client
*arg3
= (ob::Client
*) 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5577 PyObject
* obj2
= 0 ;
5579 if(!PyArg_ParseTuple(args
,(char *)"OOO:Screen_restack",&obj0
,&obj1
,&obj2
)) goto fail
;
5580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5581 arg2
= (bool) PyInt_AsLong(obj1
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5583 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5584 (arg1
)->restack(arg2
,arg3
);
5586 Py_INCREF(Py_None
); resultobj
= Py_None
;
5593 static PyObject
*_wrap_Screen_setDesktopName(PyObject
*self
, PyObject
*args
) {
5594 PyObject
*resultobj
;
5595 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5597 std::string
*arg3
= 0 ;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj2
= 0 ;
5602 if(!PyArg_ParseTuple(args
,(char *)"OlO:Screen_setDesktopName",&obj0
,&arg2
,&obj2
)) goto fail
;
5603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5605 if (PyString_Check(obj2
)) {
5606 temp3
= std::string(PyString_AsString(obj2
));
5609 SWIG_exception(SWIG_TypeError
, "string expected");
5612 (arg1
)->setDesktopName(arg2
,(std::string
const &)*arg3
);
5614 Py_INCREF(Py_None
); resultobj
= Py_None
;
5621 static PyObject
*_wrap_Screen_propertyHandler(PyObject
*self
, PyObject
*args
) {
5622 PyObject
*resultobj
;
5623 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5624 XPropertyEvent
*arg2
= 0 ;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5628 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_propertyHandler",&obj0
,&obj1
)) goto fail
;
5629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5634 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
5636 Py_INCREF(Py_None
); resultobj
= Py_None
;
5643 static PyObject
*_wrap_Screen_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
5644 PyObject
*resultobj
;
5645 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5646 XClientMessageEvent
*arg2
= 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5650 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5654 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5656 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
5658 Py_INCREF(Py_None
); resultobj
= Py_None
;
5665 static PyObject
*_wrap_Screen_mapRequestHandler(PyObject
*self
, PyObject
*args
) {
5666 PyObject
*resultobj
;
5667 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
5668 XMapRequestEvent
*arg2
= 0 ;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5672 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_mapRequestHandler",&obj0
,&obj1
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5676 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5678 (arg1
)->mapRequestHandler((XMapRequestEvent
const &)*arg2
);
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
* Screen_swigregister(PyObject
*self
, PyObject
*args
) {
5689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5690 SWIG_TypeClientData(SWIGTYPE_p_ob__Screen
, obj
);
5692 return Py_BuildValue((char *)"");
5694 static PyObject
*_wrap_MwmHints_flags_set(PyObject
*self
, PyObject
*args
) {
5695 PyObject
*resultobj
;
5696 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
5697 unsigned long arg2
;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5701 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_flags_set",&obj0
,&obj1
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5703 arg2
= (unsigned long) PyInt_AsLong(obj1
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5705 if (arg1
) (arg1
)->flags
= arg2
;
5707 Py_INCREF(Py_None
); resultobj
= Py_None
;
5714 static PyObject
*_wrap_MwmHints_flags_get(PyObject
*self
, PyObject
*args
) {
5715 PyObject
*resultobj
;
5716 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
5717 unsigned long result
;
5718 PyObject
* obj0
= 0 ;
5720 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_flags_get",&obj0
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5722 result
= (unsigned long) ((arg1
)->flags
);
5724 resultobj
= PyInt_FromLong((long)result
);
5731 static PyObject
*_wrap_MwmHints_functions_set(PyObject
*self
, PyObject
*args
) {
5732 PyObject
*resultobj
;
5733 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
5734 unsigned long arg2
;
5735 PyObject
* obj0
= 0 ;
5736 PyObject
* obj1
= 0 ;
5738 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_functions_set",&obj0
,&obj1
)) goto fail
;
5739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5740 arg2
= (unsigned long) PyInt_AsLong(obj1
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5742 if (arg1
) (arg1
)->functions
= arg2
;
5744 Py_INCREF(Py_None
); resultobj
= Py_None
;
5751 static PyObject
*_wrap_MwmHints_functions_get(PyObject
*self
, PyObject
*args
) {
5752 PyObject
*resultobj
;
5753 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
5754 unsigned long result
;
5755 PyObject
* obj0
= 0 ;
5757 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_functions_get",&obj0
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5759 result
= (unsigned long) ((arg1
)->functions
);
5761 resultobj
= PyInt_FromLong((long)result
);
5768 static PyObject
*_wrap_MwmHints_decorations_set(PyObject
*self
, PyObject
*args
) {
5769 PyObject
*resultobj
;
5770 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
5771 unsigned long arg2
;
5772 PyObject
* obj0
= 0 ;
5773 PyObject
* obj1
= 0 ;
5775 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_decorations_set",&obj0
,&obj1
)) goto fail
;
5776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5777 arg2
= (unsigned long) PyInt_AsLong(obj1
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5779 if (arg1
) (arg1
)->decorations
= arg2
;
5781 Py_INCREF(Py_None
); resultobj
= Py_None
;
5788 static PyObject
*_wrap_MwmHints_decorations_get(PyObject
*self
, PyObject
*args
) {
5789 PyObject
*resultobj
;
5790 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
5791 unsigned long result
;
5792 PyObject
* obj0
= 0 ;
5794 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_decorations_get",&obj0
)) goto fail
;
5795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5796 result
= (unsigned long) ((arg1
)->decorations
);
5798 resultobj
= PyInt_FromLong((long)result
);
5805 static PyObject
* MwmHints_swigregister(PyObject
*self
, PyObject
*args
) {
5807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5808 SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints
, obj
);
5810 return Py_BuildValue((char *)"");
5812 static PyObject
*_wrap_Client_frame_set(PyObject
*self
, PyObject
*args
) {
5813 PyObject
*resultobj
;
5814 ob::Client
*arg1
= (ob::Client
*) 0 ;
5815 ob::Frame
*arg2
= (ob::Frame
*) 0 ;
5816 PyObject
* obj0
= 0 ;
5817 PyObject
* obj1
= 0 ;
5819 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_frame_set",&obj0
,&obj1
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5821 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5822 if (arg1
) (arg1
)->frame
= arg2
;
5824 Py_INCREF(Py_None
); resultobj
= Py_None
;
5831 static PyObject
*_wrap_Client_frame_get(PyObject
*self
, PyObject
*args
) {
5832 PyObject
*resultobj
;
5833 ob::Client
*arg1
= (ob::Client
*) 0 ;
5835 PyObject
* obj0
= 0 ;
5837 if(!PyArg_ParseTuple(args
,(char *)"O:Client_frame_get",&obj0
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5839 result
= (ob::Frame
*) ((arg1
)->frame
);
5841 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Frame
, 0);
5848 static PyObject
*_wrap_Client_ignore_unmaps_set(PyObject
*self
, PyObject
*args
) {
5849 PyObject
*resultobj
;
5850 ob::Client
*arg1
= (ob::Client
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5854 if(!PyArg_ParseTuple(args
,(char *)"Oi:Client_ignore_unmaps_set",&obj0
,&arg2
)) goto fail
;
5855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5856 if (arg1
) (arg1
)->ignore_unmaps
= arg2
;
5858 Py_INCREF(Py_None
); resultobj
= Py_None
;
5865 static PyObject
*_wrap_Client_ignore_unmaps_get(PyObject
*self
, PyObject
*args
) {
5866 PyObject
*resultobj
;
5867 ob::Client
*arg1
= (ob::Client
*) 0 ;
5869 PyObject
* obj0
= 0 ;
5871 if(!PyArg_ParseTuple(args
,(char *)"O:Client_ignore_unmaps_get",&obj0
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5873 result
= (int) ((arg1
)->ignore_unmaps
);
5875 resultobj
= PyInt_FromLong((long)result
);
5882 static PyObject
*_wrap_Client_screen(PyObject
*self
, PyObject
*args
) {
5883 PyObject
*resultobj
;
5884 ob::Client
*arg1
= (ob::Client
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5888 if(!PyArg_ParseTuple(args
,(char *)"O:Client_screen",&obj0
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5890 result
= (int)((ob::Client
const *)arg1
)->screen();
5892 resultobj
= PyInt_FromLong((long)result
);
5899 static PyObject
*_wrap_Client_window(PyObject
*self
, PyObject
*args
) {
5900 PyObject
*resultobj
;
5901 ob::Client
*arg1
= (ob::Client
*) 0 ;
5903 PyObject
* obj0
= 0 ;
5905 if(!PyArg_ParseTuple(args
,(char *)"O:Client_window",&obj0
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5907 result
= (Window
)((ob::Client
const *)arg1
)->window();
5909 resultobj
= PyInt_FromLong((long)result
);
5916 static PyObject
*_wrap_Client_type(PyObject
*self
, PyObject
*args
) {
5917 PyObject
*resultobj
;
5918 ob::Client
*arg1
= (ob::Client
*) 0 ;
5920 PyObject
* obj0
= 0 ;
5922 if(!PyArg_ParseTuple(args
,(char *)"O:Client_type",&obj0
)) goto fail
;
5923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5924 result
= (int)((ob::Client
const *)arg1
)->type();
5926 resultobj
= PyInt_FromLong((long)result
);
5933 static PyObject
*_wrap_Client_normal(PyObject
*self
, PyObject
*args
) {
5934 PyObject
*resultobj
;
5935 ob::Client
*arg1
= (ob::Client
*) 0 ;
5937 PyObject
* obj0
= 0 ;
5939 if(!PyArg_ParseTuple(args
,(char *)"O:Client_normal",&obj0
)) goto fail
;
5940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5941 result
= (bool)((ob::Client
const *)arg1
)->normal();
5943 resultobj
= PyInt_FromLong((long)result
);
5950 static PyObject
*_wrap_Client_desktop(PyObject
*self
, PyObject
*args
) {
5951 PyObject
*resultobj
;
5952 ob::Client
*arg1
= (ob::Client
*) 0 ;
5954 PyObject
* obj0
= 0 ;
5956 if(!PyArg_ParseTuple(args
,(char *)"O:Client_desktop",&obj0
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5958 result
= (long)((ob::Client
const *)arg1
)->desktop();
5960 resultobj
= PyInt_FromLong((long)result
);
5967 static PyObject
*_wrap_Client_title(PyObject
*self
, PyObject
*args
) {
5968 PyObject
*resultobj
;
5969 ob::Client
*arg1
= (ob::Client
*) 0 ;
5970 std::string
*result
;
5971 PyObject
* obj0
= 0 ;
5973 if(!PyArg_ParseTuple(args
,(char *)"O:Client_title",&obj0
)) goto fail
;
5974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5976 std::string
const &_result_ref
= ((ob::Client
const *)arg1
)->title();
5977 result
= (std::string
*) &_result_ref
;
5981 resultobj
= PyString_FromString(result
->c_str());
5989 static PyObject
*_wrap_Client_iconTitle(PyObject
*self
, PyObject
*args
) {
5990 PyObject
*resultobj
;
5991 ob::Client
*arg1
= (ob::Client
*) 0 ;
5992 std::string
*result
;
5993 PyObject
* obj0
= 0 ;
5995 if(!PyArg_ParseTuple(args
,(char *)"O:Client_iconTitle",&obj0
)) goto fail
;
5996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5998 std::string
const &_result_ref
= ((ob::Client
const *)arg1
)->iconTitle();
5999 result
= (std::string
*) &_result_ref
;
6003 resultobj
= PyString_FromString(result
->c_str());
6011 static PyObject
*_wrap_Client_appName(PyObject
*self
, PyObject
*args
) {
6012 PyObject
*resultobj
;
6013 ob::Client
*arg1
= (ob::Client
*) 0 ;
6014 std::string
*result
;
6015 PyObject
* obj0
= 0 ;
6017 if(!PyArg_ParseTuple(args
,(char *)"O:Client_appName",&obj0
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6020 std::string
const &_result_ref
= ((ob::Client
const *)arg1
)->appName();
6021 result
= (std::string
*) &_result_ref
;
6025 resultobj
= PyString_FromString(result
->c_str());
6033 static PyObject
*_wrap_Client_appClass(PyObject
*self
, PyObject
*args
) {
6034 PyObject
*resultobj
;
6035 ob::Client
*arg1
= (ob::Client
*) 0 ;
6036 std::string
*result
;
6037 PyObject
* obj0
= 0 ;
6039 if(!PyArg_ParseTuple(args
,(char *)"O:Client_appClass",&obj0
)) goto fail
;
6040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6042 std::string
const &_result_ref
= ((ob::Client
const *)arg1
)->appClass();
6043 result
= (std::string
*) &_result_ref
;
6047 resultobj
= PyString_FromString(result
->c_str());
6055 static PyObject
*_wrap_Client_role(PyObject
*self
, PyObject
*args
) {
6056 PyObject
*resultobj
;
6057 ob::Client
*arg1
= (ob::Client
*) 0 ;
6058 std::string
*result
;
6059 PyObject
* obj0
= 0 ;
6061 if(!PyArg_ParseTuple(args
,(char *)"O:Client_role",&obj0
)) goto fail
;
6062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6064 std::string
const &_result_ref
= ((ob::Client
const *)arg1
)->role();
6065 result
= (std::string
*) &_result_ref
;
6069 resultobj
= PyString_FromString(result
->c_str());
6077 static PyObject
*_wrap_Client_canFocus(PyObject
*self
, PyObject
*args
) {
6078 PyObject
*resultobj
;
6079 ob::Client
*arg1
= (ob::Client
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6083 if(!PyArg_ParseTuple(args
,(char *)"O:Client_canFocus",&obj0
)) goto fail
;
6084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6085 result
= (bool)((ob::Client
const *)arg1
)->canFocus();
6087 resultobj
= PyInt_FromLong((long)result
);
6094 static PyObject
*_wrap_Client_urgent(PyObject
*self
, PyObject
*args
) {
6095 PyObject
*resultobj
;
6096 ob::Client
*arg1
= (ob::Client
*) 0 ;
6098 PyObject
* obj0
= 0 ;
6100 if(!PyArg_ParseTuple(args
,(char *)"O:Client_urgent",&obj0
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6102 result
= (bool)((ob::Client
const *)arg1
)->urgent();
6104 resultobj
= PyInt_FromLong((long)result
);
6111 static PyObject
*_wrap_Client_focusNotify(PyObject
*self
, PyObject
*args
) {
6112 PyObject
*resultobj
;
6113 ob::Client
*arg1
= (ob::Client
*) 0 ;
6115 PyObject
* obj0
= 0 ;
6117 if(!PyArg_ParseTuple(args
,(char *)"O:Client_focusNotify",&obj0
)) goto fail
;
6118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6119 result
= (bool)((ob::Client
const *)arg1
)->focusNotify();
6121 resultobj
= PyInt_FromLong((long)result
);
6128 static PyObject
*_wrap_Client_shaped(PyObject
*self
, PyObject
*args
) {
6129 PyObject
*resultobj
;
6130 ob::Client
*arg1
= (ob::Client
*) 0 ;
6132 PyObject
* obj0
= 0 ;
6134 if(!PyArg_ParseTuple(args
,(char *)"O:Client_shaped",&obj0
)) goto fail
;
6135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6136 result
= (bool)((ob::Client
const *)arg1
)->shaped();
6138 resultobj
= PyInt_FromLong((long)result
);
6145 static PyObject
*_wrap_Client_gravity(PyObject
*self
, PyObject
*args
) {
6146 PyObject
*resultobj
;
6147 ob::Client
*arg1
= (ob::Client
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6151 if(!PyArg_ParseTuple(args
,(char *)"O:Client_gravity",&obj0
)) goto fail
;
6152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6153 result
= (int)((ob::Client
const *)arg1
)->gravity();
6155 resultobj
= PyInt_FromLong((long)result
);
6162 static PyObject
*_wrap_Client_positionRequested(PyObject
*self
, PyObject
*args
) {
6163 PyObject
*resultobj
;
6164 ob::Client
*arg1
= (ob::Client
*) 0 ;
6166 PyObject
* obj0
= 0 ;
6168 if(!PyArg_ParseTuple(args
,(char *)"O:Client_positionRequested",&obj0
)) goto fail
;
6169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6170 result
= (bool)((ob::Client
const *)arg1
)->positionRequested();
6172 resultobj
= PyInt_FromLong((long)result
);
6179 static PyObject
*_wrap_Client_decorations(PyObject
*self
, PyObject
*args
) {
6180 PyObject
*resultobj
;
6181 ob::Client
*arg1
= (ob::Client
*) 0 ;
6182 ob::Client::DecorationFlags result
;
6183 PyObject
* obj0
= 0 ;
6185 if(!PyArg_ParseTuple(args
,(char *)"O:Client_decorations",&obj0
)) goto fail
;
6186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6187 result
= (ob::Client::DecorationFlags
)((ob::Client
const *)arg1
)->decorations();
6189 resultobj
= PyInt_FromLong((long)result
);
6196 static PyObject
*_wrap_Client_funtions(PyObject
*self
, PyObject
*args
) {
6197 PyObject
*resultobj
;
6198 ob::Client
*arg1
= (ob::Client
*) 0 ;
6199 ob::Client::FunctionFlags result
;
6200 PyObject
* obj0
= 0 ;
6202 if(!PyArg_ParseTuple(args
,(char *)"O:Client_funtions",&obj0
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6204 result
= (ob::Client::FunctionFlags
)((ob::Client
const *)arg1
)->funtions();
6206 resultobj
= PyInt_FromLong((long)result
);
6213 static PyObject
*_wrap_Client_transientFor(PyObject
*self
, PyObject
*args
) {
6214 PyObject
*resultobj
;
6215 ob::Client
*arg1
= (ob::Client
*) 0 ;
6217 PyObject
* obj0
= 0 ;
6219 if(!PyArg_ParseTuple(args
,(char *)"O:Client_transientFor",&obj0
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6221 result
= (ob::Client
*)((ob::Client
const *)arg1
)->transientFor();
6223 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
6230 static PyObject
*_wrap_Client_modal(PyObject
*self
, PyObject
*args
) {
6231 PyObject
*resultobj
;
6232 ob::Client
*arg1
= (ob::Client
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 if(!PyArg_ParseTuple(args
,(char *)"O:Client_modal",&obj0
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6238 result
= (bool)((ob::Client
const *)arg1
)->modal();
6240 resultobj
= PyInt_FromLong((long)result
);
6247 static PyObject
*_wrap_Client_shaded(PyObject
*self
, PyObject
*args
) {
6248 PyObject
*resultobj
;
6249 ob::Client
*arg1
= (ob::Client
*) 0 ;
6251 PyObject
* obj0
= 0 ;
6253 if(!PyArg_ParseTuple(args
,(char *)"O:Client_shaded",&obj0
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6255 result
= (bool)((ob::Client
const *)arg1
)->shaded();
6257 resultobj
= PyInt_FromLong((long)result
);
6264 static PyObject
*_wrap_Client_iconic(PyObject
*self
, PyObject
*args
) {
6265 PyObject
*resultobj
;
6266 ob::Client
*arg1
= (ob::Client
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6270 if(!PyArg_ParseTuple(args
,(char *)"O:Client_iconic",&obj0
)) goto fail
;
6271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6272 result
= (bool)((ob::Client
const *)arg1
)->iconic();
6274 resultobj
= PyInt_FromLong((long)result
);
6281 static PyObject
*_wrap_Client_maxVert(PyObject
*self
, PyObject
*args
) {
6282 PyObject
*resultobj
;
6283 ob::Client
*arg1
= (ob::Client
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6287 if(!PyArg_ParseTuple(args
,(char *)"O:Client_maxVert",&obj0
)) goto fail
;
6288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6289 result
= (bool)((ob::Client
const *)arg1
)->maxVert();
6291 resultobj
= PyInt_FromLong((long)result
);
6298 static PyObject
*_wrap_Client_maxHorz(PyObject
*self
, PyObject
*args
) {
6299 PyObject
*resultobj
;
6300 ob::Client
*arg1
= (ob::Client
*) 0 ;
6302 PyObject
* obj0
= 0 ;
6304 if(!PyArg_ParseTuple(args
,(char *)"O:Client_maxHorz",&obj0
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6306 result
= (bool)((ob::Client
const *)arg1
)->maxHorz();
6308 resultobj
= PyInt_FromLong((long)result
);
6315 static PyObject
*_wrap_Client_layer(PyObject
*self
, PyObject
*args
) {
6316 PyObject
*resultobj
;
6317 ob::Client
*arg1
= (ob::Client
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6321 if(!PyArg_ParseTuple(args
,(char *)"O:Client_layer",&obj0
)) goto fail
;
6322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6323 result
= (int)((ob::Client
const *)arg1
)->layer();
6325 resultobj
= PyInt_FromLong((long)result
);
6332 static PyObject
*_wrap_Client_toggleClientBorder(PyObject
*self
, PyObject
*args
) {
6333 PyObject
*resultobj
;
6334 ob::Client
*arg1
= (ob::Client
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6339 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_toggleClientBorder",&obj0
,&obj1
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6341 arg2
= (bool) PyInt_AsLong(obj1
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6343 (arg1
)->toggleClientBorder(arg2
);
6345 Py_INCREF(Py_None
); resultobj
= Py_None
;
6352 static PyObject
*_wrap_Client_area(PyObject
*self
, PyObject
*args
) {
6353 PyObject
*resultobj
;
6354 ob::Client
*arg1
= (ob::Client
*) 0 ;
6356 PyObject
* obj0
= 0 ;
6358 if(!PyArg_ParseTuple(args
,(char *)"O:Client_area",&obj0
)) goto fail
;
6359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6361 otk::Rect
const &_result_ref
= ((ob::Client
const *)arg1
)->area();
6362 result
= (otk::Rect
*) &_result_ref
;
6365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
6372 static PyObject
*_wrap_Client_strut(PyObject
*self
, PyObject
*args
) {
6373 PyObject
*resultobj
;
6374 ob::Client
*arg1
= (ob::Client
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6378 if(!PyArg_ParseTuple(args
,(char *)"O:Client_strut",&obj0
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6381 otk::Strut
const &_result_ref
= ((ob::Client
const *)arg1
)->strut();
6382 result
= (otk::Strut
*) &_result_ref
;
6385 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 0);
6392 static PyObject
*_wrap_Client_move(PyObject
*self
, PyObject
*args
) {
6393 PyObject
*resultobj
;
6394 ob::Client
*arg1
= (ob::Client
*) 0 ;
6397 PyObject
* obj0
= 0 ;
6399 if(!PyArg_ParseTuple(args
,(char *)"Oii:Client_move",&obj0
,&arg2
,&arg3
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6401 (arg1
)->move(arg2
,arg3
);
6403 Py_INCREF(Py_None
); resultobj
= Py_None
;
6410 static PyObject
*_wrap_Client_resize(PyObject
*self
, PyObject
*args
) {
6411 PyObject
*resultobj
;
6412 ob::Client
*arg1
= (ob::Client
*) 0 ;
6416 int arg5
= (int) INT_MIN
;
6417 int arg6
= (int) INT_MIN
;
6418 PyObject
* obj0
= 0 ;
6420 if(!PyArg_ParseTuple(args
,(char *)"Oiii|ii:Client_resize",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
6421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6422 (arg1
)->resize((ob::Client::Corner
)arg2
,arg3
,arg4
,arg5
,arg6
);
6424 Py_INCREF(Py_None
); resultobj
= Py_None
;
6431 static PyObject
*_wrap_Client_focus(PyObject
*self
, PyObject
*args
) {
6432 PyObject
*resultobj
;
6433 ob::Client
*arg1
= (ob::Client
*) 0 ;
6435 PyObject
* obj0
= 0 ;
6437 if(!PyArg_ParseTuple(args
,(char *)"O:Client_focus",&obj0
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6439 result
= (bool)((ob::Client
const *)arg1
)->focus();
6441 resultobj
= PyInt_FromLong((long)result
);
6448 static PyObject
*_wrap_Client_unfocus(PyObject
*self
, PyObject
*args
) {
6449 PyObject
*resultobj
;
6450 ob::Client
*arg1
= (ob::Client
*) 0 ;
6451 PyObject
* obj0
= 0 ;
6453 if(!PyArg_ParseTuple(args
,(char *)"O:Client_unfocus",&obj0
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6455 ((ob::Client
const *)arg1
)->unfocus();
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_Client_focusHandler(PyObject
*self
, PyObject
*args
) {
6465 PyObject
*resultobj
;
6466 ob::Client
*arg1
= (ob::Client
*) 0 ;
6467 XFocusChangeEvent
*arg2
= 0 ;
6468 PyObject
* obj0
= 0 ;
6469 PyObject
* obj1
= 0 ;
6471 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_focusHandler",&obj0
,&obj1
)) goto fail
;
6472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6473 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6475 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6477 (arg1
)->focusHandler((XFocusChangeEvent
const &)*arg2
);
6479 Py_INCREF(Py_None
); resultobj
= Py_None
;
6486 static PyObject
*_wrap_Client_unfocusHandler(PyObject
*self
, PyObject
*args
) {
6487 PyObject
*resultobj
;
6488 ob::Client
*arg1
= (ob::Client
*) 0 ;
6489 XFocusChangeEvent
*arg2
= 0 ;
6490 PyObject
* obj0
= 0 ;
6491 PyObject
* obj1
= 0 ;
6493 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_unfocusHandler",&obj0
,&obj1
)) goto fail
;
6494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6495 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6499 (arg1
)->unfocusHandler((XFocusChangeEvent
const &)*arg2
);
6501 Py_INCREF(Py_None
); resultobj
= Py_None
;
6508 static PyObject
*_wrap_Client_propertyHandler(PyObject
*self
, PyObject
*args
) {
6509 PyObject
*resultobj
;
6510 ob::Client
*arg1
= (ob::Client
*) 0 ;
6511 XPropertyEvent
*arg2
= 0 ;
6512 PyObject
* obj0
= 0 ;
6513 PyObject
* obj1
= 0 ;
6515 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_propertyHandler",&obj0
,&obj1
)) goto fail
;
6516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6517 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6519 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6521 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
6523 Py_INCREF(Py_None
); resultobj
= Py_None
;
6530 static PyObject
*_wrap_Client_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
6531 PyObject
*resultobj
;
6532 ob::Client
*arg1
= (ob::Client
*) 0 ;
6533 XClientMessageEvent
*arg2
= 0 ;
6534 PyObject
* obj0
= 0 ;
6535 PyObject
* obj1
= 0 ;
6537 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6541 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6543 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
6545 Py_INCREF(Py_None
); resultobj
= Py_None
;
6552 static PyObject
*_wrap_Client_configureRequestHandler(PyObject
*self
, PyObject
*args
) {
6553 PyObject
*resultobj
;
6554 ob::Client
*arg1
= (ob::Client
*) 0 ;
6555 XConfigureRequestEvent
*arg2
= 0 ;
6556 PyObject
* obj0
= 0 ;
6557 PyObject
* obj1
= 0 ;
6559 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_configureRequestHandler",&obj0
,&obj1
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6565 (arg1
)->configureRequestHandler((XConfigureRequestEvent
const &)*arg2
);
6567 Py_INCREF(Py_None
); resultobj
= Py_None
;
6574 static PyObject
*_wrap_Client_unmapHandler(PyObject
*self
, PyObject
*args
) {
6575 PyObject
*resultobj
;
6576 ob::Client
*arg1
= (ob::Client
*) 0 ;
6577 XUnmapEvent
*arg2
= 0 ;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6581 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_unmapHandler",&obj0
,&obj1
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6583 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XUnmapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6585 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6587 (arg1
)->unmapHandler((XUnmapEvent
const &)*arg2
);
6589 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 static PyObject
*_wrap_Client_destroyHandler(PyObject
*self
, PyObject
*args
) {
6597 PyObject
*resultobj
;
6598 ob::Client
*arg1
= (ob::Client
*) 0 ;
6599 XDestroyWindowEvent
*arg2
= 0 ;
6600 PyObject
* obj0
= 0 ;
6601 PyObject
* obj1
= 0 ;
6603 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_destroyHandler",&obj0
,&obj1
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6605 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XDestroyWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6607 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6609 (arg1
)->destroyHandler((XDestroyWindowEvent
const &)*arg2
);
6611 Py_INCREF(Py_None
); resultobj
= Py_None
;
6618 static PyObject
*_wrap_Client_reparentHandler(PyObject
*self
, PyObject
*args
) {
6619 PyObject
*resultobj
;
6620 ob::Client
*arg1
= (ob::Client
*) 0 ;
6621 XReparentEvent
*arg2
= 0 ;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6625 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_reparentHandler",&obj0
,&obj1
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XReparentEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6629 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6631 (arg1
)->reparentHandler((XReparentEvent
const &)*arg2
);
6633 Py_INCREF(Py_None
); resultobj
= Py_None
;
6640 static PyObject
* Client_swigregister(PyObject
*self
, PyObject
*args
) {
6642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6643 SWIG_TypeClientData(SWIGTYPE_p_ob__Client
, obj
);
6645 return Py_BuildValue((char *)"");
6647 static PyObject
*_wrap_MouseData_screen_set(PyObject
*self
, PyObject
*args
) {
6648 PyObject
*resultobj
;
6649 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_screen_set",&obj0
,&arg2
)) goto fail
;
6654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6655 if (arg1
) (arg1
)->screen
= arg2
;
6657 Py_INCREF(Py_None
); resultobj
= Py_None
;
6664 static PyObject
*_wrap_MouseData_screen_get(PyObject
*self
, PyObject
*args
) {
6665 PyObject
*resultobj
;
6666 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6668 PyObject
* obj0
= 0 ;
6670 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_screen_get",&obj0
)) goto fail
;
6671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6672 result
= (int) ((arg1
)->screen
);
6674 resultobj
= PyInt_FromLong((long)result
);
6681 static PyObject
*_wrap_MouseData_client_set(PyObject
*self
, PyObject
*args
) {
6682 PyObject
*resultobj
;
6683 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6684 ob::Client
*arg2
= (ob::Client
*) 0 ;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6688 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_client_set",&obj0
,&obj1
)) goto fail
;
6689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6690 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
6691 if (arg1
) (arg1
)->client
= arg2
;
6693 Py_INCREF(Py_None
); resultobj
= Py_None
;
6700 static PyObject
*_wrap_MouseData_client_get(PyObject
*self
, PyObject
*args
) {
6701 PyObject
*resultobj
;
6702 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6706 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_client_get",&obj0
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6708 result
= (ob::Client
*) ((arg1
)->client
);
6710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
6717 static PyObject
*_wrap_MouseData_time_set(PyObject
*self
, PyObject
*args
) {
6718 PyObject
*resultobj
;
6719 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6724 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_time_set",&obj0
,&obj1
)) goto fail
;
6725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6726 arg2
= (Time
) PyInt_AsLong(obj1
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6728 if (arg1
) (arg1
)->time
= arg2
;
6730 Py_INCREF(Py_None
); resultobj
= Py_None
;
6737 static PyObject
*_wrap_MouseData_time_get(PyObject
*self
, PyObject
*args
) {
6738 PyObject
*resultobj
;
6739 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6741 PyObject
* obj0
= 0 ;
6743 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_time_get",&obj0
)) goto fail
;
6744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6745 result
= (Time
) ((arg1
)->time
);
6747 resultobj
= PyInt_FromLong((long)result
);
6754 static PyObject
*_wrap_MouseData_state_set(PyObject
*self
, PyObject
*args
) {
6755 PyObject
*resultobj
;
6756 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6758 PyObject
* obj0
= 0 ;
6759 PyObject
* obj1
= 0 ;
6761 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_state_set",&obj0
,&obj1
)) goto fail
;
6762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6763 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6765 if (arg1
) (arg1
)->state
= arg2
;
6767 Py_INCREF(Py_None
); resultobj
= Py_None
;
6774 static PyObject
*_wrap_MouseData_state_get(PyObject
*self
, PyObject
*args
) {
6775 PyObject
*resultobj
;
6776 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6777 unsigned int result
;
6778 PyObject
* obj0
= 0 ;
6780 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_state_get",&obj0
)) goto fail
;
6781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6782 result
= (unsigned int) ((arg1
)->state
);
6784 resultobj
= PyInt_FromLong((long)result
);
6791 static PyObject
*_wrap_MouseData_button_set(PyObject
*self
, PyObject
*args
) {
6792 PyObject
*resultobj
;
6793 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6798 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_button_set",&obj0
,&obj1
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6800 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6802 if (arg1
) (arg1
)->button
= arg2
;
6804 Py_INCREF(Py_None
); resultobj
= Py_None
;
6811 static PyObject
*_wrap_MouseData_button_get(PyObject
*self
, PyObject
*args
) {
6812 PyObject
*resultobj
;
6813 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6814 unsigned int result
;
6815 PyObject
* obj0
= 0 ;
6817 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_button_get",&obj0
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6819 result
= (unsigned int) ((arg1
)->button
);
6821 resultobj
= PyInt_FromLong((long)result
);
6828 static PyObject
*_wrap_MouseData_context_set(PyObject
*self
, PyObject
*args
) {
6829 PyObject
*resultobj
;
6830 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6832 PyObject
* obj0
= 0 ;
6834 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_context_set",&obj0
,&arg2
)) goto fail
;
6835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6836 if (arg1
) (arg1
)->context
= (ob::MouseContext
)arg2
;
6838 Py_INCREF(Py_None
); resultobj
= Py_None
;
6845 static PyObject
*_wrap_MouseData_context_get(PyObject
*self
, PyObject
*args
) {
6846 PyObject
*resultobj
;
6847 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6849 PyObject
* obj0
= 0 ;
6851 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_context_get",&obj0
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6853 result
= (int) ((arg1
)->context
);
6855 resultobj
= PyInt_FromLong((long)result
);
6862 static PyObject
*_wrap_MouseData_action_set(PyObject
*self
, PyObject
*args
) {
6863 PyObject
*resultobj
;
6864 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6866 PyObject
* obj0
= 0 ;
6868 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_action_set",&obj0
,&arg2
)) goto fail
;
6869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6870 if (arg1
) (arg1
)->action
= (ob::MouseAction
)arg2
;
6872 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_MouseData_action_get(PyObject
*self
, PyObject
*args
) {
6880 PyObject
*resultobj
;
6881 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6885 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_action_get",&obj0
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6887 result
= (int) ((arg1
)->action
);
6889 resultobj
= PyInt_FromLong((long)result
);
6896 static PyObject
*_wrap_MouseData_xroot_set(PyObject
*self
, PyObject
*args
) {
6897 PyObject
*resultobj
;
6898 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6900 PyObject
* obj0
= 0 ;
6902 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_xroot_set",&obj0
,&arg2
)) goto fail
;
6903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6904 if (arg1
) (arg1
)->xroot
= arg2
;
6906 Py_INCREF(Py_None
); resultobj
= Py_None
;
6913 static PyObject
*_wrap_MouseData_xroot_get(PyObject
*self
, PyObject
*args
) {
6914 PyObject
*resultobj
;
6915 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6919 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_xroot_get",&obj0
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6921 result
= (int) ((arg1
)->xroot
);
6923 resultobj
= PyInt_FromLong((long)result
);
6930 static PyObject
*_wrap_MouseData_yroot_set(PyObject
*self
, PyObject
*args
) {
6931 PyObject
*resultobj
;
6932 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6936 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_yroot_set",&obj0
,&arg2
)) goto fail
;
6937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6938 if (arg1
) (arg1
)->yroot
= arg2
;
6940 Py_INCREF(Py_None
); resultobj
= Py_None
;
6947 static PyObject
*_wrap_MouseData_yroot_get(PyObject
*self
, PyObject
*args
) {
6948 PyObject
*resultobj
;
6949 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6951 PyObject
* obj0
= 0 ;
6953 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_yroot_get",&obj0
)) goto fail
;
6954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6955 result
= (int) ((arg1
)->yroot
);
6957 resultobj
= PyInt_FromLong((long)result
);
6964 static PyObject
*_wrap_MouseData_pressx_set(PyObject
*self
, PyObject
*args
) {
6965 PyObject
*resultobj
;
6966 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6970 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_pressx_set",&obj0
,&arg2
)) goto fail
;
6971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6972 if (arg1
) (arg1
)->pressx
= arg2
;
6974 Py_INCREF(Py_None
); resultobj
= Py_None
;
6981 static PyObject
*_wrap_MouseData_pressx_get(PyObject
*self
, PyObject
*args
) {
6982 PyObject
*resultobj
;
6983 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
6985 PyObject
* obj0
= 0 ;
6987 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_pressx_get",&obj0
)) goto fail
;
6988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6989 result
= (int) ((arg1
)->pressx
);
6991 resultobj
= PyInt_FromLong((long)result
);
6998 static PyObject
*_wrap_MouseData_pressy_set(PyObject
*self
, PyObject
*args
) {
6999 PyObject
*resultobj
;
7000 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7002 PyObject
* obj0
= 0 ;
7004 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_pressy_set",&obj0
,&arg2
)) goto fail
;
7005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7006 if (arg1
) (arg1
)->pressy
= arg2
;
7008 Py_INCREF(Py_None
); resultobj
= Py_None
;
7015 static PyObject
*_wrap_MouseData_pressy_get(PyObject
*self
, PyObject
*args
) {
7016 PyObject
*resultobj
;
7017 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7021 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_pressy_get",&obj0
)) goto fail
;
7022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7023 result
= (int) ((arg1
)->pressy
);
7025 resultobj
= PyInt_FromLong((long)result
);
7032 static PyObject
*_wrap_MouseData_press_clientx_set(PyObject
*self
, PyObject
*args
) {
7033 PyObject
*resultobj
;
7034 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7036 PyObject
* obj0
= 0 ;
7038 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientx_set",&obj0
,&arg2
)) goto fail
;
7039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7040 if (arg1
) (arg1
)->press_clientx
= arg2
;
7042 Py_INCREF(Py_None
); resultobj
= Py_None
;
7049 static PyObject
*_wrap_MouseData_press_clientx_get(PyObject
*self
, PyObject
*args
) {
7050 PyObject
*resultobj
;
7051 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7053 PyObject
* obj0
= 0 ;
7055 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientx_get",&obj0
)) goto fail
;
7056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7057 result
= (int) ((arg1
)->press_clientx
);
7059 resultobj
= PyInt_FromLong((long)result
);
7066 static PyObject
*_wrap_MouseData_press_clienty_set(PyObject
*self
, PyObject
*args
) {
7067 PyObject
*resultobj
;
7068 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7070 PyObject
* obj0
= 0 ;
7072 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clienty_set",&obj0
,&arg2
)) goto fail
;
7073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7074 if (arg1
) (arg1
)->press_clienty
= arg2
;
7076 Py_INCREF(Py_None
); resultobj
= Py_None
;
7083 static PyObject
*_wrap_MouseData_press_clienty_get(PyObject
*self
, PyObject
*args
) {
7084 PyObject
*resultobj
;
7085 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7089 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clienty_get",&obj0
)) goto fail
;
7090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7091 result
= (int) ((arg1
)->press_clienty
);
7093 resultobj
= PyInt_FromLong((long)result
);
7100 static PyObject
*_wrap_MouseData_press_clientwidth_set(PyObject
*self
, PyObject
*args
) {
7101 PyObject
*resultobj
;
7102 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7104 PyObject
* obj0
= 0 ;
7106 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientwidth_set",&obj0
,&arg2
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7108 if (arg1
) (arg1
)->press_clientwidth
= arg2
;
7110 Py_INCREF(Py_None
); resultobj
= Py_None
;
7117 static PyObject
*_wrap_MouseData_press_clientwidth_get(PyObject
*self
, PyObject
*args
) {
7118 PyObject
*resultobj
;
7119 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7123 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientwidth_get",&obj0
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7125 result
= (int) ((arg1
)->press_clientwidth
);
7127 resultobj
= PyInt_FromLong((long)result
);
7134 static PyObject
*_wrap_MouseData_press_clientheight_set(PyObject
*self
, PyObject
*args
) {
7135 PyObject
*resultobj
;
7136 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7140 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientheight_set",&obj0
,&arg2
)) goto fail
;
7141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7142 if (arg1
) (arg1
)->press_clientheight
= arg2
;
7144 Py_INCREF(Py_None
); resultobj
= Py_None
;
7151 static PyObject
*_wrap_MouseData_press_clientheight_get(PyObject
*self
, PyObject
*args
) {
7152 PyObject
*resultobj
;
7153 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7157 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientheight_get",&obj0
)) goto fail
;
7158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7159 result
= (int) ((arg1
)->press_clientheight
);
7161 resultobj
= PyInt_FromLong((long)result
);
7168 static PyObject
*_wrap_new_MouseData__SWIG_0(PyObject
*self
, PyObject
*args
) {
7169 PyObject
*resultobj
;
7171 ob::Client
*arg2
= (ob::Client
*) 0 ;
7179 otk::Point
*arg10
= 0 ;
7180 otk::Rect
*arg11
= 0 ;
7181 ob::MouseData
*result
;
7182 PyObject
* obj1
= 0 ;
7183 PyObject
* obj2
= 0 ;
7184 PyObject
* obj3
= 0 ;
7185 PyObject
* obj4
= 0 ;
7186 PyObject
* obj9
= 0 ;
7187 PyObject
* obj10
= 0 ;
7189 if(!PyArg_ParseTuple(args
,(char *)"iOOOOiiiiOO:new_MouseData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
,&obj10
)) goto fail
;
7190 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7191 arg3
= (Time
) PyInt_AsLong(obj2
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7193 arg4
= (unsigned int) PyInt_AsLong(obj3
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7195 arg5
= (unsigned int) PyInt_AsLong(obj4
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7197 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7198 if (arg10
== NULL
) {
7199 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7201 if ((SWIG_ConvertPtr(obj10
,(void **) &arg11
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7202 if (arg11
== NULL
) {
7203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7205 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
);
7207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__MouseData
, 1);
7214 static PyObject
*_wrap_new_MouseData__SWIG_1(PyObject
*self
, PyObject
*args
) {
7215 PyObject
*resultobj
;
7217 ob::Client
*arg2
= (ob::Client
*) 0 ;
7223 ob::MouseData
*result
;
7224 PyObject
* obj1
= 0 ;
7225 PyObject
* obj2
= 0 ;
7226 PyObject
* obj3
= 0 ;
7227 PyObject
* obj4
= 0 ;
7229 if(!PyArg_ParseTuple(args
,(char *)"iOOOOii:new_MouseData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7231 arg3
= (Time
) PyInt_AsLong(obj2
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7233 arg4
= (unsigned int) PyInt_AsLong(obj3
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7235 arg5
= (unsigned int) PyInt_AsLong(obj4
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7237 result
= (ob::MouseData
*)new ob::MouseData(arg1
,arg2
,arg3
,arg4
,arg5
,(ob::MouseContext
)arg6
,(ob::MouseAction
)arg7
);
7239 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__MouseData
, 1);
7246 static PyObject
*_wrap_new_MouseData(PyObject
*self
, PyObject
*args
) {
7251 argc
= PyObject_Length(args
);
7252 for (ii
= 0; (ii
< argc
) && (ii
< 11); ii
++) {
7253 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7258 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
7263 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_ob__Client
, 0) == -1) {
7272 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7276 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7280 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
7284 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
7288 _v
= (PyInt_Check(argv
[6]) || PyLong_Check(argv
[6])) ? 1 : 0;
7291 return _wrap_new_MouseData__SWIG_1(self
,args
);
7303 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
7308 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_ob__Client
, 0) == -1) {
7317 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
7321 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
7325 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
7329 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
7333 _v
= (PyInt_Check(argv
[6]) || PyLong_Check(argv
[6])) ? 1 : 0;
7337 _v
= (PyInt_Check(argv
[7]) || PyLong_Check(argv
[7])) ? 1 : 0;
7341 _v
= (PyInt_Check(argv
[8]) || PyLong_Check(argv
[8])) ? 1 : 0;
7346 if (SWIG_ConvertPtr(argv
[9], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
7356 if (SWIG_ConvertPtr(argv
[10], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
7364 return _wrap_new_MouseData__SWIG_0(self
,args
);
7378 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_MouseData'");
7383 static PyObject
* MouseData_swigregister(PyObject
*self
, PyObject
*args
) {
7385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7386 SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData
, obj
);
7388 return Py_BuildValue((char *)"");
7390 static PyObject
*_wrap_EventData_screen_set(PyObject
*self
, PyObject
*args
) {
7391 PyObject
*resultobj
;
7392 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7394 PyObject
* obj0
= 0 ;
7396 if(!PyArg_ParseTuple(args
,(char *)"Oi:EventData_screen_set",&obj0
,&arg2
)) goto fail
;
7397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7398 if (arg1
) (arg1
)->screen
= arg2
;
7400 Py_INCREF(Py_None
); resultobj
= Py_None
;
7407 static PyObject
*_wrap_EventData_screen_get(PyObject
*self
, PyObject
*args
) {
7408 PyObject
*resultobj
;
7409 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7411 PyObject
* obj0
= 0 ;
7413 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_screen_get",&obj0
)) goto fail
;
7414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7415 result
= (int) ((arg1
)->screen
);
7417 resultobj
= PyInt_FromLong((long)result
);
7424 static PyObject
*_wrap_EventData_client_set(PyObject
*self
, PyObject
*args
) {
7425 PyObject
*resultobj
;
7426 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7427 ob::Client
*arg2
= (ob::Client
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7431 if(!PyArg_ParseTuple(args
,(char *)"OO:EventData_client_set",&obj0
,&obj1
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7433 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
7434 if (arg1
) (arg1
)->client
= arg2
;
7436 Py_INCREF(Py_None
); resultobj
= Py_None
;
7443 static PyObject
*_wrap_EventData_client_get(PyObject
*self
, PyObject
*args
) {
7444 PyObject
*resultobj
;
7445 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7449 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_client_get",&obj0
)) goto fail
;
7450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7451 result
= (ob::Client
*) ((arg1
)->client
);
7453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
7460 static PyObject
*_wrap_EventData_state_set(PyObject
*self
, PyObject
*args
) {
7461 PyObject
*resultobj
;
7462 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7467 if(!PyArg_ParseTuple(args
,(char *)"OO:EventData_state_set",&obj0
,&obj1
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7469 arg2
= (unsigned int) PyInt_AsLong(obj1
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7471 if (arg1
) (arg1
)->state
= arg2
;
7473 Py_INCREF(Py_None
); resultobj
= Py_None
;
7480 static PyObject
*_wrap_EventData_state_get(PyObject
*self
, PyObject
*args
) {
7481 PyObject
*resultobj
;
7482 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7483 unsigned int result
;
7484 PyObject
* obj0
= 0 ;
7486 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_state_get",&obj0
)) goto fail
;
7487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7488 result
= (unsigned int) ((arg1
)->state
);
7490 resultobj
= PyInt_FromLong((long)result
);
7497 static PyObject
*_wrap_EventData_action_set(PyObject
*self
, PyObject
*args
) {
7498 PyObject
*resultobj
;
7499 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7501 PyObject
* obj0
= 0 ;
7503 if(!PyArg_ParseTuple(args
,(char *)"Oi:EventData_action_set",&obj0
,&arg2
)) goto fail
;
7504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7505 if (arg1
) (arg1
)->action
= (ob::EventAction
)arg2
;
7507 Py_INCREF(Py_None
); resultobj
= Py_None
;
7514 static PyObject
*_wrap_EventData_action_get(PyObject
*self
, PyObject
*args
) {
7515 PyObject
*resultobj
;
7516 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7520 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_action_get",&obj0
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7522 result
= (int) ((arg1
)->action
);
7524 resultobj
= PyInt_FromLong((long)result
);
7531 static PyObject
*_wrap_new_EventData(PyObject
*self
, PyObject
*args
) {
7532 PyObject
*resultobj
;
7534 ob::Client
*arg2
= (ob::Client
*) 0 ;
7537 ob::EventData
*result
;
7538 PyObject
* obj1
= 0 ;
7539 PyObject
* obj3
= 0 ;
7541 if(!PyArg_ParseTuple(args
,(char *)"iOiO:new_EventData",&arg1
,&obj1
,&arg3
,&obj3
)) goto fail
;
7542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7543 arg4
= (unsigned int) PyInt_AsLong(obj3
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7545 result
= (ob::EventData
*)new ob::EventData(arg1
,arg2
,(ob::EventAction
)arg3
,arg4
);
7547 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__EventData
, 1);
7554 static PyObject
* EventData_swigregister(PyObject
*self
, PyObject
*args
) {
7556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7557 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData
, obj
);
7559 return Py_BuildValue((char *)"");
7561 static PyObject
*_wrap_KeyData_screen_set(PyObject
*self
, PyObject
*args
) {
7562 PyObject
*resultobj
;
7563 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7565 PyObject
* obj0
= 0 ;
7567 if(!PyArg_ParseTuple(args
,(char *)"Oi:KeyData_screen_set",&obj0
,&arg2
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7569 if (arg1
) (arg1
)->screen
= arg2
;
7571 Py_INCREF(Py_None
); resultobj
= Py_None
;
7578 static PyObject
*_wrap_KeyData_screen_get(PyObject
*self
, PyObject
*args
) {
7579 PyObject
*resultobj
;
7580 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7584 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_screen_get",&obj0
)) goto fail
;
7585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7586 result
= (int) ((arg1
)->screen
);
7588 resultobj
= PyInt_FromLong((long)result
);
7595 static PyObject
*_wrap_KeyData_client_set(PyObject
*self
, PyObject
*args
) {
7596 PyObject
*resultobj
;
7597 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7598 ob::Client
*arg2
= (ob::Client
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7602 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_client_set",&obj0
,&obj1
)) goto fail
;
7603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
7605 if (arg1
) (arg1
)->client
= arg2
;
7607 Py_INCREF(Py_None
); resultobj
= Py_None
;
7614 static PyObject
*_wrap_KeyData_client_get(PyObject
*self
, PyObject
*args
) {
7615 PyObject
*resultobj
;
7616 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7618 PyObject
* obj0
= 0 ;
7620 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_client_get",&obj0
)) goto fail
;
7621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7622 result
= (ob::Client
*) ((arg1
)->client
);
7624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
7631 static PyObject
*_wrap_KeyData_time_set(PyObject
*self
, PyObject
*args
) {
7632 PyObject
*resultobj
;
7633 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7635 PyObject
* obj0
= 0 ;
7636 PyObject
* obj1
= 0 ;
7638 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_time_set",&obj0
,&obj1
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7640 arg2
= (Time
) PyInt_AsLong(obj1
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7642 if (arg1
) (arg1
)->time
= arg2
;
7644 Py_INCREF(Py_None
); resultobj
= Py_None
;
7651 static PyObject
*_wrap_KeyData_time_get(PyObject
*self
, PyObject
*args
) {
7652 PyObject
*resultobj
;
7653 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7657 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_time_get",&obj0
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7659 result
= (Time
) ((arg1
)->time
);
7661 resultobj
= PyInt_FromLong((long)result
);
7668 static PyObject
*_wrap_KeyData_state_set(PyObject
*self
, PyObject
*args
) {
7669 PyObject
*resultobj
;
7670 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7675 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_state_set",&obj0
,&obj1
)) goto fail
;
7676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7677 arg2
= (unsigned int) PyInt_AsLong(obj1
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7679 if (arg1
) (arg1
)->state
= arg2
;
7681 Py_INCREF(Py_None
); resultobj
= Py_None
;
7688 static PyObject
*_wrap_KeyData_state_get(PyObject
*self
, PyObject
*args
) {
7689 PyObject
*resultobj
;
7690 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7691 unsigned int result
;
7692 PyObject
* obj0
= 0 ;
7694 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_state_get",&obj0
)) goto fail
;
7695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7696 result
= (unsigned int) ((arg1
)->state
);
7698 resultobj
= PyInt_FromLong((long)result
);
7705 static PyObject
*_wrap_KeyData_key_set(PyObject
*self
, PyObject
*args
) {
7706 PyObject
*resultobj
;
7707 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7708 std::string
*arg2
= (std::string
*) 0 ;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7712 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_key_set",&obj0
,&obj1
)) goto fail
;
7713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_std__string
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7715 if (arg1
) (arg1
)->key
= *arg2
;
7717 Py_INCREF(Py_None
); resultobj
= Py_None
;
7724 static PyObject
*_wrap_KeyData_key_get(PyObject
*self
, PyObject
*args
) {
7725 PyObject
*resultobj
;
7726 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
7727 std::string
*result
;
7728 PyObject
* obj0
= 0 ;
7730 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_key_get",&obj0
)) goto fail
;
7731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7732 result
= (std::string
*)& ((arg1
)->key
);
7734 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_std__string
, 0);
7741 static PyObject
*_wrap_new_KeyData(PyObject
*self
, PyObject
*args
) {
7742 PyObject
*resultobj
;
7744 ob::Client
*arg2
= (ob::Client
*) 0 ;
7748 ob::KeyData
*result
;
7749 PyObject
* obj1
= 0 ;
7750 PyObject
* obj2
= 0 ;
7751 PyObject
* obj3
= 0 ;
7752 PyObject
* obj4
= 0 ;
7754 if(!PyArg_ParseTuple(args
,(char *)"iOOOO:new_KeyData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7756 arg3
= (Time
) PyInt_AsLong(obj2
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7758 arg4
= (unsigned int) PyInt_AsLong(obj3
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7760 arg5
= (unsigned int) PyInt_AsLong(obj4
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7762 result
= (ob::KeyData
*)new ob::KeyData(arg1
,arg2
,arg3
,arg4
,arg5
);
7764 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__KeyData
, 1);
7771 static PyObject
* KeyData_swigregister(PyObject
*self
, PyObject
*args
) {
7773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7774 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData
, obj
);
7776 return Py_BuildValue((char *)"");
7778 static PyObject
*_wrap_mbind(PyObject
*self
, PyObject
*args
) {
7779 PyObject
*resultobj
;
7780 std::string
*arg1
= 0 ;
7783 PyObject
*arg4
= (PyObject
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj3
= 0 ;
7789 if(!PyArg_ParseTuple(args
,(char *)"OiiO:mbind",&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7791 if (PyString_Check(obj0
)) {
7792 temp1
= std::string(PyString_AsString(obj0
));
7795 SWIG_exception(SWIG_TypeError
, "string expected");
7799 result
= (PyObject
*)ob::mbind((std::string
const &)*arg1
,(ob::MouseContext
)arg2
,(ob::MouseAction
)arg3
,arg4
);
7808 static PyObject
*_wrap_kbind(PyObject
*self
, PyObject
*args
) {
7809 PyObject
*resultobj
;
7810 PyObject
*arg1
= (PyObject
*) 0 ;
7812 PyObject
*arg3
= (PyObject
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj2
= 0 ;
7817 if(!PyArg_ParseTuple(args
,(char *)"OiO:kbind",&obj0
,&arg2
,&obj2
)) goto fail
;
7820 result
= (PyObject
*)ob::kbind(arg1
,(ob::KeyContext
)arg2
,arg3
);
7829 static PyObject
*_wrap_ebind(PyObject
*self
, PyObject
*args
) {
7830 PyObject
*resultobj
;
7832 PyObject
*arg2
= (PyObject
*) 0 ;
7834 PyObject
* obj1
= 0 ;
7836 if(!PyArg_ParseTuple(args
,(char *)"iO:ebind",&arg1
,&obj1
)) goto fail
;
7838 result
= (PyObject
*)ob::ebind((ob::EventAction
)arg1
,arg2
);
7847 static PyObject
*_wrap_set_reset_key(PyObject
*self
, PyObject
*args
) {
7848 PyObject
*resultobj
;
7849 std::string
*arg1
= 0 ;
7851 PyObject
* obj0
= 0 ;
7853 if(!PyArg_ParseTuple(args
,(char *)"O:set_reset_key",&obj0
)) goto fail
;
7855 if (PyString_Check(obj0
)) {
7856 temp1
= std::string(PyString_AsString(obj0
));
7859 SWIG_exception(SWIG_TypeError
, "string expected");
7862 ob::set_reset_key((std::string
const &)*arg1
);
7864 Py_INCREF(Py_None
); resultobj
= Py_None
;
7871 static PyObject
*_wrap_send_client_msg(PyObject
*self
, PyObject
*args
) {
7872 PyObject
*resultobj
;
7877 long arg5
= (long) 0 ;
7878 long arg6
= (long) 0 ;
7879 long arg7
= (long) 0 ;
7880 long arg8
= (long) 0 ;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj2
= 0 ;
7885 if(!PyArg_ParseTuple(args
,(char *)"OiOl|llll:send_client_msg",&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
7886 arg1
= (Window
) PyInt_AsLong(obj0
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7888 arg3
= (Window
) PyInt_AsLong(obj2
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7890 result
= (PyObject
*)ob::send_client_msg(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
7899 static PyMethodDef SwigMethods
[] = {
7900 { (char *)"Openbox_instance", _wrap_Openbox_instance
, METH_VARARGS
},
7901 { (char *)"Display_display", _wrap_Display_display
, METH_VARARGS
},
7902 { (char *)"Display_initialize", _wrap_Display_initialize
, METH_VARARGS
},
7903 { (char *)"Display_destroy", _wrap_Display_destroy
, METH_VARARGS
},
7904 { (char *)"Display_gcCache", _wrap_Display_gcCache
, METH_VARARGS
},
7905 { (char *)"Display_screenInfo", _wrap_Display_screenInfo
, METH_VARARGS
},
7906 { (char *)"Display_findScreen", _wrap_Display_findScreen
, METH_VARARGS
},
7907 { (char *)"Display_xkb", _wrap_Display_xkb
, METH_VARARGS
},
7908 { (char *)"Display_xkbEventBase", _wrap_Display_xkbEventBase
, METH_VARARGS
},
7909 { (char *)"Display_shape", _wrap_Display_shape
, METH_VARARGS
},
7910 { (char *)"Display_shapeEventBase", _wrap_Display_shapeEventBase
, METH_VARARGS
},
7911 { (char *)"Display_xinerama", _wrap_Display_xinerama
, METH_VARARGS
},
7912 { (char *)"Display_numLockMask", _wrap_Display_numLockMask
, METH_VARARGS
},
7913 { (char *)"Display_scrollLockMask", _wrap_Display_scrollLockMask
, METH_VARARGS
},
7914 { (char *)"Display_grab", _wrap_Display_grab
, METH_VARARGS
},
7915 { (char *)"Display_ungrab", _wrap_Display_ungrab
, METH_VARARGS
},
7916 { (char *)"Display_grabButton", _wrap_Display_grabButton
, METH_VARARGS
},
7917 { (char *)"Display_ungrabButton", _wrap_Display_ungrabButton
, METH_VARARGS
},
7918 { (char *)"Display_grabKey", _wrap_Display_grabKey
, METH_VARARGS
},
7919 { (char *)"Display_ungrabKey", _wrap_Display_ungrabKey
, METH_VARARGS
},
7920 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
7921 { (char *)"new_Point", _wrap_new_Point
, METH_VARARGS
},
7922 { (char *)"Point_setX", _wrap_Point_setX
, METH_VARARGS
},
7923 { (char *)"Point_x", _wrap_Point_x
, METH_VARARGS
},
7924 { (char *)"Point_setY", _wrap_Point_setY
, METH_VARARGS
},
7925 { (char *)"Point_y", _wrap_Point_y
, METH_VARARGS
},
7926 { (char *)"Point_setPoint", _wrap_Point_setPoint
, METH_VARARGS
},
7927 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
7928 { (char *)"new_Property", _wrap_new_Property
, METH_VARARGS
},
7929 { (char *)"delete_Property", _wrap_delete_Property
, METH_VARARGS
},
7930 { (char *)"Property_set", _wrap_Property_set
, METH_VARARGS
},
7931 { (char *)"Property_get", _wrap_Property_get
, METH_VARARGS
},
7932 { (char *)"Property_erase", _wrap_Property_erase
, METH_VARARGS
},
7933 { (char *)"Property_atom", _wrap_Property_atom
, METH_VARARGS
},
7934 { (char *)"Property_swigregister", Property_swigregister
, METH_VARARGS
},
7935 { (char *)"new_Rect", _wrap_new_Rect
, METH_VARARGS
},
7936 { (char *)"Rect_left", _wrap_Rect_left
, METH_VARARGS
},
7937 { (char *)"Rect_top", _wrap_Rect_top
, METH_VARARGS
},
7938 { (char *)"Rect_right", _wrap_Rect_right
, METH_VARARGS
},
7939 { (char *)"Rect_bottom", _wrap_Rect_bottom
, METH_VARARGS
},
7940 { (char *)"Rect_x", _wrap_Rect_x
, METH_VARARGS
},
7941 { (char *)"Rect_y", _wrap_Rect_y
, METH_VARARGS
},
7942 { (char *)"Rect_location", _wrap_Rect_location
, METH_VARARGS
},
7943 { (char *)"Rect_setX", _wrap_Rect_setX
, METH_VARARGS
},
7944 { (char *)"Rect_setY", _wrap_Rect_setY
, METH_VARARGS
},
7945 { (char *)"Rect_setPos", _wrap_Rect_setPos
, METH_VARARGS
},
7946 { (char *)"Rect_width", _wrap_Rect_width
, METH_VARARGS
},
7947 { (char *)"Rect_height", _wrap_Rect_height
, METH_VARARGS
},
7948 { (char *)"Rect_size", _wrap_Rect_size
, METH_VARARGS
},
7949 { (char *)"Rect_setWidth", _wrap_Rect_setWidth
, METH_VARARGS
},
7950 { (char *)"Rect_setHeight", _wrap_Rect_setHeight
, METH_VARARGS
},
7951 { (char *)"Rect_setSize", _wrap_Rect_setSize
, METH_VARARGS
},
7952 { (char *)"Rect_setRect", _wrap_Rect_setRect
, METH_VARARGS
},
7953 { (char *)"Rect_setCoords", _wrap_Rect_setCoords
, METH_VARARGS
},
7954 { (char *)"Rect___eq__", _wrap_Rect___eq__
, METH_VARARGS
},
7955 { (char *)"Rect___ne__", _wrap_Rect___ne__
, METH_VARARGS
},
7956 { (char *)"Rect___or__", _wrap_Rect___or__
, METH_VARARGS
},
7957 { (char *)"Rect___and__", _wrap_Rect___and__
, METH_VARARGS
},
7958 { (char *)"Rect___ior__", _wrap_Rect___ior__
, METH_VARARGS
},
7959 { (char *)"Rect___iand__", _wrap_Rect___iand__
, METH_VARARGS
},
7960 { (char *)"Rect_valid", _wrap_Rect_valid
, METH_VARARGS
},
7961 { (char *)"Rect_intersects", _wrap_Rect_intersects
, METH_VARARGS
},
7962 { (char *)"Rect_contains", _wrap_Rect_contains
, METH_VARARGS
},
7963 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
7964 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo
, METH_VARARGS
},
7965 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual
, METH_VARARGS
},
7966 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow
, METH_VARARGS
},
7967 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap
, METH_VARARGS
},
7968 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth
, METH_VARARGS
},
7969 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen
, METH_VARARGS
},
7970 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect
, METH_VARARGS
},
7971 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width
, METH_VARARGS
},
7972 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height
, METH_VARARGS
},
7973 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString
, METH_VARARGS
},
7974 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister
, METH_VARARGS
},
7975 { (char *)"Strut_top_set", _wrap_Strut_top_set
, METH_VARARGS
},
7976 { (char *)"Strut_top_get", _wrap_Strut_top_get
, METH_VARARGS
},
7977 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set
, METH_VARARGS
},
7978 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get
, METH_VARARGS
},
7979 { (char *)"Strut_left_set", _wrap_Strut_left_set
, METH_VARARGS
},
7980 { (char *)"Strut_left_get", _wrap_Strut_left_get
, METH_VARARGS
},
7981 { (char *)"Strut_right_set", _wrap_Strut_right_set
, METH_VARARGS
},
7982 { (char *)"Strut_right_get", _wrap_Strut_right_get
, METH_VARARGS
},
7983 { (char *)"new_Strut", _wrap_new_Strut
, METH_VARARGS
},
7984 { (char *)"Strut_swigregister", Strut_swigregister
, METH_VARARGS
},
7985 { (char *)"EventHandler_handle", _wrap_EventHandler_handle
, METH_VARARGS
},
7986 { (char *)"EventHandler_keyPressHandler", _wrap_EventHandler_keyPressHandler
, METH_VARARGS
},
7987 { (char *)"EventHandler_keyReleaseHandler", _wrap_EventHandler_keyReleaseHandler
, METH_VARARGS
},
7988 { (char *)"EventHandler_buttonPressHandler", _wrap_EventHandler_buttonPressHandler
, METH_VARARGS
},
7989 { (char *)"EventHandler_buttonReleaseHandler", _wrap_EventHandler_buttonReleaseHandler
, METH_VARARGS
},
7990 { (char *)"EventHandler_motionHandler", _wrap_EventHandler_motionHandler
, METH_VARARGS
},
7991 { (char *)"EventHandler_enterHandler", _wrap_EventHandler_enterHandler
, METH_VARARGS
},
7992 { (char *)"EventHandler_leaveHandler", _wrap_EventHandler_leaveHandler
, METH_VARARGS
},
7993 { (char *)"EventHandler_focusHandler", _wrap_EventHandler_focusHandler
, METH_VARARGS
},
7994 { (char *)"EventHandler_unfocusHandler", _wrap_EventHandler_unfocusHandler
, METH_VARARGS
},
7995 { (char *)"EventHandler_exposeHandler", _wrap_EventHandler_exposeHandler
, METH_VARARGS
},
7996 { (char *)"EventHandler_graphicsExposeHandler", _wrap_EventHandler_graphicsExposeHandler
, METH_VARARGS
},
7997 { (char *)"EventHandler_noExposeEventHandler", _wrap_EventHandler_noExposeEventHandler
, METH_VARARGS
},
7998 { (char *)"EventHandler_circulateRequestHandler", _wrap_EventHandler_circulateRequestHandler
, METH_VARARGS
},
7999 { (char *)"EventHandler_configureRequestHandler", _wrap_EventHandler_configureRequestHandler
, METH_VARARGS
},
8000 { (char *)"EventHandler_mapRequestHandler", _wrap_EventHandler_mapRequestHandler
, METH_VARARGS
},
8001 { (char *)"EventHandler_resizeRequestHandler", _wrap_EventHandler_resizeRequestHandler
, METH_VARARGS
},
8002 { (char *)"EventHandler_circulateHandler", _wrap_EventHandler_circulateHandler
, METH_VARARGS
},
8003 { (char *)"EventHandler_configureHandler", _wrap_EventHandler_configureHandler
, METH_VARARGS
},
8004 { (char *)"EventHandler_createHandler", _wrap_EventHandler_createHandler
, METH_VARARGS
},
8005 { (char *)"EventHandler_destroyHandler", _wrap_EventHandler_destroyHandler
, METH_VARARGS
},
8006 { (char *)"EventHandler_gravityHandler", _wrap_EventHandler_gravityHandler
, METH_VARARGS
},
8007 { (char *)"EventHandler_mapHandler", _wrap_EventHandler_mapHandler
, METH_VARARGS
},
8008 { (char *)"EventHandler_mappingHandler", _wrap_EventHandler_mappingHandler
, METH_VARARGS
},
8009 { (char *)"EventHandler_reparentHandler", _wrap_EventHandler_reparentHandler
, METH_VARARGS
},
8010 { (char *)"EventHandler_unmapHandler", _wrap_EventHandler_unmapHandler
, METH_VARARGS
},
8011 { (char *)"EventHandler_visibilityHandler", _wrap_EventHandler_visibilityHandler
, METH_VARARGS
},
8012 { (char *)"EventHandler_colorMapHandler", _wrap_EventHandler_colorMapHandler
, METH_VARARGS
},
8013 { (char *)"EventHandler_propertyHandler", _wrap_EventHandler_propertyHandler
, METH_VARARGS
},
8014 { (char *)"EventHandler_selectionClearHandler", _wrap_EventHandler_selectionClearHandler
, METH_VARARGS
},
8015 { (char *)"EventHandler_selectionHandler", _wrap_EventHandler_selectionHandler
, METH_VARARGS
},
8016 { (char *)"EventHandler_selectionRequestHandler", _wrap_EventHandler_selectionRequestHandler
, METH_VARARGS
},
8017 { (char *)"EventHandler_clientMessageHandler", _wrap_EventHandler_clientMessageHandler
, METH_VARARGS
},
8018 { (char *)"delete_EventHandler", _wrap_delete_EventHandler
, METH_VARARGS
},
8019 { (char *)"EventHandler_swigregister", EventHandler_swigregister
, METH_VARARGS
},
8020 { (char *)"new_EventDispatcher", _wrap_new_EventDispatcher
, METH_VARARGS
},
8021 { (char *)"delete_EventDispatcher", _wrap_delete_EventDispatcher
, METH_VARARGS
},
8022 { (char *)"EventDispatcher_clearAllHandlers", _wrap_EventDispatcher_clearAllHandlers
, METH_VARARGS
},
8023 { (char *)"EventDispatcher_registerHandler", _wrap_EventDispatcher_registerHandler
, METH_VARARGS
},
8024 { (char *)"EventDispatcher_clearHandler", _wrap_EventDispatcher_clearHandler
, METH_VARARGS
},
8025 { (char *)"EventDispatcher_dispatchEvents", _wrap_EventDispatcher_dispatchEvents
, METH_VARARGS
},
8026 { (char *)"EventDispatcher_setFallbackHandler", _wrap_EventDispatcher_setFallbackHandler
, METH_VARARGS
},
8027 { (char *)"EventDispatcher_getFallbackHandler", _wrap_EventDispatcher_getFallbackHandler
, METH_VARARGS
},
8028 { (char *)"EventDispatcher_setMasterHandler", _wrap_EventDispatcher_setMasterHandler
, METH_VARARGS
},
8029 { (char *)"EventDispatcher_getMasterHandler", _wrap_EventDispatcher_getMasterHandler
, METH_VARARGS
},
8030 { (char *)"EventDispatcher_findHandler", _wrap_EventDispatcher_findHandler
, METH_VARARGS
},
8031 { (char *)"EventDispatcher_lastTime", _wrap_EventDispatcher_lastTime
, METH_VARARGS
},
8032 { (char *)"EventDispatcher_swigregister", EventDispatcher_swigregister
, METH_VARARGS
},
8033 { (char *)"Cursors_session_set", _wrap_Cursors_session_set
, METH_VARARGS
},
8034 { (char *)"Cursors_session_get", _wrap_Cursors_session_get
, METH_VARARGS
},
8035 { (char *)"Cursors_move_set", _wrap_Cursors_move_set
, METH_VARARGS
},
8036 { (char *)"Cursors_move_get", _wrap_Cursors_move_get
, METH_VARARGS
},
8037 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set
, METH_VARARGS
},
8038 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get
, METH_VARARGS
},
8039 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set
, METH_VARARGS
},
8040 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get
, METH_VARARGS
},
8041 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set
, METH_VARARGS
},
8042 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get
, METH_VARARGS
},
8043 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set
, METH_VARARGS
},
8044 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get
, METH_VARARGS
},
8045 { (char *)"Cursors_swigregister", Cursors_swigregister
, METH_VARARGS
},
8046 { (char *)"Openbox_state", _wrap_Openbox_state
, METH_VARARGS
},
8047 { (char *)"Openbox_timerManager", _wrap_Openbox_timerManager
, METH_VARARGS
},
8048 { (char *)"Openbox_property", _wrap_Openbox_property
, METH_VARARGS
},
8049 { (char *)"Openbox_actions", _wrap_Openbox_actions
, METH_VARARGS
},
8050 { (char *)"Openbox_bindings", _wrap_Openbox_bindings
, METH_VARARGS
},
8051 { (char *)"Openbox_screen", _wrap_Openbox_screen
, METH_VARARGS
},
8052 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount
, METH_VARARGS
},
8053 { (char *)"Openbox_cursors", _wrap_Openbox_cursors
, METH_VARARGS
},
8054 { (char *)"Openbox_addClient", _wrap_Openbox_addClient
, METH_VARARGS
},
8055 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient
, METH_VARARGS
},
8056 { (char *)"Openbox_findClient", _wrap_Openbox_findClient
, METH_VARARGS
},
8057 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient
, METH_VARARGS
},
8058 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient
, METH_VARARGS
},
8059 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen
, METH_VARARGS
},
8060 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown
, METH_VARARGS
},
8061 { (char *)"Openbox_restart", _wrap_Openbox_restart
, METH_VARARGS
},
8062 { (char *)"Openbox_execute", _wrap_Openbox_execute
, METH_VARARGS
},
8063 { (char *)"Openbox_swigregister", Openbox_swigregister
, METH_VARARGS
},
8064 { (char *)"Screen_client", _wrap_Screen_client
, METH_VARARGS
},
8065 { (char *)"Screen_clientCount", _wrap_Screen_clientCount
, METH_VARARGS
},
8066 { (char *)"Screen_number", _wrap_Screen_number
, METH_VARARGS
},
8067 { (char *)"Screen_managed", _wrap_Screen_managed
, METH_VARARGS
},
8068 { (char *)"Screen_imageControl", _wrap_Screen_imageControl
, METH_VARARGS
},
8069 { (char *)"Screen_area", _wrap_Screen_area
, METH_VARARGS
},
8070 { (char *)"Screen_style", _wrap_Screen_style
, METH_VARARGS
},
8071 { (char *)"Screen_focuswindow", _wrap_Screen_focuswindow
, METH_VARARGS
},
8072 { (char *)"Screen_desktop", _wrap_Screen_desktop
, METH_VARARGS
},
8073 { (char *)"Screen_numDesktops", _wrap_Screen_numDesktops
, METH_VARARGS
},
8074 { (char *)"Screen_updateStrut", _wrap_Screen_updateStrut
, METH_VARARGS
},
8075 { (char *)"Screen_manageExisting", _wrap_Screen_manageExisting
, METH_VARARGS
},
8076 { (char *)"Screen_manageWindow", _wrap_Screen_manageWindow
, METH_VARARGS
},
8077 { (char *)"Screen_unmanageWindow", _wrap_Screen_unmanageWindow
, METH_VARARGS
},
8078 { (char *)"Screen_restack", _wrap_Screen_restack
, METH_VARARGS
},
8079 { (char *)"Screen_setDesktopName", _wrap_Screen_setDesktopName
, METH_VARARGS
},
8080 { (char *)"Screen_propertyHandler", _wrap_Screen_propertyHandler
, METH_VARARGS
},
8081 { (char *)"Screen_clientMessageHandler", _wrap_Screen_clientMessageHandler
, METH_VARARGS
},
8082 { (char *)"Screen_mapRequestHandler", _wrap_Screen_mapRequestHandler
, METH_VARARGS
},
8083 { (char *)"Screen_swigregister", Screen_swigregister
, METH_VARARGS
},
8084 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set
, METH_VARARGS
},
8085 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get
, METH_VARARGS
},
8086 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set
, METH_VARARGS
},
8087 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get
, METH_VARARGS
},
8088 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set
, METH_VARARGS
},
8089 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get
, METH_VARARGS
},
8090 { (char *)"MwmHints_swigregister", MwmHints_swigregister
, METH_VARARGS
},
8091 { (char *)"Client_frame_set", _wrap_Client_frame_set
, METH_VARARGS
},
8092 { (char *)"Client_frame_get", _wrap_Client_frame_get
, METH_VARARGS
},
8093 { (char *)"Client_ignore_unmaps_set", _wrap_Client_ignore_unmaps_set
, METH_VARARGS
},
8094 { (char *)"Client_ignore_unmaps_get", _wrap_Client_ignore_unmaps_get
, METH_VARARGS
},
8095 { (char *)"Client_screen", _wrap_Client_screen
, METH_VARARGS
},
8096 { (char *)"Client_window", _wrap_Client_window
, METH_VARARGS
},
8097 { (char *)"Client_type", _wrap_Client_type
, METH_VARARGS
},
8098 { (char *)"Client_normal", _wrap_Client_normal
, METH_VARARGS
},
8099 { (char *)"Client_desktop", _wrap_Client_desktop
, METH_VARARGS
},
8100 { (char *)"Client_title", _wrap_Client_title
, METH_VARARGS
},
8101 { (char *)"Client_iconTitle", _wrap_Client_iconTitle
, METH_VARARGS
},
8102 { (char *)"Client_appName", _wrap_Client_appName
, METH_VARARGS
},
8103 { (char *)"Client_appClass", _wrap_Client_appClass
, METH_VARARGS
},
8104 { (char *)"Client_role", _wrap_Client_role
, METH_VARARGS
},
8105 { (char *)"Client_canFocus", _wrap_Client_canFocus
, METH_VARARGS
},
8106 { (char *)"Client_urgent", _wrap_Client_urgent
, METH_VARARGS
},
8107 { (char *)"Client_focusNotify", _wrap_Client_focusNotify
, METH_VARARGS
},
8108 { (char *)"Client_shaped", _wrap_Client_shaped
, METH_VARARGS
},
8109 { (char *)"Client_gravity", _wrap_Client_gravity
, METH_VARARGS
},
8110 { (char *)"Client_positionRequested", _wrap_Client_positionRequested
, METH_VARARGS
},
8111 { (char *)"Client_decorations", _wrap_Client_decorations
, METH_VARARGS
},
8112 { (char *)"Client_funtions", _wrap_Client_funtions
, METH_VARARGS
},
8113 { (char *)"Client_transientFor", _wrap_Client_transientFor
, METH_VARARGS
},
8114 { (char *)"Client_modal", _wrap_Client_modal
, METH_VARARGS
},
8115 { (char *)"Client_shaded", _wrap_Client_shaded
, METH_VARARGS
},
8116 { (char *)"Client_iconic", _wrap_Client_iconic
, METH_VARARGS
},
8117 { (char *)"Client_maxVert", _wrap_Client_maxVert
, METH_VARARGS
},
8118 { (char *)"Client_maxHorz", _wrap_Client_maxHorz
, METH_VARARGS
},
8119 { (char *)"Client_layer", _wrap_Client_layer
, METH_VARARGS
},
8120 { (char *)"Client_toggleClientBorder", _wrap_Client_toggleClientBorder
, METH_VARARGS
},
8121 { (char *)"Client_area", _wrap_Client_area
, METH_VARARGS
},
8122 { (char *)"Client_strut", _wrap_Client_strut
, METH_VARARGS
},
8123 { (char *)"Client_move", _wrap_Client_move
, METH_VARARGS
},
8124 { (char *)"Client_resize", _wrap_Client_resize
, METH_VARARGS
},
8125 { (char *)"Client_focus", _wrap_Client_focus
, METH_VARARGS
},
8126 { (char *)"Client_unfocus", _wrap_Client_unfocus
, METH_VARARGS
},
8127 { (char *)"Client_focusHandler", _wrap_Client_focusHandler
, METH_VARARGS
},
8128 { (char *)"Client_unfocusHandler", _wrap_Client_unfocusHandler
, METH_VARARGS
},
8129 { (char *)"Client_propertyHandler", _wrap_Client_propertyHandler
, METH_VARARGS
},
8130 { (char *)"Client_clientMessageHandler", _wrap_Client_clientMessageHandler
, METH_VARARGS
},
8131 { (char *)"Client_configureRequestHandler", _wrap_Client_configureRequestHandler
, METH_VARARGS
},
8132 { (char *)"Client_unmapHandler", _wrap_Client_unmapHandler
, METH_VARARGS
},
8133 { (char *)"Client_destroyHandler", _wrap_Client_destroyHandler
, METH_VARARGS
},
8134 { (char *)"Client_reparentHandler", _wrap_Client_reparentHandler
, METH_VARARGS
},
8135 { (char *)"Client_swigregister", Client_swigregister
, METH_VARARGS
},
8136 { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set
, METH_VARARGS
},
8137 { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get
, METH_VARARGS
},
8138 { (char *)"MouseData_client_set", _wrap_MouseData_client_set
, METH_VARARGS
},
8139 { (char *)"MouseData_client_get", _wrap_MouseData_client_get
, METH_VARARGS
},
8140 { (char *)"MouseData_time_set", _wrap_MouseData_time_set
, METH_VARARGS
},
8141 { (char *)"MouseData_time_get", _wrap_MouseData_time_get
, METH_VARARGS
},
8142 { (char *)"MouseData_state_set", _wrap_MouseData_state_set
, METH_VARARGS
},
8143 { (char *)"MouseData_state_get", _wrap_MouseData_state_get
, METH_VARARGS
},
8144 { (char *)"MouseData_button_set", _wrap_MouseData_button_set
, METH_VARARGS
},
8145 { (char *)"MouseData_button_get", _wrap_MouseData_button_get
, METH_VARARGS
},
8146 { (char *)"MouseData_context_set", _wrap_MouseData_context_set
, METH_VARARGS
},
8147 { (char *)"MouseData_context_get", _wrap_MouseData_context_get
, METH_VARARGS
},
8148 { (char *)"MouseData_action_set", _wrap_MouseData_action_set
, METH_VARARGS
},
8149 { (char *)"MouseData_action_get", _wrap_MouseData_action_get
, METH_VARARGS
},
8150 { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set
, METH_VARARGS
},
8151 { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get
, METH_VARARGS
},
8152 { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set
, METH_VARARGS
},
8153 { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get
, METH_VARARGS
},
8154 { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set
, METH_VARARGS
},
8155 { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get
, METH_VARARGS
},
8156 { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set
, METH_VARARGS
},
8157 { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get
, METH_VARARGS
},
8158 { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set
, METH_VARARGS
},
8159 { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get
, METH_VARARGS
},
8160 { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set
, METH_VARARGS
},
8161 { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get
, METH_VARARGS
},
8162 { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set
, METH_VARARGS
},
8163 { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get
, METH_VARARGS
},
8164 { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set
, METH_VARARGS
},
8165 { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get
, METH_VARARGS
},
8166 { (char *)"new_MouseData", _wrap_new_MouseData
, METH_VARARGS
},
8167 { (char *)"MouseData_swigregister", MouseData_swigregister
, METH_VARARGS
},
8168 { (char *)"EventData_screen_set", _wrap_EventData_screen_set
, METH_VARARGS
},
8169 { (char *)"EventData_screen_get", _wrap_EventData_screen_get
, METH_VARARGS
},
8170 { (char *)"EventData_client_set", _wrap_EventData_client_set
, METH_VARARGS
},
8171 { (char *)"EventData_client_get", _wrap_EventData_client_get
, METH_VARARGS
},
8172 { (char *)"EventData_state_set", _wrap_EventData_state_set
, METH_VARARGS
},
8173 { (char *)"EventData_state_get", _wrap_EventData_state_get
, METH_VARARGS
},
8174 { (char *)"EventData_action_set", _wrap_EventData_action_set
, METH_VARARGS
},
8175 { (char *)"EventData_action_get", _wrap_EventData_action_get
, METH_VARARGS
},
8176 { (char *)"new_EventData", _wrap_new_EventData
, METH_VARARGS
},
8177 { (char *)"EventData_swigregister", EventData_swigregister
, METH_VARARGS
},
8178 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set
, METH_VARARGS
},
8179 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get
, METH_VARARGS
},
8180 { (char *)"KeyData_client_set", _wrap_KeyData_client_set
, METH_VARARGS
},
8181 { (char *)"KeyData_client_get", _wrap_KeyData_client_get
, METH_VARARGS
},
8182 { (char *)"KeyData_time_set", _wrap_KeyData_time_set
, METH_VARARGS
},
8183 { (char *)"KeyData_time_get", _wrap_KeyData_time_get
, METH_VARARGS
},
8184 { (char *)"KeyData_state_set", _wrap_KeyData_state_set
, METH_VARARGS
},
8185 { (char *)"KeyData_state_get", _wrap_KeyData_state_get
, METH_VARARGS
},
8186 { (char *)"KeyData_key_set", _wrap_KeyData_key_set
, METH_VARARGS
},
8187 { (char *)"KeyData_key_get", _wrap_KeyData_key_get
, METH_VARARGS
},
8188 { (char *)"new_KeyData", _wrap_new_KeyData
, METH_VARARGS
},
8189 { (char *)"KeyData_swigregister", KeyData_swigregister
, METH_VARARGS
},
8190 { (char *)"mbind", _wrap_mbind
, METH_VARARGS
},
8191 { (char *)"kbind", _wrap_kbind
, METH_VARARGS
},
8192 { (char *)"ebind", _wrap_ebind
, METH_VARARGS
},
8193 { (char *)"set_reset_key", _wrap_set_reset_key
, METH_VARARGS
},
8194 { (char *)"send_client_msg", _wrap_send_client_msg
, METH_VARARGS
},
8199 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
8201 static void *_p_ob__ActionsTo_p_otk__EventHandler(void *x
) {
8202 return (void *)((otk::EventHandler
*) ((ob::Actions
*) x
));
8204 static void *_p_ob__OpenboxTo_p_otk__EventHandler(void *x
) {
8205 return (void *)((otk::EventHandler
*) ((ob::Openbox
*) x
));
8207 static void *_p_ob__ScreenTo_p_otk__EventHandler(void *x
) {
8208 return (void *)((otk::EventHandler
*) ((ob::Screen
*) x
));
8210 static void *_p_ob__ClientTo_p_otk__EventHandler(void *x
) {
8211 return (void *)((otk::EventHandler
*) ((ob::Client
*) x
));
8213 static void *_p_ob__OpenboxTo_p_otk__EventDispatcher(void *x
) {
8214 return (void *)((otk::EventDispatcher
*) ((ob::Openbox
*) x
));
8216 static void *_p_ob__ScreenTo_p_ob__WidgetBase(void *x
) {
8217 return (void *)((ob::WidgetBase
*) ((ob::Screen
*) x
));
8219 static void *_p_ob__ClientTo_p_ob__WidgetBase(void *x
) {
8220 return (void *)((ob::WidgetBase
*) ((ob::Client
*) x
));
8222 static swig_type_info _swigt__p_otk__Point
[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
8223 static swig_type_info _swigt__p_ob__Client
[] = {{"_p_ob__Client", 0, "ob::Client *", 0},{"_p_ob__Client"},{0}};
8224 static swig_type_info _swigt__p_XMapEvent
[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
8225 static swig_type_info _swigt__p_XUnmapEvent
[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
8226 static swig_type_info _swigt__p_XColormapEvent
[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
8227 static swig_type_info _swigt__p_XNoExposeEvent
[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
8228 static swig_type_info _swigt__p_XGraphicsExposeEvent
[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
8229 static swig_type_info _swigt__p_XExposeEvent
[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
8230 static swig_type_info _swigt__p_XFocusChangeEvent
[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
8231 static swig_type_info _swigt__p_XClientMessageEvent
[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
8232 static swig_type_info _swigt__p_ob__MouseData
[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
8233 static swig_type_info _swigt__p_XSelectionClearEvent
[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
8234 static swig_type_info _swigt__p_otk__Rect
[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
8235 static swig_type_info _swigt__p_Visual
[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
8236 static swig_type_info _swigt__p_XResizeRequestEvent
[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
8237 static swig_type_info _swigt__p_XMapRequestEvent
[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
8238 static swig_type_info _swigt__p_XConfigureRequestEvent
[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
8239 static swig_type_info _swigt__p_XCirculateRequestEvent
[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
8240 static swig_type_info _swigt__p_XGravityEvent
[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
8241 static swig_type_info _swigt__p_XVisibilityEvent
[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
8242 static swig_type_info _swigt__p_XPropertyEvent
[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
8243 static swig_type_info _swigt__p_XSelectionRequestEvent
[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
8244 static swig_type_info _swigt__p_ob__Cursors
[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
8245 static swig_type_info _swigt__p_otk__ImageControl
[] = {{"_p_otk__ImageControl", 0, "otk::ImageControl *", 0},{"_p_otk__ImageControl"},{0}};
8246 static swig_type_info _swigt__p_ob__MwmHints
[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
8247 static swig_type_info _swigt__p_ob__Screen
[] = {{"_p_ob__Screen", 0, "ob::Screen *", 0},{"_p_ob__Screen"},{0}};
8248 static swig_type_info _swigt__p_ob__Frame
[] = {{"_p_ob__Frame", 0, "ob::Frame *", 0},{"_p_ob__Frame"},{0}};
8249 static swig_type_info _swigt__p_ob__KeyData
[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
8250 static swig_type_info _swigt__p_XConfigureEvent
[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
8251 static swig_type_info _swigt__p_XCirculateEvent
[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
8252 static swig_type_info _swigt__p_XRectangle
[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
8253 static swig_type_info _swigt__p_std__string
[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
8254 static swig_type_info _swigt__p_XCrossingEvent
[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
8255 static swig_type_info _swigt__p_Display
[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
8256 static swig_type_info _swigt__p_otk__Display
[] = {{"_p_otk__Display", 0, "otk::Display *", 0},{"_p_otk__Display"},{0}};
8257 static swig_type_info _swigt__p_XMappingEvent
[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
8258 static swig_type_info _swigt__p_otk__Style
[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
8259 static swig_type_info _swigt__p_otk__EventHandler
[] = {{"_p_otk__EventHandler", 0, "otk::EventHandler *", 0},{"_p_ob__Client", _p_ob__ClientTo_p_otk__EventHandler
},{"_p_ob__Actions", _p_ob__ActionsTo_p_otk__EventHandler
},{"_p_otk__EventHandler"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__EventHandler
},{"_p_ob__Screen", _p_ob__ScreenTo_p_otk__EventHandler
},{0}};
8260 static swig_type_info _swigt__p_XReparentEvent
[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
8261 static swig_type_info _swigt__p_otk__EventDispatcher
[] = {{"_p_otk__EventDispatcher", 0, "otk::EventDispatcher *", 0},{"_p_otk__EventDispatcher"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__EventDispatcher
},{0}};
8262 static swig_type_info _swigt__p_otk__GCCache
[] = {{"_p_otk__GCCache", 0, "otk::GCCache *", 0},{"_p_otk__GCCache"},{0}};
8263 static swig_type_info _swigt__p_ob__Bindings
[] = {{"_p_ob__Bindings", 0, "ob::Bindings *", 0},{"_p_ob__Bindings"},{0}};
8264 static swig_type_info _swigt__p_ob__Openbox
[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
8265 static swig_type_info _swigt__p_ob__Actions
[] = {{"_p_ob__Actions", 0, "ob::Actions *", 0},{"_p_ob__Actions"},{0}};
8266 static swig_type_info _swigt__p_XEvent
[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
8267 static swig_type_info _swigt__p_otk__Property
[] = {{"_p_otk__Property", 0, "otk::Property *", 0},{"_p_otk__Property"},{0}};
8268 static swig_type_info _swigt__p_PyObject
[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
8269 static swig_type_info _swigt__p_otk__ScreenInfo
[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
8270 static swig_type_info _swigt__p_ob__EventData
[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
8271 static swig_type_info _swigt__p_XCreateWindowEvent
[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
8272 static swig_type_info _swigt__p_XDestroyWindowEvent
[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
8273 static swig_type_info _swigt__p_otk__Property__StringVect
[] = {{"_p_otk__Property__StringVect", 0, "otk::Property::StringVect *", 0},{"_p_otk__Property__StringVect"},{0}};
8274 static swig_type_info _swigt__p_ob__WidgetBase
[] = {{"_p_ob__WidgetBase", 0, "ob::WidgetBase *", 0},{"_p_ob__WidgetBase"},{"_p_ob__Client", _p_ob__ClientTo_p_ob__WidgetBase
},{"_p_ob__Screen", _p_ob__ScreenTo_p_ob__WidgetBase
},{0}};
8275 static swig_type_info _swigt__p_XKeyEvent
[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
8276 static swig_type_info _swigt__p_otk__Strut
[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
8277 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
8278 static swig_type_info _swigt__p_p_unsigned_long
[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
8279 static swig_type_info _swigt__p_XMotionEvent
[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
8280 static swig_type_info _swigt__p_XButtonEvent
[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
8281 static swig_type_info _swigt__p_XSelectionEvent
[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
8282 static swig_type_info _swigt__p_otk__TimerQueueManager
[] = {{"_p_otk__TimerQueueManager", 0, "otk::TimerQueueManager *", 0},{"_p_otk__TimerQueueManager"},{0}};
8284 static swig_type_info
*swig_types_initial
[] = {
8285 _swigt__p_otk__Point
,
8286 _swigt__p_ob__Client
,
8287 _swigt__p_XMapEvent
,
8288 _swigt__p_XUnmapEvent
,
8289 _swigt__p_XColormapEvent
,
8290 _swigt__p_XNoExposeEvent
,
8291 _swigt__p_XGraphicsExposeEvent
,
8292 _swigt__p_XExposeEvent
,
8293 _swigt__p_XFocusChangeEvent
,
8294 _swigt__p_XClientMessageEvent
,
8295 _swigt__p_ob__MouseData
,
8296 _swigt__p_XSelectionClearEvent
,
8297 _swigt__p_otk__Rect
,
8299 _swigt__p_XResizeRequestEvent
,
8300 _swigt__p_XMapRequestEvent
,
8301 _swigt__p_XConfigureRequestEvent
,
8302 _swigt__p_XCirculateRequestEvent
,
8303 _swigt__p_XGravityEvent
,
8304 _swigt__p_XVisibilityEvent
,
8305 _swigt__p_XPropertyEvent
,
8306 _swigt__p_XSelectionRequestEvent
,
8307 _swigt__p_ob__Cursors
,
8308 _swigt__p_otk__ImageControl
,
8309 _swigt__p_ob__MwmHints
,
8310 _swigt__p_ob__Screen
,
8311 _swigt__p_ob__Frame
,
8312 _swigt__p_ob__KeyData
,
8313 _swigt__p_XConfigureEvent
,
8314 _swigt__p_XCirculateEvent
,
8315 _swigt__p_XRectangle
,
8316 _swigt__p_std__string
,
8317 _swigt__p_XCrossingEvent
,
8319 _swigt__p_otk__Display
,
8320 _swigt__p_XMappingEvent
,
8321 _swigt__p_otk__Style
,
8322 _swigt__p_otk__EventHandler
,
8323 _swigt__p_XReparentEvent
,
8324 _swigt__p_otk__EventDispatcher
,
8325 _swigt__p_otk__GCCache
,
8326 _swigt__p_ob__Bindings
,
8327 _swigt__p_ob__Openbox
,
8328 _swigt__p_ob__Actions
,
8330 _swigt__p_otk__Property
,
8332 _swigt__p_otk__ScreenInfo
,
8333 _swigt__p_ob__EventData
,
8334 _swigt__p_XCreateWindowEvent
,
8335 _swigt__p_XDestroyWindowEvent
,
8336 _swigt__p_otk__Property__StringVect
,
8337 _swigt__p_ob__WidgetBase
,
8338 _swigt__p_XKeyEvent
,
8339 _swigt__p_otk__Strut
,
8340 _swigt__p_unsigned_long
,
8341 _swigt__p_p_unsigned_long
,
8342 _swigt__p_XMotionEvent
,
8343 _swigt__p_XButtonEvent
,
8344 _swigt__p_XSelectionEvent
,
8345 _swigt__p_otk__TimerQueueManager
,
8350 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
8352 static swig_const_info swig_const_table
[] = {
8353 { SWIG_PY_INT
, (char *)"Property_Atom_Cardinal", (long) otk::Property::Atom_Cardinal
, 0, 0, 0},
8354 { SWIG_PY_INT
, (char *)"Property_Atom_Window", (long) otk::Property::Atom_Window
, 0, 0, 0},
8355 { SWIG_PY_INT
, (char *)"Property_Atom_Pixmap", (long) otk::Property::Atom_Pixmap
, 0, 0, 0},
8356 { SWIG_PY_INT
, (char *)"Property_Atom_Atom", (long) otk::Property::Atom_Atom
, 0, 0, 0},
8357 { SWIG_PY_INT
, (char *)"Property_Atom_String", (long) otk::Property::Atom_String
, 0, 0, 0},
8358 { SWIG_PY_INT
, (char *)"Property_Atom_Utf8", (long) otk::Property::Atom_Utf8
, 0, 0, 0},
8359 { SWIG_PY_INT
, (char *)"Property_openbox_pid", (long) otk::Property::openbox_pid
, 0, 0, 0},
8360 { SWIG_PY_INT
, (char *)"Property_wm_colormap_windows", (long) otk::Property::wm_colormap_windows
, 0, 0, 0},
8361 { SWIG_PY_INT
, (char *)"Property_wm_protocols", (long) otk::Property::wm_protocols
, 0, 0, 0},
8362 { SWIG_PY_INT
, (char *)"Property_wm_state", (long) otk::Property::wm_state
, 0, 0, 0},
8363 { SWIG_PY_INT
, (char *)"Property_wm_delete_window", (long) otk::Property::wm_delete_window
, 0, 0, 0},
8364 { SWIG_PY_INT
, (char *)"Property_wm_take_focus", (long) otk::Property::wm_take_focus
, 0, 0, 0},
8365 { SWIG_PY_INT
, (char *)"Property_wm_change_state", (long) otk::Property::wm_change_state
, 0, 0, 0},
8366 { SWIG_PY_INT
, (char *)"Property_wm_name", (long) otk::Property::wm_name
, 0, 0, 0},
8367 { SWIG_PY_INT
, (char *)"Property_wm_icon_name", (long) otk::Property::wm_icon_name
, 0, 0, 0},
8368 { SWIG_PY_INT
, (char *)"Property_wm_class", (long) otk::Property::wm_class
, 0, 0, 0},
8369 { SWIG_PY_INT
, (char *)"Property_wm_window_role", (long) otk::Property::wm_window_role
, 0, 0, 0},
8370 { SWIG_PY_INT
, (char *)"Property_motif_wm_hints", (long) otk::Property::motif_wm_hints
, 0, 0, 0},
8371 { SWIG_PY_INT
, (char *)"Property_blackbox_attributes", (long) otk::Property::blackbox_attributes
, 0, 0, 0},
8372 { SWIG_PY_INT
, (char *)"Property_blackbox_change_attributes", (long) otk::Property::blackbox_change_attributes
, 0, 0, 0},
8373 { SWIG_PY_INT
, (char *)"Property_blackbox_hints", (long) otk::Property::blackbox_hints
, 0, 0, 0},
8374 { SWIG_PY_INT
, (char *)"Property_blackbox_structure_messages", (long) otk::Property::blackbox_structure_messages
, 0, 0, 0},
8375 { SWIG_PY_INT
, (char *)"Property_blackbox_notify_startup", (long) otk::Property::blackbox_notify_startup
, 0, 0, 0},
8376 { SWIG_PY_INT
, (char *)"Property_blackbox_notify_window_add", (long) otk::Property::blackbox_notify_window_add
, 0, 0, 0},
8377 { SWIG_PY_INT
, (char *)"Property_blackbox_notify_window_del", (long) otk::Property::blackbox_notify_window_del
, 0, 0, 0},
8378 { SWIG_PY_INT
, (char *)"Property_blackbox_notify_window_focus", (long) otk::Property::blackbox_notify_window_focus
, 0, 0, 0},
8379 { SWIG_PY_INT
, (char *)"Property_blackbox_notify_current_workspace", (long) otk::Property::blackbox_notify_current_workspace
, 0, 0, 0},
8380 { SWIG_PY_INT
, (char *)"Property_blackbox_notify_workspace_count", (long) otk::Property::blackbox_notify_workspace_count
, 0, 0, 0},
8381 { SWIG_PY_INT
, (char *)"Property_blackbox_notify_window_raise", (long) otk::Property::blackbox_notify_window_raise
, 0, 0, 0},
8382 { SWIG_PY_INT
, (char *)"Property_blackbox_notify_window_lower", (long) otk::Property::blackbox_notify_window_lower
, 0, 0, 0},
8383 { SWIG_PY_INT
, (char *)"Property_blackbox_change_workspace", (long) otk::Property::blackbox_change_workspace
, 0, 0, 0},
8384 { SWIG_PY_INT
, (char *)"Property_blackbox_change_window_focus", (long) otk::Property::blackbox_change_window_focus
, 0, 0, 0},
8385 { SWIG_PY_INT
, (char *)"Property_blackbox_cycle_window_focus", (long) otk::Property::blackbox_cycle_window_focus
, 0, 0, 0},
8386 { SWIG_PY_INT
, (char *)"Property_openbox_show_root_menu", (long) otk::Property::openbox_show_root_menu
, 0, 0, 0},
8387 { SWIG_PY_INT
, (char *)"Property_openbox_show_workspace_menu", (long) otk::Property::openbox_show_workspace_menu
, 0, 0, 0},
8388 { SWIG_PY_INT
, (char *)"Property_net_supported", (long) otk::Property::net_supported
, 0, 0, 0},
8389 { SWIG_PY_INT
, (char *)"Property_net_client_list", (long) otk::Property::net_client_list
, 0, 0, 0},
8390 { SWIG_PY_INT
, (char *)"Property_net_client_list_stacking", (long) otk::Property::net_client_list_stacking
, 0, 0, 0},
8391 { SWIG_PY_INT
, (char *)"Property_net_number_of_desktops", (long) otk::Property::net_number_of_desktops
, 0, 0, 0},
8392 { SWIG_PY_INT
, (char *)"Property_net_desktop_geometry", (long) otk::Property::net_desktop_geometry
, 0, 0, 0},
8393 { SWIG_PY_INT
, (char *)"Property_net_desktop_viewport", (long) otk::Property::net_desktop_viewport
, 0, 0, 0},
8394 { SWIG_PY_INT
, (char *)"Property_net_current_desktop", (long) otk::Property::net_current_desktop
, 0, 0, 0},
8395 { SWIG_PY_INT
, (char *)"Property_net_desktop_names", (long) otk::Property::net_desktop_names
, 0, 0, 0},
8396 { SWIG_PY_INT
, (char *)"Property_net_active_window", (long) otk::Property::net_active_window
, 0, 0, 0},
8397 { SWIG_PY_INT
, (char *)"Property_net_workarea", (long) otk::Property::net_workarea
, 0, 0, 0},
8398 { SWIG_PY_INT
, (char *)"Property_net_supporting_wm_check", (long) otk::Property::net_supporting_wm_check
, 0, 0, 0},
8399 { SWIG_PY_INT
, (char *)"Property_net_close_window", (long) otk::Property::net_close_window
, 0, 0, 0},
8400 { SWIG_PY_INT
, (char *)"Property_net_wm_moveresize", (long) otk::Property::net_wm_moveresize
, 0, 0, 0},
8401 { SWIG_PY_INT
, (char *)"Property_net_wm_name", (long) otk::Property::net_wm_name
, 0, 0, 0},
8402 { SWIG_PY_INT
, (char *)"Property_net_wm_visible_name", (long) otk::Property::net_wm_visible_name
, 0, 0, 0},
8403 { SWIG_PY_INT
, (char *)"Property_net_wm_icon_name", (long) otk::Property::net_wm_icon_name
, 0, 0, 0},
8404 { SWIG_PY_INT
, (char *)"Property_net_wm_visible_icon_name", (long) otk::Property::net_wm_visible_icon_name
, 0, 0, 0},
8405 { SWIG_PY_INT
, (char *)"Property_net_wm_desktop", (long) otk::Property::net_wm_desktop
, 0, 0, 0},
8406 { SWIG_PY_INT
, (char *)"Property_net_wm_window_type", (long) otk::Property::net_wm_window_type
, 0, 0, 0},
8407 { SWIG_PY_INT
, (char *)"Property_net_wm_state", (long) otk::Property::net_wm_state
, 0, 0, 0},
8408 { SWIG_PY_INT
, (char *)"Property_net_wm_strut", (long) otk::Property::net_wm_strut
, 0, 0, 0},
8409 { SWIG_PY_INT
, (char *)"Property_net_wm_allowed_actions", (long) otk::Property::net_wm_allowed_actions
, 0, 0, 0},
8410 { SWIG_PY_INT
, (char *)"Property_net_wm_window_type_desktop", (long) otk::Property::net_wm_window_type_desktop
, 0, 0, 0},
8411 { SWIG_PY_INT
, (char *)"Property_net_wm_window_type_dock", (long) otk::Property::net_wm_window_type_dock
, 0, 0, 0},
8412 { SWIG_PY_INT
, (char *)"Property_net_wm_window_type_toolbar", (long) otk::Property::net_wm_window_type_toolbar
, 0, 0, 0},
8413 { SWIG_PY_INT
, (char *)"Property_net_wm_window_type_menu", (long) otk::Property::net_wm_window_type_menu
, 0, 0, 0},
8414 { SWIG_PY_INT
, (char *)"Property_net_wm_window_type_utility", (long) otk::Property::net_wm_window_type_utility
, 0, 0, 0},
8415 { SWIG_PY_INT
, (char *)"Property_net_wm_window_type_splash", (long) otk::Property::net_wm_window_type_splash
, 0, 0, 0},
8416 { SWIG_PY_INT
, (char *)"Property_net_wm_window_type_dialog", (long) otk::Property::net_wm_window_type_dialog
, 0, 0, 0},
8417 { SWIG_PY_INT
, (char *)"Property_net_wm_window_type_normal", (long) otk::Property::net_wm_window_type_normal
, 0, 0, 0},
8418 { SWIG_PY_INT
, (char *)"Property_net_wm_moveresize_size_topleft", (long) otk::Property::net_wm_moveresize_size_topleft
, 0, 0, 0},
8419 { SWIG_PY_INT
, (char *)"Property_net_wm_moveresize_size_topright", (long) otk::Property::net_wm_moveresize_size_topright
, 0, 0, 0},
8420 { SWIG_PY_INT
, (char *)"Property_net_wm_moveresize_size_bottomleft", (long) otk::Property::net_wm_moveresize_size_bottomleft
, 0, 0, 0},
8421 { SWIG_PY_INT
, (char *)"Property_net_wm_moveresize_size_bottomright", (long) otk::Property::net_wm_moveresize_size_bottomright
, 0, 0, 0},
8422 { SWIG_PY_INT
, (char *)"Property_net_wm_moveresize_move", (long) otk::Property::net_wm_moveresize_move
, 0, 0, 0},
8423 { SWIG_PY_INT
, (char *)"Property_net_wm_action_move", (long) otk::Property::net_wm_action_move
, 0, 0, 0},
8424 { SWIG_PY_INT
, (char *)"Property_net_wm_action_resize", (long) otk::Property::net_wm_action_resize
, 0, 0, 0},
8425 { SWIG_PY_INT
, (char *)"Property_net_wm_action_shade", (long) otk::Property::net_wm_action_shade
, 0, 0, 0},
8426 { SWIG_PY_INT
, (char *)"Property_net_wm_action_maximize_horz", (long) otk::Property::net_wm_action_maximize_horz
, 0, 0, 0},
8427 { SWIG_PY_INT
, (char *)"Property_net_wm_action_maximize_vert", (long) otk::Property::net_wm_action_maximize_vert
, 0, 0, 0},
8428 { SWIG_PY_INT
, (char *)"Property_net_wm_action_change_desktop", (long) otk::Property::net_wm_action_change_desktop
, 0, 0, 0},
8429 { SWIG_PY_INT
, (char *)"Property_net_wm_action_close", (long) otk::Property::net_wm_action_close
, 0, 0, 0},
8430 { SWIG_PY_INT
, (char *)"Property_net_wm_state_modal", (long) otk::Property::net_wm_state_modal
, 0, 0, 0},
8431 { SWIG_PY_INT
, (char *)"Property_net_wm_state_sticky", (long) otk::Property::net_wm_state_sticky
, 0, 0, 0},
8432 { SWIG_PY_INT
, (char *)"Property_net_wm_state_maximized_vert", (long) otk::Property::net_wm_state_maximized_vert
, 0, 0, 0},
8433 { SWIG_PY_INT
, (char *)"Property_net_wm_state_maximized_horz", (long) otk::Property::net_wm_state_maximized_horz
, 0, 0, 0},
8434 { SWIG_PY_INT
, (char *)"Property_net_wm_state_shaded", (long) otk::Property::net_wm_state_shaded
, 0, 0, 0},
8435 { SWIG_PY_INT
, (char *)"Property_net_wm_state_skip_taskbar", (long) otk::Property::net_wm_state_skip_taskbar
, 0, 0, 0},
8436 { SWIG_PY_INT
, (char *)"Property_net_wm_state_skip_pager", (long) otk::Property::net_wm_state_skip_pager
, 0, 0, 0},
8437 { SWIG_PY_INT
, (char *)"Property_net_wm_state_hidden", (long) otk::Property::net_wm_state_hidden
, 0, 0, 0},
8438 { SWIG_PY_INT
, (char *)"Property_net_wm_state_fullscreen", (long) otk::Property::net_wm_state_fullscreen
, 0, 0, 0},
8439 { SWIG_PY_INT
, (char *)"Property_net_wm_state_above", (long) otk::Property::net_wm_state_above
, 0, 0, 0},
8440 { SWIG_PY_INT
, (char *)"Property_net_wm_state_below", (long) otk::Property::net_wm_state_below
, 0, 0, 0},
8441 { SWIG_PY_INT
, (char *)"Property_kde_net_system_tray_windows", (long) otk::Property::kde_net_system_tray_windows
, 0, 0, 0},
8442 { SWIG_PY_INT
, (char *)"Property_kde_net_wm_system_tray_window_for", (long) otk::Property::kde_net_wm_system_tray_window_for
, 0, 0, 0},
8443 { SWIG_PY_INT
, (char *)"Property_kde_net_wm_window_type_override", (long) otk::Property::kde_net_wm_window_type_override
, 0, 0, 0},
8444 { SWIG_PY_INT
, (char *)"Property_NUM_ATOMS", (long) otk::Property::NUM_ATOMS
, 0, 0, 0},
8445 { SWIG_PY_INT
, (char *)"Property_ascii", (long) otk::Property::ascii
, 0, 0, 0},
8446 { SWIG_PY_INT
, (char *)"Property_utf8", (long) otk::Property::utf8
, 0, 0, 0},
8447 { SWIG_PY_INT
, (char *)"Property_NUM_STRING_TYPE", (long) otk::Property::NUM_STRING_TYPE
, 0, 0, 0},
8448 { SWIG_PY_INT
, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting
, 0, 0, 0},
8449 { SWIG_PY_INT
, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal
, 0, 0, 0},
8450 { SWIG_PY_INT
, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting
, 0, 0, 0},
8451 { SWIG_PY_INT
, (char *)"Screen_event_mask", (long) ob::Screen::event_mask
, 0, 0, 0},
8452 { SWIG_PY_INT
, (char *)"MwmHints_elements", (long) ob::MwmHints::elements
, 0, 0, 0},
8453 { SWIG_PY_INT
, (char *)"Client_Layer_Icon", (long) ob::Client::Layer_Icon
, 0, 0, 0},
8454 { SWIG_PY_INT
, (char *)"Client_Layer_Desktop", (long) ob::Client::Layer_Desktop
, 0, 0, 0},
8455 { SWIG_PY_INT
, (char *)"Client_Layer_Below", (long) ob::Client::Layer_Below
, 0, 0, 0},
8456 { SWIG_PY_INT
, (char *)"Client_Layer_Normal", (long) ob::Client::Layer_Normal
, 0, 0, 0},
8457 { SWIG_PY_INT
, (char *)"Client_Layer_Above", (long) ob::Client::Layer_Above
, 0, 0, 0},
8458 { SWIG_PY_INT
, (char *)"Client_Layer_Top", (long) ob::Client::Layer_Top
, 0, 0, 0},
8459 { SWIG_PY_INT
, (char *)"Client_Layer_Fullscreen", (long) ob::Client::Layer_Fullscreen
, 0, 0, 0},
8460 { SWIG_PY_INT
, (char *)"Client_Layer_Internal", (long) ob::Client::Layer_Internal
, 0, 0, 0},
8461 { SWIG_PY_INT
, (char *)"Client_NUM_LAYERS", (long) ob::Client::NUM_LAYERS
, 0, 0, 0},
8462 { SWIG_PY_INT
, (char *)"Client_TopLeft", (long) ob::Client::TopLeft
, 0, 0, 0},
8463 { SWIG_PY_INT
, (char *)"Client_TopRight", (long) ob::Client::TopRight
, 0, 0, 0},
8464 { SWIG_PY_INT
, (char *)"Client_BottomLeft", (long) ob::Client::BottomLeft
, 0, 0, 0},
8465 { SWIG_PY_INT
, (char *)"Client_BottomRight", (long) ob::Client::BottomRight
, 0, 0, 0},
8466 { SWIG_PY_INT
, (char *)"Client_Type_Desktop", (long) ob::Client::Type_Desktop
, 0, 0, 0},
8467 { SWIG_PY_INT
, (char *)"Client_Type_Dock", (long) ob::Client::Type_Dock
, 0, 0, 0},
8468 { SWIG_PY_INT
, (char *)"Client_Type_Toolbar", (long) ob::Client::Type_Toolbar
, 0, 0, 0},
8469 { SWIG_PY_INT
, (char *)"Client_Type_Menu", (long) ob::Client::Type_Menu
, 0, 0, 0},
8470 { SWIG_PY_INT
, (char *)"Client_Type_Utility", (long) ob::Client::Type_Utility
, 0, 0, 0},
8471 { SWIG_PY_INT
, (char *)"Client_Type_Splash", (long) ob::Client::Type_Splash
, 0, 0, 0},
8472 { SWIG_PY_INT
, (char *)"Client_Type_Dialog", (long) ob::Client::Type_Dialog
, 0, 0, 0},
8473 { SWIG_PY_INT
, (char *)"Client_Type_Normal", (long) ob::Client::Type_Normal
, 0, 0, 0},
8474 { SWIG_PY_INT
, (char *)"Client_MwmFlag_Functions", (long) ob::Client::MwmFlag_Functions
, 0, 0, 0},
8475 { SWIG_PY_INT
, (char *)"Client_MwmFlag_Decorations", (long) ob::Client::MwmFlag_Decorations
, 0, 0, 0},
8476 { SWIG_PY_INT
, (char *)"Client_MwmFunc_All", (long) ob::Client::MwmFunc_All
, 0, 0, 0},
8477 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Resize", (long) ob::Client::MwmFunc_Resize
, 0, 0, 0},
8478 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Move", (long) ob::Client::MwmFunc_Move
, 0, 0, 0},
8479 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Iconify", (long) ob::Client::MwmFunc_Iconify
, 0, 0, 0},
8480 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Maximize", (long) ob::Client::MwmFunc_Maximize
, 0, 0, 0},
8481 { SWIG_PY_INT
, (char *)"Client_MwmDecor_All", (long) ob::Client::MwmDecor_All
, 0, 0, 0},
8482 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Border", (long) ob::Client::MwmDecor_Border
, 0, 0, 0},
8483 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Handle", (long) ob::Client::MwmDecor_Handle
, 0, 0, 0},
8484 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Title", (long) ob::Client::MwmDecor_Title
, 0, 0, 0},
8485 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Iconify", (long) ob::Client::MwmDecor_Iconify
, 0, 0, 0},
8486 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Maximize", (long) ob::Client::MwmDecor_Maximize
, 0, 0, 0},
8487 { SWIG_PY_INT
, (char *)"Client_Func_Resize", (long) ob::Client::Func_Resize
, 0, 0, 0},
8488 { SWIG_PY_INT
, (char *)"Client_Func_Move", (long) ob::Client::Func_Move
, 0, 0, 0},
8489 { SWIG_PY_INT
, (char *)"Client_Func_Iconify", (long) ob::Client::Func_Iconify
, 0, 0, 0},
8490 { SWIG_PY_INT
, (char *)"Client_Func_Maximize", (long) ob::Client::Func_Maximize
, 0, 0, 0},
8491 { SWIG_PY_INT
, (char *)"Client_Func_Close", (long) ob::Client::Func_Close
, 0, 0, 0},
8492 { SWIG_PY_INT
, (char *)"Client_Decor_Titlebar", (long) ob::Client::Decor_Titlebar
, 0, 0, 0},
8493 { SWIG_PY_INT
, (char *)"Client_Decor_Handle", (long) ob::Client::Decor_Handle
, 0, 0, 0},
8494 { SWIG_PY_INT
, (char *)"Client_Decor_Border", (long) ob::Client::Decor_Border
, 0, 0, 0},
8495 { SWIG_PY_INT
, (char *)"Client_Decor_Iconify", (long) ob::Client::Decor_Iconify
, 0, 0, 0},
8496 { SWIG_PY_INT
, (char *)"Client_Decor_Maximize", (long) ob::Client::Decor_Maximize
, 0, 0, 0},
8497 { SWIG_PY_INT
, (char *)"Client_Decor_Sticky", (long) ob::Client::Decor_Sticky
, 0, 0, 0},
8498 { SWIG_PY_INT
, (char *)"Client_Decor_Close", (long) ob::Client::Decor_Close
, 0, 0, 0},
8499 { SWIG_PY_INT
, (char *)"Client_State_Remove", (long) ob::Client::State_Remove
, 0, 0, 0},
8500 { SWIG_PY_INT
, (char *)"Client_State_Add", (long) ob::Client::State_Add
, 0, 0, 0},
8501 { SWIG_PY_INT
, (char *)"Client_State_Toggle", (long) ob::Client::State_Toggle
, 0, 0, 0},
8502 { SWIG_PY_INT
, (char *)"Client_event_mask", (long) ob::Client::event_mask
, 0, 0, 0},
8503 { SWIG_PY_INT
, (char *)"Client_no_propagate_mask", (long) ob::Client::no_propagate_mask
, 0, 0, 0},
8504 { SWIG_PY_INT
, (char *)"MC_Frame", (long) ob::MC_Frame
, 0, 0, 0},
8505 { SWIG_PY_INT
, (char *)"MC_Titlebar", (long) ob::MC_Titlebar
, 0, 0, 0},
8506 { SWIG_PY_INT
, (char *)"MC_Handle", (long) ob::MC_Handle
, 0, 0, 0},
8507 { SWIG_PY_INT
, (char *)"MC_Window", (long) ob::MC_Window
, 0, 0, 0},
8508 { SWIG_PY_INT
, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton
, 0, 0, 0},
8509 { SWIG_PY_INT
, (char *)"MC_CloseButton", (long) ob::MC_CloseButton
, 0, 0, 0},
8510 { SWIG_PY_INT
, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton
, 0, 0, 0},
8511 { SWIG_PY_INT
, (char *)"MC_StickyButton", (long) ob::MC_StickyButton
, 0, 0, 0},
8512 { SWIG_PY_INT
, (char *)"MC_Grip", (long) ob::MC_Grip
, 0, 0, 0},
8513 { SWIG_PY_INT
, (char *)"MC_Root", (long) ob::MC_Root
, 0, 0, 0},
8514 { SWIG_PY_INT
, (char *)"MC_MenuItem", (long) ob::MC_MenuItem
, 0, 0, 0},
8515 { SWIG_PY_INT
, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT
, 0, 0, 0},
8516 { SWIG_PY_INT
, (char *)"MousePress", (long) ob::MousePress
, 0, 0, 0},
8517 { SWIG_PY_INT
, (char *)"MouseClick", (long) ob::MouseClick
, 0, 0, 0},
8518 { SWIG_PY_INT
, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick
, 0, 0, 0},
8519 { SWIG_PY_INT
, (char *)"MouseMotion", (long) ob::MouseMotion
, 0, 0, 0},
8520 { SWIG_PY_INT
, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION
, 0, 0, 0},
8521 { SWIG_PY_INT
, (char *)"KC_Menu", (long) ob::KC_Menu
, 0, 0, 0},
8522 { SWIG_PY_INT
, (char *)"KC_All", (long) ob::KC_All
, 0, 0, 0},
8523 { SWIG_PY_INT
, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT
, 0, 0, 0},
8524 { SWIG_PY_INT
, (char *)"EventEnterWindow", (long) ob::EventEnterWindow
, 0, 0, 0},
8525 { SWIG_PY_INT
, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow
, 0, 0, 0},
8526 { SWIG_PY_INT
, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow
, 0, 0, 0},
8527 { SWIG_PY_INT
, (char *)"EventNewWindow", (long) ob::EventNewWindow
, 0, 0, 0},
8528 { SWIG_PY_INT
, (char *)"EventCloseWindow", (long) ob::EventCloseWindow
, 0, 0, 0},
8529 { SWIG_PY_INT
, (char *)"EventStartup", (long) ob::EventStartup
, 0, 0, 0},
8530 { SWIG_PY_INT
, (char *)"EventShutdown", (long) ob::EventShutdown
, 0, 0, 0},
8531 { SWIG_PY_INT
, (char *)"EventFocus", (long) ob::EventFocus
, 0, 0, 0},
8532 { SWIG_PY_INT
, (char *)"EventBell", (long) ob::EventBell
, 0, 0, 0},
8533 { SWIG_PY_INT
, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS
, 0, 0, 0},
8534 { SWIG_PY_INT
, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
8535 { SWIG_PY_INT
, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
8536 { SWIG_PY_INT
, (char *)"None", (long) 0L, 0, 0, 0},
8537 { SWIG_PY_INT
, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
8538 { SWIG_PY_INT
, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
8539 { SWIG_PY_INT
, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
8540 { SWIG_PY_INT
, (char *)"InputFocus", (long) 1L, 0, 0, 0},
8541 { SWIG_PY_INT
, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
8542 { SWIG_PY_INT
, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
8543 { SWIG_PY_INT
, (char *)"AnyKey", (long) 0L, 0, 0, 0},
8544 { SWIG_PY_INT
, (char *)"AnyButton", (long) 0L, 0, 0, 0},
8545 { SWIG_PY_INT
, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
8546 { SWIG_PY_INT
, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
8547 { SWIG_PY_INT
, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
8548 { SWIG_PY_INT
, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
8549 { SWIG_PY_INT
, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
8550 { SWIG_PY_INT
, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
8551 { SWIG_PY_INT
, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
8552 { SWIG_PY_INT
, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
8553 { SWIG_PY_INT
, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
8554 { SWIG_PY_INT
, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
8555 { SWIG_PY_INT
, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
8556 { SWIG_PY_INT
, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
8557 { SWIG_PY_INT
, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
8558 { SWIG_PY_INT
, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
8559 { SWIG_PY_INT
, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
8560 { SWIG_PY_INT
, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
8561 { SWIG_PY_INT
, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
8562 { SWIG_PY_INT
, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
8563 { SWIG_PY_INT
, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
8564 { SWIG_PY_INT
, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
8565 { SWIG_PY_INT
, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
8566 { SWIG_PY_INT
, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
8567 { SWIG_PY_INT
, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
8568 { SWIG_PY_INT
, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
8569 { SWIG_PY_INT
, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
8570 { SWIG_PY_INT
, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
8571 { SWIG_PY_INT
, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
8572 { SWIG_PY_INT
, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
8573 { SWIG_PY_INT
, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
8574 { SWIG_PY_INT
, (char *)"KeyPress", (long) 2, 0, 0, 0},
8575 { SWIG_PY_INT
, (char *)"KeyRelease", (long) 3, 0, 0, 0},
8576 { SWIG_PY_INT
, (char *)"ButtonPress", (long) 4, 0, 0, 0},
8577 { SWIG_PY_INT
, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
8578 { SWIG_PY_INT
, (char *)"MotionNotify", (long) 6, 0, 0, 0},
8579 { SWIG_PY_INT
, (char *)"EnterNotify", (long) 7, 0, 0, 0},
8580 { SWIG_PY_INT
, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
8581 { SWIG_PY_INT
, (char *)"FocusIn", (long) 9, 0, 0, 0},
8582 { SWIG_PY_INT
, (char *)"FocusOut", (long) 10, 0, 0, 0},
8583 { SWIG_PY_INT
, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
8584 { SWIG_PY_INT
, (char *)"Expose", (long) 12, 0, 0, 0},
8585 { SWIG_PY_INT
, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
8586 { SWIG_PY_INT
, (char *)"NoExpose", (long) 14, 0, 0, 0},
8587 { SWIG_PY_INT
, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
8588 { SWIG_PY_INT
, (char *)"CreateNotify", (long) 16, 0, 0, 0},
8589 { SWIG_PY_INT
, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
8590 { SWIG_PY_INT
, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
8591 { SWIG_PY_INT
, (char *)"MapNotify", (long) 19, 0, 0, 0},
8592 { SWIG_PY_INT
, (char *)"MapRequest", (long) 20, 0, 0, 0},
8593 { SWIG_PY_INT
, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
8594 { SWIG_PY_INT
, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
8595 { SWIG_PY_INT
, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
8596 { SWIG_PY_INT
, (char *)"GravityNotify", (long) 24, 0, 0, 0},
8597 { SWIG_PY_INT
, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
8598 { SWIG_PY_INT
, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
8599 { SWIG_PY_INT
, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
8600 { SWIG_PY_INT
, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
8601 { SWIG_PY_INT
, (char *)"SelectionClear", (long) 29, 0, 0, 0},
8602 { SWIG_PY_INT
, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
8603 { SWIG_PY_INT
, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
8604 { SWIG_PY_INT
, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
8605 { SWIG_PY_INT
, (char *)"ClientMessage", (long) 33, 0, 0, 0},
8606 { SWIG_PY_INT
, (char *)"MappingNotify", (long) 34, 0, 0, 0},
8607 { SWIG_PY_INT
, (char *)"LASTEvent", (long) 35, 0, 0, 0},
8608 { SWIG_PY_INT
, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
8609 { SWIG_PY_INT
, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
8610 { SWIG_PY_INT
, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
8611 { SWIG_PY_INT
, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
8612 { SWIG_PY_INT
, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
8613 { SWIG_PY_INT
, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
8614 { SWIG_PY_INT
, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
8615 { SWIG_PY_INT
, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
8616 { SWIG_PY_INT
, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
8617 { SWIG_PY_INT
, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
8618 { SWIG_PY_INT
, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
8619 { SWIG_PY_INT
, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
8620 { SWIG_PY_INT
, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
8621 { SWIG_PY_INT
, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
8622 { SWIG_PY_INT
, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
8623 { SWIG_PY_INT
, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
8624 { SWIG_PY_INT
, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
8625 { SWIG_PY_INT
, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
8626 { SWIG_PY_INT
, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
8627 { SWIG_PY_INT
, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
8628 { SWIG_PY_INT
, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
8629 { SWIG_PY_INT
, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
8630 { SWIG_PY_INT
, (char *)"Button1", (long) 1, 0, 0, 0},
8631 { SWIG_PY_INT
, (char *)"Button2", (long) 2, 0, 0, 0},
8632 { SWIG_PY_INT
, (char *)"Button3", (long) 3, 0, 0, 0},
8633 { SWIG_PY_INT
, (char *)"Button4", (long) 4, 0, 0, 0},
8634 { SWIG_PY_INT
, (char *)"Button5", (long) 5, 0, 0, 0},
8635 { SWIG_PY_INT
, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
8636 { SWIG_PY_INT
, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
8637 { SWIG_PY_INT
, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
8638 { SWIG_PY_INT
, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
8639 { SWIG_PY_INT
, (char *)"NotifyHint", (long) 1, 0, 0, 0},
8640 { SWIG_PY_INT
, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
8641 { SWIG_PY_INT
, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
8642 { SWIG_PY_INT
, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
8643 { SWIG_PY_INT
, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
8644 { SWIG_PY_INT
, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
8645 { SWIG_PY_INT
, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
8646 { SWIG_PY_INT
, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
8647 { SWIG_PY_INT
, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
8648 { SWIG_PY_INT
, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
8649 { SWIG_PY_INT
, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
8650 { SWIG_PY_INT
, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
8651 { SWIG_PY_INT
, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
8652 { SWIG_PY_INT
, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
8653 { SWIG_PY_INT
, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
8654 { SWIG_PY_INT
, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
8655 { SWIG_PY_INT
, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
8656 { SWIG_PY_INT
, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
8657 { SWIG_PY_INT
, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
8658 { SWIG_PY_INT
, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
8659 { SWIG_PY_INT
, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
8660 { SWIG_PY_INT
, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
8661 { SWIG_PY_INT
, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
8662 { SWIG_PY_INT
, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
8663 { SWIG_PY_INT
, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
8664 { SWIG_PY_INT
, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
8665 { SWIG_PY_INT
, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
8666 { SWIG_PY_INT
, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
8667 { SWIG_PY_INT
, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
8668 { SWIG_PY_INT
, (char *)"SyncPointer", (long) 1, 0, 0, 0},
8669 { SWIG_PY_INT
, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
8670 { SWIG_PY_INT
, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
8671 { SWIG_PY_INT
, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
8672 { SWIG_PY_INT
, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
8673 { SWIG_PY_INT
, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
8674 { SWIG_PY_INT
, (char *)"SyncBoth", (long) 7, 0, 0, 0},
8675 { SWIG_PY_INT
, (char *)"RevertToParent", (long) 2, 0, 0, 0},
8676 { SWIG_PY_INT
, (char *)"Success", (long) 0, 0, 0, 0},
8677 { SWIG_PY_INT
, (char *)"BadRequest", (long) 1, 0, 0, 0},
8678 { SWIG_PY_INT
, (char *)"BadValue", (long) 2, 0, 0, 0},
8679 { SWIG_PY_INT
, (char *)"BadWindow", (long) 3, 0, 0, 0},
8680 { SWIG_PY_INT
, (char *)"BadPixmap", (long) 4, 0, 0, 0},
8681 { SWIG_PY_INT
, (char *)"BadAtom", (long) 5, 0, 0, 0},
8682 { SWIG_PY_INT
, (char *)"BadCursor", (long) 6, 0, 0, 0},
8683 { SWIG_PY_INT
, (char *)"BadFont", (long) 7, 0, 0, 0},
8684 { SWIG_PY_INT
, (char *)"BadMatch", (long) 8, 0, 0, 0},
8685 { SWIG_PY_INT
, (char *)"BadDrawable", (long) 9, 0, 0, 0},
8686 { SWIG_PY_INT
, (char *)"BadAccess", (long) 10, 0, 0, 0},
8687 { SWIG_PY_INT
, (char *)"BadAlloc", (long) 11, 0, 0, 0},
8688 { SWIG_PY_INT
, (char *)"BadColor", (long) 12, 0, 0, 0},
8689 { SWIG_PY_INT
, (char *)"BadGC", (long) 13, 0, 0, 0},
8690 { SWIG_PY_INT
, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
8691 { SWIG_PY_INT
, (char *)"BadName", (long) 15, 0, 0, 0},
8692 { SWIG_PY_INT
, (char *)"BadLength", (long) 16, 0, 0, 0},
8693 { SWIG_PY_INT
, (char *)"BadImplementation", (long) 17, 0, 0, 0},
8694 { SWIG_PY_INT
, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
8695 { SWIG_PY_INT
, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
8696 { SWIG_PY_INT
, (char *)"InputOutput", (long) 1, 0, 0, 0},
8697 { SWIG_PY_INT
, (char *)"InputOnly", (long) 2, 0, 0, 0},
8698 { SWIG_PY_INT
, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
8699 { SWIG_PY_INT
, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
8700 { SWIG_PY_INT
, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
8701 { SWIG_PY_INT
, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
8702 { SWIG_PY_INT
, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
8703 { SWIG_PY_INT
, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
8704 { SWIG_PY_INT
, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
8705 { SWIG_PY_INT
, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
8706 { SWIG_PY_INT
, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
8707 { SWIG_PY_INT
, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
8708 { SWIG_PY_INT
, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
8709 { SWIG_PY_INT
, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
8710 { SWIG_PY_INT
, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
8711 { SWIG_PY_INT
, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
8712 { SWIG_PY_INT
, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
8713 { SWIG_PY_INT
, (char *)"CWX", (long) (1<<0), 0, 0, 0},
8714 { SWIG_PY_INT
, (char *)"CWY", (long) (1<<1), 0, 0, 0},
8715 { SWIG_PY_INT
, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
8716 { SWIG_PY_INT
, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
8717 { SWIG_PY_INT
, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
8718 { SWIG_PY_INT
, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
8719 { SWIG_PY_INT
, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
8720 { SWIG_PY_INT
, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
8721 { SWIG_PY_INT
, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
8722 { SWIG_PY_INT
, (char *)"NorthGravity", (long) 2, 0, 0, 0},
8723 { SWIG_PY_INT
, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
8724 { SWIG_PY_INT
, (char *)"WestGravity", (long) 4, 0, 0, 0},
8725 { SWIG_PY_INT
, (char *)"CenterGravity", (long) 5, 0, 0, 0},
8726 { SWIG_PY_INT
, (char *)"EastGravity", (long) 6, 0, 0, 0},
8727 { SWIG_PY_INT
, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
8728 { SWIG_PY_INT
, (char *)"SouthGravity", (long) 8, 0, 0, 0},
8729 { SWIG_PY_INT
, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
8730 { SWIG_PY_INT
, (char *)"StaticGravity", (long) 10, 0, 0, 0},
8731 { SWIG_PY_INT
, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
8732 { SWIG_PY_INT
, (char *)"NotUseful", (long) 0, 0, 0, 0},
8733 { SWIG_PY_INT
, (char *)"WhenMapped", (long) 1, 0, 0, 0},
8734 { SWIG_PY_INT
, (char *)"Always", (long) 2, 0, 0, 0},
8735 { SWIG_PY_INT
, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
8736 { SWIG_PY_INT
, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
8737 { SWIG_PY_INT
, (char *)"IsViewable", (long) 2, 0, 0, 0},
8738 { SWIG_PY_INT
, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
8739 { SWIG_PY_INT
, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
8740 { SWIG_PY_INT
, (char *)"DestroyAll", (long) 0, 0, 0, 0},
8741 { SWIG_PY_INT
, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
8742 { SWIG_PY_INT
, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
8743 { SWIG_PY_INT
, (char *)"Above", (long) 0, 0, 0, 0},
8744 { SWIG_PY_INT
, (char *)"Below", (long) 1, 0, 0, 0},
8745 { SWIG_PY_INT
, (char *)"TopIf", (long) 2, 0, 0, 0},
8746 { SWIG_PY_INT
, (char *)"BottomIf", (long) 3, 0, 0, 0},
8747 { SWIG_PY_INT
, (char *)"Opposite", (long) 4, 0, 0, 0},
8748 { SWIG_PY_INT
, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
8749 { SWIG_PY_INT
, (char *)"LowerHighest", (long) 1, 0, 0, 0},
8750 { SWIG_PY_INT
, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
8751 { SWIG_PY_INT
, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
8752 { SWIG_PY_INT
, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
8753 { SWIG_PY_INT
, (char *)"GXclear", (long) 0x0, 0, 0, 0},
8754 { SWIG_PY_INT
, (char *)"GXand", (long) 0x1, 0, 0, 0},
8755 { SWIG_PY_INT
, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
8756 { SWIG_PY_INT
, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
8757 { SWIG_PY_INT
, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
8758 { SWIG_PY_INT
, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
8759 { SWIG_PY_INT
, (char *)"GXxor", (long) 0x6, 0, 0, 0},
8760 { SWIG_PY_INT
, (char *)"GXor", (long) 0x7, 0, 0, 0},
8761 { SWIG_PY_INT
, (char *)"GXnor", (long) 0x8, 0, 0, 0},
8762 { SWIG_PY_INT
, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
8763 { SWIG_PY_INT
, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
8764 { SWIG_PY_INT
, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
8765 { SWIG_PY_INT
, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
8766 { SWIG_PY_INT
, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
8767 { SWIG_PY_INT
, (char *)"GXnand", (long) 0xe, 0, 0, 0},
8768 { SWIG_PY_INT
, (char *)"GXset", (long) 0xf, 0, 0, 0},
8769 { SWIG_PY_INT
, (char *)"LineSolid", (long) 0, 0, 0, 0},
8770 { SWIG_PY_INT
, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
8771 { SWIG_PY_INT
, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
8772 { SWIG_PY_INT
, (char *)"CapNotLast", (long) 0, 0, 0, 0},
8773 { SWIG_PY_INT
, (char *)"CapButt", (long) 1, 0, 0, 0},
8774 { SWIG_PY_INT
, (char *)"CapRound", (long) 2, 0, 0, 0},
8775 { SWIG_PY_INT
, (char *)"CapProjecting", (long) 3, 0, 0, 0},
8776 { SWIG_PY_INT
, (char *)"JoinMiter", (long) 0, 0, 0, 0},
8777 { SWIG_PY_INT
, (char *)"JoinRound", (long) 1, 0, 0, 0},
8778 { SWIG_PY_INT
, (char *)"JoinBevel", (long) 2, 0, 0, 0},
8779 { SWIG_PY_INT
, (char *)"FillSolid", (long) 0, 0, 0, 0},
8780 { SWIG_PY_INT
, (char *)"FillTiled", (long) 1, 0, 0, 0},
8781 { SWIG_PY_INT
, (char *)"FillStippled", (long) 2, 0, 0, 0},
8782 { SWIG_PY_INT
, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
8783 { SWIG_PY_INT
, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
8784 { SWIG_PY_INT
, (char *)"WindingRule", (long) 1, 0, 0, 0},
8785 { SWIG_PY_INT
, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
8786 { SWIG_PY_INT
, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
8787 { SWIG_PY_INT
, (char *)"Unsorted", (long) 0, 0, 0, 0},
8788 { SWIG_PY_INT
, (char *)"YSorted", (long) 1, 0, 0, 0},
8789 { SWIG_PY_INT
, (char *)"YXSorted", (long) 2, 0, 0, 0},
8790 { SWIG_PY_INT
, (char *)"YXBanded", (long) 3, 0, 0, 0},
8791 { SWIG_PY_INT
, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
8792 { SWIG_PY_INT
, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
8793 { SWIG_PY_INT
, (char *)"Complex", (long) 0, 0, 0, 0},
8794 { SWIG_PY_INT
, (char *)"Nonconvex", (long) 1, 0, 0, 0},
8795 { SWIG_PY_INT
, (char *)"Convex", (long) 2, 0, 0, 0},
8796 { SWIG_PY_INT
, (char *)"ArcChord", (long) 0, 0, 0, 0},
8797 { SWIG_PY_INT
, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
8798 { SWIG_PY_INT
, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
8799 { SWIG_PY_INT
, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
8800 { SWIG_PY_INT
, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
8801 { SWIG_PY_INT
, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
8802 { SWIG_PY_INT
, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
8803 { SWIG_PY_INT
, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
8804 { SWIG_PY_INT
, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
8805 { SWIG_PY_INT
, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
8806 { SWIG_PY_INT
, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
8807 { SWIG_PY_INT
, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
8808 { SWIG_PY_INT
, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
8809 { SWIG_PY_INT
, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
8810 { SWIG_PY_INT
, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
8811 { SWIG_PY_INT
, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
8812 { SWIG_PY_INT
, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
8813 { SWIG_PY_INT
, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
8814 { SWIG_PY_INT
, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
8815 { SWIG_PY_INT
, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
8816 { SWIG_PY_INT
, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
8817 { SWIG_PY_INT
, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
8818 { SWIG_PY_INT
, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
8819 { SWIG_PY_INT
, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
8820 { SWIG_PY_INT
, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
8821 { SWIG_PY_INT
, (char *)"GCLastBit", (long) 22, 0, 0, 0},
8822 { SWIG_PY_INT
, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
8823 { SWIG_PY_INT
, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
8824 { SWIG_PY_INT
, (char *)"FontChange", (long) 255, 0, 0, 0},
8825 { SWIG_PY_INT
, (char *)"XYBitmap", (long) 0, 0, 0, 0},
8826 { SWIG_PY_INT
, (char *)"XYPixmap", (long) 1, 0, 0, 0},
8827 { SWIG_PY_INT
, (char *)"ZPixmap", (long) 2, 0, 0, 0},
8828 { SWIG_PY_INT
, (char *)"AllocNone", (long) 0, 0, 0, 0},
8829 { SWIG_PY_INT
, (char *)"AllocAll", (long) 1, 0, 0, 0},
8830 { SWIG_PY_INT
, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
8831 { SWIG_PY_INT
, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
8832 { SWIG_PY_INT
, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
8833 { SWIG_PY_INT
, (char *)"CursorShape", (long) 0, 0, 0, 0},
8834 { SWIG_PY_INT
, (char *)"TileShape", (long) 1, 0, 0, 0},
8835 { SWIG_PY_INT
, (char *)"StippleShape", (long) 2, 0, 0, 0},
8836 { SWIG_PY_INT
, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
8837 { SWIG_PY_INT
, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
8838 { SWIG_PY_INT
, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
8839 { SWIG_PY_INT
, (char *)"LedModeOff", (long) 0, 0, 0, 0},
8840 { SWIG_PY_INT
, (char *)"LedModeOn", (long) 1, 0, 0, 0},
8841 { SWIG_PY_INT
, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
8842 { SWIG_PY_INT
, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
8843 { SWIG_PY_INT
, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
8844 { SWIG_PY_INT
, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
8845 { SWIG_PY_INT
, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
8846 { SWIG_PY_INT
, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
8847 { SWIG_PY_INT
, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
8848 { SWIG_PY_INT
, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
8849 { SWIG_PY_INT
, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
8850 { SWIG_PY_INT
, (char *)"MappingBusy", (long) 1, 0, 0, 0},
8851 { SWIG_PY_INT
, (char *)"MappingFailed", (long) 2, 0, 0, 0},
8852 { SWIG_PY_INT
, (char *)"MappingModifier", (long) 0, 0, 0, 0},
8853 { SWIG_PY_INT
, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
8854 { SWIG_PY_INT
, (char *)"MappingPointer", (long) 2, 0, 0, 0},
8855 { SWIG_PY_INT
, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
8856 { SWIG_PY_INT
, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
8857 { SWIG_PY_INT
, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
8858 { SWIG_PY_INT
, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
8859 { SWIG_PY_INT
, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
8860 { SWIG_PY_INT
, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
8861 { SWIG_PY_INT
, (char *)"AllowExposures", (long) 1, 0, 0, 0},
8862 { SWIG_PY_INT
, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
8863 { SWIG_PY_INT
, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
8864 { SWIG_PY_INT
, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
8865 { SWIG_PY_INT
, (char *)"HostInsert", (long) 0, 0, 0, 0},
8866 { SWIG_PY_INT
, (char *)"HostDelete", (long) 1, 0, 0, 0},
8867 { SWIG_PY_INT
, (char *)"EnableAccess", (long) 1, 0, 0, 0},
8868 { SWIG_PY_INT
, (char *)"DisableAccess", (long) 0, 0, 0, 0},
8869 { SWIG_PY_INT
, (char *)"StaticGray", (long) 0, 0, 0, 0},
8870 { SWIG_PY_INT
, (char *)"GrayScale", (long) 1, 0, 0, 0},
8871 { SWIG_PY_INT
, (char *)"StaticColor", (long) 2, 0, 0, 0},
8872 { SWIG_PY_INT
, (char *)"PseudoColor", (long) 3, 0, 0, 0},
8873 { SWIG_PY_INT
, (char *)"TrueColor", (long) 4, 0, 0, 0},
8874 { SWIG_PY_INT
, (char *)"DirectColor", (long) 5, 0, 0, 0},
8875 { SWIG_PY_INT
, (char *)"LSBFirst", (long) 0, 0, 0, 0},
8876 { SWIG_PY_INT
, (char *)"MSBFirst", (long) 1, 0, 0, 0},
8886 SWIGEXPORT(void) SWIG_init(void) {
8887 static PyObject
*SWIG_globals
= 0;
8888 static int typeinit
= 0;
8891 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
8892 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
8893 d
= PyModule_GetDict(m
);
8896 for (i
= 0; swig_types_initial
[i
]; i
++) {
8897 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
8901 SWIG_InstallConstants(d
,swig_const_table
);