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_otk__ustring swig_types[31]
680 #define SWIGTYPE_p_std__string swig_types[32]
681 #define SWIGTYPE_p_XCrossingEvent swig_types[33]
682 #define SWIGTYPE_p_otk__Display swig_types[34]
683 #define SWIGTYPE_p_Display swig_types[35]
684 #define SWIGTYPE_p_XMappingEvent swig_types[36]
685 #define SWIGTYPE_p_otk__Style swig_types[37]
686 #define SWIGTYPE_p_otk__EventHandler swig_types[38]
687 #define SWIGTYPE_p_XReparentEvent swig_types[39]
688 #define SWIGTYPE_p_otk__EventDispatcher swig_types[40]
689 #define SWIGTYPE_p_otk__GCCache swig_types[41]
690 #define SWIGTYPE_p_ob__Bindings swig_types[42]
691 #define SWIGTYPE_p_ob__Openbox swig_types[43]
692 #define SWIGTYPE_p_ob__Actions swig_types[44]
693 #define SWIGTYPE_p_XEvent swig_types[45]
694 #define SWIGTYPE_p_otk__Property swig_types[46]
695 #define SWIGTYPE_p_PyObject swig_types[47]
696 #define SWIGTYPE_p_otk__ScreenInfo swig_types[48]
697 #define SWIGTYPE_p_ob__EventData swig_types[49]
698 #define SWIGTYPE_p_XCreateWindowEvent swig_types[50]
699 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[51]
700 #define SWIGTYPE_p_otk__Property__StringVect swig_types[52]
701 #define SWIGTYPE_p_ob__WidgetBase swig_types[53]
702 #define SWIGTYPE_p_otk__Atoms swig_types[54]
703 #define SWIGTYPE_p_XKeyEvent swig_types[55]
704 #define SWIGTYPE_p_otk__Strut swig_types[56]
705 #define SWIGTYPE_p_unsigned_long swig_types[57]
706 #define SWIGTYPE_p_p_unsigned_long swig_types[58]
707 #define SWIGTYPE_p_XMotionEvent swig_types[59]
708 #define SWIGTYPE_p_XButtonEvent swig_types[60]
709 #define SWIGTYPE_p_XSelectionEvent swig_types[61]
710 static swig_type_info
*swig_types
[63];
712 /* -------- TYPES TABLE (END) -------- */
715 /*-----------------------------------------------
716 @(target):= _openbox.so
717 ------------------------------------------------*/
718 #define SWIG_init init_openbox
720 #define SWIG_name "_openbox"
723 # include "../config.h"
726 #include "openbox.hh"
729 #include "bindings.hh"
730 #include "actions.hh"
732 #include "otk/otk.hh"
735 #define SWIG_MemoryError 1
736 #define SWIG_IOError 2
737 #define SWIG_RuntimeError 3
738 #define SWIG_IndexError 4
739 #define SWIG_TypeError 5
740 #define SWIG_DivisionByZero 6
741 #define SWIG_OverflowError 7
742 #define SWIG_SyntaxError 8
743 #define SWIG_ValueError 9
744 #define SWIG_SystemError 10
745 #define SWIG_UnknownError 99
748 static void _SWIG_exception(int code
, const char *msg
) {
750 case SWIG_MemoryError
:
751 PyErr_SetString(PyExc_MemoryError
,msg
);
754 PyErr_SetString(PyExc_IOError
,msg
);
756 case SWIG_RuntimeError
:
757 PyErr_SetString(PyExc_RuntimeError
,msg
);
759 case SWIG_IndexError
:
760 PyErr_SetString(PyExc_IndexError
,msg
);
763 PyErr_SetString(PyExc_TypeError
,msg
);
765 case SWIG_DivisionByZero
:
766 PyErr_SetString(PyExc_ZeroDivisionError
,msg
);
768 case SWIG_OverflowError
:
769 PyErr_SetString(PyExc_OverflowError
,msg
);
771 case SWIG_SyntaxError
:
772 PyErr_SetString(PyExc_SyntaxError
,msg
);
774 case SWIG_ValueError
:
775 PyErr_SetString(PyExc_ValueError
,msg
);
777 case SWIG_SystemError
:
778 PyErr_SetString(PyExc_SystemError
,msg
);
781 PyErr_SetString(PyExc_RuntimeError
,msg
);
786 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
794 PyObject
* SwigInt_FromBool(bool b
) {
795 return PyInt_FromLong(b
? 1L : 0L);
797 double SwigNumber_Check(PyObject
* o
) {
798 return PyFloat_Check(o
) || PyInt_Check(o
);
800 double SwigNumber_AsDouble(PyObject
* o
) {
801 return (PyFloat_Check(o
) ? PyFloat_AsDouble(o
) : double(PyInt_AsLong(o
)));
803 PyObject
* SwigString_FromString(const std::string
& s
) {
804 return PyString_FromString(s
.c_str());
806 std::string
SwigString_AsString(PyObject
* o
) {
807 return std::string(PyString_AsString(o
));
816 ob::Openbox
*Openbox_instance() { return ob::openbox
; }
820 void python_callback(PyObject
*func
, MouseData
*data
)
825 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
826 SWIGTYPE_p_ob__MouseData
,
830 result
= PyEval_CallObject(func
, arglist
);
831 if (!result
|| PyErr_Occurred()) {
832 // an exception occured in the script, display it
840 void python_callback(PyObject
*func
, EventData
*data
)
845 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
846 SWIGTYPE_p_ob__EventData
,
850 result
= PyEval_CallObject(func
, arglist
);
851 if (!result
|| PyErr_Occurred()) {
852 // an exception occured in the script, display it
860 void python_callback(PyObject
*func
, KeyData
*data
)
865 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
866 SWIGTYPE_p_ob__KeyData
,
870 result
= PyEval_CallObject(func
, arglist
);
871 if (!result
|| PyErr_Occurred()) {
872 // an exception occured in the script, display it
886 #include "ustring.hh"
889 otk::Display
*Display_instance() { return otk::display
; }
892 const otk::Atoms
& Property_atoms() { return otk::Property::atoms
; }
894 ob::Client
*ob_Screen_client(ob::Screen
*self
,int i
){
895 if (i
< 0 || i
>= (int)self
->clients
.size())
897 ob::Client::List::iterator it
= self
->clients
.begin();
901 int ob_Screen_clientCount(ob::Screen
const *self
){
902 return (int) self
->clients
.size();
907 static PyObject
*_wrap_Openbox_instance(PyObject
*self
, PyObject
*args
) {
911 if(!PyArg_ParseTuple(args
,(char *)":Openbox_instance")) goto fail
;
912 result
= (ob::Openbox
*)Openbox_instance();
914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Openbox
, 0);
921 static PyObject
*_wrap_Display_instance(PyObject
*self
, PyObject
*args
) {
923 otk::Display
*result
;
925 if(!PyArg_ParseTuple(args
,(char *)":Display_instance")) goto fail
;
926 result
= (otk::Display
*)Display_instance();
928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Display
, 0);
935 static PyObject
*_wrap_Property_atoms(PyObject
*self
, PyObject
*args
) {
939 if(!PyArg_ParseTuple(args
,(char *)":Property_atoms")) goto fail
;
941 otk::Atoms
const &_result_ref
= Property_atoms();
942 result
= (otk::Atoms
*) &_result_ref
;
945 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Atoms
, 0);
952 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
) {
954 otk::Display
*result
;
956 if(!PyArg_ParseTuple(args
,(char *)":new_Display")) goto fail
;
957 result
= (otk::Display
*)new otk::Display();
959 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Display
, 1);
966 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
) {
968 otk::Display
*arg1
= (otk::Display
*) 0 ;
969 PyObject
* obj0
= 0 ;
971 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Display",&obj0
)) goto fail
;
972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
975 Py_INCREF(Py_None
); resultobj
= Py_None
;
982 static PyObject
*_wrap_Display_gcCache(PyObject
*self
, PyObject
*args
) {
984 otk::Display
*arg1
= (otk::Display
*) 0 ;
985 otk::GCCache
*result
;
986 PyObject
* obj0
= 0 ;
988 if(!PyArg_ParseTuple(args
,(char *)"O:Display_gcCache",&obj0
)) goto fail
;
989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
990 result
= (otk::GCCache
*)((otk::Display
const *)arg1
)->gcCache();
992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__GCCache
, 0);
999 static PyObject
*_wrap_Display_screenInfo(PyObject
*self
, PyObject
*args
) {
1000 PyObject
*resultobj
;
1001 otk::Display
*arg1
= (otk::Display
*) 0 ;
1003 otk::ScreenInfo
*result
;
1004 PyObject
* obj0
= 0 ;
1006 if(!PyArg_ParseTuple(args
,(char *)"Oi:Display_screenInfo",&obj0
,&arg2
)) goto fail
;
1007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1008 result
= (otk::ScreenInfo
*)(arg1
)->screenInfo(arg2
);
1010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
1017 static PyObject
*_wrap_Display_findScreen(PyObject
*self
, PyObject
*args
) {
1018 PyObject
*resultobj
;
1019 otk::Display
*arg1
= (otk::Display
*) 0 ;
1021 otk::ScreenInfo
*result
;
1022 PyObject
* obj0
= 0 ;
1023 PyObject
* obj1
= 0 ;
1025 if(!PyArg_ParseTuple(args
,(char *)"OO:Display_findScreen",&obj0
,&obj1
)) goto fail
;
1026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1027 arg2
= (Window
) PyInt_AsLong(obj1
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1029 result
= (otk::ScreenInfo
*)(arg1
)->findScreen(arg2
);
1031 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
1038 static PyObject
*_wrap_Display_xkb(PyObject
*self
, PyObject
*args
) {
1039 PyObject
*resultobj
;
1040 otk::Display
*arg1
= (otk::Display
*) 0 ;
1042 PyObject
* obj0
= 0 ;
1044 if(!PyArg_ParseTuple(args
,(char *)"O:Display_xkb",&obj0
)) goto fail
;
1045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1046 result
= (bool)((otk::Display
const *)arg1
)->xkb();
1048 resultobj
= PyInt_FromLong((long)result
);
1055 static PyObject
*_wrap_Display_xkbEventBase(PyObject
*self
, PyObject
*args
) {
1056 PyObject
*resultobj
;
1057 otk::Display
*arg1
= (otk::Display
*) 0 ;
1059 PyObject
* obj0
= 0 ;
1061 if(!PyArg_ParseTuple(args
,(char *)"O:Display_xkbEventBase",&obj0
)) goto fail
;
1062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1063 result
= (int)((otk::Display
const *)arg1
)->xkbEventBase();
1065 resultobj
= PyInt_FromLong((long)result
);
1072 static PyObject
*_wrap_Display_shape(PyObject
*self
, PyObject
*args
) {
1073 PyObject
*resultobj
;
1074 otk::Display
*arg1
= (otk::Display
*) 0 ;
1076 PyObject
* obj0
= 0 ;
1078 if(!PyArg_ParseTuple(args
,(char *)"O:Display_shape",&obj0
)) goto fail
;
1079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1080 result
= (bool)((otk::Display
const *)arg1
)->shape();
1082 resultobj
= PyInt_FromLong((long)result
);
1089 static PyObject
*_wrap_Display_shapeEventBase(PyObject
*self
, PyObject
*args
) {
1090 PyObject
*resultobj
;
1091 otk::Display
*arg1
= (otk::Display
*) 0 ;
1093 PyObject
* obj0
= 0 ;
1095 if(!PyArg_ParseTuple(args
,(char *)"O:Display_shapeEventBase",&obj0
)) goto fail
;
1096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1097 result
= (int)((otk::Display
const *)arg1
)->shapeEventBase();
1099 resultobj
= PyInt_FromLong((long)result
);
1106 static PyObject
*_wrap_Display_xinerama(PyObject
*self
, PyObject
*args
) {
1107 PyObject
*resultobj
;
1108 otk::Display
*arg1
= (otk::Display
*) 0 ;
1110 PyObject
* obj0
= 0 ;
1112 if(!PyArg_ParseTuple(args
,(char *)"O:Display_xinerama",&obj0
)) goto fail
;
1113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1114 result
= (bool)((otk::Display
const *)arg1
)->xinerama();
1116 resultobj
= PyInt_FromLong((long)result
);
1123 static PyObject
*_wrap_Display_numLockMask(PyObject
*self
, PyObject
*args
) {
1124 PyObject
*resultobj
;
1125 otk::Display
*arg1
= (otk::Display
*) 0 ;
1126 unsigned int result
;
1127 PyObject
* obj0
= 0 ;
1129 if(!PyArg_ParseTuple(args
,(char *)"O:Display_numLockMask",&obj0
)) goto fail
;
1130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1131 result
= (unsigned int)((otk::Display
const *)arg1
)->numLockMask();
1133 resultobj
= PyInt_FromLong((long)result
);
1140 static PyObject
*_wrap_Display_scrollLockMask(PyObject
*self
, PyObject
*args
) {
1141 PyObject
*resultobj
;
1142 otk::Display
*arg1
= (otk::Display
*) 0 ;
1143 unsigned int result
;
1144 PyObject
* obj0
= 0 ;
1146 if(!PyArg_ParseTuple(args
,(char *)"O:Display_scrollLockMask",&obj0
)) goto fail
;
1147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1148 result
= (unsigned int)((otk::Display
const *)arg1
)->scrollLockMask();
1150 resultobj
= PyInt_FromLong((long)result
);
1157 static PyObject
*_wrap_Display___mul__(PyObject
*self
, PyObject
*args
) {
1158 PyObject
*resultobj
;
1159 otk::Display
*arg1
= (otk::Display
*) 0 ;
1161 PyObject
* obj0
= 0 ;
1163 if(!PyArg_ParseTuple(args
,(char *)"O:Display___mul__",&obj0
)) goto fail
;
1164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1165 result
= (Display
*)((otk::Display
const *)arg1
)->operator *();
1167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Display
, 0);
1174 static PyObject
*_wrap_Display_grab(PyObject
*self
, PyObject
*args
) {
1175 PyObject
*resultobj
;
1176 otk::Display
*arg1
= (otk::Display
*) 0 ;
1177 PyObject
* obj0
= 0 ;
1179 if(!PyArg_ParseTuple(args
,(char *)"O:Display_grab",&obj0
)) goto fail
;
1180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1183 Py_INCREF(Py_None
); resultobj
= Py_None
;
1190 static PyObject
*_wrap_Display_ungrab(PyObject
*self
, PyObject
*args
) {
1191 PyObject
*resultobj
;
1192 otk::Display
*arg1
= (otk::Display
*) 0 ;
1193 PyObject
* obj0
= 0 ;
1195 if(!PyArg_ParseTuple(args
,(char *)"O:Display_ungrab",&obj0
)) goto fail
;
1196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1199 Py_INCREF(Py_None
); resultobj
= Py_None
;
1206 static PyObject
*_wrap_Display_grabButton(PyObject
*self
, PyObject
*args
) {
1207 PyObject
*resultobj
;
1208 otk::Display
*arg1
= (otk::Display
*) 0 ;
1219 PyObject
* obj0
= 0 ;
1220 PyObject
* obj1
= 0 ;
1221 PyObject
* obj2
= 0 ;
1222 PyObject
* obj3
= 0 ;
1223 PyObject
* obj4
= 0 ;
1224 PyObject
* obj5
= 0 ;
1225 PyObject
* obj8
= 0 ;
1226 PyObject
* obj9
= 0 ;
1227 PyObject
* obj10
= 0 ;
1229 if(!PyArg_ParseTuple(args
,(char *)"OOOOOOiiOOO:Display_grabButton",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&obj8
,&obj9
,&obj10
)) goto fail
;
1230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1231 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1233 arg3
= (unsigned int) PyInt_AsLong(obj2
);
1234 if (PyErr_Occurred()) SWIG_fail
;
1235 arg4
= (Window
) PyInt_AsLong(obj3
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1237 arg5
= (bool) PyInt_AsLong(obj4
);
1238 if (PyErr_Occurred()) SWIG_fail
;
1239 arg6
= (unsigned int) PyInt_AsLong(obj5
);
1240 if (PyErr_Occurred()) SWIG_fail
;
1241 arg9
= (Window
) PyInt_AsLong(obj8
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1243 arg10
= (Cursor
) PyInt_AsLong(obj9
);
1244 if (PyErr_Occurred()) SWIG_fail
;
1245 arg11
= (bool) PyInt_AsLong(obj10
);
1246 if (PyErr_Occurred()) SWIG_fail
;
1247 ((otk::Display
const *)arg1
)->grabButton(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
);
1249 Py_INCREF(Py_None
); resultobj
= Py_None
;
1256 static PyObject
*_wrap_Display_ungrabButton(PyObject
*self
, PyObject
*args
) {
1257 PyObject
*resultobj
;
1258 otk::Display
*arg1
= (otk::Display
*) 0 ;
1262 PyObject
* obj0
= 0 ;
1263 PyObject
* obj1
= 0 ;
1264 PyObject
* obj2
= 0 ;
1265 PyObject
* obj3
= 0 ;
1267 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Display_ungrabButton",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1269 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1270 if (PyErr_Occurred()) SWIG_fail
;
1271 arg3
= (unsigned int) PyInt_AsLong(obj2
);
1272 if (PyErr_Occurred()) SWIG_fail
;
1273 arg4
= (Window
) PyInt_AsLong(obj3
);
1274 if (PyErr_Occurred()) SWIG_fail
;
1275 ((otk::Display
const *)arg1
)->ungrabButton(arg2
,arg3
,arg4
);
1277 Py_INCREF(Py_None
); resultobj
= Py_None
;
1284 static PyObject
*_wrap_Display_grabKey(PyObject
*self
, PyObject
*args
) {
1285 PyObject
*resultobj
;
1286 otk::Display
*arg1
= (otk::Display
*) 0 ;
1294 PyObject
* obj0
= 0 ;
1295 PyObject
* obj1
= 0 ;
1296 PyObject
* obj2
= 0 ;
1297 PyObject
* obj3
= 0 ;
1298 PyObject
* obj4
= 0 ;
1299 PyObject
* obj7
= 0 ;
1301 if(!PyArg_ParseTuple(args
,(char *)"OOOOOiiO:Display_grabKey",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&obj7
)) goto fail
;
1302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1303 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1305 arg3
= (unsigned int) PyInt_AsLong(obj2
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1307 arg4
= (Window
) PyInt_AsLong(obj3
);
1308 if (PyErr_Occurred()) SWIG_fail
;
1309 arg5
= (bool) PyInt_AsLong(obj4
);
1310 if (PyErr_Occurred()) SWIG_fail
;
1311 arg8
= (bool) PyInt_AsLong(obj7
);
1312 if (PyErr_Occurred()) SWIG_fail
;
1313 ((otk::Display
const *)arg1
)->grabKey(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1315 Py_INCREF(Py_None
); resultobj
= Py_None
;
1322 static PyObject
*_wrap_Display_ungrabKey(PyObject
*self
, PyObject
*args
) {
1323 PyObject
*resultobj
;
1324 otk::Display
*arg1
= (otk::Display
*) 0 ;
1328 PyObject
* obj0
= 0 ;
1329 PyObject
* obj1
= 0 ;
1330 PyObject
* obj2
= 0 ;
1331 PyObject
* obj3
= 0 ;
1333 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Display_ungrabKey",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1335 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1336 if (PyErr_Occurred()) SWIG_fail
;
1337 arg3
= (unsigned int) PyInt_AsLong(obj2
);
1338 if (PyErr_Occurred()) SWIG_fail
;
1339 arg4
= (Window
) PyInt_AsLong(obj3
);
1340 if (PyErr_Occurred()) SWIG_fail
;
1341 ((otk::Display
const *)arg1
)->ungrabKey(arg2
,arg3
,arg4
);
1343 Py_INCREF(Py_None
); resultobj
= Py_None
;
1350 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
1352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1353 SWIG_TypeClientData(SWIGTYPE_p_otk__Display
, obj
);
1355 return Py_BuildValue((char *)"");
1357 static PyObject
*_wrap_new_Point__SWIG_0(PyObject
*self
, PyObject
*args
) {
1358 PyObject
*resultobj
;
1361 if(!PyArg_ParseTuple(args
,(char *)":new_Point")) goto fail
;
1362 result
= (otk::Point
*)new otk::Point();
1364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
1371 static PyObject
*_wrap_new_Point__SWIG_1(PyObject
*self
, PyObject
*args
) {
1372 PyObject
*resultobj
;
1377 if(!PyArg_ParseTuple(args
,(char *)"ii:new_Point",&arg1
,&arg2
)) goto fail
;
1378 result
= (otk::Point
*)new otk::Point(arg1
,arg2
);
1380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
1387 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
) {
1392 argc
= PyObject_Length(args
);
1393 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
1394 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1397 return _wrap_new_Point__SWIG_0(self
,args
);
1402 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
1406 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1409 return _wrap_new_Point__SWIG_1(self
,args
);
1414 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Point'");
1419 static PyObject
*_wrap_Point_setX(PyObject
*self
, PyObject
*args
) {
1420 PyObject
*resultobj
;
1421 otk::Point
*arg1
= (otk::Point
*) 0 ;
1423 PyObject
* obj0
= 0 ;
1425 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setX",&obj0
,&arg2
)) goto fail
;
1426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1429 Py_INCREF(Py_None
); resultobj
= Py_None
;
1436 static PyObject
*_wrap_Point_x(PyObject
*self
, PyObject
*args
) {
1437 PyObject
*resultobj
;
1438 otk::Point
*arg1
= (otk::Point
*) 0 ;
1440 PyObject
* obj0
= 0 ;
1442 if(!PyArg_ParseTuple(args
,(char *)"O:Point_x",&obj0
)) goto fail
;
1443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1444 result
= (int)((otk::Point
const *)arg1
)->x();
1446 resultobj
= PyInt_FromLong((long)result
);
1453 static PyObject
*_wrap_Point_setY(PyObject
*self
, PyObject
*args
) {
1454 PyObject
*resultobj
;
1455 otk::Point
*arg1
= (otk::Point
*) 0 ;
1457 PyObject
* obj0
= 0 ;
1459 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setY",&obj0
,&arg2
)) goto fail
;
1460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1463 Py_INCREF(Py_None
); resultobj
= Py_None
;
1470 static PyObject
*_wrap_Point_y(PyObject
*self
, PyObject
*args
) {
1471 PyObject
*resultobj
;
1472 otk::Point
*arg1
= (otk::Point
*) 0 ;
1474 PyObject
* obj0
= 0 ;
1476 if(!PyArg_ParseTuple(args
,(char *)"O:Point_y",&obj0
)) goto fail
;
1477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1478 result
= (int)((otk::Point
const *)arg1
)->y();
1480 resultobj
= PyInt_FromLong((long)result
);
1487 static PyObject
*_wrap_Point_setPoint(PyObject
*self
, PyObject
*args
) {
1488 PyObject
*resultobj
;
1489 otk::Point
*arg1
= (otk::Point
*) 0 ;
1492 PyObject
* obj0
= 0 ;
1494 if(!PyArg_ParseTuple(args
,(char *)"Oii:Point_setPoint",&obj0
,&arg2
,&arg3
)) goto fail
;
1495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1496 (arg1
)->setPoint(arg2
,arg3
);
1498 Py_INCREF(Py_None
); resultobj
= Py_None
;
1505 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
1507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1508 SWIG_TypeClientData(SWIGTYPE_p_otk__Point
, obj
);
1510 return Py_BuildValue((char *)"");
1512 static PyObject
*_wrap_Atoms_cardinal_set(PyObject
*self
, PyObject
*args
) {
1513 PyObject
*resultobj
;
1514 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1516 PyObject
* obj0
= 0 ;
1517 PyObject
* obj1
= 0 ;
1519 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_cardinal_set",&obj0
,&obj1
)) goto fail
;
1520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1521 arg2
= (Atom
) PyInt_AsLong(obj1
);
1522 if (PyErr_Occurred()) SWIG_fail
;
1523 if (arg1
) (arg1
)->cardinal
= arg2
;
1525 Py_INCREF(Py_None
); resultobj
= Py_None
;
1532 static PyObject
*_wrap_Atoms_cardinal_get(PyObject
*self
, PyObject
*args
) {
1533 PyObject
*resultobj
;
1534 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1536 PyObject
* obj0
= 0 ;
1538 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_cardinal_get",&obj0
)) goto fail
;
1539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1540 result
= (Atom
) ((arg1
)->cardinal
);
1542 resultobj
= PyInt_FromLong((long)result
);
1549 static PyObject
*_wrap_Atoms_window_set(PyObject
*self
, PyObject
*args
) {
1550 PyObject
*resultobj
;
1551 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1553 PyObject
* obj0
= 0 ;
1554 PyObject
* obj1
= 0 ;
1556 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_window_set",&obj0
,&obj1
)) goto fail
;
1557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1558 arg2
= (Atom
) PyInt_AsLong(obj1
);
1559 if (PyErr_Occurred()) SWIG_fail
;
1560 if (arg1
) (arg1
)->window
= arg2
;
1562 Py_INCREF(Py_None
); resultobj
= Py_None
;
1569 static PyObject
*_wrap_Atoms_window_get(PyObject
*self
, PyObject
*args
) {
1570 PyObject
*resultobj
;
1571 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1573 PyObject
* obj0
= 0 ;
1575 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_window_get",&obj0
)) goto fail
;
1576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1577 result
= (Atom
) ((arg1
)->window
);
1579 resultobj
= PyInt_FromLong((long)result
);
1586 static PyObject
*_wrap_Atoms_pixmap_set(PyObject
*self
, PyObject
*args
) {
1587 PyObject
*resultobj
;
1588 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1590 PyObject
* obj0
= 0 ;
1591 PyObject
* obj1
= 0 ;
1593 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_pixmap_set",&obj0
,&obj1
)) goto fail
;
1594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1595 arg2
= (Atom
) PyInt_AsLong(obj1
);
1596 if (PyErr_Occurred()) SWIG_fail
;
1597 if (arg1
) (arg1
)->pixmap
= arg2
;
1599 Py_INCREF(Py_None
); resultobj
= Py_None
;
1606 static PyObject
*_wrap_Atoms_pixmap_get(PyObject
*self
, PyObject
*args
) {
1607 PyObject
*resultobj
;
1608 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1610 PyObject
* obj0
= 0 ;
1612 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_pixmap_get",&obj0
)) goto fail
;
1613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1614 result
= (Atom
) ((arg1
)->pixmap
);
1616 resultobj
= PyInt_FromLong((long)result
);
1623 static PyObject
*_wrap_Atoms_atom_set(PyObject
*self
, PyObject
*args
) {
1624 PyObject
*resultobj
;
1625 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1627 PyObject
* obj0
= 0 ;
1628 PyObject
* obj1
= 0 ;
1630 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_atom_set",&obj0
,&obj1
)) goto fail
;
1631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1632 arg2
= (Atom
) PyInt_AsLong(obj1
);
1633 if (PyErr_Occurred()) SWIG_fail
;
1634 if (arg1
) (arg1
)->atom
= arg2
;
1636 Py_INCREF(Py_None
); resultobj
= Py_None
;
1643 static PyObject
*_wrap_Atoms_atom_get(PyObject
*self
, PyObject
*args
) {
1644 PyObject
*resultobj
;
1645 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1647 PyObject
* obj0
= 0 ;
1649 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_atom_get",&obj0
)) goto fail
;
1650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1651 result
= (Atom
) ((arg1
)->atom
);
1653 resultobj
= PyInt_FromLong((long)result
);
1660 static PyObject
*_wrap_Atoms_string_set(PyObject
*self
, PyObject
*args
) {
1661 PyObject
*resultobj
;
1662 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1664 PyObject
* obj0
= 0 ;
1665 PyObject
* obj1
= 0 ;
1667 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_string_set",&obj0
,&obj1
)) goto fail
;
1668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1669 arg2
= (Atom
) PyInt_AsLong(obj1
);
1670 if (PyErr_Occurred()) SWIG_fail
;
1671 if (arg1
) (arg1
)->string
= arg2
;
1673 Py_INCREF(Py_None
); resultobj
= Py_None
;
1680 static PyObject
*_wrap_Atoms_string_get(PyObject
*self
, PyObject
*args
) {
1681 PyObject
*resultobj
;
1682 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1684 PyObject
* obj0
= 0 ;
1686 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_string_get",&obj0
)) goto fail
;
1687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1688 result
= (Atom
) ((arg1
)->string
);
1690 resultobj
= PyInt_FromLong((long)result
);
1697 static PyObject
*_wrap_Atoms_utf8_set(PyObject
*self
, PyObject
*args
) {
1698 PyObject
*resultobj
;
1699 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1701 PyObject
* obj0
= 0 ;
1702 PyObject
* obj1
= 0 ;
1704 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_utf8_set",&obj0
,&obj1
)) goto fail
;
1705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1706 arg2
= (Atom
) PyInt_AsLong(obj1
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1708 if (arg1
) (arg1
)->utf8
= arg2
;
1710 Py_INCREF(Py_None
); resultobj
= Py_None
;
1717 static PyObject
*_wrap_Atoms_utf8_get(PyObject
*self
, PyObject
*args
) {
1718 PyObject
*resultobj
;
1719 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1721 PyObject
* obj0
= 0 ;
1723 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_utf8_get",&obj0
)) goto fail
;
1724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1725 result
= (Atom
) ((arg1
)->utf8
);
1727 resultobj
= PyInt_FromLong((long)result
);
1734 static PyObject
*_wrap_Atoms_openbox_pid_set(PyObject
*self
, PyObject
*args
) {
1735 PyObject
*resultobj
;
1736 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1738 PyObject
* obj0
= 0 ;
1739 PyObject
* obj1
= 0 ;
1741 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_openbox_pid_set",&obj0
,&obj1
)) goto fail
;
1742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1743 arg2
= (Atom
) PyInt_AsLong(obj1
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1745 if (arg1
) (arg1
)->openbox_pid
= arg2
;
1747 Py_INCREF(Py_None
); resultobj
= Py_None
;
1754 static PyObject
*_wrap_Atoms_openbox_pid_get(PyObject
*self
, PyObject
*args
) {
1755 PyObject
*resultobj
;
1756 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1758 PyObject
* obj0
= 0 ;
1760 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_openbox_pid_get",&obj0
)) goto fail
;
1761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1762 result
= (Atom
) ((arg1
)->openbox_pid
);
1764 resultobj
= PyInt_FromLong((long)result
);
1771 static PyObject
*_wrap_Atoms_wm_colormap_windows_set(PyObject
*self
, PyObject
*args
) {
1772 PyObject
*resultobj
;
1773 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1775 PyObject
* obj0
= 0 ;
1776 PyObject
* obj1
= 0 ;
1778 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_colormap_windows_set",&obj0
,&obj1
)) goto fail
;
1779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1780 arg2
= (Atom
) PyInt_AsLong(obj1
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1782 if (arg1
) (arg1
)->wm_colormap_windows
= arg2
;
1784 Py_INCREF(Py_None
); resultobj
= Py_None
;
1791 static PyObject
*_wrap_Atoms_wm_colormap_windows_get(PyObject
*self
, PyObject
*args
) {
1792 PyObject
*resultobj
;
1793 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1795 PyObject
* obj0
= 0 ;
1797 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_colormap_windows_get",&obj0
)) goto fail
;
1798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1799 result
= (Atom
) ((arg1
)->wm_colormap_windows
);
1801 resultobj
= PyInt_FromLong((long)result
);
1808 static PyObject
*_wrap_Atoms_wm_protocols_set(PyObject
*self
, PyObject
*args
) {
1809 PyObject
*resultobj
;
1810 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1812 PyObject
* obj0
= 0 ;
1813 PyObject
* obj1
= 0 ;
1815 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_protocols_set",&obj0
,&obj1
)) goto fail
;
1816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1817 arg2
= (Atom
) PyInt_AsLong(obj1
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1819 if (arg1
) (arg1
)->wm_protocols
= arg2
;
1821 Py_INCREF(Py_None
); resultobj
= Py_None
;
1828 static PyObject
*_wrap_Atoms_wm_protocols_get(PyObject
*self
, PyObject
*args
) {
1829 PyObject
*resultobj
;
1830 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1832 PyObject
* obj0
= 0 ;
1834 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_protocols_get",&obj0
)) goto fail
;
1835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1836 result
= (Atom
) ((arg1
)->wm_protocols
);
1838 resultobj
= PyInt_FromLong((long)result
);
1845 static PyObject
*_wrap_Atoms_wm_state_set(PyObject
*self
, PyObject
*args
) {
1846 PyObject
*resultobj
;
1847 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1850 PyObject
* obj1
= 0 ;
1852 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_state_set",&obj0
,&obj1
)) goto fail
;
1853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1854 arg2
= (Atom
) PyInt_AsLong(obj1
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1856 if (arg1
) (arg1
)->wm_state
= arg2
;
1858 Py_INCREF(Py_None
); resultobj
= Py_None
;
1865 static PyObject
*_wrap_Atoms_wm_state_get(PyObject
*self
, PyObject
*args
) {
1866 PyObject
*resultobj
;
1867 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1871 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_state_get",&obj0
)) goto fail
;
1872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1873 result
= (Atom
) ((arg1
)->wm_state
);
1875 resultobj
= PyInt_FromLong((long)result
);
1882 static PyObject
*_wrap_Atoms_wm_delete_window_set(PyObject
*self
, PyObject
*args
) {
1883 PyObject
*resultobj
;
1884 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1886 PyObject
* obj0
= 0 ;
1887 PyObject
* obj1
= 0 ;
1889 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_delete_window_set",&obj0
,&obj1
)) goto fail
;
1890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1891 arg2
= (Atom
) PyInt_AsLong(obj1
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1893 if (arg1
) (arg1
)->wm_delete_window
= arg2
;
1895 Py_INCREF(Py_None
); resultobj
= Py_None
;
1902 static PyObject
*_wrap_Atoms_wm_delete_window_get(PyObject
*self
, PyObject
*args
) {
1903 PyObject
*resultobj
;
1904 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1906 PyObject
* obj0
= 0 ;
1908 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_delete_window_get",&obj0
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1910 result
= (Atom
) ((arg1
)->wm_delete_window
);
1912 resultobj
= PyInt_FromLong((long)result
);
1919 static PyObject
*_wrap_Atoms_wm_take_focus_set(PyObject
*self
, PyObject
*args
) {
1920 PyObject
*resultobj
;
1921 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1923 PyObject
* obj0
= 0 ;
1924 PyObject
* obj1
= 0 ;
1926 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_take_focus_set",&obj0
,&obj1
)) goto fail
;
1927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1928 arg2
= (Atom
) PyInt_AsLong(obj1
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1930 if (arg1
) (arg1
)->wm_take_focus
= arg2
;
1932 Py_INCREF(Py_None
); resultobj
= Py_None
;
1939 static PyObject
*_wrap_Atoms_wm_take_focus_get(PyObject
*self
, PyObject
*args
) {
1940 PyObject
*resultobj
;
1941 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1943 PyObject
* obj0
= 0 ;
1945 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_take_focus_get",&obj0
)) goto fail
;
1946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1947 result
= (Atom
) ((arg1
)->wm_take_focus
);
1949 resultobj
= PyInt_FromLong((long)result
);
1956 static PyObject
*_wrap_Atoms_wm_change_state_set(PyObject
*self
, PyObject
*args
) {
1957 PyObject
*resultobj
;
1958 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1960 PyObject
* obj0
= 0 ;
1961 PyObject
* obj1
= 0 ;
1963 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_change_state_set",&obj0
,&obj1
)) goto fail
;
1964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1965 arg2
= (Atom
) PyInt_AsLong(obj1
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1967 if (arg1
) (arg1
)->wm_change_state
= arg2
;
1969 Py_INCREF(Py_None
); resultobj
= Py_None
;
1976 static PyObject
*_wrap_Atoms_wm_change_state_get(PyObject
*self
, PyObject
*args
) {
1977 PyObject
*resultobj
;
1978 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1980 PyObject
* obj0
= 0 ;
1982 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_change_state_get",&obj0
)) goto fail
;
1983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1984 result
= (Atom
) ((arg1
)->wm_change_state
);
1986 resultobj
= PyInt_FromLong((long)result
);
1993 static PyObject
*_wrap_Atoms_wm_name_set(PyObject
*self
, PyObject
*args
) {
1994 PyObject
*resultobj
;
1995 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1997 PyObject
* obj0
= 0 ;
1998 PyObject
* obj1
= 0 ;
2000 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_name_set",&obj0
,&obj1
)) goto fail
;
2001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2002 arg2
= (Atom
) PyInt_AsLong(obj1
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2004 if (arg1
) (arg1
)->wm_name
= arg2
;
2006 Py_INCREF(Py_None
); resultobj
= Py_None
;
2013 static PyObject
*_wrap_Atoms_wm_name_get(PyObject
*self
, PyObject
*args
) {
2014 PyObject
*resultobj
;
2015 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2017 PyObject
* obj0
= 0 ;
2019 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_name_get",&obj0
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2021 result
= (Atom
) ((arg1
)->wm_name
);
2023 resultobj
= PyInt_FromLong((long)result
);
2030 static PyObject
*_wrap_Atoms_wm_icon_name_set(PyObject
*self
, PyObject
*args
) {
2031 PyObject
*resultobj
;
2032 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2034 PyObject
* obj0
= 0 ;
2035 PyObject
* obj1
= 0 ;
2037 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_icon_name_set",&obj0
,&obj1
)) goto fail
;
2038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2039 arg2
= (Atom
) PyInt_AsLong(obj1
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2041 if (arg1
) (arg1
)->wm_icon_name
= arg2
;
2043 Py_INCREF(Py_None
); resultobj
= Py_None
;
2050 static PyObject
*_wrap_Atoms_wm_icon_name_get(PyObject
*self
, PyObject
*args
) {
2051 PyObject
*resultobj
;
2052 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2054 PyObject
* obj0
= 0 ;
2056 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_icon_name_get",&obj0
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2058 result
= (Atom
) ((arg1
)->wm_icon_name
);
2060 resultobj
= PyInt_FromLong((long)result
);
2067 static PyObject
*_wrap_Atoms_wm_class_set(PyObject
*self
, PyObject
*args
) {
2068 PyObject
*resultobj
;
2069 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2071 PyObject
* obj0
= 0 ;
2072 PyObject
* obj1
= 0 ;
2074 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_class_set",&obj0
,&obj1
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2076 arg2
= (Atom
) PyInt_AsLong(obj1
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2078 if (arg1
) (arg1
)->wm_class
= arg2
;
2080 Py_INCREF(Py_None
); resultobj
= Py_None
;
2087 static PyObject
*_wrap_Atoms_wm_class_get(PyObject
*self
, PyObject
*args
) {
2088 PyObject
*resultobj
;
2089 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2091 PyObject
* obj0
= 0 ;
2093 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_class_get",&obj0
)) goto fail
;
2094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2095 result
= (Atom
) ((arg1
)->wm_class
);
2097 resultobj
= PyInt_FromLong((long)result
);
2104 static PyObject
*_wrap_Atoms_wm_window_role_set(PyObject
*self
, PyObject
*args
) {
2105 PyObject
*resultobj
;
2106 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2108 PyObject
* obj0
= 0 ;
2109 PyObject
* obj1
= 0 ;
2111 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_window_role_set",&obj0
,&obj1
)) goto fail
;
2112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2113 arg2
= (Atom
) PyInt_AsLong(obj1
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2115 if (arg1
) (arg1
)->wm_window_role
= arg2
;
2117 Py_INCREF(Py_None
); resultobj
= Py_None
;
2124 static PyObject
*_wrap_Atoms_wm_window_role_get(PyObject
*self
, PyObject
*args
) {
2125 PyObject
*resultobj
;
2126 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2128 PyObject
* obj0
= 0 ;
2130 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_window_role_get",&obj0
)) goto fail
;
2131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2132 result
= (Atom
) ((arg1
)->wm_window_role
);
2134 resultobj
= PyInt_FromLong((long)result
);
2141 static PyObject
*_wrap_Atoms_motif_wm_hints_set(PyObject
*self
, PyObject
*args
) {
2142 PyObject
*resultobj
;
2143 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2145 PyObject
* obj0
= 0 ;
2146 PyObject
* obj1
= 0 ;
2148 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_motif_wm_hints_set",&obj0
,&obj1
)) goto fail
;
2149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2150 arg2
= (Atom
) PyInt_AsLong(obj1
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2152 if (arg1
) (arg1
)->motif_wm_hints
= arg2
;
2154 Py_INCREF(Py_None
); resultobj
= Py_None
;
2161 static PyObject
*_wrap_Atoms_motif_wm_hints_get(PyObject
*self
, PyObject
*args
) {
2162 PyObject
*resultobj
;
2163 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2165 PyObject
* obj0
= 0 ;
2167 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_motif_wm_hints_get",&obj0
)) goto fail
;
2168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2169 result
= (Atom
) ((arg1
)->motif_wm_hints
);
2171 resultobj
= PyInt_FromLong((long)result
);
2178 static PyObject
*_wrap_Atoms_openbox_show_root_menu_set(PyObject
*self
, PyObject
*args
) {
2179 PyObject
*resultobj
;
2180 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2182 PyObject
* obj0
= 0 ;
2183 PyObject
* obj1
= 0 ;
2185 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_openbox_show_root_menu_set",&obj0
,&obj1
)) goto fail
;
2186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2187 arg2
= (Atom
) PyInt_AsLong(obj1
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2189 if (arg1
) (arg1
)->openbox_show_root_menu
= arg2
;
2191 Py_INCREF(Py_None
); resultobj
= Py_None
;
2198 static PyObject
*_wrap_Atoms_openbox_show_root_menu_get(PyObject
*self
, PyObject
*args
) {
2199 PyObject
*resultobj
;
2200 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2202 PyObject
* obj0
= 0 ;
2204 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_openbox_show_root_menu_get",&obj0
)) goto fail
;
2205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2206 result
= (Atom
) ((arg1
)->openbox_show_root_menu
);
2208 resultobj
= PyInt_FromLong((long)result
);
2215 static PyObject
*_wrap_Atoms_openbox_show_workspace_menu_set(PyObject
*self
, PyObject
*args
) {
2216 PyObject
*resultobj
;
2217 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2219 PyObject
* obj0
= 0 ;
2220 PyObject
* obj1
= 0 ;
2222 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_openbox_show_workspace_menu_set",&obj0
,&obj1
)) goto fail
;
2223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2224 arg2
= (Atom
) PyInt_AsLong(obj1
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2226 if (arg1
) (arg1
)->openbox_show_workspace_menu
= arg2
;
2228 Py_INCREF(Py_None
); resultobj
= Py_None
;
2235 static PyObject
*_wrap_Atoms_openbox_show_workspace_menu_get(PyObject
*self
, PyObject
*args
) {
2236 PyObject
*resultobj
;
2237 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2239 PyObject
* obj0
= 0 ;
2241 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_openbox_show_workspace_menu_get",&obj0
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2243 result
= (Atom
) ((arg1
)->openbox_show_workspace_menu
);
2245 resultobj
= PyInt_FromLong((long)result
);
2252 static PyObject
*_wrap_Atoms_net_supported_set(PyObject
*self
, PyObject
*args
) {
2253 PyObject
*resultobj
;
2254 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2256 PyObject
* obj0
= 0 ;
2257 PyObject
* obj1
= 0 ;
2259 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_supported_set",&obj0
,&obj1
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2261 arg2
= (Atom
) PyInt_AsLong(obj1
);
2262 if (PyErr_Occurred()) SWIG_fail
;
2263 if (arg1
) (arg1
)->net_supported
= arg2
;
2265 Py_INCREF(Py_None
); resultobj
= Py_None
;
2272 static PyObject
*_wrap_Atoms_net_supported_get(PyObject
*self
, PyObject
*args
) {
2273 PyObject
*resultobj
;
2274 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2276 PyObject
* obj0
= 0 ;
2278 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_supported_get",&obj0
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2280 result
= (Atom
) ((arg1
)->net_supported
);
2282 resultobj
= PyInt_FromLong((long)result
);
2289 static PyObject
*_wrap_Atoms_net_client_list_set(PyObject
*self
, PyObject
*args
) {
2290 PyObject
*resultobj
;
2291 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2293 PyObject
* obj0
= 0 ;
2294 PyObject
* obj1
= 0 ;
2296 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_client_list_set",&obj0
,&obj1
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2298 arg2
= (Atom
) PyInt_AsLong(obj1
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2300 if (arg1
) (arg1
)->net_client_list
= arg2
;
2302 Py_INCREF(Py_None
); resultobj
= Py_None
;
2309 static PyObject
*_wrap_Atoms_net_client_list_get(PyObject
*self
, PyObject
*args
) {
2310 PyObject
*resultobj
;
2311 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2313 PyObject
* obj0
= 0 ;
2315 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_client_list_get",&obj0
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2317 result
= (Atom
) ((arg1
)->net_client_list
);
2319 resultobj
= PyInt_FromLong((long)result
);
2326 static PyObject
*_wrap_Atoms_net_client_list_stacking_set(PyObject
*self
, PyObject
*args
) {
2327 PyObject
*resultobj
;
2328 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2330 PyObject
* obj0
= 0 ;
2331 PyObject
* obj1
= 0 ;
2333 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_client_list_stacking_set",&obj0
,&obj1
)) goto fail
;
2334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2335 arg2
= (Atom
) PyInt_AsLong(obj1
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2337 if (arg1
) (arg1
)->net_client_list_stacking
= arg2
;
2339 Py_INCREF(Py_None
); resultobj
= Py_None
;
2346 static PyObject
*_wrap_Atoms_net_client_list_stacking_get(PyObject
*self
, PyObject
*args
) {
2347 PyObject
*resultobj
;
2348 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2350 PyObject
* obj0
= 0 ;
2352 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_client_list_stacking_get",&obj0
)) goto fail
;
2353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2354 result
= (Atom
) ((arg1
)->net_client_list_stacking
);
2356 resultobj
= PyInt_FromLong((long)result
);
2363 static PyObject
*_wrap_Atoms_net_number_of_desktops_set(PyObject
*self
, PyObject
*args
) {
2364 PyObject
*resultobj
;
2365 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2368 PyObject
* obj1
= 0 ;
2370 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_number_of_desktops_set",&obj0
,&obj1
)) goto fail
;
2371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2372 arg2
= (Atom
) PyInt_AsLong(obj1
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2374 if (arg1
) (arg1
)->net_number_of_desktops
= arg2
;
2376 Py_INCREF(Py_None
); resultobj
= Py_None
;
2383 static PyObject
*_wrap_Atoms_net_number_of_desktops_get(PyObject
*self
, PyObject
*args
) {
2384 PyObject
*resultobj
;
2385 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2387 PyObject
* obj0
= 0 ;
2389 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_number_of_desktops_get",&obj0
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2391 result
= (Atom
) ((arg1
)->net_number_of_desktops
);
2393 resultobj
= PyInt_FromLong((long)result
);
2400 static PyObject
*_wrap_Atoms_net_desktop_geometry_set(PyObject
*self
, PyObject
*args
) {
2401 PyObject
*resultobj
;
2402 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2404 PyObject
* obj0
= 0 ;
2405 PyObject
* obj1
= 0 ;
2407 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_desktop_geometry_set",&obj0
,&obj1
)) goto fail
;
2408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2409 arg2
= (Atom
) PyInt_AsLong(obj1
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2411 if (arg1
) (arg1
)->net_desktop_geometry
= arg2
;
2413 Py_INCREF(Py_None
); resultobj
= Py_None
;
2420 static PyObject
*_wrap_Atoms_net_desktop_geometry_get(PyObject
*self
, PyObject
*args
) {
2421 PyObject
*resultobj
;
2422 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2426 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_desktop_geometry_get",&obj0
)) goto fail
;
2427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2428 result
= (Atom
) ((arg1
)->net_desktop_geometry
);
2430 resultobj
= PyInt_FromLong((long)result
);
2437 static PyObject
*_wrap_Atoms_net_desktop_viewport_set(PyObject
*self
, PyObject
*args
) {
2438 PyObject
*resultobj
;
2439 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2441 PyObject
* obj0
= 0 ;
2442 PyObject
* obj1
= 0 ;
2444 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_desktop_viewport_set",&obj0
,&obj1
)) goto fail
;
2445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2446 arg2
= (Atom
) PyInt_AsLong(obj1
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2448 if (arg1
) (arg1
)->net_desktop_viewport
= arg2
;
2450 Py_INCREF(Py_None
); resultobj
= Py_None
;
2457 static PyObject
*_wrap_Atoms_net_desktop_viewport_get(PyObject
*self
, PyObject
*args
) {
2458 PyObject
*resultobj
;
2459 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2461 PyObject
* obj0
= 0 ;
2463 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_desktop_viewport_get",&obj0
)) goto fail
;
2464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2465 result
= (Atom
) ((arg1
)->net_desktop_viewport
);
2467 resultobj
= PyInt_FromLong((long)result
);
2474 static PyObject
*_wrap_Atoms_net_current_desktop_set(PyObject
*self
, PyObject
*args
) {
2475 PyObject
*resultobj
;
2476 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2478 PyObject
* obj0
= 0 ;
2479 PyObject
* obj1
= 0 ;
2481 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_current_desktop_set",&obj0
,&obj1
)) goto fail
;
2482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2483 arg2
= (Atom
) PyInt_AsLong(obj1
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2485 if (arg1
) (arg1
)->net_current_desktop
= arg2
;
2487 Py_INCREF(Py_None
); resultobj
= Py_None
;
2494 static PyObject
*_wrap_Atoms_net_current_desktop_get(PyObject
*self
, PyObject
*args
) {
2495 PyObject
*resultobj
;
2496 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2498 PyObject
* obj0
= 0 ;
2500 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_current_desktop_get",&obj0
)) goto fail
;
2501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2502 result
= (Atom
) ((arg1
)->net_current_desktop
);
2504 resultobj
= PyInt_FromLong((long)result
);
2511 static PyObject
*_wrap_Atoms_net_desktop_names_set(PyObject
*self
, PyObject
*args
) {
2512 PyObject
*resultobj
;
2513 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2515 PyObject
* obj0
= 0 ;
2516 PyObject
* obj1
= 0 ;
2518 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_desktop_names_set",&obj0
,&obj1
)) goto fail
;
2519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2520 arg2
= (Atom
) PyInt_AsLong(obj1
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2522 if (arg1
) (arg1
)->net_desktop_names
= arg2
;
2524 Py_INCREF(Py_None
); resultobj
= Py_None
;
2531 static PyObject
*_wrap_Atoms_net_desktop_names_get(PyObject
*self
, PyObject
*args
) {
2532 PyObject
*resultobj
;
2533 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2535 PyObject
* obj0
= 0 ;
2537 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_desktop_names_get",&obj0
)) goto fail
;
2538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2539 result
= (Atom
) ((arg1
)->net_desktop_names
);
2541 resultobj
= PyInt_FromLong((long)result
);
2548 static PyObject
*_wrap_Atoms_net_active_window_set(PyObject
*self
, PyObject
*args
) {
2549 PyObject
*resultobj
;
2550 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2552 PyObject
* obj0
= 0 ;
2553 PyObject
* obj1
= 0 ;
2555 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_active_window_set",&obj0
,&obj1
)) goto fail
;
2556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2557 arg2
= (Atom
) PyInt_AsLong(obj1
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2559 if (arg1
) (arg1
)->net_active_window
= arg2
;
2561 Py_INCREF(Py_None
); resultobj
= Py_None
;
2568 static PyObject
*_wrap_Atoms_net_active_window_get(PyObject
*self
, PyObject
*args
) {
2569 PyObject
*resultobj
;
2570 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2572 PyObject
* obj0
= 0 ;
2574 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_active_window_get",&obj0
)) goto fail
;
2575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2576 result
= (Atom
) ((arg1
)->net_active_window
);
2578 resultobj
= PyInt_FromLong((long)result
);
2585 static PyObject
*_wrap_Atoms_net_workarea_set(PyObject
*self
, PyObject
*args
) {
2586 PyObject
*resultobj
;
2587 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2589 PyObject
* obj0
= 0 ;
2590 PyObject
* obj1
= 0 ;
2592 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_workarea_set",&obj0
,&obj1
)) goto fail
;
2593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2594 arg2
= (Atom
) PyInt_AsLong(obj1
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2596 if (arg1
) (arg1
)->net_workarea
= arg2
;
2598 Py_INCREF(Py_None
); resultobj
= Py_None
;
2605 static PyObject
*_wrap_Atoms_net_workarea_get(PyObject
*self
, PyObject
*args
) {
2606 PyObject
*resultobj
;
2607 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2609 PyObject
* obj0
= 0 ;
2611 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_workarea_get",&obj0
)) goto fail
;
2612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2613 result
= (Atom
) ((arg1
)->net_workarea
);
2615 resultobj
= PyInt_FromLong((long)result
);
2622 static PyObject
*_wrap_Atoms_net_supporting_wm_check_set(PyObject
*self
, PyObject
*args
) {
2623 PyObject
*resultobj
;
2624 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2626 PyObject
* obj0
= 0 ;
2627 PyObject
* obj1
= 0 ;
2629 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_supporting_wm_check_set",&obj0
,&obj1
)) goto fail
;
2630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2631 arg2
= (Atom
) PyInt_AsLong(obj1
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2633 if (arg1
) (arg1
)->net_supporting_wm_check
= arg2
;
2635 Py_INCREF(Py_None
); resultobj
= Py_None
;
2642 static PyObject
*_wrap_Atoms_net_supporting_wm_check_get(PyObject
*self
, PyObject
*args
) {
2643 PyObject
*resultobj
;
2644 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2646 PyObject
* obj0
= 0 ;
2648 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_supporting_wm_check_get",&obj0
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2650 result
= (Atom
) ((arg1
)->net_supporting_wm_check
);
2652 resultobj
= PyInt_FromLong((long)result
);
2659 static PyObject
*_wrap_Atoms_net_close_window_set(PyObject
*self
, PyObject
*args
) {
2660 PyObject
*resultobj
;
2661 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2663 PyObject
* obj0
= 0 ;
2664 PyObject
* obj1
= 0 ;
2666 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_close_window_set",&obj0
,&obj1
)) goto fail
;
2667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2668 arg2
= (Atom
) PyInt_AsLong(obj1
);
2669 if (PyErr_Occurred()) SWIG_fail
;
2670 if (arg1
) (arg1
)->net_close_window
= arg2
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_Atoms_net_close_window_get(PyObject
*self
, PyObject
*args
) {
2680 PyObject
*resultobj
;
2681 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2683 PyObject
* obj0
= 0 ;
2685 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_close_window_get",&obj0
)) goto fail
;
2686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2687 result
= (Atom
) ((arg1
)->net_close_window
);
2689 resultobj
= PyInt_FromLong((long)result
);
2696 static PyObject
*_wrap_Atoms_net_wm_moveresize_set(PyObject
*self
, PyObject
*args
) {
2697 PyObject
*resultobj
;
2698 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2700 PyObject
* obj0
= 0 ;
2701 PyObject
* obj1
= 0 ;
2703 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_set",&obj0
,&obj1
)) goto fail
;
2704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2705 arg2
= (Atom
) PyInt_AsLong(obj1
);
2706 if (PyErr_Occurred()) SWIG_fail
;
2707 if (arg1
) (arg1
)->net_wm_moveresize
= arg2
;
2709 Py_INCREF(Py_None
); resultobj
= Py_None
;
2716 static PyObject
*_wrap_Atoms_net_wm_moveresize_get(PyObject
*self
, PyObject
*args
) {
2717 PyObject
*resultobj
;
2718 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2720 PyObject
* obj0
= 0 ;
2722 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_get",&obj0
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2724 result
= (Atom
) ((arg1
)->net_wm_moveresize
);
2726 resultobj
= PyInt_FromLong((long)result
);
2733 static PyObject
*_wrap_Atoms_net_wm_name_set(PyObject
*self
, PyObject
*args
) {
2734 PyObject
*resultobj
;
2735 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2737 PyObject
* obj0
= 0 ;
2738 PyObject
* obj1
= 0 ;
2740 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_name_set",&obj0
,&obj1
)) goto fail
;
2741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2742 arg2
= (Atom
) PyInt_AsLong(obj1
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2744 if (arg1
) (arg1
)->net_wm_name
= arg2
;
2746 Py_INCREF(Py_None
); resultobj
= Py_None
;
2753 static PyObject
*_wrap_Atoms_net_wm_name_get(PyObject
*self
, PyObject
*args
) {
2754 PyObject
*resultobj
;
2755 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2757 PyObject
* obj0
= 0 ;
2759 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_name_get",&obj0
)) goto fail
;
2760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2761 result
= (Atom
) ((arg1
)->net_wm_name
);
2763 resultobj
= PyInt_FromLong((long)result
);
2770 static PyObject
*_wrap_Atoms_net_wm_visible_name_set(PyObject
*self
, PyObject
*args
) {
2771 PyObject
*resultobj
;
2772 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2774 PyObject
* obj0
= 0 ;
2775 PyObject
* obj1
= 0 ;
2777 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_visible_name_set",&obj0
,&obj1
)) goto fail
;
2778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2779 arg2
= (Atom
) PyInt_AsLong(obj1
);
2780 if (PyErr_Occurred()) SWIG_fail
;
2781 if (arg1
) (arg1
)->net_wm_visible_name
= arg2
;
2783 Py_INCREF(Py_None
); resultobj
= Py_None
;
2790 static PyObject
*_wrap_Atoms_net_wm_visible_name_get(PyObject
*self
, PyObject
*args
) {
2791 PyObject
*resultobj
;
2792 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2794 PyObject
* obj0
= 0 ;
2796 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_visible_name_get",&obj0
)) goto fail
;
2797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2798 result
= (Atom
) ((arg1
)->net_wm_visible_name
);
2800 resultobj
= PyInt_FromLong((long)result
);
2807 static PyObject
*_wrap_Atoms_net_wm_icon_name_set(PyObject
*self
, PyObject
*args
) {
2808 PyObject
*resultobj
;
2809 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2811 PyObject
* obj0
= 0 ;
2812 PyObject
* obj1
= 0 ;
2814 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_icon_name_set",&obj0
,&obj1
)) goto fail
;
2815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2816 arg2
= (Atom
) PyInt_AsLong(obj1
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2818 if (arg1
) (arg1
)->net_wm_icon_name
= arg2
;
2820 Py_INCREF(Py_None
); resultobj
= Py_None
;
2827 static PyObject
*_wrap_Atoms_net_wm_icon_name_get(PyObject
*self
, PyObject
*args
) {
2828 PyObject
*resultobj
;
2829 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2831 PyObject
* obj0
= 0 ;
2833 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_icon_name_get",&obj0
)) goto fail
;
2834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2835 result
= (Atom
) ((arg1
)->net_wm_icon_name
);
2837 resultobj
= PyInt_FromLong((long)result
);
2844 static PyObject
*_wrap_Atoms_net_wm_visible_icon_name_set(PyObject
*self
, PyObject
*args
) {
2845 PyObject
*resultobj
;
2846 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2848 PyObject
* obj0
= 0 ;
2849 PyObject
* obj1
= 0 ;
2851 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_visible_icon_name_set",&obj0
,&obj1
)) goto fail
;
2852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2853 arg2
= (Atom
) PyInt_AsLong(obj1
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2855 if (arg1
) (arg1
)->net_wm_visible_icon_name
= arg2
;
2857 Py_INCREF(Py_None
); resultobj
= Py_None
;
2864 static PyObject
*_wrap_Atoms_net_wm_visible_icon_name_get(PyObject
*self
, PyObject
*args
) {
2865 PyObject
*resultobj
;
2866 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2868 PyObject
* obj0
= 0 ;
2870 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_visible_icon_name_get",&obj0
)) goto fail
;
2871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2872 result
= (Atom
) ((arg1
)->net_wm_visible_icon_name
);
2874 resultobj
= PyInt_FromLong((long)result
);
2881 static PyObject
*_wrap_Atoms_net_wm_desktop_set(PyObject
*self
, PyObject
*args
) {
2882 PyObject
*resultobj
;
2883 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2885 PyObject
* obj0
= 0 ;
2886 PyObject
* obj1
= 0 ;
2888 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_desktop_set",&obj0
,&obj1
)) goto fail
;
2889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2890 arg2
= (Atom
) PyInt_AsLong(obj1
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2892 if (arg1
) (arg1
)->net_wm_desktop
= arg2
;
2894 Py_INCREF(Py_None
); resultobj
= Py_None
;
2901 static PyObject
*_wrap_Atoms_net_wm_desktop_get(PyObject
*self
, PyObject
*args
) {
2902 PyObject
*resultobj
;
2903 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2905 PyObject
* obj0
= 0 ;
2907 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_desktop_get",&obj0
)) goto fail
;
2908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2909 result
= (Atom
) ((arg1
)->net_wm_desktop
);
2911 resultobj
= PyInt_FromLong((long)result
);
2918 static PyObject
*_wrap_Atoms_net_wm_window_type_set(PyObject
*self
, PyObject
*args
) {
2919 PyObject
*resultobj
;
2920 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2922 PyObject
* obj0
= 0 ;
2923 PyObject
* obj1
= 0 ;
2925 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_set",&obj0
,&obj1
)) goto fail
;
2926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2927 arg2
= (Atom
) PyInt_AsLong(obj1
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2929 if (arg1
) (arg1
)->net_wm_window_type
= arg2
;
2931 Py_INCREF(Py_None
); resultobj
= Py_None
;
2938 static PyObject
*_wrap_Atoms_net_wm_window_type_get(PyObject
*self
, PyObject
*args
) {
2939 PyObject
*resultobj
;
2940 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2944 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_get",&obj0
)) goto fail
;
2945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2946 result
= (Atom
) ((arg1
)->net_wm_window_type
);
2948 resultobj
= PyInt_FromLong((long)result
);
2955 static PyObject
*_wrap_Atoms_net_wm_state_set(PyObject
*self
, PyObject
*args
) {
2956 PyObject
*resultobj
;
2957 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2959 PyObject
* obj0
= 0 ;
2960 PyObject
* obj1
= 0 ;
2962 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_set",&obj0
,&obj1
)) goto fail
;
2963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2964 arg2
= (Atom
) PyInt_AsLong(obj1
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2966 if (arg1
) (arg1
)->net_wm_state
= arg2
;
2968 Py_INCREF(Py_None
); resultobj
= Py_None
;
2975 static PyObject
*_wrap_Atoms_net_wm_state_get(PyObject
*self
, PyObject
*args
) {
2976 PyObject
*resultobj
;
2977 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2979 PyObject
* obj0
= 0 ;
2981 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_get",&obj0
)) goto fail
;
2982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2983 result
= (Atom
) ((arg1
)->net_wm_state
);
2985 resultobj
= PyInt_FromLong((long)result
);
2992 static PyObject
*_wrap_Atoms_net_wm_strut_set(PyObject
*self
, PyObject
*args
) {
2993 PyObject
*resultobj
;
2994 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2996 PyObject
* obj0
= 0 ;
2997 PyObject
* obj1
= 0 ;
2999 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_strut_set",&obj0
,&obj1
)) goto fail
;
3000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3001 arg2
= (Atom
) PyInt_AsLong(obj1
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3003 if (arg1
) (arg1
)->net_wm_strut
= arg2
;
3005 Py_INCREF(Py_None
); resultobj
= Py_None
;
3012 static PyObject
*_wrap_Atoms_net_wm_strut_get(PyObject
*self
, PyObject
*args
) {
3013 PyObject
*resultobj
;
3014 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3016 PyObject
* obj0
= 0 ;
3018 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_strut_get",&obj0
)) goto fail
;
3019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3020 result
= (Atom
) ((arg1
)->net_wm_strut
);
3022 resultobj
= PyInt_FromLong((long)result
);
3029 static PyObject
*_wrap_Atoms_net_wm_allowed_actions_set(PyObject
*self
, PyObject
*args
) {
3030 PyObject
*resultobj
;
3031 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3033 PyObject
* obj0
= 0 ;
3034 PyObject
* obj1
= 0 ;
3036 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_allowed_actions_set",&obj0
,&obj1
)) goto fail
;
3037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3038 arg2
= (Atom
) PyInt_AsLong(obj1
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3040 if (arg1
) (arg1
)->net_wm_allowed_actions
= arg2
;
3042 Py_INCREF(Py_None
); resultobj
= Py_None
;
3049 static PyObject
*_wrap_Atoms_net_wm_allowed_actions_get(PyObject
*self
, PyObject
*args
) {
3050 PyObject
*resultobj
;
3051 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3053 PyObject
* obj0
= 0 ;
3055 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_allowed_actions_get",&obj0
)) goto fail
;
3056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3057 result
= (Atom
) ((arg1
)->net_wm_allowed_actions
);
3059 resultobj
= PyInt_FromLong((long)result
);
3066 static PyObject
*_wrap_Atoms_net_wm_window_type_desktop_set(PyObject
*self
, PyObject
*args
) {
3067 PyObject
*resultobj
;
3068 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3070 PyObject
* obj0
= 0 ;
3071 PyObject
* obj1
= 0 ;
3073 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_desktop_set",&obj0
,&obj1
)) goto fail
;
3074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3075 arg2
= (Atom
) PyInt_AsLong(obj1
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3077 if (arg1
) (arg1
)->net_wm_window_type_desktop
= arg2
;
3079 Py_INCREF(Py_None
); resultobj
= Py_None
;
3086 static PyObject
*_wrap_Atoms_net_wm_window_type_desktop_get(PyObject
*self
, PyObject
*args
) {
3087 PyObject
*resultobj
;
3088 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3090 PyObject
* obj0
= 0 ;
3092 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_desktop_get",&obj0
)) goto fail
;
3093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3094 result
= (Atom
) ((arg1
)->net_wm_window_type_desktop
);
3096 resultobj
= PyInt_FromLong((long)result
);
3103 static PyObject
*_wrap_Atoms_net_wm_window_type_dock_set(PyObject
*self
, PyObject
*args
) {
3104 PyObject
*resultobj
;
3105 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3110 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_dock_set",&obj0
,&obj1
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3112 arg2
= (Atom
) PyInt_AsLong(obj1
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3114 if (arg1
) (arg1
)->net_wm_window_type_dock
= arg2
;
3116 Py_INCREF(Py_None
); resultobj
= Py_None
;
3123 static PyObject
*_wrap_Atoms_net_wm_window_type_dock_get(PyObject
*self
, PyObject
*args
) {
3124 PyObject
*resultobj
;
3125 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3127 PyObject
* obj0
= 0 ;
3129 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_dock_get",&obj0
)) goto fail
;
3130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3131 result
= (Atom
) ((arg1
)->net_wm_window_type_dock
);
3133 resultobj
= PyInt_FromLong((long)result
);
3140 static PyObject
*_wrap_Atoms_net_wm_window_type_toolbar_set(PyObject
*self
, PyObject
*args
) {
3141 PyObject
*resultobj
;
3142 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3144 PyObject
* obj0
= 0 ;
3145 PyObject
* obj1
= 0 ;
3147 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_toolbar_set",&obj0
,&obj1
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3149 arg2
= (Atom
) PyInt_AsLong(obj1
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3151 if (arg1
) (arg1
)->net_wm_window_type_toolbar
= arg2
;
3153 Py_INCREF(Py_None
); resultobj
= Py_None
;
3160 static PyObject
*_wrap_Atoms_net_wm_window_type_toolbar_get(PyObject
*self
, PyObject
*args
) {
3161 PyObject
*resultobj
;
3162 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3164 PyObject
* obj0
= 0 ;
3166 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_toolbar_get",&obj0
)) goto fail
;
3167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3168 result
= (Atom
) ((arg1
)->net_wm_window_type_toolbar
);
3170 resultobj
= PyInt_FromLong((long)result
);
3177 static PyObject
*_wrap_Atoms_net_wm_window_type_menu_set(PyObject
*self
, PyObject
*args
) {
3178 PyObject
*resultobj
;
3179 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3181 PyObject
* obj0
= 0 ;
3182 PyObject
* obj1
= 0 ;
3184 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_menu_set",&obj0
,&obj1
)) goto fail
;
3185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3186 arg2
= (Atom
) PyInt_AsLong(obj1
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3188 if (arg1
) (arg1
)->net_wm_window_type_menu
= arg2
;
3190 Py_INCREF(Py_None
); resultobj
= Py_None
;
3197 static PyObject
*_wrap_Atoms_net_wm_window_type_menu_get(PyObject
*self
, PyObject
*args
) {
3198 PyObject
*resultobj
;
3199 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3201 PyObject
* obj0
= 0 ;
3203 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_menu_get",&obj0
)) goto fail
;
3204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3205 result
= (Atom
) ((arg1
)->net_wm_window_type_menu
);
3207 resultobj
= PyInt_FromLong((long)result
);
3214 static PyObject
*_wrap_Atoms_net_wm_window_type_utility_set(PyObject
*self
, PyObject
*args
) {
3215 PyObject
*resultobj
;
3216 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3218 PyObject
* obj0
= 0 ;
3219 PyObject
* obj1
= 0 ;
3221 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_utility_set",&obj0
,&obj1
)) goto fail
;
3222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3223 arg2
= (Atom
) PyInt_AsLong(obj1
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3225 if (arg1
) (arg1
)->net_wm_window_type_utility
= arg2
;
3227 Py_INCREF(Py_None
); resultobj
= Py_None
;
3234 static PyObject
*_wrap_Atoms_net_wm_window_type_utility_get(PyObject
*self
, PyObject
*args
) {
3235 PyObject
*resultobj
;
3236 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3238 PyObject
* obj0
= 0 ;
3240 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_utility_get",&obj0
)) goto fail
;
3241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3242 result
= (Atom
) ((arg1
)->net_wm_window_type_utility
);
3244 resultobj
= PyInt_FromLong((long)result
);
3251 static PyObject
*_wrap_Atoms_net_wm_window_type_splash_set(PyObject
*self
, PyObject
*args
) {
3252 PyObject
*resultobj
;
3253 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3258 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_splash_set",&obj0
,&obj1
)) goto fail
;
3259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3260 arg2
= (Atom
) PyInt_AsLong(obj1
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3262 if (arg1
) (arg1
)->net_wm_window_type_splash
= arg2
;
3264 Py_INCREF(Py_None
); resultobj
= Py_None
;
3271 static PyObject
*_wrap_Atoms_net_wm_window_type_splash_get(PyObject
*self
, PyObject
*args
) {
3272 PyObject
*resultobj
;
3273 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3275 PyObject
* obj0
= 0 ;
3277 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_splash_get",&obj0
)) goto fail
;
3278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3279 result
= (Atom
) ((arg1
)->net_wm_window_type_splash
);
3281 resultobj
= PyInt_FromLong((long)result
);
3288 static PyObject
*_wrap_Atoms_net_wm_window_type_dialog_set(PyObject
*self
, PyObject
*args
) {
3289 PyObject
*resultobj
;
3290 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3292 PyObject
* obj0
= 0 ;
3293 PyObject
* obj1
= 0 ;
3295 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_dialog_set",&obj0
,&obj1
)) goto fail
;
3296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3297 arg2
= (Atom
) PyInt_AsLong(obj1
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3299 if (arg1
) (arg1
)->net_wm_window_type_dialog
= arg2
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3308 static PyObject
*_wrap_Atoms_net_wm_window_type_dialog_get(PyObject
*self
, PyObject
*args
) {
3309 PyObject
*resultobj
;
3310 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3312 PyObject
* obj0
= 0 ;
3314 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_dialog_get",&obj0
)) goto fail
;
3315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3316 result
= (Atom
) ((arg1
)->net_wm_window_type_dialog
);
3318 resultobj
= PyInt_FromLong((long)result
);
3325 static PyObject
*_wrap_Atoms_net_wm_window_type_normal_set(PyObject
*self
, PyObject
*args
) {
3326 PyObject
*resultobj
;
3327 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3329 PyObject
* obj0
= 0 ;
3330 PyObject
* obj1
= 0 ;
3332 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_normal_set",&obj0
,&obj1
)) goto fail
;
3333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3334 arg2
= (Atom
) PyInt_AsLong(obj1
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3336 if (arg1
) (arg1
)->net_wm_window_type_normal
= arg2
;
3338 Py_INCREF(Py_None
); resultobj
= Py_None
;
3345 static PyObject
*_wrap_Atoms_net_wm_window_type_normal_get(PyObject
*self
, PyObject
*args
) {
3346 PyObject
*resultobj
;
3347 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3351 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_normal_get",&obj0
)) goto fail
;
3352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3353 result
= (Atom
) ((arg1
)->net_wm_window_type_normal
);
3355 resultobj
= PyInt_FromLong((long)result
);
3362 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_topleft_set(PyObject
*self
, PyObject
*args
) {
3363 PyObject
*resultobj
;
3364 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3369 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_size_topleft_set",&obj0
,&obj1
)) goto fail
;
3370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3371 arg2
= (Atom
) PyInt_AsLong(obj1
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3373 if (arg1
) (arg1
)->net_wm_moveresize_size_topleft
= arg2
;
3375 Py_INCREF(Py_None
); resultobj
= Py_None
;
3382 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_topleft_get(PyObject
*self
, PyObject
*args
) {
3383 PyObject
*resultobj
;
3384 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3386 PyObject
* obj0
= 0 ;
3388 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_size_topleft_get",&obj0
)) goto fail
;
3389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3390 result
= (Atom
) ((arg1
)->net_wm_moveresize_size_topleft
);
3392 resultobj
= PyInt_FromLong((long)result
);
3399 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_topright_set(PyObject
*self
, PyObject
*args
) {
3400 PyObject
*resultobj
;
3401 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3406 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_size_topright_set",&obj0
,&obj1
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3408 arg2
= (Atom
) PyInt_AsLong(obj1
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3410 if (arg1
) (arg1
)->net_wm_moveresize_size_topright
= arg2
;
3412 Py_INCREF(Py_None
); resultobj
= Py_None
;
3419 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_topright_get(PyObject
*self
, PyObject
*args
) {
3420 PyObject
*resultobj
;
3421 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3423 PyObject
* obj0
= 0 ;
3425 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_size_topright_get",&obj0
)) goto fail
;
3426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3427 result
= (Atom
) ((arg1
)->net_wm_moveresize_size_topright
);
3429 resultobj
= PyInt_FromLong((long)result
);
3436 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_bottomleft_set(PyObject
*self
, PyObject
*args
) {
3437 PyObject
*resultobj
;
3438 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3440 PyObject
* obj0
= 0 ;
3441 PyObject
* obj1
= 0 ;
3443 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_size_bottomleft_set",&obj0
,&obj1
)) goto fail
;
3444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3445 arg2
= (Atom
) PyInt_AsLong(obj1
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3447 if (arg1
) (arg1
)->net_wm_moveresize_size_bottomleft
= arg2
;
3449 Py_INCREF(Py_None
); resultobj
= Py_None
;
3456 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_bottomleft_get(PyObject
*self
, PyObject
*args
) {
3457 PyObject
*resultobj
;
3458 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_size_bottomleft_get",&obj0
)) goto fail
;
3463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3464 result
= (Atom
) ((arg1
)->net_wm_moveresize_size_bottomleft
);
3466 resultobj
= PyInt_FromLong((long)result
);
3473 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_bottomright_set(PyObject
*self
, PyObject
*args
) {
3474 PyObject
*resultobj
;
3475 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3477 PyObject
* obj0
= 0 ;
3478 PyObject
* obj1
= 0 ;
3480 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_size_bottomright_set",&obj0
,&obj1
)) goto fail
;
3481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3482 arg2
= (Atom
) PyInt_AsLong(obj1
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3484 if (arg1
) (arg1
)->net_wm_moveresize_size_bottomright
= arg2
;
3486 Py_INCREF(Py_None
); resultobj
= Py_None
;
3493 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_bottomright_get(PyObject
*self
, PyObject
*args
) {
3494 PyObject
*resultobj
;
3495 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3497 PyObject
* obj0
= 0 ;
3499 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_size_bottomright_get",&obj0
)) goto fail
;
3500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3501 result
= (Atom
) ((arg1
)->net_wm_moveresize_size_bottomright
);
3503 resultobj
= PyInt_FromLong((long)result
);
3510 static PyObject
*_wrap_Atoms_net_wm_moveresize_move_set(PyObject
*self
, PyObject
*args
) {
3511 PyObject
*resultobj
;
3512 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3514 PyObject
* obj0
= 0 ;
3515 PyObject
* obj1
= 0 ;
3517 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_move_set",&obj0
,&obj1
)) goto fail
;
3518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3519 arg2
= (Atom
) PyInt_AsLong(obj1
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3521 if (arg1
) (arg1
)->net_wm_moveresize_move
= arg2
;
3523 Py_INCREF(Py_None
); resultobj
= Py_None
;
3530 static PyObject
*_wrap_Atoms_net_wm_moveresize_move_get(PyObject
*self
, PyObject
*args
) {
3531 PyObject
*resultobj
;
3532 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3534 PyObject
* obj0
= 0 ;
3536 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_move_get",&obj0
)) goto fail
;
3537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3538 result
= (Atom
) ((arg1
)->net_wm_moveresize_move
);
3540 resultobj
= PyInt_FromLong((long)result
);
3547 static PyObject
*_wrap_Atoms_net_wm_action_move_set(PyObject
*self
, PyObject
*args
) {
3548 PyObject
*resultobj
;
3549 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3551 PyObject
* obj0
= 0 ;
3552 PyObject
* obj1
= 0 ;
3554 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_move_set",&obj0
,&obj1
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3556 arg2
= (Atom
) PyInt_AsLong(obj1
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3558 if (arg1
) (arg1
)->net_wm_action_move
= arg2
;
3560 Py_INCREF(Py_None
); resultobj
= Py_None
;
3567 static PyObject
*_wrap_Atoms_net_wm_action_move_get(PyObject
*self
, PyObject
*args
) {
3568 PyObject
*resultobj
;
3569 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3571 PyObject
* obj0
= 0 ;
3573 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_move_get",&obj0
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3575 result
= (Atom
) ((arg1
)->net_wm_action_move
);
3577 resultobj
= PyInt_FromLong((long)result
);
3584 static PyObject
*_wrap_Atoms_net_wm_action_resize_set(PyObject
*self
, PyObject
*args
) {
3585 PyObject
*resultobj
;
3586 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3589 PyObject
* obj1
= 0 ;
3591 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_resize_set",&obj0
,&obj1
)) goto fail
;
3592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3593 arg2
= (Atom
) PyInt_AsLong(obj1
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3595 if (arg1
) (arg1
)->net_wm_action_resize
= arg2
;
3597 Py_INCREF(Py_None
); resultobj
= Py_None
;
3604 static PyObject
*_wrap_Atoms_net_wm_action_resize_get(PyObject
*self
, PyObject
*args
) {
3605 PyObject
*resultobj
;
3606 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3608 PyObject
* obj0
= 0 ;
3610 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_resize_get",&obj0
)) goto fail
;
3611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3612 result
= (Atom
) ((arg1
)->net_wm_action_resize
);
3614 resultobj
= PyInt_FromLong((long)result
);
3621 static PyObject
*_wrap_Atoms_net_wm_action_shade_set(PyObject
*self
, PyObject
*args
) {
3622 PyObject
*resultobj
;
3623 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3625 PyObject
* obj0
= 0 ;
3626 PyObject
* obj1
= 0 ;
3628 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_shade_set",&obj0
,&obj1
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3630 arg2
= (Atom
) PyInt_AsLong(obj1
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3632 if (arg1
) (arg1
)->net_wm_action_shade
= arg2
;
3634 Py_INCREF(Py_None
); resultobj
= Py_None
;
3641 static PyObject
*_wrap_Atoms_net_wm_action_shade_get(PyObject
*self
, PyObject
*args
) {
3642 PyObject
*resultobj
;
3643 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3645 PyObject
* obj0
= 0 ;
3647 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_shade_get",&obj0
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3649 result
= (Atom
) ((arg1
)->net_wm_action_shade
);
3651 resultobj
= PyInt_FromLong((long)result
);
3658 static PyObject
*_wrap_Atoms_net_wm_action_maximize_horz_set(PyObject
*self
, PyObject
*args
) {
3659 PyObject
*resultobj
;
3660 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3662 PyObject
* obj0
= 0 ;
3663 PyObject
* obj1
= 0 ;
3665 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_maximize_horz_set",&obj0
,&obj1
)) goto fail
;
3666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3667 arg2
= (Atom
) PyInt_AsLong(obj1
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3669 if (arg1
) (arg1
)->net_wm_action_maximize_horz
= arg2
;
3671 Py_INCREF(Py_None
); resultobj
= Py_None
;
3678 static PyObject
*_wrap_Atoms_net_wm_action_maximize_horz_get(PyObject
*self
, PyObject
*args
) {
3679 PyObject
*resultobj
;
3680 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3682 PyObject
* obj0
= 0 ;
3684 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_maximize_horz_get",&obj0
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3686 result
= (Atom
) ((arg1
)->net_wm_action_maximize_horz
);
3688 resultobj
= PyInt_FromLong((long)result
);
3695 static PyObject
*_wrap_Atoms_net_wm_action_maximize_vert_set(PyObject
*self
, PyObject
*args
) {
3696 PyObject
*resultobj
;
3697 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3699 PyObject
* obj0
= 0 ;
3700 PyObject
* obj1
= 0 ;
3702 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_maximize_vert_set",&obj0
,&obj1
)) goto fail
;
3703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3704 arg2
= (Atom
) PyInt_AsLong(obj1
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3706 if (arg1
) (arg1
)->net_wm_action_maximize_vert
= arg2
;
3708 Py_INCREF(Py_None
); resultobj
= Py_None
;
3715 static PyObject
*_wrap_Atoms_net_wm_action_maximize_vert_get(PyObject
*self
, PyObject
*args
) {
3716 PyObject
*resultobj
;
3717 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3719 PyObject
* obj0
= 0 ;
3721 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_maximize_vert_get",&obj0
)) goto fail
;
3722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3723 result
= (Atom
) ((arg1
)->net_wm_action_maximize_vert
);
3725 resultobj
= PyInt_FromLong((long)result
);
3732 static PyObject
*_wrap_Atoms_net_wm_action_change_desktop_set(PyObject
*self
, PyObject
*args
) {
3733 PyObject
*resultobj
;
3734 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3736 PyObject
* obj0
= 0 ;
3737 PyObject
* obj1
= 0 ;
3739 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_change_desktop_set",&obj0
,&obj1
)) goto fail
;
3740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3741 arg2
= (Atom
) PyInt_AsLong(obj1
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3743 if (arg1
) (arg1
)->net_wm_action_change_desktop
= arg2
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_Atoms_net_wm_action_change_desktop_get(PyObject
*self
, PyObject
*args
) {
3753 PyObject
*resultobj
;
3754 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3758 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_change_desktop_get",&obj0
)) goto fail
;
3759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3760 result
= (Atom
) ((arg1
)->net_wm_action_change_desktop
);
3762 resultobj
= PyInt_FromLong((long)result
);
3769 static PyObject
*_wrap_Atoms_net_wm_action_close_set(PyObject
*self
, PyObject
*args
) {
3770 PyObject
*resultobj
;
3771 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3776 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_close_set",&obj0
,&obj1
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3778 arg2
= (Atom
) PyInt_AsLong(obj1
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3780 if (arg1
) (arg1
)->net_wm_action_close
= arg2
;
3782 Py_INCREF(Py_None
); resultobj
= Py_None
;
3789 static PyObject
*_wrap_Atoms_net_wm_action_close_get(PyObject
*self
, PyObject
*args
) {
3790 PyObject
*resultobj
;
3791 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3795 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_close_get",&obj0
)) goto fail
;
3796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3797 result
= (Atom
) ((arg1
)->net_wm_action_close
);
3799 resultobj
= PyInt_FromLong((long)result
);
3806 static PyObject
*_wrap_Atoms_net_wm_state_modal_set(PyObject
*self
, PyObject
*args
) {
3807 PyObject
*resultobj
;
3808 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3810 PyObject
* obj0
= 0 ;
3811 PyObject
* obj1
= 0 ;
3813 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_modal_set",&obj0
,&obj1
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3815 arg2
= (Atom
) PyInt_AsLong(obj1
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3817 if (arg1
) (arg1
)->net_wm_state_modal
= arg2
;
3819 Py_INCREF(Py_None
); resultobj
= Py_None
;
3826 static PyObject
*_wrap_Atoms_net_wm_state_modal_get(PyObject
*self
, PyObject
*args
) {
3827 PyObject
*resultobj
;
3828 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3832 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_modal_get",&obj0
)) goto fail
;
3833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3834 result
= (Atom
) ((arg1
)->net_wm_state_modal
);
3836 resultobj
= PyInt_FromLong((long)result
);
3843 static PyObject
*_wrap_Atoms_net_wm_state_sticky_set(PyObject
*self
, PyObject
*args
) {
3844 PyObject
*resultobj
;
3845 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3847 PyObject
* obj0
= 0 ;
3848 PyObject
* obj1
= 0 ;
3850 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_sticky_set",&obj0
,&obj1
)) goto fail
;
3851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3852 arg2
= (Atom
) PyInt_AsLong(obj1
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3854 if (arg1
) (arg1
)->net_wm_state_sticky
= arg2
;
3856 Py_INCREF(Py_None
); resultobj
= Py_None
;
3863 static PyObject
*_wrap_Atoms_net_wm_state_sticky_get(PyObject
*self
, PyObject
*args
) {
3864 PyObject
*resultobj
;
3865 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3869 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_sticky_get",&obj0
)) goto fail
;
3870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3871 result
= (Atom
) ((arg1
)->net_wm_state_sticky
);
3873 resultobj
= PyInt_FromLong((long)result
);
3880 static PyObject
*_wrap_Atoms_net_wm_state_maximized_vert_set(PyObject
*self
, PyObject
*args
) {
3881 PyObject
*resultobj
;
3882 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3884 PyObject
* obj0
= 0 ;
3885 PyObject
* obj1
= 0 ;
3887 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_maximized_vert_set",&obj0
,&obj1
)) goto fail
;
3888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3889 arg2
= (Atom
) PyInt_AsLong(obj1
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3891 if (arg1
) (arg1
)->net_wm_state_maximized_vert
= arg2
;
3893 Py_INCREF(Py_None
); resultobj
= Py_None
;
3900 static PyObject
*_wrap_Atoms_net_wm_state_maximized_vert_get(PyObject
*self
, PyObject
*args
) {
3901 PyObject
*resultobj
;
3902 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3906 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_maximized_vert_get",&obj0
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3908 result
= (Atom
) ((arg1
)->net_wm_state_maximized_vert
);
3910 resultobj
= PyInt_FromLong((long)result
);
3917 static PyObject
*_wrap_Atoms_net_wm_state_maximized_horz_set(PyObject
*self
, PyObject
*args
) {
3918 PyObject
*resultobj
;
3919 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3921 PyObject
* obj0
= 0 ;
3922 PyObject
* obj1
= 0 ;
3924 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_maximized_horz_set",&obj0
,&obj1
)) goto fail
;
3925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3926 arg2
= (Atom
) PyInt_AsLong(obj1
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3928 if (arg1
) (arg1
)->net_wm_state_maximized_horz
= arg2
;
3930 Py_INCREF(Py_None
); resultobj
= Py_None
;
3937 static PyObject
*_wrap_Atoms_net_wm_state_maximized_horz_get(PyObject
*self
, PyObject
*args
) {
3938 PyObject
*resultobj
;
3939 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_maximized_horz_get",&obj0
)) goto fail
;
3944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3945 result
= (Atom
) ((arg1
)->net_wm_state_maximized_horz
);
3947 resultobj
= PyInt_FromLong((long)result
);
3954 static PyObject
*_wrap_Atoms_net_wm_state_shaded_set(PyObject
*self
, PyObject
*args
) {
3955 PyObject
*resultobj
;
3956 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3958 PyObject
* obj0
= 0 ;
3959 PyObject
* obj1
= 0 ;
3961 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_shaded_set",&obj0
,&obj1
)) goto fail
;
3962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3963 arg2
= (Atom
) PyInt_AsLong(obj1
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3965 if (arg1
) (arg1
)->net_wm_state_shaded
= arg2
;
3967 Py_INCREF(Py_None
); resultobj
= Py_None
;
3974 static PyObject
*_wrap_Atoms_net_wm_state_shaded_get(PyObject
*self
, PyObject
*args
) {
3975 PyObject
*resultobj
;
3976 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3978 PyObject
* obj0
= 0 ;
3980 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_shaded_get",&obj0
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3982 result
= (Atom
) ((arg1
)->net_wm_state_shaded
);
3984 resultobj
= PyInt_FromLong((long)result
);
3991 static PyObject
*_wrap_Atoms_net_wm_state_skip_taskbar_set(PyObject
*self
, PyObject
*args
) {
3992 PyObject
*resultobj
;
3993 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3995 PyObject
* obj0
= 0 ;
3996 PyObject
* obj1
= 0 ;
3998 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_skip_taskbar_set",&obj0
,&obj1
)) goto fail
;
3999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4000 arg2
= (Atom
) PyInt_AsLong(obj1
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4002 if (arg1
) (arg1
)->net_wm_state_skip_taskbar
= arg2
;
4004 Py_INCREF(Py_None
); resultobj
= Py_None
;
4011 static PyObject
*_wrap_Atoms_net_wm_state_skip_taskbar_get(PyObject
*self
, PyObject
*args
) {
4012 PyObject
*resultobj
;
4013 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4017 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_skip_taskbar_get",&obj0
)) goto fail
;
4018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4019 result
= (Atom
) ((arg1
)->net_wm_state_skip_taskbar
);
4021 resultobj
= PyInt_FromLong((long)result
);
4028 static PyObject
*_wrap_Atoms_net_wm_state_skip_pager_set(PyObject
*self
, PyObject
*args
) {
4029 PyObject
*resultobj
;
4030 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4033 PyObject
* obj1
= 0 ;
4035 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_skip_pager_set",&obj0
,&obj1
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4037 arg2
= (Atom
) PyInt_AsLong(obj1
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4039 if (arg1
) (arg1
)->net_wm_state_skip_pager
= arg2
;
4041 Py_INCREF(Py_None
); resultobj
= Py_None
;
4048 static PyObject
*_wrap_Atoms_net_wm_state_skip_pager_get(PyObject
*self
, PyObject
*args
) {
4049 PyObject
*resultobj
;
4050 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4052 PyObject
* obj0
= 0 ;
4054 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_skip_pager_get",&obj0
)) goto fail
;
4055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4056 result
= (Atom
) ((arg1
)->net_wm_state_skip_pager
);
4058 resultobj
= PyInt_FromLong((long)result
);
4065 static PyObject
*_wrap_Atoms_net_wm_state_hidden_set(PyObject
*self
, PyObject
*args
) {
4066 PyObject
*resultobj
;
4067 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4069 PyObject
* obj0
= 0 ;
4070 PyObject
* obj1
= 0 ;
4072 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_hidden_set",&obj0
,&obj1
)) goto fail
;
4073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4074 arg2
= (Atom
) PyInt_AsLong(obj1
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4076 if (arg1
) (arg1
)->net_wm_state_hidden
= arg2
;
4078 Py_INCREF(Py_None
); resultobj
= Py_None
;
4085 static PyObject
*_wrap_Atoms_net_wm_state_hidden_get(PyObject
*self
, PyObject
*args
) {
4086 PyObject
*resultobj
;
4087 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4089 PyObject
* obj0
= 0 ;
4091 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_hidden_get",&obj0
)) goto fail
;
4092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4093 result
= (Atom
) ((arg1
)->net_wm_state_hidden
);
4095 resultobj
= PyInt_FromLong((long)result
);
4102 static PyObject
*_wrap_Atoms_net_wm_state_fullscreen_set(PyObject
*self
, PyObject
*args
) {
4103 PyObject
*resultobj
;
4104 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_fullscreen_set",&obj0
,&obj1
)) goto fail
;
4110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4111 arg2
= (Atom
) PyInt_AsLong(obj1
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4113 if (arg1
) (arg1
)->net_wm_state_fullscreen
= arg2
;
4115 Py_INCREF(Py_None
); resultobj
= Py_None
;
4122 static PyObject
*_wrap_Atoms_net_wm_state_fullscreen_get(PyObject
*self
, PyObject
*args
) {
4123 PyObject
*resultobj
;
4124 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4126 PyObject
* obj0
= 0 ;
4128 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_fullscreen_get",&obj0
)) goto fail
;
4129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4130 result
= (Atom
) ((arg1
)->net_wm_state_fullscreen
);
4132 resultobj
= PyInt_FromLong((long)result
);
4139 static PyObject
*_wrap_Atoms_net_wm_state_above_set(PyObject
*self
, PyObject
*args
) {
4140 PyObject
*resultobj
;
4141 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4143 PyObject
* obj0
= 0 ;
4144 PyObject
* obj1
= 0 ;
4146 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_above_set",&obj0
,&obj1
)) goto fail
;
4147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4148 arg2
= (Atom
) PyInt_AsLong(obj1
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4150 if (arg1
) (arg1
)->net_wm_state_above
= arg2
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_Atoms_net_wm_state_above_get(PyObject
*self
, PyObject
*args
) {
4160 PyObject
*resultobj
;
4161 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4163 PyObject
* obj0
= 0 ;
4165 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_above_get",&obj0
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4167 result
= (Atom
) ((arg1
)->net_wm_state_above
);
4169 resultobj
= PyInt_FromLong((long)result
);
4176 static PyObject
*_wrap_Atoms_net_wm_state_below_set(PyObject
*self
, PyObject
*args
) {
4177 PyObject
*resultobj
;
4178 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4180 PyObject
* obj0
= 0 ;
4181 PyObject
* obj1
= 0 ;
4183 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_below_set",&obj0
,&obj1
)) goto fail
;
4184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4185 arg2
= (Atom
) PyInt_AsLong(obj1
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4187 if (arg1
) (arg1
)->net_wm_state_below
= arg2
;
4189 Py_INCREF(Py_None
); resultobj
= Py_None
;
4196 static PyObject
*_wrap_Atoms_net_wm_state_below_get(PyObject
*self
, PyObject
*args
) {
4197 PyObject
*resultobj
;
4198 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4200 PyObject
* obj0
= 0 ;
4202 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_below_get",&obj0
)) goto fail
;
4203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4204 result
= (Atom
) ((arg1
)->net_wm_state_below
);
4206 resultobj
= PyInt_FromLong((long)result
);
4213 static PyObject
*_wrap_Atoms_kde_net_system_tray_windows_set(PyObject
*self
, PyObject
*args
) {
4214 PyObject
*resultobj
;
4215 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4217 PyObject
* obj0
= 0 ;
4218 PyObject
* obj1
= 0 ;
4220 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_kde_net_system_tray_windows_set",&obj0
,&obj1
)) goto fail
;
4221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4222 arg2
= (Atom
) PyInt_AsLong(obj1
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4224 if (arg1
) (arg1
)->kde_net_system_tray_windows
= arg2
;
4226 Py_INCREF(Py_None
); resultobj
= Py_None
;
4233 static PyObject
*_wrap_Atoms_kde_net_system_tray_windows_get(PyObject
*self
, PyObject
*args
) {
4234 PyObject
*resultobj
;
4235 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4237 PyObject
* obj0
= 0 ;
4239 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_kde_net_system_tray_windows_get",&obj0
)) goto fail
;
4240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4241 result
= (Atom
) ((arg1
)->kde_net_system_tray_windows
);
4243 resultobj
= PyInt_FromLong((long)result
);
4250 static PyObject
*_wrap_Atoms_kde_net_wm_system_tray_window_for_set(PyObject
*self
, PyObject
*args
) {
4251 PyObject
*resultobj
;
4252 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4254 PyObject
* obj0
= 0 ;
4255 PyObject
* obj1
= 0 ;
4257 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_kde_net_wm_system_tray_window_for_set",&obj0
,&obj1
)) goto fail
;
4258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4259 arg2
= (Atom
) PyInt_AsLong(obj1
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4261 if (arg1
) (arg1
)->kde_net_wm_system_tray_window_for
= arg2
;
4263 Py_INCREF(Py_None
); resultobj
= Py_None
;
4270 static PyObject
*_wrap_Atoms_kde_net_wm_system_tray_window_for_get(PyObject
*self
, PyObject
*args
) {
4271 PyObject
*resultobj
;
4272 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4274 PyObject
* obj0
= 0 ;
4276 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_kde_net_wm_system_tray_window_for_get",&obj0
)) goto fail
;
4277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4278 result
= (Atom
) ((arg1
)->kde_net_wm_system_tray_window_for
);
4280 resultobj
= PyInt_FromLong((long)result
);
4287 static PyObject
*_wrap_Atoms_kde_net_wm_window_type_override_set(PyObject
*self
, PyObject
*args
) {
4288 PyObject
*resultobj
;
4289 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4291 PyObject
* obj0
= 0 ;
4292 PyObject
* obj1
= 0 ;
4294 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_kde_net_wm_window_type_override_set",&obj0
,&obj1
)) goto fail
;
4295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4296 arg2
= (Atom
) PyInt_AsLong(obj1
);
4297 if (PyErr_Occurred()) SWIG_fail
;
4298 if (arg1
) (arg1
)->kde_net_wm_window_type_override
= arg2
;
4300 Py_INCREF(Py_None
); resultobj
= Py_None
;
4307 static PyObject
*_wrap_Atoms_kde_net_wm_window_type_override_get(PyObject
*self
, PyObject
*args
) {
4308 PyObject
*resultobj
;
4309 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4311 PyObject
* obj0
= 0 ;
4313 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_kde_net_wm_window_type_override_get",&obj0
)) goto fail
;
4314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4315 result
= (Atom
) ((arg1
)->kde_net_wm_window_type_override
);
4317 resultobj
= PyInt_FromLong((long)result
);
4324 static PyObject
* Atoms_swigregister(PyObject
*self
, PyObject
*args
) {
4326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4327 SWIG_TypeClientData(SWIGTYPE_p_otk__Atoms
, obj
);
4329 return Py_BuildValue((char *)"");
4331 static PyObject
*_wrap_Property_initialize(PyObject
*self
, PyObject
*args
) {
4332 PyObject
*resultobj
;
4334 if(!PyArg_ParseTuple(args
,(char *)":Property_initialize")) goto fail
;
4335 otk::Property::initialize();
4337 Py_INCREF(Py_None
); resultobj
= Py_None
;
4344 static PyObject
*_wrap_Property_set__SWIG_0(PyObject
*self
, PyObject
*args
) {
4345 PyObject
*resultobj
;
4349 unsigned long arg4
;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4352 PyObject
* obj2
= 0 ;
4353 PyObject
* obj3
= 0 ;
4355 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Property_set",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4356 arg1
= (Window
) PyInt_AsLong(obj0
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4358 arg2
= (Atom
) PyInt_AsLong(obj1
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4360 arg3
= (Atom
) PyInt_AsLong(obj2
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4362 arg4
= (unsigned long) PyInt_AsLong(obj3
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4364 otk::Property::set(arg1
,arg2
,arg3
,arg4
);
4366 Py_INCREF(Py_None
); resultobj
= Py_None
;
4373 static PyObject
*_wrap_Property_set__SWIG_1(PyObject
*self
, PyObject
*args
) {
4374 PyObject
*resultobj
;
4378 unsigned long *arg4
;
4380 PyObject
* obj0
= 0 ;
4381 PyObject
* obj1
= 0 ;
4382 PyObject
* obj2
= 0 ;
4383 PyObject
* obj3
= 0 ;
4385 if(!PyArg_ParseTuple(args
,(char *)"OOOOi:Property_set",&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
4386 arg1
= (Window
) PyInt_AsLong(obj0
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4388 arg2
= (Atom
) PyInt_AsLong(obj1
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4390 arg3
= (Atom
) PyInt_AsLong(obj2
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4392 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4393 otk::Property::set(arg1
,arg2
,arg3
,arg4
,arg5
);
4395 Py_INCREF(Py_None
); resultobj
= Py_None
;
4402 static PyObject
*_wrap_Property_set__SWIG_2(PyObject
*self
, PyObject
*args
) {
4403 PyObject
*resultobj
;
4407 otk::ustring
*arg4
= 0 ;
4408 otk::ustring temp4
;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4411 PyObject
* obj3
= 0 ;
4413 if(!PyArg_ParseTuple(args
,(char *)"OOiO:Property_set",&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4414 arg1
= (Window
) PyInt_AsLong(obj0
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4416 arg2
= (Atom
) PyInt_AsLong(obj1
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 if (PyString_Check(obj3
)) {
4420 temp4
= otk::ustring(PyString_AsString(obj3
));
4423 SWIG_exception(SWIG_TypeError
, "ustring expected");
4426 otk::Property::set(arg1
,arg2
,(otk::Property::StringType
)arg3
,(otk::ustring
const &)*arg4
);
4428 Py_INCREF(Py_None
); resultobj
= Py_None
;
4435 static PyObject
*_wrap_Property_set__SWIG_3(PyObject
*self
, PyObject
*args
) {
4436 PyObject
*resultobj
;
4440 otk::Property::StringVect
*arg4
= 0 ;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4443 PyObject
* obj3
= 0 ;
4445 if(!PyArg_ParseTuple(args
,(char *)"OOiO:Property_set",&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4446 arg1
= (Window
) PyInt_AsLong(obj0
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4448 arg2
= (Atom
) PyInt_AsLong(obj1
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4450 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__Property__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4454 otk::Property::set(arg1
,arg2
,(otk::Property::StringType
)arg3
,(otk::Property::StringVect
const &)*arg4
);
4456 Py_INCREF(Py_None
); resultobj
= Py_None
;
4463 static PyObject
*_wrap_Property_set(PyObject
*self
, PyObject
*args
) {
4468 argc
= PyObject_Length(args
);
4469 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
4470 argv
[ii
] = PyTuple_GetItem(args
,ii
);
4475 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4479 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4483 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4488 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_otk__Property__StringVect
, 0) == -1) {
4496 return _wrap_Property_set__SWIG_3(self
,args
);
4505 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4509 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4513 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4517 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
4520 return _wrap_Property_set__SWIG_0(self
,args
);
4529 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4533 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4537 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4541 _v
= PyString_Check(argv
[3]) ? 1 : 0;
4544 return _wrap_Property_set__SWIG_2(self
,args
);
4553 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4557 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4561 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4566 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
4575 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
4578 return _wrap_Property_set__SWIG_1(self
,args
);
4586 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Property_set'");
4591 static PyObject
*_wrap_Property_get__SWIG_0(PyObject
*self
, PyObject
*args
) {
4592 PyObject
*resultobj
;
4596 unsigned long *arg4
= (unsigned long *) 0 ;
4597 unsigned long **arg5
= (unsigned long **) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4601 PyObject
* obj2
= 0 ;
4602 PyObject
* obj3
= 0 ;
4603 PyObject
* obj4
= 0 ;
4605 if(!PyArg_ParseTuple(args
,(char *)"OOOOO:Property_get",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4606 arg1
= (Window
) PyInt_AsLong(obj0
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4608 arg2
= (Atom
) PyInt_AsLong(obj1
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4610 arg3
= (Atom
) PyInt_AsLong(obj2
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4612 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4613 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4614 result
= (bool)otk::Property::get(arg1
,arg2
,arg3
,arg4
,arg5
);
4616 resultobj
= PyInt_FromLong((long)result
);
4623 static PyObject
*_wrap_Property_get__SWIG_1(PyObject
*self
, PyObject
*args
) {
4624 PyObject
*resultobj
;
4628 unsigned long *arg4
= (unsigned long *) 0 ;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4632 PyObject
* obj2
= 0 ;
4633 PyObject
* obj3
= 0 ;
4635 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Property_get",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4636 arg1
= (Window
) PyInt_AsLong(obj0
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4638 arg2
= (Atom
) PyInt_AsLong(obj1
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4640 arg3
= (Atom
) PyInt_AsLong(obj2
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4642 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4643 result
= (bool)otk::Property::get(arg1
,arg2
,arg3
,arg4
);
4645 resultobj
= PyInt_FromLong((long)result
);
4652 static PyObject
*_wrap_Property_get__SWIG_2(PyObject
*self
, PyObject
*args
) {
4653 PyObject
*resultobj
;
4657 otk::ustring
*arg4
= (otk::ustring
*) 0 ;
4659 PyObject
* obj0
= 0 ;
4660 PyObject
* obj1
= 0 ;
4661 PyObject
* obj3
= 0 ;
4663 if(!PyArg_ParseTuple(args
,(char *)"OOiO:Property_get",&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4664 arg1
= (Window
) PyInt_AsLong(obj0
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4666 arg2
= (Atom
) PyInt_AsLong(obj1
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4668 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__ustring
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4669 result
= (bool)otk::Property::get(arg1
,arg2
,(otk::Property::StringType
)arg3
,arg4
);
4671 resultobj
= PyInt_FromLong((long)result
);
4678 static PyObject
*_wrap_Property_get__SWIG_3(PyObject
*self
, PyObject
*args
) {
4679 PyObject
*resultobj
;
4683 unsigned long *arg4
= (unsigned long *) 0 ;
4684 otk::Property::StringVect
*arg5
= (otk::Property::StringVect
*) 0 ;
4686 PyObject
* obj0
= 0 ;
4687 PyObject
* obj1
= 0 ;
4688 PyObject
* obj3
= 0 ;
4689 PyObject
* obj4
= 0 ;
4691 if(!PyArg_ParseTuple(args
,(char *)"OOiOO:Property_get",&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
4692 arg1
= (Window
) PyInt_AsLong(obj0
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4694 arg2
= (Atom
) PyInt_AsLong(obj1
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4696 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4697 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_otk__Property__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4698 result
= (bool)otk::Property::get(arg1
,arg2
,(otk::Property::StringType
)arg3
,arg4
,arg5
);
4700 resultobj
= PyInt_FromLong((long)result
);
4707 static PyObject
*_wrap_Property_get(PyObject
*self
, PyObject
*args
) {
4712 argc
= PyObject_Length(args
);
4713 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
4714 argv
[ii
] = PyTuple_GetItem(args
,ii
);
4719 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4723 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4727 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4732 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
4740 return _wrap_Property_get__SWIG_1(self
,args
);
4749 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4753 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4757 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4762 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_otk__ustring
, 0) == -1) {
4770 return _wrap_Property_get__SWIG_2(self
,args
);
4779 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4783 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4787 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4792 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
4802 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_p_unsigned_long
, 0) == -1) {
4810 return _wrap_Property_get__SWIG_0(self
,args
);
4820 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4824 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4828 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4833 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
4843 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_otk__Property__StringVect
, 0) == -1) {
4851 return _wrap_Property_get__SWIG_3(self
,args
);
4859 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Property_get'");
4864 static PyObject
*_wrap_Property_erase(PyObject
*self
, PyObject
*args
) {
4865 PyObject
*resultobj
;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4871 if(!PyArg_ParseTuple(args
,(char *)"OO:Property_erase",&obj0
,&obj1
)) goto fail
;
4872 arg1
= (Window
) PyInt_AsLong(obj0
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4874 arg2
= (Atom
) PyInt_AsLong(obj1
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4876 otk::Property::erase(arg1
,arg2
);
4878 Py_INCREF(Py_None
); resultobj
= Py_None
;
4885 static PyObject
* Property_swigregister(PyObject
*self
, PyObject
*args
) {
4887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4888 SWIG_TypeClientData(SWIGTYPE_p_otk__Property
, obj
);
4890 return Py_BuildValue((char *)"");
4892 static PyObject
*_wrap_new_Rect__SWIG_0(PyObject
*self
, PyObject
*args
) {
4893 PyObject
*resultobj
;
4896 if(!PyArg_ParseTuple(args
,(char *)":new_Rect")) goto fail
;
4897 result
= (otk::Rect
*)new otk::Rect();
4899 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
4906 static PyObject
*_wrap_new_Rect__SWIG_1(PyObject
*self
, PyObject
*args
) {
4907 PyObject
*resultobj
;
4914 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Rect",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
4915 result
= (otk::Rect
*)new otk::Rect(arg1
,arg2
,arg3
,arg4
);
4917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
4924 static PyObject
*_wrap_new_Rect__SWIG_2(PyObject
*self
, PyObject
*args
) {
4925 PyObject
*resultobj
;
4926 otk::Point
*arg1
= 0 ;
4927 otk::Point
*arg2
= 0 ;
4929 PyObject
* obj0
= 0 ;
4930 PyObject
* obj1
= 0 ;
4932 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Rect",&obj0
,&obj1
)) goto fail
;
4933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4935 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4939 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4941 result
= (otk::Rect
*)new otk::Rect((otk::Point
const &)*arg1
,(otk::Point
const &)*arg2
);
4943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
4950 static PyObject
*_wrap_new_Rect__SWIG_3(PyObject
*self
, PyObject
*args
) {
4951 PyObject
*resultobj
;
4952 otk::Rect
*arg1
= 0 ;
4954 PyObject
* obj0
= 0 ;
4956 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4959 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4961 result
= (otk::Rect
*)new otk::Rect((otk::Rect
const &)*arg1
);
4963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
4970 static PyObject
*_wrap_new_Rect__SWIG_4(PyObject
*self
, PyObject
*args
) {
4971 PyObject
*resultobj
;
4972 XRectangle
*arg1
= 0 ;
4974 PyObject
* obj0
= 0 ;
4976 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_XRectangle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4979 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4981 result
= (otk::Rect
*)new otk::Rect((XRectangle
const &)*arg1
);
4983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
4990 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
) {
4995 argc
= PyObject_Length(args
);
4996 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
4997 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5000 return _wrap_new_Rect__SWIG_0(self
,args
);
5006 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5014 return _wrap_new_Rect__SWIG_3(self
,args
);
5021 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_XRectangle
, 0) == -1) {
5029 return _wrap_new_Rect__SWIG_4(self
,args
);
5036 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5046 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5054 return _wrap_new_Rect__SWIG_2(self
,args
);
5061 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
5065 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
5069 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
5073 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5076 return _wrap_new_Rect__SWIG_1(self
,args
);
5083 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Rect'");
5088 static PyObject
*_wrap_Rect_left(PyObject
*self
, PyObject
*args
) {
5089 PyObject
*resultobj
;
5090 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5092 PyObject
* obj0
= 0 ;
5094 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_left",&obj0
)) goto fail
;
5095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5096 result
= (int)((otk::Rect
const *)arg1
)->left();
5098 resultobj
= PyInt_FromLong((long)result
);
5105 static PyObject
*_wrap_Rect_top(PyObject
*self
, PyObject
*args
) {
5106 PyObject
*resultobj
;
5107 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5109 PyObject
* obj0
= 0 ;
5111 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_top",&obj0
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5113 result
= (int)((otk::Rect
const *)arg1
)->top();
5115 resultobj
= PyInt_FromLong((long)result
);
5122 static PyObject
*_wrap_Rect_right(PyObject
*self
, PyObject
*args
) {
5123 PyObject
*resultobj
;
5124 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5128 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_right",&obj0
)) goto fail
;
5129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5130 result
= (int)((otk::Rect
const *)arg1
)->right();
5132 resultobj
= PyInt_FromLong((long)result
);
5139 static PyObject
*_wrap_Rect_bottom(PyObject
*self
, PyObject
*args
) {
5140 PyObject
*resultobj
;
5141 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5145 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_bottom",&obj0
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5147 result
= (int)((otk::Rect
const *)arg1
)->bottom();
5149 resultobj
= PyInt_FromLong((long)result
);
5156 static PyObject
*_wrap_Rect_x(PyObject
*self
, PyObject
*args
) {
5157 PyObject
*resultobj
;
5158 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5162 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_x",&obj0
)) goto fail
;
5163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5164 result
= (int)((otk::Rect
const *)arg1
)->x();
5166 resultobj
= PyInt_FromLong((long)result
);
5173 static PyObject
*_wrap_Rect_y(PyObject
*self
, PyObject
*args
) {
5174 PyObject
*resultobj
;
5175 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5177 PyObject
* obj0
= 0 ;
5179 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_y",&obj0
)) goto fail
;
5180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5181 result
= (int)((otk::Rect
const *)arg1
)->y();
5183 resultobj
= PyInt_FromLong((long)result
);
5190 static PyObject
*_wrap_Rect_location(PyObject
*self
, PyObject
*args
) {
5191 PyObject
*resultobj
;
5192 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_location",&obj0
)) goto fail
;
5197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5198 result
= ((otk::Rect
const *)arg1
)->location();
5201 otk::Point
* resultptr
;
5202 resultptr
= new otk::Point((otk::Point
&) result
);
5203 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
5211 static PyObject
*_wrap_Rect_setX(PyObject
*self
, PyObject
*args
) {
5212 PyObject
*resultobj
;
5213 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5215 PyObject
* obj0
= 0 ;
5217 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setX",&obj0
,&arg2
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5221 Py_INCREF(Py_None
); resultobj
= Py_None
;
5228 static PyObject
*_wrap_Rect_setY(PyObject
*self
, PyObject
*args
) {
5229 PyObject
*resultobj
;
5230 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5232 PyObject
* obj0
= 0 ;
5234 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setY",&obj0
,&arg2
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5238 Py_INCREF(Py_None
); resultobj
= Py_None
;
5245 static PyObject
*_wrap_Rect_setPos__SWIG_0(PyObject
*self
, PyObject
*args
) {
5246 PyObject
*resultobj
;
5247 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5250 PyObject
* obj0
= 0 ;
5252 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setPos",&obj0
,&arg2
,&arg3
)) goto fail
;
5253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5254 (arg1
)->setPos(arg2
,arg3
);
5256 Py_INCREF(Py_None
); resultobj
= Py_None
;
5263 static PyObject
*_wrap_Rect_setPos__SWIG_1(PyObject
*self
, PyObject
*args
) {
5264 PyObject
*resultobj
;
5265 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5266 otk::Point
*arg2
= 0 ;
5267 PyObject
* obj0
= 0 ;
5268 PyObject
* obj1
= 0 ;
5270 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setPos",&obj0
,&obj1
)) goto fail
;
5271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5274 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5276 (arg1
)->setPos((otk::Point
const &)*arg2
);
5278 Py_INCREF(Py_None
); resultobj
= Py_None
;
5285 static PyObject
*_wrap_Rect_setPos(PyObject
*self
, PyObject
*args
) {
5290 argc
= PyObject_Length(args
);
5291 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
5292 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5298 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5308 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5316 return _wrap_Rect_setPos__SWIG_1(self
,args
);
5324 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5333 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
5337 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
5340 return _wrap_Rect_setPos__SWIG_0(self
,args
);
5346 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setPos'");
5351 static PyObject
*_wrap_Rect_width(PyObject
*self
, PyObject
*args
) {
5352 PyObject
*resultobj
;
5353 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5355 PyObject
* obj0
= 0 ;
5357 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_width",&obj0
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5359 result
= (int)((otk::Rect
const *)arg1
)->width();
5361 resultobj
= PyInt_FromLong((long)result
);
5368 static PyObject
*_wrap_Rect_height(PyObject
*self
, PyObject
*args
) {
5369 PyObject
*resultobj
;
5370 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5372 PyObject
* obj0
= 0 ;
5374 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_height",&obj0
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5376 result
= (int)((otk::Rect
const *)arg1
)->height();
5378 resultobj
= PyInt_FromLong((long)result
);
5385 static PyObject
*_wrap_Rect_size(PyObject
*self
, PyObject
*args
) {
5386 PyObject
*resultobj
;
5387 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5391 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_size",&obj0
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5393 result
= ((otk::Rect
const *)arg1
)->size();
5396 otk::Point
* resultptr
;
5397 resultptr
= new otk::Point((otk::Point
&) result
);
5398 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
5406 static PyObject
*_wrap_Rect_setWidth(PyObject
*self
, PyObject
*args
) {
5407 PyObject
*resultobj
;
5408 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5410 PyObject
* obj0
= 0 ;
5412 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setWidth",&obj0
,&arg2
)) goto fail
;
5413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5414 (arg1
)->setWidth(arg2
);
5416 Py_INCREF(Py_None
); resultobj
= Py_None
;
5423 static PyObject
*_wrap_Rect_setHeight(PyObject
*self
, PyObject
*args
) {
5424 PyObject
*resultobj
;
5425 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5429 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setHeight",&obj0
,&arg2
)) goto fail
;
5430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5431 (arg1
)->setHeight(arg2
);
5433 Py_INCREF(Py_None
); resultobj
= Py_None
;
5440 static PyObject
*_wrap_Rect_setSize__SWIG_0(PyObject
*self
, PyObject
*args
) {
5441 PyObject
*resultobj
;
5442 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5445 PyObject
* obj0
= 0 ;
5447 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setSize",&obj0
,&arg2
,&arg3
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5449 (arg1
)->setSize(arg2
,arg3
);
5451 Py_INCREF(Py_None
); resultobj
= Py_None
;
5458 static PyObject
*_wrap_Rect_setSize__SWIG_1(PyObject
*self
, PyObject
*args
) {
5459 PyObject
*resultobj
;
5460 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5461 otk::Point
*arg2
= 0 ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5465 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setSize",&obj0
,&obj1
)) goto fail
;
5466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5467 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5469 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5471 (arg1
)->setSize((otk::Point
const &)*arg2
);
5473 Py_INCREF(Py_None
); resultobj
= Py_None
;
5480 static PyObject
*_wrap_Rect_setSize(PyObject
*self
, PyObject
*args
) {
5485 argc
= PyObject_Length(args
);
5486 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
5487 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5493 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5503 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5511 return _wrap_Rect_setSize__SWIG_1(self
,args
);
5519 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5528 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
5532 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
5535 return _wrap_Rect_setSize__SWIG_0(self
,args
);
5541 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setSize'");
5546 static PyObject
*_wrap_Rect_setRect__SWIG_0(PyObject
*self
, PyObject
*args
) {
5547 PyObject
*resultobj
;
5548 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5553 PyObject
* obj0
= 0 ;
5555 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setRect",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5557 (arg1
)->setRect(arg2
,arg3
,arg4
,arg5
);
5559 Py_INCREF(Py_None
); resultobj
= Py_None
;
5566 static PyObject
*_wrap_Rect_setRect__SWIG_1(PyObject
*self
, PyObject
*args
) {
5567 PyObject
*resultobj
;
5568 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5569 otk::Point
*arg2
= 0 ;
5570 otk::Point
*arg3
= 0 ;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5573 PyObject
* obj2
= 0 ;
5575 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setRect",&obj0
,&obj1
,&obj2
)) goto fail
;
5576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5581 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5585 (arg1
)->setRect((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
5587 Py_INCREF(Py_None
); resultobj
= Py_None
;
5594 static PyObject
*_wrap_Rect_setRect(PyObject
*self
, PyObject
*args
) {
5599 argc
= PyObject_Length(args
);
5600 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
5601 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5607 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5617 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5627 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5635 return _wrap_Rect_setRect__SWIG_1(self
,args
);
5644 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5653 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
5657 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
5661 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5665 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
5668 return _wrap_Rect_setRect__SWIG_0(self
,args
);
5676 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setRect'");
5681 static PyObject
*_wrap_Rect_setCoords__SWIG_0(PyObject
*self
, PyObject
*args
) {
5682 PyObject
*resultobj
;
5683 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5690 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setCoords",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
5691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5692 (arg1
)->setCoords(arg2
,arg3
,arg4
,arg5
);
5694 Py_INCREF(Py_None
); resultobj
= Py_None
;
5701 static PyObject
*_wrap_Rect_setCoords__SWIG_1(PyObject
*self
, PyObject
*args
) {
5702 PyObject
*resultobj
;
5703 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5704 otk::Point
*arg2
= 0 ;
5705 otk::Point
*arg3
= 0 ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5708 PyObject
* obj2
= 0 ;
5710 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setCoords",&obj0
,&obj1
,&obj2
)) goto fail
;
5711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5714 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5716 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5718 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5720 (arg1
)->setCoords((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
5722 Py_INCREF(Py_None
); resultobj
= Py_None
;
5729 static PyObject
*_wrap_Rect_setCoords(PyObject
*self
, PyObject
*args
) {
5734 argc
= PyObject_Length(args
);
5735 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
5736 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5742 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5752 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5762 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5770 return _wrap_Rect_setCoords__SWIG_1(self
,args
);
5779 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5788 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
5792 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
5796 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5800 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
5803 return _wrap_Rect_setCoords__SWIG_0(self
,args
);
5811 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setCoords'");
5816 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
) {
5817 PyObject
*resultobj
;
5818 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5819 otk::Rect
*arg2
= 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5824 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___eq__",&obj0
,&obj1
)) goto fail
;
5825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5826 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5828 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5830 result
= (bool)(arg1
)->operator ==((otk::Rect
const &)*arg2
);
5832 resultobj
= PyInt_FromLong((long)result
);
5839 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
) {
5840 PyObject
*resultobj
;
5841 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5842 otk::Rect
*arg2
= 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5847 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___ne__",&obj0
,&obj1
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5851 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5853 result
= (bool)(arg1
)->operator !=((otk::Rect
const &)*arg2
);
5855 resultobj
= PyInt_FromLong((long)result
);
5862 static PyObject
*_wrap_Rect___or__(PyObject
*self
, PyObject
*args
) {
5863 PyObject
*resultobj
;
5864 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5865 otk::Rect
*arg2
= 0 ;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5870 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___or__",&obj0
,&obj1
)) goto fail
;
5871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5874 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5876 result
= ((otk::Rect
const *)arg1
)->operator |((otk::Rect
const &)*arg2
);
5879 otk::Rect
* resultptr
;
5880 resultptr
= new otk::Rect((otk::Rect
&) result
);
5881 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Rect
, 1);
5889 static PyObject
*_wrap_Rect___and__(PyObject
*self
, PyObject
*args
) {
5890 PyObject
*resultobj
;
5891 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5892 otk::Rect
*arg2
= 0 ;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5897 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___and__",&obj0
,&obj1
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5899 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5901 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5903 result
= ((otk::Rect
const *)arg1
)->operator &((otk::Rect
const &)*arg2
);
5906 otk::Rect
* resultptr
;
5907 resultptr
= new otk::Rect((otk::Rect
&) result
);
5908 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Rect
, 1);
5916 static PyObject
*_wrap_Rect___ior__(PyObject
*self
, PyObject
*args
) {
5917 PyObject
*resultobj
;
5918 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5919 otk::Rect
*arg2
= 0 ;
5921 PyObject
* obj0
= 0 ;
5922 PyObject
* obj1
= 0 ;
5924 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___ior__",&obj0
,&obj1
)) goto fail
;
5925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5931 otk::Rect
&_result_ref
= (arg1
)->operator |=((otk::Rect
const &)*arg2
);
5932 result
= (otk::Rect
*) &_result_ref
;
5935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
5942 static PyObject
*_wrap_Rect___iand__(PyObject
*self
, PyObject
*args
) {
5943 PyObject
*resultobj
;
5944 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5945 otk::Rect
*arg2
= 0 ;
5947 PyObject
* obj0
= 0 ;
5948 PyObject
* obj1
= 0 ;
5950 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___iand__",&obj0
,&obj1
)) goto fail
;
5951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5952 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5954 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5957 otk::Rect
&_result_ref
= (arg1
)->operator &=((otk::Rect
const &)*arg2
);
5958 result
= (otk::Rect
*) &_result_ref
;
5961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
5968 static PyObject
*_wrap_Rect_valid(PyObject
*self
, PyObject
*args
) {
5969 PyObject
*resultobj
;
5970 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5972 PyObject
* obj0
= 0 ;
5974 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_valid",&obj0
)) goto fail
;
5975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5976 result
= (bool)((otk::Rect
const *)arg1
)->valid();
5978 resultobj
= PyInt_FromLong((long)result
);
5985 static PyObject
*_wrap_Rect_intersects(PyObject
*self
, PyObject
*args
) {
5986 PyObject
*resultobj
;
5987 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5988 otk::Rect
*arg2
= 0 ;
5990 PyObject
* obj0
= 0 ;
5991 PyObject
* obj1
= 0 ;
5993 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_intersects",&obj0
,&obj1
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5999 result
= (bool)((otk::Rect
const *)arg1
)->intersects((otk::Rect
const &)*arg2
);
6001 resultobj
= PyInt_FromLong((long)result
);
6008 static PyObject
*_wrap_Rect_contains__SWIG_0(PyObject
*self
, PyObject
*args
) {
6009 PyObject
*resultobj
;
6010 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6016 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_contains",&obj0
,&arg2
,&arg3
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6018 result
= (bool)((otk::Rect
const *)arg1
)->contains(arg2
,arg3
);
6020 resultobj
= PyInt_FromLong((long)result
);
6027 static PyObject
*_wrap_Rect_contains__SWIG_1(PyObject
*self
, PyObject
*args
) {
6028 PyObject
*resultobj
;
6029 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
6030 otk::Point
*arg2
= 0 ;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6035 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6037 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6039 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6041 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Point
const &)*arg2
);
6043 resultobj
= PyInt_FromLong((long)result
);
6050 static PyObject
*_wrap_Rect_contains__SWIG_2(PyObject
*self
, PyObject
*args
) {
6051 PyObject
*resultobj
;
6052 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
6053 otk::Rect
*arg2
= 0 ;
6055 PyObject
* obj0
= 0 ;
6056 PyObject
* obj1
= 0 ;
6058 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
6059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6062 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6064 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Rect
const &)*arg2
);
6066 resultobj
= PyInt_FromLong((long)result
);
6073 static PyObject
*_wrap_Rect_contains(PyObject
*self
, PyObject
*args
) {
6078 argc
= PyObject_Length(args
);
6079 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6080 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6086 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
6096 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
6104 return _wrap_Rect_contains__SWIG_1(self
,args
);
6112 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
6122 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
6130 return _wrap_Rect_contains__SWIG_2(self
,args
);
6138 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
6147 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6151 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6154 return _wrap_Rect_contains__SWIG_0(self
,args
);
6160 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_contains'");
6165 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
6167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6168 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect
, obj
);
6170 return Py_BuildValue((char *)"");
6172 static PyObject
*_wrap_new_ScreenInfo(PyObject
*self
, PyObject
*args
) {
6173 PyObject
*resultobj
;
6175 otk::ScreenInfo
*result
;
6176 PyObject
* obj0
= 0 ;
6178 if(!PyArg_ParseTuple(args
,(char *)"O:new_ScreenInfo",&obj0
)) goto fail
;
6179 arg1
= (unsigned int) PyInt_AsLong(obj0
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6181 result
= (otk::ScreenInfo
*)new otk::ScreenInfo(arg1
);
6183 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 1);
6190 static PyObject
*_wrap_ScreenInfo_visual(PyObject
*self
, PyObject
*args
) {
6191 PyObject
*resultobj
;
6192 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6196 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_visual",&obj0
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6198 result
= (Visual
*)((otk::ScreenInfo
const *)arg1
)->visual();
6200 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Visual
, 0);
6207 static PyObject
*_wrap_ScreenInfo_rootWindow(PyObject
*self
, PyObject
*args
) {
6208 PyObject
*resultobj
;
6209 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6213 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rootWindow",&obj0
)) goto fail
;
6214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6215 result
= (Window
)((otk::ScreenInfo
const *)arg1
)->rootWindow();
6217 resultobj
= PyInt_FromLong((long)result
);
6224 static PyObject
*_wrap_ScreenInfo_colormap(PyObject
*self
, PyObject
*args
) {
6225 PyObject
*resultobj
;
6226 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6228 PyObject
* obj0
= 0 ;
6230 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_colormap",&obj0
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6232 result
= (Colormap
)((otk::ScreenInfo
const *)arg1
)->colormap();
6234 resultobj
= PyInt_FromLong((long)result
);
6241 static PyObject
*_wrap_ScreenInfo_depth(PyObject
*self
, PyObject
*args
) {
6242 PyObject
*resultobj
;
6243 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6245 PyObject
* obj0
= 0 ;
6247 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_depth",&obj0
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6249 result
= (int)((otk::ScreenInfo
const *)arg1
)->depth();
6251 resultobj
= PyInt_FromLong((long)result
);
6258 static PyObject
*_wrap_ScreenInfo_screen(PyObject
*self
, PyObject
*args
) {
6259 PyObject
*resultobj
;
6260 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6261 unsigned int result
;
6262 PyObject
* obj0
= 0 ;
6264 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_screen",&obj0
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6266 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->screen();
6268 resultobj
= PyInt_FromLong((long)result
);
6275 static PyObject
*_wrap_ScreenInfo_rect(PyObject
*self
, PyObject
*args
) {
6276 PyObject
*resultobj
;
6277 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6279 PyObject
* obj0
= 0 ;
6281 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rect",&obj0
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6284 otk::Rect
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->rect();
6285 result
= (otk::Rect
*) &_result_ref
;
6288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
6295 static PyObject
*_wrap_ScreenInfo_width(PyObject
*self
, PyObject
*args
) {
6296 PyObject
*resultobj
;
6297 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6298 unsigned int result
;
6299 PyObject
* obj0
= 0 ;
6301 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_width",&obj0
)) goto fail
;
6302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6303 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->width();
6305 resultobj
= PyInt_FromLong((long)result
);
6312 static PyObject
*_wrap_ScreenInfo_height(PyObject
*self
, PyObject
*args
) {
6313 PyObject
*resultobj
;
6314 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6315 unsigned int result
;
6316 PyObject
* obj0
= 0 ;
6318 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_height",&obj0
)) goto fail
;
6319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6320 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->height();
6322 resultobj
= PyInt_FromLong((long)result
);
6329 static PyObject
*_wrap_ScreenInfo_displayString(PyObject
*self
, PyObject
*args
) {
6330 PyObject
*resultobj
;
6331 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6332 std::string
*result
;
6333 PyObject
* obj0
= 0 ;
6335 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_displayString",&obj0
)) goto fail
;
6336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6338 std::string
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->displayString();
6339 result
= (std::string
*) &_result_ref
;
6343 resultobj
= PyString_FromString(result
->c_str());
6351 static PyObject
* ScreenInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6354 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo
, obj
);
6356 return Py_BuildValue((char *)"");
6358 static PyObject
*_wrap_Strut_top_set(PyObject
*self
, PyObject
*args
) {
6359 PyObject
*resultobj
;
6360 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6363 PyObject
* obj1
= 0 ;
6365 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_top_set",&obj0
,&obj1
)) goto fail
;
6366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6367 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6369 if (arg1
) (arg1
)->top
= arg2
;
6371 Py_INCREF(Py_None
); resultobj
= Py_None
;
6378 static PyObject
*_wrap_Strut_top_get(PyObject
*self
, PyObject
*args
) {
6379 PyObject
*resultobj
;
6380 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6381 unsigned int result
;
6382 PyObject
* obj0
= 0 ;
6384 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_top_get",&obj0
)) goto fail
;
6385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6386 result
= (unsigned int) ((arg1
)->top
);
6388 resultobj
= PyInt_FromLong((long)result
);
6395 static PyObject
*_wrap_Strut_bottom_set(PyObject
*self
, PyObject
*args
) {
6396 PyObject
*resultobj
;
6397 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6399 PyObject
* obj0
= 0 ;
6400 PyObject
* obj1
= 0 ;
6402 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_bottom_set",&obj0
,&obj1
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6404 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6406 if (arg1
) (arg1
)->bottom
= arg2
;
6408 Py_INCREF(Py_None
); resultobj
= Py_None
;
6415 static PyObject
*_wrap_Strut_bottom_get(PyObject
*self
, PyObject
*args
) {
6416 PyObject
*resultobj
;
6417 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6418 unsigned int result
;
6419 PyObject
* obj0
= 0 ;
6421 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_bottom_get",&obj0
)) goto fail
;
6422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6423 result
= (unsigned int) ((arg1
)->bottom
);
6425 resultobj
= PyInt_FromLong((long)result
);
6432 static PyObject
*_wrap_Strut_left_set(PyObject
*self
, PyObject
*args
) {
6433 PyObject
*resultobj
;
6434 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6437 PyObject
* obj1
= 0 ;
6439 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_left_set",&obj0
,&obj1
)) goto fail
;
6440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6441 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6443 if (arg1
) (arg1
)->left
= arg2
;
6445 Py_INCREF(Py_None
); resultobj
= Py_None
;
6452 static PyObject
*_wrap_Strut_left_get(PyObject
*self
, PyObject
*args
) {
6453 PyObject
*resultobj
;
6454 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6455 unsigned int result
;
6456 PyObject
* obj0
= 0 ;
6458 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_left_get",&obj0
)) goto fail
;
6459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6460 result
= (unsigned int) ((arg1
)->left
);
6462 resultobj
= PyInt_FromLong((long)result
);
6469 static PyObject
*_wrap_Strut_right_set(PyObject
*self
, PyObject
*args
) {
6470 PyObject
*resultobj
;
6471 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6474 PyObject
* obj1
= 0 ;
6476 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_right_set",&obj0
,&obj1
)) goto fail
;
6477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6478 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6480 if (arg1
) (arg1
)->right
= arg2
;
6482 Py_INCREF(Py_None
); resultobj
= Py_None
;
6489 static PyObject
*_wrap_Strut_right_get(PyObject
*self
, PyObject
*args
) {
6490 PyObject
*resultobj
;
6491 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6492 unsigned int result
;
6493 PyObject
* obj0
= 0 ;
6495 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_right_get",&obj0
)) goto fail
;
6496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6497 result
= (unsigned int) ((arg1
)->right
);
6499 resultobj
= PyInt_FromLong((long)result
);
6506 static PyObject
*_wrap_new_Strut__SWIG_0(PyObject
*self
, PyObject
*args
) {
6507 PyObject
*resultobj
;
6510 if(!PyArg_ParseTuple(args
,(char *)":new_Strut")) goto fail
;
6511 result
= (otk::Strut
*)new otk::Strut();
6513 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
6520 static PyObject
*_wrap_new_Strut__SWIG_1(PyObject
*self
, PyObject
*args
) {
6521 PyObject
*resultobj
;
6528 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Strut",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
6529 result
= (otk::Strut
*)new otk::Strut(arg1
,arg2
,arg3
,arg4
);
6531 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
6538 static PyObject
*_wrap_new_Strut(PyObject
*self
, PyObject
*args
) {
6543 argc
= PyObject_Length(args
);
6544 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6545 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6548 return _wrap_new_Strut__SWIG_0(self
,args
);
6553 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
6557 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6561 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6565 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
6568 return _wrap_new_Strut__SWIG_1(self
,args
);
6575 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Strut'");
6580 static PyObject
* Strut_swigregister(PyObject
*self
, PyObject
*args
) {
6582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6583 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut
, obj
);
6585 return Py_BuildValue((char *)"");
6587 static PyObject
*_wrap_EventHandler_handle(PyObject
*self
, PyObject
*args
) {
6588 PyObject
*resultobj
;
6589 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6591 PyObject
* obj0
= 0 ;
6592 PyObject
* obj1
= 0 ;
6594 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_handle",&obj0
,&obj1
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6596 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6598 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6600 (arg1
)->handle((XEvent
const &)*arg2
);
6602 Py_INCREF(Py_None
); resultobj
= Py_None
;
6609 static PyObject
*_wrap_EventHandler_keyPressHandler(PyObject
*self
, PyObject
*args
) {
6610 PyObject
*resultobj
;
6611 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6612 XKeyEvent
*arg2
= 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_keyPressHandler",&obj0
,&obj1
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6620 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6622 (arg1
)->keyPressHandler((XKeyEvent
const &)*arg2
);
6624 Py_INCREF(Py_None
); resultobj
= Py_None
;
6631 static PyObject
*_wrap_EventHandler_keyReleaseHandler(PyObject
*self
, PyObject
*args
) {
6632 PyObject
*resultobj
;
6633 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6634 XKeyEvent
*arg2
= 0 ;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6638 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_keyReleaseHandler",&obj0
,&obj1
)) goto fail
;
6639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6644 (arg1
)->keyReleaseHandler((XKeyEvent
const &)*arg2
);
6646 Py_INCREF(Py_None
); resultobj
= Py_None
;
6653 static PyObject
*_wrap_EventHandler_buttonPressHandler(PyObject
*self
, PyObject
*args
) {
6654 PyObject
*resultobj
;
6655 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6656 XButtonEvent
*arg2
= 0 ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6660 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_buttonPressHandler",&obj0
,&obj1
)) goto fail
;
6661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6662 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6664 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6666 (arg1
)->buttonPressHandler((XButtonEvent
const &)*arg2
);
6668 Py_INCREF(Py_None
); resultobj
= Py_None
;
6675 static PyObject
*_wrap_EventHandler_buttonReleaseHandler(PyObject
*self
, PyObject
*args
) {
6676 PyObject
*resultobj
;
6677 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6678 XButtonEvent
*arg2
= 0 ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6682 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_buttonReleaseHandler",&obj0
,&obj1
)) goto fail
;
6683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6684 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6686 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6688 (arg1
)->buttonReleaseHandler((XButtonEvent
const &)*arg2
);
6690 Py_INCREF(Py_None
); resultobj
= Py_None
;
6697 static PyObject
*_wrap_EventHandler_motionHandler(PyObject
*self
, PyObject
*args
) {
6698 PyObject
*resultobj
;
6699 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6700 XMotionEvent
*arg2
= 0 ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6704 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_motionHandler",&obj0
,&obj1
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6706 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMotionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6708 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6710 (arg1
)->motionHandler((XMotionEvent
const &)*arg2
);
6712 Py_INCREF(Py_None
); resultobj
= Py_None
;
6719 static PyObject
*_wrap_EventHandler_enterHandler(PyObject
*self
, PyObject
*args
) {
6720 PyObject
*resultobj
;
6721 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6722 XCrossingEvent
*arg2
= 0 ;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6726 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_enterHandler",&obj0
,&obj1
)) goto fail
;
6727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6728 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCrossingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6730 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6732 (arg1
)->enterHandler((XCrossingEvent
const &)*arg2
);
6734 Py_INCREF(Py_None
); resultobj
= Py_None
;
6741 static PyObject
*_wrap_EventHandler_leaveHandler(PyObject
*self
, PyObject
*args
) {
6742 PyObject
*resultobj
;
6743 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6744 XCrossingEvent
*arg2
= 0 ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6748 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_leaveHandler",&obj0
,&obj1
)) goto fail
;
6749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCrossingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6752 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6754 (arg1
)->leaveHandler((XCrossingEvent
const &)*arg2
);
6756 Py_INCREF(Py_None
); resultobj
= Py_None
;
6763 static PyObject
*_wrap_EventHandler_focusHandler(PyObject
*self
, PyObject
*args
) {
6764 PyObject
*resultobj
;
6765 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6766 XFocusChangeEvent
*arg2
= 0 ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6770 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_focusHandler",&obj0
,&obj1
)) goto fail
;
6771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6774 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6776 (arg1
)->focusHandler((XFocusChangeEvent
const &)*arg2
);
6778 Py_INCREF(Py_None
); resultobj
= Py_None
;
6785 static PyObject
*_wrap_EventHandler_unfocusHandler(PyObject
*self
, PyObject
*args
) {
6786 PyObject
*resultobj
;
6787 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6788 XFocusChangeEvent
*arg2
= 0 ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6792 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_unfocusHandler",&obj0
,&obj1
)) goto fail
;
6793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6794 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6796 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6798 (arg1
)->unfocusHandler((XFocusChangeEvent
const &)*arg2
);
6800 Py_INCREF(Py_None
); resultobj
= Py_None
;
6807 static PyObject
*_wrap_EventHandler_exposeHandler(PyObject
*self
, PyObject
*args
) {
6808 PyObject
*resultobj
;
6809 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6810 XExposeEvent
*arg2
= 0 ;
6811 PyObject
* obj0
= 0 ;
6812 PyObject
* obj1
= 0 ;
6814 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_exposeHandler",&obj0
,&obj1
)) goto fail
;
6815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6818 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6820 (arg1
)->exposeHandler((XExposeEvent
const &)*arg2
);
6822 Py_INCREF(Py_None
); resultobj
= Py_None
;
6829 static PyObject
*_wrap_EventHandler_graphicsExposeHandler(PyObject
*self
, PyObject
*args
) {
6830 PyObject
*resultobj
;
6831 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6832 XGraphicsExposeEvent
*arg2
= 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_graphicsExposeHandler",&obj0
,&obj1
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6838 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XGraphicsExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6840 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6842 (arg1
)->graphicsExposeHandler((XGraphicsExposeEvent
const &)*arg2
);
6844 Py_INCREF(Py_None
); resultobj
= Py_None
;
6851 static PyObject
*_wrap_EventHandler_noExposeEventHandler(PyObject
*self
, PyObject
*args
) {
6852 PyObject
*resultobj
;
6853 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6854 XNoExposeEvent
*arg2
= 0 ;
6855 PyObject
* obj0
= 0 ;
6856 PyObject
* obj1
= 0 ;
6858 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_noExposeEventHandler",&obj0
,&obj1
)) goto fail
;
6859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XNoExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6862 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6864 (arg1
)->noExposeEventHandler((XNoExposeEvent
const &)*arg2
);
6866 Py_INCREF(Py_None
); resultobj
= Py_None
;
6873 static PyObject
*_wrap_EventHandler_circulateRequestHandler(PyObject
*self
, PyObject
*args
) {
6874 PyObject
*resultobj
;
6875 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6876 XCirculateRequestEvent
*arg2
= 0 ;
6877 PyObject
* obj0
= 0 ;
6878 PyObject
* obj1
= 0 ;
6880 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_circulateRequestHandler",&obj0
,&obj1
)) goto fail
;
6881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCirculateRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6884 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6886 (arg1
)->circulateRequestHandler((XCirculateRequestEvent
const &)*arg2
);
6888 Py_INCREF(Py_None
); resultobj
= Py_None
;
6895 static PyObject
*_wrap_EventHandler_configureRequestHandler(PyObject
*self
, PyObject
*args
) {
6896 PyObject
*resultobj
;
6897 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6898 XConfigureRequestEvent
*arg2
= 0 ;
6899 PyObject
* obj0
= 0 ;
6900 PyObject
* obj1
= 0 ;
6902 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_configureRequestHandler",&obj0
,&obj1
)) goto fail
;
6903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6904 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6906 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6908 (arg1
)->configureRequestHandler((XConfigureRequestEvent
const &)*arg2
);
6910 Py_INCREF(Py_None
); resultobj
= Py_None
;
6917 static PyObject
*_wrap_EventHandler_mapRequestHandler(PyObject
*self
, PyObject
*args
) {
6918 PyObject
*resultobj
;
6919 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6920 XMapRequestEvent
*arg2
= 0 ;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6924 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_mapRequestHandler",&obj0
,&obj1
)) goto fail
;
6925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6930 (arg1
)->mapRequestHandler((XMapRequestEvent
const &)*arg2
);
6932 Py_INCREF(Py_None
); resultobj
= Py_None
;
6939 static PyObject
*_wrap_EventHandler_resizeRequestHandler(PyObject
*self
, PyObject
*args
) {
6940 PyObject
*resultobj
;
6941 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6942 XResizeRequestEvent
*arg2
= 0 ;
6943 PyObject
* obj0
= 0 ;
6944 PyObject
* obj1
= 0 ;
6946 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_resizeRequestHandler",&obj0
,&obj1
)) goto fail
;
6947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XResizeRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6950 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6952 (arg1
)->resizeRequestHandler((XResizeRequestEvent
const &)*arg2
);
6954 Py_INCREF(Py_None
); resultobj
= Py_None
;
6961 static PyObject
*_wrap_EventHandler_circulateHandler(PyObject
*self
, PyObject
*args
) {
6962 PyObject
*resultobj
;
6963 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6964 XCirculateEvent
*arg2
= 0 ;
6965 PyObject
* obj0
= 0 ;
6966 PyObject
* obj1
= 0 ;
6968 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_circulateHandler",&obj0
,&obj1
)) goto fail
;
6969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCirculateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6974 (arg1
)->circulateHandler((XCirculateEvent
const &)*arg2
);
6976 Py_INCREF(Py_None
); resultobj
= Py_None
;
6983 static PyObject
*_wrap_EventHandler_configureHandler(PyObject
*self
, PyObject
*args
) {
6984 PyObject
*resultobj
;
6985 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6986 XConfigureEvent
*arg2
= 0 ;
6987 PyObject
* obj0
= 0 ;
6988 PyObject
* obj1
= 0 ;
6990 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_configureHandler",&obj0
,&obj1
)) goto fail
;
6991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6996 (arg1
)->configureHandler((XConfigureEvent
const &)*arg2
);
6998 Py_INCREF(Py_None
); resultobj
= Py_None
;
7005 static PyObject
*_wrap_EventHandler_createHandler(PyObject
*self
, PyObject
*args
) {
7006 PyObject
*resultobj
;
7007 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7008 XCreateWindowEvent
*arg2
= 0 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7012 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_createHandler",&obj0
,&obj1
)) goto fail
;
7013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCreateWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7018 (arg1
)->createHandler((XCreateWindowEvent
const &)*arg2
);
7020 Py_INCREF(Py_None
); resultobj
= Py_None
;
7027 static PyObject
*_wrap_EventHandler_destroyHandler(PyObject
*self
, PyObject
*args
) {
7028 PyObject
*resultobj
;
7029 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7030 XDestroyWindowEvent
*arg2
= 0 ;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7034 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_destroyHandler",&obj0
,&obj1
)) goto fail
;
7035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XDestroyWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7040 (arg1
)->destroyHandler((XDestroyWindowEvent
const &)*arg2
);
7042 Py_INCREF(Py_None
); resultobj
= Py_None
;
7049 static PyObject
*_wrap_EventHandler_gravityHandler(PyObject
*self
, PyObject
*args
) {
7050 PyObject
*resultobj
;
7051 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7052 XGravityEvent
*arg2
= 0 ;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7056 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_gravityHandler",&obj0
,&obj1
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7058 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XGravityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7060 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7062 (arg1
)->gravityHandler((XGravityEvent
const &)*arg2
);
7064 Py_INCREF(Py_None
); resultobj
= Py_None
;
7071 static PyObject
*_wrap_EventHandler_mapHandler(PyObject
*self
, PyObject
*args
) {
7072 PyObject
*resultobj
;
7073 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7074 XMapEvent
*arg2
= 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7078 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_mapHandler",&obj0
,&obj1
)) goto fail
;
7079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7080 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7082 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7084 (arg1
)->mapHandler((XMapEvent
const &)*arg2
);
7086 Py_INCREF(Py_None
); resultobj
= Py_None
;
7093 static PyObject
*_wrap_EventHandler_mappingHandler(PyObject
*self
, PyObject
*args
) {
7094 PyObject
*resultobj
;
7095 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7096 XMappingEvent
*arg2
= 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_mappingHandler",&obj0
,&obj1
)) goto fail
;
7101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7102 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMappingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7106 (arg1
)->mappingHandler((XMappingEvent
const &)*arg2
);
7108 Py_INCREF(Py_None
); resultobj
= Py_None
;
7115 static PyObject
*_wrap_EventHandler_reparentHandler(PyObject
*self
, PyObject
*args
) {
7116 PyObject
*resultobj
;
7117 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7118 XReparentEvent
*arg2
= 0 ;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7122 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_reparentHandler",&obj0
,&obj1
)) goto fail
;
7123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7124 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XReparentEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7126 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7128 (arg1
)->reparentHandler((XReparentEvent
const &)*arg2
);
7130 Py_INCREF(Py_None
); resultobj
= Py_None
;
7137 static PyObject
*_wrap_EventHandler_unmapHandler(PyObject
*self
, PyObject
*args
) {
7138 PyObject
*resultobj
;
7139 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7140 XUnmapEvent
*arg2
= 0 ;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7144 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_unmapHandler",&obj0
,&obj1
)) goto fail
;
7145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7146 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XUnmapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7148 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7150 (arg1
)->unmapHandler((XUnmapEvent
const &)*arg2
);
7152 Py_INCREF(Py_None
); resultobj
= Py_None
;
7159 static PyObject
*_wrap_EventHandler_visibilityHandler(PyObject
*self
, PyObject
*args
) {
7160 PyObject
*resultobj
;
7161 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7162 XVisibilityEvent
*arg2
= 0 ;
7163 PyObject
* obj0
= 0 ;
7164 PyObject
* obj1
= 0 ;
7166 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_visibilityHandler",&obj0
,&obj1
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XVisibilityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7170 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7172 (arg1
)->visibilityHandler((XVisibilityEvent
const &)*arg2
);
7174 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 static PyObject
*_wrap_EventHandler_colorMapHandler(PyObject
*self
, PyObject
*args
) {
7182 PyObject
*resultobj
;
7183 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7184 XColormapEvent
*arg2
= 0 ;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7188 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_colorMapHandler",&obj0
,&obj1
)) goto fail
;
7189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7190 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XColormapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7192 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7194 (arg1
)->colorMapHandler((XColormapEvent
const &)*arg2
);
7196 Py_INCREF(Py_None
); resultobj
= Py_None
;
7203 static PyObject
*_wrap_EventHandler_propertyHandler(PyObject
*self
, PyObject
*args
) {
7204 PyObject
*resultobj
;
7205 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7206 XPropertyEvent
*arg2
= 0 ;
7207 PyObject
* obj0
= 0 ;
7208 PyObject
* obj1
= 0 ;
7210 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_propertyHandler",&obj0
,&obj1
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7212 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7214 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7216 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
7218 Py_INCREF(Py_None
); resultobj
= Py_None
;
7225 static PyObject
*_wrap_EventHandler_selectionClearHandler(PyObject
*self
, PyObject
*args
) {
7226 PyObject
*resultobj
;
7227 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7228 XSelectionClearEvent
*arg2
= 0 ;
7229 PyObject
* obj0
= 0 ;
7230 PyObject
* obj1
= 0 ;
7232 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_selectionClearHandler",&obj0
,&obj1
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7234 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionClearEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7236 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7238 (arg1
)->selectionClearHandler((XSelectionClearEvent
const &)*arg2
);
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7247 static PyObject
*_wrap_EventHandler_selectionHandler(PyObject
*self
, PyObject
*args
) {
7248 PyObject
*resultobj
;
7249 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7250 XSelectionEvent
*arg2
= 0 ;
7251 PyObject
* obj0
= 0 ;
7252 PyObject
* obj1
= 0 ;
7254 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_selectionHandler",&obj0
,&obj1
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7256 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7258 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7260 (arg1
)->selectionHandler((XSelectionEvent
const &)*arg2
);
7262 Py_INCREF(Py_None
); resultobj
= Py_None
;
7269 static PyObject
*_wrap_EventHandler_selectionRequestHandler(PyObject
*self
, PyObject
*args
) {
7270 PyObject
*resultobj
;
7271 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7272 XSelectionRequestEvent
*arg2
= 0 ;
7273 PyObject
* obj0
= 0 ;
7274 PyObject
* obj1
= 0 ;
7276 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_selectionRequestHandler",&obj0
,&obj1
)) goto fail
;
7277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7280 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7282 (arg1
)->selectionRequestHandler((XSelectionRequestEvent
const &)*arg2
);
7284 Py_INCREF(Py_None
); resultobj
= Py_None
;
7291 static PyObject
*_wrap_EventHandler_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
7292 PyObject
*resultobj
;
7293 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7294 XClientMessageEvent
*arg2
= 0 ;
7295 PyObject
* obj0
= 0 ;
7296 PyObject
* obj1
= 0 ;
7298 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
7299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7302 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7304 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
7306 Py_INCREF(Py_None
); resultobj
= Py_None
;
7313 static PyObject
*_wrap_delete_EventHandler(PyObject
*self
, PyObject
*args
) {
7314 PyObject
*resultobj
;
7315 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7316 PyObject
* obj0
= 0 ;
7318 if(!PyArg_ParseTuple(args
,(char *)"O:delete_EventHandler",&obj0
)) goto fail
;
7319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7322 Py_INCREF(Py_None
); resultobj
= Py_None
;
7329 static PyObject
* EventHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7332 SWIG_TypeClientData(SWIGTYPE_p_otk__EventHandler
, obj
);
7334 return Py_BuildValue((char *)"");
7336 static PyObject
*_wrap_new_EventDispatcher(PyObject
*self
, PyObject
*args
) {
7337 PyObject
*resultobj
;
7338 otk::EventDispatcher
*result
;
7340 if(!PyArg_ParseTuple(args
,(char *)":new_EventDispatcher")) goto fail
;
7341 result
= (otk::EventDispatcher
*)new otk::EventDispatcher();
7343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventDispatcher
, 1);
7350 static PyObject
*_wrap_delete_EventDispatcher(PyObject
*self
, PyObject
*args
) {
7351 PyObject
*resultobj
;
7352 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7353 PyObject
* obj0
= 0 ;
7355 if(!PyArg_ParseTuple(args
,(char *)"O:delete_EventDispatcher",&obj0
)) goto fail
;
7356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7359 Py_INCREF(Py_None
); resultobj
= Py_None
;
7366 static PyObject
*_wrap_EventDispatcher_clearAllHandlers(PyObject
*self
, PyObject
*args
) {
7367 PyObject
*resultobj
;
7368 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7369 PyObject
* obj0
= 0 ;
7371 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_clearAllHandlers",&obj0
)) goto fail
;
7372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7373 (arg1
)->clearAllHandlers();
7375 Py_INCREF(Py_None
); resultobj
= Py_None
;
7382 static PyObject
*_wrap_EventDispatcher_registerHandler(PyObject
*self
, PyObject
*args
) {
7383 PyObject
*resultobj
;
7384 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7386 otk::EventHandler
*arg3
= (otk::EventHandler
*) 0 ;
7387 PyObject
* obj0
= 0 ;
7388 PyObject
* obj1
= 0 ;
7389 PyObject
* obj2
= 0 ;
7391 if(!PyArg_ParseTuple(args
,(char *)"OOO:EventDispatcher_registerHandler",&obj0
,&obj1
,&obj2
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7393 arg2
= (Window
) PyInt_AsLong(obj1
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7395 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7396 (arg1
)->registerHandler(arg2
,arg3
);
7398 Py_INCREF(Py_None
); resultobj
= Py_None
;
7405 static PyObject
*_wrap_EventDispatcher_clearHandler(PyObject
*self
, PyObject
*args
) {
7406 PyObject
*resultobj
;
7407 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7410 PyObject
* obj1
= 0 ;
7412 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_clearHandler",&obj0
,&obj1
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7414 arg2
= (Window
) PyInt_AsLong(obj1
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7416 (arg1
)->clearHandler(arg2
);
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_EventDispatcher_dispatchEvents(PyObject
*self
, PyObject
*args
) {
7426 PyObject
*resultobj
;
7427 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7430 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_dispatchEvents",&obj0
)) goto fail
;
7431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7432 (arg1
)->dispatchEvents();
7434 Py_INCREF(Py_None
); resultobj
= Py_None
;
7441 static PyObject
*_wrap_EventDispatcher_setFallbackHandler(PyObject
*self
, PyObject
*args
) {
7442 PyObject
*resultobj
;
7443 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7444 otk::EventHandler
*arg2
= (otk::EventHandler
*) 0 ;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7448 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_setFallbackHandler",&obj0
,&obj1
)) goto fail
;
7449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7451 (arg1
)->setFallbackHandler(arg2
);
7453 Py_INCREF(Py_None
); resultobj
= Py_None
;
7460 static PyObject
*_wrap_EventDispatcher_getFallbackHandler(PyObject
*self
, PyObject
*args
) {
7461 PyObject
*resultobj
;
7462 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7463 otk::EventHandler
*result
;
7464 PyObject
* obj0
= 0 ;
7466 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_getFallbackHandler",&obj0
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7468 result
= (otk::EventHandler
*)((otk::EventDispatcher
const *)arg1
)->getFallbackHandler();
7470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventHandler
, 0);
7477 static PyObject
*_wrap_EventDispatcher_setMasterHandler(PyObject
*self
, PyObject
*args
) {
7478 PyObject
*resultobj
;
7479 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7480 otk::EventHandler
*arg2
= (otk::EventHandler
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7482 PyObject
* obj1
= 0 ;
7484 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_setMasterHandler",&obj0
,&obj1
)) goto fail
;
7485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7486 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7487 (arg1
)->setMasterHandler(arg2
);
7489 Py_INCREF(Py_None
); resultobj
= Py_None
;
7496 static PyObject
*_wrap_EventDispatcher_getMasterHandler(PyObject
*self
, PyObject
*args
) {
7497 PyObject
*resultobj
;
7498 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7499 otk::EventHandler
*result
;
7500 PyObject
* obj0
= 0 ;
7502 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_getMasterHandler",&obj0
)) goto fail
;
7503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7504 result
= (otk::EventHandler
*)((otk::EventDispatcher
const *)arg1
)->getMasterHandler();
7506 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventHandler
, 0);
7513 static PyObject
*_wrap_EventDispatcher_findHandler(PyObject
*self
, PyObject
*args
) {
7514 PyObject
*resultobj
;
7515 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7517 otk::EventHandler
*result
;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7521 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_findHandler",&obj0
,&obj1
)) goto fail
;
7522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7523 arg2
= (Window
) PyInt_AsLong(obj1
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7525 result
= (otk::EventHandler
*)(arg1
)->findHandler(arg2
);
7527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventHandler
, 0);
7534 static PyObject
*_wrap_EventDispatcher_lastTime(PyObject
*self
, PyObject
*args
) {
7535 PyObject
*resultobj
;
7536 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7538 PyObject
* obj0
= 0 ;
7540 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_lastTime",&obj0
)) goto fail
;
7541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7542 result
= (Time
)((otk::EventDispatcher
const *)arg1
)->lastTime();
7544 resultobj
= PyInt_FromLong((long)result
);
7551 static PyObject
* EventDispatcher_swigregister(PyObject
*self
, PyObject
*args
) {
7553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7554 SWIG_TypeClientData(SWIGTYPE_p_otk__EventDispatcher
, obj
);
7556 return Py_BuildValue((char *)"");
7558 static PyObject
*_wrap_Cursors_session_set(PyObject
*self
, PyObject
*args
) {
7559 PyObject
*resultobj
;
7560 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7565 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_session_set",&obj0
,&obj1
)) goto fail
;
7566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7567 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7569 if (arg1
) (arg1
)->session
= arg2
;
7571 Py_INCREF(Py_None
); resultobj
= Py_None
;
7578 static PyObject
*_wrap_Cursors_session_get(PyObject
*self
, PyObject
*args
) {
7579 PyObject
*resultobj
;
7580 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7584 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_session_get",&obj0
)) goto fail
;
7585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7586 result
= (Cursor
) ((arg1
)->session
);
7588 resultobj
= PyInt_FromLong((long)result
);
7595 static PyObject
*_wrap_Cursors_move_set(PyObject
*self
, PyObject
*args
) {
7596 PyObject
*resultobj
;
7597 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7602 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_move_set",&obj0
,&obj1
)) goto fail
;
7603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7604 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7606 if (arg1
) (arg1
)->move
= arg2
;
7608 Py_INCREF(Py_None
); resultobj
= Py_None
;
7615 static PyObject
*_wrap_Cursors_move_get(PyObject
*self
, PyObject
*args
) {
7616 PyObject
*resultobj
;
7617 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7619 PyObject
* obj0
= 0 ;
7621 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_move_get",&obj0
)) goto fail
;
7622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7623 result
= (Cursor
) ((arg1
)->move
);
7625 resultobj
= PyInt_FromLong((long)result
);
7632 static PyObject
*_wrap_Cursors_ll_angle_set(PyObject
*self
, PyObject
*args
) {
7633 PyObject
*resultobj
;
7634 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7636 PyObject
* obj0
= 0 ;
7637 PyObject
* obj1
= 0 ;
7639 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ll_angle_set",&obj0
,&obj1
)) goto fail
;
7640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7641 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7643 if (arg1
) (arg1
)->ll_angle
= arg2
;
7645 Py_INCREF(Py_None
); resultobj
= Py_None
;
7652 static PyObject
*_wrap_Cursors_ll_angle_get(PyObject
*self
, PyObject
*args
) {
7653 PyObject
*resultobj
;
7654 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7656 PyObject
* obj0
= 0 ;
7658 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ll_angle_get",&obj0
)) goto fail
;
7659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7660 result
= (Cursor
) ((arg1
)->ll_angle
);
7662 resultobj
= PyInt_FromLong((long)result
);
7669 static PyObject
*_wrap_Cursors_lr_angle_set(PyObject
*self
, PyObject
*args
) {
7670 PyObject
*resultobj
;
7671 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7674 PyObject
* obj1
= 0 ;
7676 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_lr_angle_set",&obj0
,&obj1
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7678 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7680 if (arg1
) (arg1
)->lr_angle
= arg2
;
7682 Py_INCREF(Py_None
); resultobj
= Py_None
;
7689 static PyObject
*_wrap_Cursors_lr_angle_get(PyObject
*self
, PyObject
*args
) {
7690 PyObject
*resultobj
;
7691 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7695 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_lr_angle_get",&obj0
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7697 result
= (Cursor
) ((arg1
)->lr_angle
);
7699 resultobj
= PyInt_FromLong((long)result
);
7706 static PyObject
*_wrap_Cursors_ul_angle_set(PyObject
*self
, PyObject
*args
) {
7707 PyObject
*resultobj
;
7708 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7711 PyObject
* obj1
= 0 ;
7713 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ul_angle_set",&obj0
,&obj1
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7715 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7717 if (arg1
) (arg1
)->ul_angle
= arg2
;
7719 Py_INCREF(Py_None
); resultobj
= Py_None
;
7726 static PyObject
*_wrap_Cursors_ul_angle_get(PyObject
*self
, PyObject
*args
) {
7727 PyObject
*resultobj
;
7728 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7732 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ul_angle_get",&obj0
)) goto fail
;
7733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7734 result
= (Cursor
) ((arg1
)->ul_angle
);
7736 resultobj
= PyInt_FromLong((long)result
);
7743 static PyObject
*_wrap_Cursors_ur_angle_set(PyObject
*self
, PyObject
*args
) {
7744 PyObject
*resultobj
;
7745 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7747 PyObject
* obj0
= 0 ;
7748 PyObject
* obj1
= 0 ;
7750 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ur_angle_set",&obj0
,&obj1
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7752 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7754 if (arg1
) (arg1
)->ur_angle
= arg2
;
7756 Py_INCREF(Py_None
); resultobj
= Py_None
;
7763 static PyObject
*_wrap_Cursors_ur_angle_get(PyObject
*self
, PyObject
*args
) {
7764 PyObject
*resultobj
;
7765 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7767 PyObject
* obj0
= 0 ;
7769 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ur_angle_get",&obj0
)) goto fail
;
7770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7771 result
= (Cursor
) ((arg1
)->ur_angle
);
7773 resultobj
= PyInt_FromLong((long)result
);
7780 static PyObject
* Cursors_swigregister(PyObject
*self
, PyObject
*args
) {
7782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7783 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors
, obj
);
7785 return Py_BuildValue((char *)"");
7787 static PyObject
*_wrap_Openbox_state(PyObject
*self
, PyObject
*args
) {
7788 PyObject
*resultobj
;
7789 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7791 PyObject
* obj0
= 0 ;
7793 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_state",&obj0
)) goto fail
;
7794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7795 result
= (int)((ob::Openbox
const *)arg1
)->state();
7797 resultobj
= PyInt_FromLong((long)result
);
7804 static PyObject
*_wrap_Openbox_actions(PyObject
*self
, PyObject
*args
) {
7805 PyObject
*resultobj
;
7806 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7807 ob::Actions
*result
;
7808 PyObject
* obj0
= 0 ;
7810 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_actions",&obj0
)) goto fail
;
7811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7812 result
= (ob::Actions
*)((ob::Openbox
const *)arg1
)->actions();
7814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Actions
, 0);
7821 static PyObject
*_wrap_Openbox_bindings(PyObject
*self
, PyObject
*args
) {
7822 PyObject
*resultobj
;
7823 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7824 ob::Bindings
*result
;
7825 PyObject
* obj0
= 0 ;
7827 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_bindings",&obj0
)) goto fail
;
7828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7829 result
= (ob::Bindings
*)((ob::Openbox
const *)arg1
)->bindings();
7831 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Bindings
, 0);
7838 static PyObject
*_wrap_Openbox_screen(PyObject
*self
, PyObject
*args
) {
7839 PyObject
*resultobj
;
7840 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 if(!PyArg_ParseTuple(args
,(char *)"Oi:Openbox_screen",&obj0
,&arg2
)) goto fail
;
7846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7847 result
= (ob::Screen
*)(arg1
)->screen(arg2
);
7849 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Screen
, 0);
7856 static PyObject
*_wrap_Openbox_screenCount(PyObject
*self
, PyObject
*args
) {
7857 PyObject
*resultobj
;
7858 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7862 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_screenCount",&obj0
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7864 result
= (int)((ob::Openbox
const *)arg1
)->screenCount();
7866 resultobj
= PyInt_FromLong((long)result
);
7873 static PyObject
*_wrap_Openbox_cursors(PyObject
*self
, PyObject
*args
) {
7874 PyObject
*resultobj
;
7875 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7876 ob::Cursors
*result
;
7877 PyObject
* obj0
= 0 ;
7879 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_cursors",&obj0
)) goto fail
;
7880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7882 ob::Cursors
const &_result_ref
= ((ob::Openbox
const *)arg1
)->cursors();
7883 result
= (ob::Cursors
*) &_result_ref
;
7886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Cursors
, 0);
7893 static PyObject
*_wrap_Openbox_addClient(PyObject
*self
, PyObject
*args
) {
7894 PyObject
*resultobj
;
7895 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7897 ob::Client
*arg3
= (ob::Client
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7899 PyObject
* obj1
= 0 ;
7900 PyObject
* obj2
= 0 ;
7902 if(!PyArg_ParseTuple(args
,(char *)"OOO:Openbox_addClient",&obj0
,&obj1
,&obj2
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7904 arg2
= (Window
) PyInt_AsLong(obj1
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7906 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7907 (arg1
)->addClient(arg2
,arg3
);
7909 Py_INCREF(Py_None
); resultobj
= Py_None
;
7916 static PyObject
*_wrap_Openbox_removeClient(PyObject
*self
, PyObject
*args
) {
7917 PyObject
*resultobj
;
7918 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7920 PyObject
* obj0
= 0 ;
7921 PyObject
* obj1
= 0 ;
7923 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_removeClient",&obj0
,&obj1
)) goto fail
;
7924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7925 arg2
= (Window
) PyInt_AsLong(obj1
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7927 (arg1
)->removeClient(arg2
);
7929 Py_INCREF(Py_None
); resultobj
= Py_None
;
7936 static PyObject
*_wrap_Openbox_findClient(PyObject
*self
, PyObject
*args
) {
7937 PyObject
*resultobj
;
7938 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7942 PyObject
* obj1
= 0 ;
7944 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_findClient",&obj0
,&obj1
)) goto fail
;
7945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7946 arg2
= (Window
) PyInt_AsLong(obj1
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7948 result
= (ob::Client
*)(arg1
)->findClient(arg2
);
7950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
7957 static PyObject
*_wrap_Openbox_focusedClient(PyObject
*self
, PyObject
*args
) {
7958 PyObject
*resultobj
;
7959 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7963 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_focusedClient",&obj0
)) goto fail
;
7964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7965 result
= (ob::Client
*)(arg1
)->focusedClient();
7967 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
7974 static PyObject
*_wrap_Openbox_setFocusedClient(PyObject
*self
, PyObject
*args
) {
7975 PyObject
*resultobj
;
7976 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7977 ob::Client
*arg2
= (ob::Client
*) 0 ;
7978 PyObject
* obj0
= 0 ;
7979 PyObject
* obj1
= 0 ;
7981 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_setFocusedClient",&obj0
,&obj1
)) goto fail
;
7982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7984 (arg1
)->setFocusedClient(arg2
);
7986 Py_INCREF(Py_None
); resultobj
= Py_None
;
7993 static PyObject
*_wrap_Openbox_focusedScreen(PyObject
*self
, PyObject
*args
) {
7994 PyObject
*resultobj
;
7995 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7997 PyObject
* obj0
= 0 ;
7999 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_focusedScreen",&obj0
)) goto fail
;
8000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8001 result
= (ob::Screen
*)(arg1
)->focusedScreen();
8003 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Screen
, 0);
8010 static PyObject
*_wrap_Openbox_shutdown(PyObject
*self
, PyObject
*args
) {
8011 PyObject
*resultobj
;
8012 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_shutdown",&obj0
)) goto fail
;
8016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
*_wrap_Openbox_restart(PyObject
*self
, PyObject
*args
) {
8027 PyObject
*resultobj
;
8028 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
8029 std::string
const &arg2_defvalue
= "" ;
8030 std::string
*arg2
= (std::string
*) &arg2_defvalue
;
8032 PyObject
* obj0
= 0 ;
8033 PyObject
* obj1
= 0 ;
8035 if(!PyArg_ParseTuple(args
,(char *)"O|O:Openbox_restart",&obj0
,&obj1
)) goto fail
;
8036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8039 if (PyString_Check(obj1
)) {
8040 temp2
= std::string(PyString_AsString(obj1
));
8043 SWIG_exception(SWIG_TypeError
, "string expected");
8047 (arg1
)->restart((std::string
const &)*arg2
);
8049 Py_INCREF(Py_None
); resultobj
= Py_None
;
8056 static PyObject
*_wrap_Openbox_execute(PyObject
*self
, PyObject
*args
) {
8057 PyObject
*resultobj
;
8058 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
8060 std::string
*arg3
= 0 ;
8062 PyObject
* obj0
= 0 ;
8063 PyObject
* obj2
= 0 ;
8065 if(!PyArg_ParseTuple(args
,(char *)"OiO:Openbox_execute",&obj0
,&arg2
,&obj2
)) goto fail
;
8066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8068 if (PyString_Check(obj2
)) {
8069 temp3
= std::string(PyString_AsString(obj2
));
8072 SWIG_exception(SWIG_TypeError
, "string expected");
8075 (arg1
)->execute(arg2
,(std::string
const &)*arg3
);
8077 Py_INCREF(Py_None
); resultobj
= Py_None
;
8084 static PyObject
* Openbox_swigregister(PyObject
*self
, PyObject
*args
) {
8086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8087 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox
, obj
);
8089 return Py_BuildValue((char *)"");
8091 static PyObject
*_wrap_Screen_client(PyObject
*self
, PyObject
*args
) {
8092 PyObject
*resultobj
;
8093 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8098 if(!PyArg_ParseTuple(args
,(char *)"Oi:Screen_client",&obj0
,&arg2
)) goto fail
;
8099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8100 result
= (ob::Client
*)ob_Screen_client(arg1
,arg2
);
8102 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
8109 static PyObject
*_wrap_Screen_clientCount(PyObject
*self
, PyObject
*args
) {
8110 PyObject
*resultobj
;
8111 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8113 PyObject
* obj0
= 0 ;
8115 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_clientCount",&obj0
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8117 result
= (int)ob_Screen_clientCount((ob::Screen
const *)arg1
);
8119 resultobj
= PyInt_FromLong((long)result
);
8126 static PyObject
*_wrap_Screen_number(PyObject
*self
, PyObject
*args
) {
8127 PyObject
*resultobj
;
8128 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8130 PyObject
* obj0
= 0 ;
8132 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_number",&obj0
)) goto fail
;
8133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8134 result
= (int)((ob::Screen
const *)arg1
)->number();
8136 resultobj
= PyInt_FromLong((long)result
);
8143 static PyObject
*_wrap_Screen_managed(PyObject
*self
, PyObject
*args
) {
8144 PyObject
*resultobj
;
8145 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8147 PyObject
* obj0
= 0 ;
8149 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_managed",&obj0
)) goto fail
;
8150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8151 result
= (bool)((ob::Screen
const *)arg1
)->managed();
8153 resultobj
= PyInt_FromLong((long)result
);
8160 static PyObject
*_wrap_Screen_imageControl(PyObject
*self
, PyObject
*args
) {
8161 PyObject
*resultobj
;
8162 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8163 otk::ImageControl
*result
;
8164 PyObject
* obj0
= 0 ;
8166 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_imageControl",&obj0
)) goto fail
;
8167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8168 result
= (otk::ImageControl
*)(arg1
)->imageControl();
8170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ImageControl
, 0);
8177 static PyObject
*_wrap_Screen_area(PyObject
*self
, PyObject
*args
) {
8178 PyObject
*resultobj
;
8179 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8181 PyObject
* obj0
= 0 ;
8183 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_area",&obj0
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8186 otk::Rect
const &_result_ref
= ((ob::Screen
const *)arg1
)->area();
8187 result
= (otk::Rect
*) &_result_ref
;
8190 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
8197 static PyObject
*_wrap_Screen_style(PyObject
*self
, PyObject
*args
) {
8198 PyObject
*resultobj
;
8199 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8201 PyObject
* obj0
= 0 ;
8203 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_style",&obj0
)) goto fail
;
8204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8205 result
= (otk::Style
*)((ob::Screen
const *)arg1
)->style();
8207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 0);
8214 static PyObject
*_wrap_Screen_focuswindow(PyObject
*self
, PyObject
*args
) {
8215 PyObject
*resultobj
;
8216 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8220 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_focuswindow",&obj0
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8222 result
= (Window
)((ob::Screen
const *)arg1
)->focuswindow();
8224 resultobj
= PyInt_FromLong((long)result
);
8231 static PyObject
*_wrap_Screen_desktop(PyObject
*self
, PyObject
*args
) {
8232 PyObject
*resultobj
;
8233 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8235 PyObject
* obj0
= 0 ;
8237 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_desktop",&obj0
)) goto fail
;
8238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8239 result
= (long)((ob::Screen
const *)arg1
)->desktop();
8241 resultobj
= PyInt_FromLong((long)result
);
8248 static PyObject
*_wrap_Screen_numDesktops(PyObject
*self
, PyObject
*args
) {
8249 PyObject
*resultobj
;
8250 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8252 PyObject
* obj0
= 0 ;
8254 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_numDesktops",&obj0
)) goto fail
;
8255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8256 result
= (long)((ob::Screen
const *)arg1
)->numDesktops();
8258 resultobj
= PyInt_FromLong((long)result
);
8265 static PyObject
*_wrap_Screen_updateStrut(PyObject
*self
, PyObject
*args
) {
8266 PyObject
*resultobj
;
8267 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8268 PyObject
* obj0
= 0 ;
8270 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_updateStrut",&obj0
)) goto fail
;
8271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8272 (arg1
)->updateStrut();
8274 Py_INCREF(Py_None
); resultobj
= Py_None
;
8281 static PyObject
*_wrap_Screen_manageExisting(PyObject
*self
, PyObject
*args
) {
8282 PyObject
*resultobj
;
8283 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8284 PyObject
* obj0
= 0 ;
8286 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_manageExisting",&obj0
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8288 (arg1
)->manageExisting();
8290 Py_INCREF(Py_None
); resultobj
= Py_None
;
8297 static PyObject
*_wrap_Screen_manageWindow(PyObject
*self
, PyObject
*args
) {
8298 PyObject
*resultobj
;
8299 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8304 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_manageWindow",&obj0
,&obj1
)) goto fail
;
8305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8306 arg2
= (Window
) PyInt_AsLong(obj1
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8308 (arg1
)->manageWindow(arg2
);
8310 Py_INCREF(Py_None
); resultobj
= Py_None
;
8317 static PyObject
*_wrap_Screen_unmanageWindow(PyObject
*self
, PyObject
*args
) {
8318 PyObject
*resultobj
;
8319 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8320 ob::Client
*arg2
= (ob::Client
*) 0 ;
8321 PyObject
* obj0
= 0 ;
8322 PyObject
* obj1
= 0 ;
8324 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_unmanageWindow",&obj0
,&obj1
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8327 (arg1
)->unmanageWindow(arg2
);
8329 Py_INCREF(Py_None
); resultobj
= Py_None
;
8336 static PyObject
*_wrap_Screen_raiseWindow(PyObject
*self
, PyObject
*args
) {
8337 PyObject
*resultobj
;
8338 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8339 ob::Client
*arg2
= (ob::Client
*) 0 ;
8340 PyObject
* obj0
= 0 ;
8341 PyObject
* obj1
= 0 ;
8343 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_raiseWindow",&obj0
,&obj1
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8346 (arg1
)->raiseWindow(arg2
);
8348 Py_INCREF(Py_None
); resultobj
= Py_None
;
8355 static PyObject
*_wrap_Screen_lowerWindow(PyObject
*self
, PyObject
*args
) {
8356 PyObject
*resultobj
;
8357 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8358 ob::Client
*arg2
= (ob::Client
*) 0 ;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8362 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_lowerWindow",&obj0
,&obj1
)) goto fail
;
8363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8365 (arg1
)->lowerWindow(arg2
);
8367 Py_INCREF(Py_None
); resultobj
= Py_None
;
8374 static PyObject
*_wrap_Screen_setDesktopName(PyObject
*self
, PyObject
*args
) {
8375 PyObject
*resultobj
;
8376 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8378 otk::ustring
*arg3
= 0 ;
8379 otk::ustring temp3
;
8380 PyObject
* obj0
= 0 ;
8381 PyObject
* obj2
= 0 ;
8383 if(!PyArg_ParseTuple(args
,(char *)"OlO:Screen_setDesktopName",&obj0
,&arg2
,&obj2
)) goto fail
;
8384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8386 if (PyString_Check(obj2
)) {
8387 temp3
= otk::ustring(PyString_AsString(obj2
));
8390 SWIG_exception(SWIG_TypeError
, "ustring expected");
8393 (arg1
)->setDesktopName(arg2
,(otk::ustring
const &)*arg3
);
8395 Py_INCREF(Py_None
); resultobj
= Py_None
;
8402 static PyObject
*_wrap_Screen_propertyHandler(PyObject
*self
, PyObject
*args
) {
8403 PyObject
*resultobj
;
8404 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8405 XPropertyEvent
*arg2
= 0 ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8409 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_propertyHandler",&obj0
,&obj1
)) goto fail
;
8410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8411 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8413 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8415 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
8417 Py_INCREF(Py_None
); resultobj
= Py_None
;
8424 static PyObject
*_wrap_Screen_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
8425 PyObject
*resultobj
;
8426 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8427 XClientMessageEvent
*arg2
= 0 ;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8431 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
8432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8433 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8435 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8437 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
8439 Py_INCREF(Py_None
); resultobj
= Py_None
;
8446 static PyObject
*_wrap_Screen_mapRequestHandler(PyObject
*self
, PyObject
*args
) {
8447 PyObject
*resultobj
;
8448 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8449 XMapRequestEvent
*arg2
= 0 ;
8450 PyObject
* obj0
= 0 ;
8451 PyObject
* obj1
= 0 ;
8453 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_mapRequestHandler",&obj0
,&obj1
)) goto fail
;
8454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8457 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8459 (arg1
)->mapRequestHandler((XMapRequestEvent
const &)*arg2
);
8461 Py_INCREF(Py_None
); resultobj
= Py_None
;
8468 static PyObject
* Screen_swigregister(PyObject
*self
, PyObject
*args
) {
8470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8471 SWIG_TypeClientData(SWIGTYPE_p_ob__Screen
, obj
);
8473 return Py_BuildValue((char *)"");
8475 static PyObject
*_wrap_MwmHints_flags_set(PyObject
*self
, PyObject
*args
) {
8476 PyObject
*resultobj
;
8477 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8478 unsigned long arg2
;
8479 PyObject
* obj0
= 0 ;
8480 PyObject
* obj1
= 0 ;
8482 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_flags_set",&obj0
,&obj1
)) goto fail
;
8483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8484 arg2
= (unsigned long) PyInt_AsLong(obj1
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8486 if (arg1
) (arg1
)->flags
= arg2
;
8488 Py_INCREF(Py_None
); resultobj
= Py_None
;
8495 static PyObject
*_wrap_MwmHints_flags_get(PyObject
*self
, PyObject
*args
) {
8496 PyObject
*resultobj
;
8497 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8498 unsigned long result
;
8499 PyObject
* obj0
= 0 ;
8501 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_flags_get",&obj0
)) goto fail
;
8502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8503 result
= (unsigned long) ((arg1
)->flags
);
8505 resultobj
= PyInt_FromLong((long)result
);
8512 static PyObject
*_wrap_MwmHints_functions_set(PyObject
*self
, PyObject
*args
) {
8513 PyObject
*resultobj
;
8514 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8515 unsigned long arg2
;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8519 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_functions_set",&obj0
,&obj1
)) goto fail
;
8520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8521 arg2
= (unsigned long) PyInt_AsLong(obj1
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8523 if (arg1
) (arg1
)->functions
= arg2
;
8525 Py_INCREF(Py_None
); resultobj
= Py_None
;
8532 static PyObject
*_wrap_MwmHints_functions_get(PyObject
*self
, PyObject
*args
) {
8533 PyObject
*resultobj
;
8534 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8535 unsigned long result
;
8536 PyObject
* obj0
= 0 ;
8538 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_functions_get",&obj0
)) goto fail
;
8539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8540 result
= (unsigned long) ((arg1
)->functions
);
8542 resultobj
= PyInt_FromLong((long)result
);
8549 static PyObject
*_wrap_MwmHints_decorations_set(PyObject
*self
, PyObject
*args
) {
8550 PyObject
*resultobj
;
8551 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8552 unsigned long arg2
;
8553 PyObject
* obj0
= 0 ;
8554 PyObject
* obj1
= 0 ;
8556 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_decorations_set",&obj0
,&obj1
)) goto fail
;
8557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8558 arg2
= (unsigned long) PyInt_AsLong(obj1
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8560 if (arg1
) (arg1
)->decorations
= arg2
;
8562 Py_INCREF(Py_None
); resultobj
= Py_None
;
8569 static PyObject
*_wrap_MwmHints_decorations_get(PyObject
*self
, PyObject
*args
) {
8570 PyObject
*resultobj
;
8571 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8572 unsigned long result
;
8573 PyObject
* obj0
= 0 ;
8575 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_decorations_get",&obj0
)) goto fail
;
8576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8577 result
= (unsigned long) ((arg1
)->decorations
);
8579 resultobj
= PyInt_FromLong((long)result
);
8586 static PyObject
* MwmHints_swigregister(PyObject
*self
, PyObject
*args
) {
8588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8589 SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints
, obj
);
8591 return Py_BuildValue((char *)"");
8593 static PyObject
*_wrap_Client_frame_set(PyObject
*self
, PyObject
*args
) {
8594 PyObject
*resultobj
;
8595 ob::Client
*arg1
= (ob::Client
*) 0 ;
8596 ob::Frame
*arg2
= (ob::Frame
*) 0 ;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8600 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_frame_set",&obj0
,&obj1
)) goto fail
;
8601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8602 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
8603 if (arg1
) (arg1
)->frame
= arg2
;
8605 Py_INCREF(Py_None
); resultobj
= Py_None
;
8612 static PyObject
*_wrap_Client_frame_get(PyObject
*self
, PyObject
*args
) {
8613 PyObject
*resultobj
;
8614 ob::Client
*arg1
= (ob::Client
*) 0 ;
8616 PyObject
* obj0
= 0 ;
8618 if(!PyArg_ParseTuple(args
,(char *)"O:Client_frame_get",&obj0
)) goto fail
;
8619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8620 result
= (ob::Frame
*) ((arg1
)->frame
);
8622 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Frame
, 0);
8629 static PyObject
*_wrap_Client_ignore_unmaps_set(PyObject
*self
, PyObject
*args
) {
8630 PyObject
*resultobj
;
8631 ob::Client
*arg1
= (ob::Client
*) 0 ;
8633 PyObject
* obj0
= 0 ;
8635 if(!PyArg_ParseTuple(args
,(char *)"Oi:Client_ignore_unmaps_set",&obj0
,&arg2
)) goto fail
;
8636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8637 if (arg1
) (arg1
)->ignore_unmaps
= arg2
;
8639 Py_INCREF(Py_None
); resultobj
= Py_None
;
8646 static PyObject
*_wrap_Client_ignore_unmaps_get(PyObject
*self
, PyObject
*args
) {
8647 PyObject
*resultobj
;
8648 ob::Client
*arg1
= (ob::Client
*) 0 ;
8650 PyObject
* obj0
= 0 ;
8652 if(!PyArg_ParseTuple(args
,(char *)"O:Client_ignore_unmaps_get",&obj0
)) goto fail
;
8653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8654 result
= (int) ((arg1
)->ignore_unmaps
);
8656 resultobj
= PyInt_FromLong((long)result
);
8663 static PyObject
*_wrap_Client_screen(PyObject
*self
, PyObject
*args
) {
8664 PyObject
*resultobj
;
8665 ob::Client
*arg1
= (ob::Client
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8669 if(!PyArg_ParseTuple(args
,(char *)"O:Client_screen",&obj0
)) goto fail
;
8670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8671 result
= (int)((ob::Client
const *)arg1
)->screen();
8673 resultobj
= PyInt_FromLong((long)result
);
8680 static PyObject
*_wrap_Client_window(PyObject
*self
, PyObject
*args
) {
8681 PyObject
*resultobj
;
8682 ob::Client
*arg1
= (ob::Client
*) 0 ;
8684 PyObject
* obj0
= 0 ;
8686 if(!PyArg_ParseTuple(args
,(char *)"O:Client_window",&obj0
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8688 result
= (Window
)((ob::Client
const *)arg1
)->window();
8690 resultobj
= PyInt_FromLong((long)result
);
8697 static PyObject
*_wrap_Client_type(PyObject
*self
, PyObject
*args
) {
8698 PyObject
*resultobj
;
8699 ob::Client
*arg1
= (ob::Client
*) 0 ;
8701 PyObject
* obj0
= 0 ;
8703 if(!PyArg_ParseTuple(args
,(char *)"O:Client_type",&obj0
)) goto fail
;
8704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8705 result
= (int)((ob::Client
const *)arg1
)->type();
8707 resultobj
= PyInt_FromLong((long)result
);
8714 static PyObject
*_wrap_Client_normal(PyObject
*self
, PyObject
*args
) {
8715 PyObject
*resultobj
;
8716 ob::Client
*arg1
= (ob::Client
*) 0 ;
8718 PyObject
* obj0
= 0 ;
8720 if(!PyArg_ParseTuple(args
,(char *)"O:Client_normal",&obj0
)) goto fail
;
8721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8722 result
= (bool)((ob::Client
const *)arg1
)->normal();
8724 resultobj
= PyInt_FromLong((long)result
);
8731 static PyObject
*_wrap_Client_desktop(PyObject
*self
, PyObject
*args
) {
8732 PyObject
*resultobj
;
8733 ob::Client
*arg1
= (ob::Client
*) 0 ;
8735 PyObject
* obj0
= 0 ;
8737 if(!PyArg_ParseTuple(args
,(char *)"O:Client_desktop",&obj0
)) goto fail
;
8738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8739 result
= (long)((ob::Client
const *)arg1
)->desktop();
8741 resultobj
= PyInt_FromLong((long)result
);
8748 static PyObject
*_wrap_Client_title(PyObject
*self
, PyObject
*args
) {
8749 PyObject
*resultobj
;
8750 ob::Client
*arg1
= (ob::Client
*) 0 ;
8751 otk::ustring
*result
;
8752 PyObject
* obj0
= 0 ;
8754 if(!PyArg_ParseTuple(args
,(char *)"O:Client_title",&obj0
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8757 otk::ustring
const &_result_ref
= ((ob::Client
const *)arg1
)->title();
8758 result
= (otk::ustring
*) &_result_ref
;
8762 resultobj
= PyString_FromString(result
->c_str());
8770 static PyObject
*_wrap_Client_iconTitle(PyObject
*self
, PyObject
*args
) {
8771 PyObject
*resultobj
;
8772 ob::Client
*arg1
= (ob::Client
*) 0 ;
8773 otk::ustring
*result
;
8774 PyObject
* obj0
= 0 ;
8776 if(!PyArg_ParseTuple(args
,(char *)"O:Client_iconTitle",&obj0
)) goto fail
;
8777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8779 otk::ustring
const &_result_ref
= ((ob::Client
const *)arg1
)->iconTitle();
8780 result
= (otk::ustring
*) &_result_ref
;
8784 resultobj
= PyString_FromString(result
->c_str());
8792 static PyObject
*_wrap_Client_appName(PyObject
*self
, PyObject
*args
) {
8793 PyObject
*resultobj
;
8794 ob::Client
*arg1
= (ob::Client
*) 0 ;
8795 std::string
*result
;
8796 PyObject
* obj0
= 0 ;
8798 if(!PyArg_ParseTuple(args
,(char *)"O:Client_appName",&obj0
)) goto fail
;
8799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8801 std::string
const &_result_ref
= ((ob::Client
const *)arg1
)->appName();
8802 result
= (std::string
*) &_result_ref
;
8806 resultobj
= PyString_FromString(result
->c_str());
8814 static PyObject
*_wrap_Client_appClass(PyObject
*self
, PyObject
*args
) {
8815 PyObject
*resultobj
;
8816 ob::Client
*arg1
= (ob::Client
*) 0 ;
8817 std::string
*result
;
8818 PyObject
* obj0
= 0 ;
8820 if(!PyArg_ParseTuple(args
,(char *)"O:Client_appClass",&obj0
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8823 std::string
const &_result_ref
= ((ob::Client
const *)arg1
)->appClass();
8824 result
= (std::string
*) &_result_ref
;
8828 resultobj
= PyString_FromString(result
->c_str());
8836 static PyObject
*_wrap_Client_role(PyObject
*self
, PyObject
*args
) {
8837 PyObject
*resultobj
;
8838 ob::Client
*arg1
= (ob::Client
*) 0 ;
8839 std::string
*result
;
8840 PyObject
* obj0
= 0 ;
8842 if(!PyArg_ParseTuple(args
,(char *)"O:Client_role",&obj0
)) goto fail
;
8843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8845 std::string
const &_result_ref
= ((ob::Client
const *)arg1
)->role();
8846 result
= (std::string
*) &_result_ref
;
8850 resultobj
= PyString_FromString(result
->c_str());
8858 static PyObject
*_wrap_Client_canFocus(PyObject
*self
, PyObject
*args
) {
8859 PyObject
*resultobj
;
8860 ob::Client
*arg1
= (ob::Client
*) 0 ;
8862 PyObject
* obj0
= 0 ;
8864 if(!PyArg_ParseTuple(args
,(char *)"O:Client_canFocus",&obj0
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8866 result
= (bool)((ob::Client
const *)arg1
)->canFocus();
8868 resultobj
= PyInt_FromLong((long)result
);
8875 static PyObject
*_wrap_Client_urgent(PyObject
*self
, PyObject
*args
) {
8876 PyObject
*resultobj
;
8877 ob::Client
*arg1
= (ob::Client
*) 0 ;
8879 PyObject
* obj0
= 0 ;
8881 if(!PyArg_ParseTuple(args
,(char *)"O:Client_urgent",&obj0
)) goto fail
;
8882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8883 result
= (bool)((ob::Client
const *)arg1
)->urgent();
8885 resultobj
= PyInt_FromLong((long)result
);
8892 static PyObject
*_wrap_Client_focusNotify(PyObject
*self
, PyObject
*args
) {
8893 PyObject
*resultobj
;
8894 ob::Client
*arg1
= (ob::Client
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8898 if(!PyArg_ParseTuple(args
,(char *)"O:Client_focusNotify",&obj0
)) goto fail
;
8899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8900 result
= (bool)((ob::Client
const *)arg1
)->focusNotify();
8902 resultobj
= PyInt_FromLong((long)result
);
8909 static PyObject
*_wrap_Client_shaped(PyObject
*self
, PyObject
*args
) {
8910 PyObject
*resultobj
;
8911 ob::Client
*arg1
= (ob::Client
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8915 if(!PyArg_ParseTuple(args
,(char *)"O:Client_shaped",&obj0
)) goto fail
;
8916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8917 result
= (bool)((ob::Client
const *)arg1
)->shaped();
8919 resultobj
= PyInt_FromLong((long)result
);
8926 static PyObject
*_wrap_Client_gravity(PyObject
*self
, PyObject
*args
) {
8927 PyObject
*resultobj
;
8928 ob::Client
*arg1
= (ob::Client
*) 0 ;
8930 PyObject
* obj0
= 0 ;
8932 if(!PyArg_ParseTuple(args
,(char *)"O:Client_gravity",&obj0
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8934 result
= (int)((ob::Client
const *)arg1
)->gravity();
8936 resultobj
= PyInt_FromLong((long)result
);
8943 static PyObject
*_wrap_Client_positionRequested(PyObject
*self
, PyObject
*args
) {
8944 PyObject
*resultobj
;
8945 ob::Client
*arg1
= (ob::Client
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8949 if(!PyArg_ParseTuple(args
,(char *)"O:Client_positionRequested",&obj0
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8951 result
= (bool)((ob::Client
const *)arg1
)->positionRequested();
8953 resultobj
= PyInt_FromLong((long)result
);
8960 static PyObject
*_wrap_Client_decorations(PyObject
*self
, PyObject
*args
) {
8961 PyObject
*resultobj
;
8962 ob::Client
*arg1
= (ob::Client
*) 0 ;
8963 ob::Client::DecorationFlags result
;
8964 PyObject
* obj0
= 0 ;
8966 if(!PyArg_ParseTuple(args
,(char *)"O:Client_decorations",&obj0
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8968 result
= (ob::Client::DecorationFlags
)((ob::Client
const *)arg1
)->decorations();
8970 resultobj
= PyInt_FromLong((long)result
);
8977 static PyObject
*_wrap_Client_funtions(PyObject
*self
, PyObject
*args
) {
8978 PyObject
*resultobj
;
8979 ob::Client
*arg1
= (ob::Client
*) 0 ;
8980 ob::Client::FunctionFlags result
;
8981 PyObject
* obj0
= 0 ;
8983 if(!PyArg_ParseTuple(args
,(char *)"O:Client_funtions",&obj0
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8985 result
= (ob::Client::FunctionFlags
)((ob::Client
const *)arg1
)->funtions();
8987 resultobj
= PyInt_FromLong((long)result
);
8994 static PyObject
*_wrap_Client_transientFor(PyObject
*self
, PyObject
*args
) {
8995 PyObject
*resultobj
;
8996 ob::Client
*arg1
= (ob::Client
*) 0 ;
8998 PyObject
* obj0
= 0 ;
9000 if(!PyArg_ParseTuple(args
,(char *)"O:Client_transientFor",&obj0
)) goto fail
;
9001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9002 result
= (ob::Client
*)((ob::Client
const *)arg1
)->transientFor();
9004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
9011 static PyObject
*_wrap_Client_modal(PyObject
*self
, PyObject
*args
) {
9012 PyObject
*resultobj
;
9013 ob::Client
*arg1
= (ob::Client
*) 0 ;
9015 PyObject
* obj0
= 0 ;
9017 if(!PyArg_ParseTuple(args
,(char *)"O:Client_modal",&obj0
)) goto fail
;
9018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9019 result
= (bool)((ob::Client
const *)arg1
)->modal();
9021 resultobj
= PyInt_FromLong((long)result
);
9028 static PyObject
*_wrap_Client_shaded(PyObject
*self
, PyObject
*args
) {
9029 PyObject
*resultobj
;
9030 ob::Client
*arg1
= (ob::Client
*) 0 ;
9032 PyObject
* obj0
= 0 ;
9034 if(!PyArg_ParseTuple(args
,(char *)"O:Client_shaded",&obj0
)) goto fail
;
9035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9036 result
= (bool)((ob::Client
const *)arg1
)->shaded();
9038 resultobj
= PyInt_FromLong((long)result
);
9045 static PyObject
*_wrap_Client_iconic(PyObject
*self
, PyObject
*args
) {
9046 PyObject
*resultobj
;
9047 ob::Client
*arg1
= (ob::Client
*) 0 ;
9049 PyObject
* obj0
= 0 ;
9051 if(!PyArg_ParseTuple(args
,(char *)"O:Client_iconic",&obj0
)) goto fail
;
9052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9053 result
= (bool)((ob::Client
const *)arg1
)->iconic();
9055 resultobj
= PyInt_FromLong((long)result
);
9062 static PyObject
*_wrap_Client_maxVert(PyObject
*self
, PyObject
*args
) {
9063 PyObject
*resultobj
;
9064 ob::Client
*arg1
= (ob::Client
*) 0 ;
9066 PyObject
* obj0
= 0 ;
9068 if(!PyArg_ParseTuple(args
,(char *)"O:Client_maxVert",&obj0
)) goto fail
;
9069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9070 result
= (bool)((ob::Client
const *)arg1
)->maxVert();
9072 resultobj
= PyInt_FromLong((long)result
);
9079 static PyObject
*_wrap_Client_maxHorz(PyObject
*self
, PyObject
*args
) {
9080 PyObject
*resultobj
;
9081 ob::Client
*arg1
= (ob::Client
*) 0 ;
9083 PyObject
* obj0
= 0 ;
9085 if(!PyArg_ParseTuple(args
,(char *)"O:Client_maxHorz",&obj0
)) goto fail
;
9086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9087 result
= (bool)((ob::Client
const *)arg1
)->maxHorz();
9089 resultobj
= PyInt_FromLong((long)result
);
9096 static PyObject
*_wrap_Client_layer(PyObject
*self
, PyObject
*args
) {
9097 PyObject
*resultobj
;
9098 ob::Client
*arg1
= (ob::Client
*) 0 ;
9100 PyObject
* obj0
= 0 ;
9102 if(!PyArg_ParseTuple(args
,(char *)"O:Client_layer",&obj0
)) goto fail
;
9103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9104 result
= (int)((ob::Client
const *)arg1
)->layer();
9106 resultobj
= PyInt_FromLong((long)result
);
9113 static PyObject
*_wrap_Client_toggleClientBorder(PyObject
*self
, PyObject
*args
) {
9114 PyObject
*resultobj
;
9115 ob::Client
*arg1
= (ob::Client
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9118 PyObject
* obj1
= 0 ;
9120 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_toggleClientBorder",&obj0
,&obj1
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9122 arg2
= (bool) PyInt_AsLong(obj1
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9124 (arg1
)->toggleClientBorder(arg2
);
9126 Py_INCREF(Py_None
); resultobj
= Py_None
;
9133 static PyObject
*_wrap_Client_area(PyObject
*self
, PyObject
*args
) {
9134 PyObject
*resultobj
;
9135 ob::Client
*arg1
= (ob::Client
*) 0 ;
9137 PyObject
* obj0
= 0 ;
9139 if(!PyArg_ParseTuple(args
,(char *)"O:Client_area",&obj0
)) goto fail
;
9140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9142 otk::Rect
const &_result_ref
= ((ob::Client
const *)arg1
)->area();
9143 result
= (otk::Rect
*) &_result_ref
;
9146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
9153 static PyObject
*_wrap_Client_strut(PyObject
*self
, PyObject
*args
) {
9154 PyObject
*resultobj
;
9155 ob::Client
*arg1
= (ob::Client
*) 0 ;
9157 PyObject
* obj0
= 0 ;
9159 if(!PyArg_ParseTuple(args
,(char *)"O:Client_strut",&obj0
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9162 otk::Strut
const &_result_ref
= ((ob::Client
const *)arg1
)->strut();
9163 result
= (otk::Strut
*) &_result_ref
;
9166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 0);
9173 static PyObject
*_wrap_Client_move(PyObject
*self
, PyObject
*args
) {
9174 PyObject
*resultobj
;
9175 ob::Client
*arg1
= (ob::Client
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9180 if(!PyArg_ParseTuple(args
,(char *)"Oii:Client_move",&obj0
,&arg2
,&arg3
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9182 (arg1
)->move(arg2
,arg3
);
9184 Py_INCREF(Py_None
); resultobj
= Py_None
;
9191 static PyObject
*_wrap_Client_resize(PyObject
*self
, PyObject
*args
) {
9192 PyObject
*resultobj
;
9193 ob::Client
*arg1
= (ob::Client
*) 0 ;
9197 int arg5
= (int) INT_MIN
;
9198 int arg6
= (int) INT_MIN
;
9199 PyObject
* obj0
= 0 ;
9201 if(!PyArg_ParseTuple(args
,(char *)"Oiii|ii:Client_resize",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9203 (arg1
)->resize((ob::Client::Corner
)arg2
,arg3
,arg4
,arg5
,arg6
);
9205 Py_INCREF(Py_None
); resultobj
= Py_None
;
9212 static PyObject
*_wrap_Client_focus(PyObject
*self
, PyObject
*args
) {
9213 PyObject
*resultobj
;
9214 ob::Client
*arg1
= (ob::Client
*) 0 ;
9216 PyObject
* obj0
= 0 ;
9218 if(!PyArg_ParseTuple(args
,(char *)"O:Client_focus",&obj0
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9220 result
= (bool)((ob::Client
const *)arg1
)->focus();
9222 resultobj
= PyInt_FromLong((long)result
);
9229 static PyObject
*_wrap_Client_unfocus(PyObject
*self
, PyObject
*args
) {
9230 PyObject
*resultobj
;
9231 ob::Client
*arg1
= (ob::Client
*) 0 ;
9232 PyObject
* obj0
= 0 ;
9234 if(!PyArg_ParseTuple(args
,(char *)"O:Client_unfocus",&obj0
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9236 ((ob::Client
const *)arg1
)->unfocus();
9238 Py_INCREF(Py_None
); resultobj
= Py_None
;
9245 static PyObject
*_wrap_Client_focusHandler(PyObject
*self
, PyObject
*args
) {
9246 PyObject
*resultobj
;
9247 ob::Client
*arg1
= (ob::Client
*) 0 ;
9248 XFocusChangeEvent
*arg2
= 0 ;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9252 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_focusHandler",&obj0
,&obj1
)) goto fail
;
9253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9254 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9256 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9258 (arg1
)->focusHandler((XFocusChangeEvent
const &)*arg2
);
9260 Py_INCREF(Py_None
); resultobj
= Py_None
;
9267 static PyObject
*_wrap_Client_unfocusHandler(PyObject
*self
, PyObject
*args
) {
9268 PyObject
*resultobj
;
9269 ob::Client
*arg1
= (ob::Client
*) 0 ;
9270 XFocusChangeEvent
*arg2
= 0 ;
9271 PyObject
* obj0
= 0 ;
9272 PyObject
* obj1
= 0 ;
9274 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_unfocusHandler",&obj0
,&obj1
)) goto fail
;
9275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9278 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9280 (arg1
)->unfocusHandler((XFocusChangeEvent
const &)*arg2
);
9282 Py_INCREF(Py_None
); resultobj
= Py_None
;
9289 static PyObject
*_wrap_Client_propertyHandler(PyObject
*self
, PyObject
*args
) {
9290 PyObject
*resultobj
;
9291 ob::Client
*arg1
= (ob::Client
*) 0 ;
9292 XPropertyEvent
*arg2
= 0 ;
9293 PyObject
* obj0
= 0 ;
9294 PyObject
* obj1
= 0 ;
9296 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_propertyHandler",&obj0
,&obj1
)) goto fail
;
9297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9302 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
9304 Py_INCREF(Py_None
); resultobj
= Py_None
;
9311 static PyObject
*_wrap_Client_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
9312 PyObject
*resultobj
;
9313 ob::Client
*arg1
= (ob::Client
*) 0 ;
9314 XClientMessageEvent
*arg2
= 0 ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9318 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9324 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
9326 Py_INCREF(Py_None
); resultobj
= Py_None
;
9333 static PyObject
*_wrap_Client_configureRequestHandler(PyObject
*self
, PyObject
*args
) {
9334 PyObject
*resultobj
;
9335 ob::Client
*arg1
= (ob::Client
*) 0 ;
9336 XConfigureRequestEvent
*arg2
= 0 ;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9340 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_configureRequestHandler",&obj0
,&obj1
)) goto fail
;
9341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9342 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9344 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9346 (arg1
)->configureRequestHandler((XConfigureRequestEvent
const &)*arg2
);
9348 Py_INCREF(Py_None
); resultobj
= Py_None
;
9355 static PyObject
*_wrap_Client_unmapHandler(PyObject
*self
, PyObject
*args
) {
9356 PyObject
*resultobj
;
9357 ob::Client
*arg1
= (ob::Client
*) 0 ;
9358 XUnmapEvent
*arg2
= 0 ;
9359 PyObject
* obj0
= 0 ;
9360 PyObject
* obj1
= 0 ;
9362 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_unmapHandler",&obj0
,&obj1
)) goto fail
;
9363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XUnmapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9368 (arg1
)->unmapHandler((XUnmapEvent
const &)*arg2
);
9370 Py_INCREF(Py_None
); resultobj
= Py_None
;
9377 static PyObject
*_wrap_Client_destroyHandler(PyObject
*self
, PyObject
*args
) {
9378 PyObject
*resultobj
;
9379 ob::Client
*arg1
= (ob::Client
*) 0 ;
9380 XDestroyWindowEvent
*arg2
= 0 ;
9381 PyObject
* obj0
= 0 ;
9382 PyObject
* obj1
= 0 ;
9384 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_destroyHandler",&obj0
,&obj1
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9386 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XDestroyWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9388 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9390 (arg1
)->destroyHandler((XDestroyWindowEvent
const &)*arg2
);
9392 Py_INCREF(Py_None
); resultobj
= Py_None
;
9399 static PyObject
*_wrap_Client_reparentHandler(PyObject
*self
, PyObject
*args
) {
9400 PyObject
*resultobj
;
9401 ob::Client
*arg1
= (ob::Client
*) 0 ;
9402 XReparentEvent
*arg2
= 0 ;
9403 PyObject
* obj0
= 0 ;
9404 PyObject
* obj1
= 0 ;
9406 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_reparentHandler",&obj0
,&obj1
)) goto fail
;
9407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9408 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XReparentEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9410 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9412 (arg1
)->reparentHandler((XReparentEvent
const &)*arg2
);
9414 Py_INCREF(Py_None
); resultobj
= Py_None
;
9421 static PyObject
* Client_swigregister(PyObject
*self
, PyObject
*args
) {
9423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9424 SWIG_TypeClientData(SWIGTYPE_p_ob__Client
, obj
);
9426 return Py_BuildValue((char *)"");
9428 static PyObject
*_wrap_MouseData_screen_set(PyObject
*self
, PyObject
*args
) {
9429 PyObject
*resultobj
;
9430 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9432 PyObject
* obj0
= 0 ;
9434 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_screen_set",&obj0
,&arg2
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9436 if (arg1
) (arg1
)->screen
= arg2
;
9438 Py_INCREF(Py_None
); resultobj
= Py_None
;
9445 static PyObject
*_wrap_MouseData_screen_get(PyObject
*self
, PyObject
*args
) {
9446 PyObject
*resultobj
;
9447 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_screen_get",&obj0
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9453 result
= (int) ((arg1
)->screen
);
9455 resultobj
= PyInt_FromLong((long)result
);
9462 static PyObject
*_wrap_MouseData_client_set(PyObject
*self
, PyObject
*args
) {
9463 PyObject
*resultobj
;
9464 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9465 ob::Client
*arg2
= (ob::Client
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9467 PyObject
* obj1
= 0 ;
9469 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_client_set",&obj0
,&obj1
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
9472 if (arg1
) (arg1
)->client
= arg2
;
9474 Py_INCREF(Py_None
); resultobj
= Py_None
;
9481 static PyObject
*_wrap_MouseData_client_get(PyObject
*self
, PyObject
*args
) {
9482 PyObject
*resultobj
;
9483 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_client_get",&obj0
)) goto fail
;
9488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9489 result
= (ob::Client
*) ((arg1
)->client
);
9491 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
9498 static PyObject
*_wrap_MouseData_time_set(PyObject
*self
, PyObject
*args
) {
9499 PyObject
*resultobj
;
9500 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9502 PyObject
* obj0
= 0 ;
9503 PyObject
* obj1
= 0 ;
9505 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_time_set",&obj0
,&obj1
)) goto fail
;
9506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9507 arg2
= (Time
) PyInt_AsLong(obj1
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9509 if (arg1
) (arg1
)->time
= arg2
;
9511 Py_INCREF(Py_None
); resultobj
= Py_None
;
9518 static PyObject
*_wrap_MouseData_time_get(PyObject
*self
, PyObject
*args
) {
9519 PyObject
*resultobj
;
9520 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9522 PyObject
* obj0
= 0 ;
9524 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_time_get",&obj0
)) goto fail
;
9525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9526 result
= (Time
) ((arg1
)->time
);
9528 resultobj
= PyInt_FromLong((long)result
);
9535 static PyObject
*_wrap_MouseData_state_set(PyObject
*self
, PyObject
*args
) {
9536 PyObject
*resultobj
;
9537 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9542 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_state_set",&obj0
,&obj1
)) goto fail
;
9543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9544 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9546 if (arg1
) (arg1
)->state
= arg2
;
9548 Py_INCREF(Py_None
); resultobj
= Py_None
;
9555 static PyObject
*_wrap_MouseData_state_get(PyObject
*self
, PyObject
*args
) {
9556 PyObject
*resultobj
;
9557 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9558 unsigned int result
;
9559 PyObject
* obj0
= 0 ;
9561 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_state_get",&obj0
)) goto fail
;
9562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9563 result
= (unsigned int) ((arg1
)->state
);
9565 resultobj
= PyInt_FromLong((long)result
);
9572 static PyObject
*_wrap_MouseData_button_set(PyObject
*self
, PyObject
*args
) {
9573 PyObject
*resultobj
;
9574 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9576 PyObject
* obj0
= 0 ;
9577 PyObject
* obj1
= 0 ;
9579 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_button_set",&obj0
,&obj1
)) goto fail
;
9580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9581 arg2
= (unsigned int) PyInt_AsLong(obj1
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9583 if (arg1
) (arg1
)->button
= arg2
;
9585 Py_INCREF(Py_None
); resultobj
= Py_None
;
9592 static PyObject
*_wrap_MouseData_button_get(PyObject
*self
, PyObject
*args
) {
9593 PyObject
*resultobj
;
9594 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9595 unsigned int result
;
9596 PyObject
* obj0
= 0 ;
9598 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_button_get",&obj0
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9600 result
= (unsigned int) ((arg1
)->button
);
9602 resultobj
= PyInt_FromLong((long)result
);
9609 static PyObject
*_wrap_MouseData_context_set(PyObject
*self
, PyObject
*args
) {
9610 PyObject
*resultobj
;
9611 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9613 PyObject
* obj0
= 0 ;
9615 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_context_set",&obj0
,&arg2
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9617 if (arg1
) (arg1
)->context
= (ob::MouseContext
)arg2
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9626 static PyObject
*_wrap_MouseData_context_get(PyObject
*self
, PyObject
*args
) {
9627 PyObject
*resultobj
;
9628 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9632 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_context_get",&obj0
)) goto fail
;
9633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9634 result
= (int) ((arg1
)->context
);
9636 resultobj
= PyInt_FromLong((long)result
);
9643 static PyObject
*_wrap_MouseData_action_set(PyObject
*self
, PyObject
*args
) {
9644 PyObject
*resultobj
;
9645 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_action_set",&obj0
,&arg2
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9651 if (arg1
) (arg1
)->action
= (ob::MouseAction
)arg2
;
9653 Py_INCREF(Py_None
); resultobj
= Py_None
;
9660 static PyObject
*_wrap_MouseData_action_get(PyObject
*self
, PyObject
*args
) {
9661 PyObject
*resultobj
;
9662 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9664 PyObject
* obj0
= 0 ;
9666 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_action_get",&obj0
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9668 result
= (int) ((arg1
)->action
);
9670 resultobj
= PyInt_FromLong((long)result
);
9677 static PyObject
*_wrap_MouseData_xroot_set(PyObject
*self
, PyObject
*args
) {
9678 PyObject
*resultobj
;
9679 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9683 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_xroot_set",&obj0
,&arg2
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9685 if (arg1
) (arg1
)->xroot
= arg2
;
9687 Py_INCREF(Py_None
); resultobj
= Py_None
;
9694 static PyObject
*_wrap_MouseData_xroot_get(PyObject
*self
, PyObject
*args
) {
9695 PyObject
*resultobj
;
9696 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9700 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_xroot_get",&obj0
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9702 result
= (int) ((arg1
)->xroot
);
9704 resultobj
= PyInt_FromLong((long)result
);
9711 static PyObject
*_wrap_MouseData_yroot_set(PyObject
*self
, PyObject
*args
) {
9712 PyObject
*resultobj
;
9713 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9717 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_yroot_set",&obj0
,&arg2
)) goto fail
;
9718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9719 if (arg1
) (arg1
)->yroot
= arg2
;
9721 Py_INCREF(Py_None
); resultobj
= Py_None
;
9728 static PyObject
*_wrap_MouseData_yroot_get(PyObject
*self
, PyObject
*args
) {
9729 PyObject
*resultobj
;
9730 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9732 PyObject
* obj0
= 0 ;
9734 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_yroot_get",&obj0
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9736 result
= (int) ((arg1
)->yroot
);
9738 resultobj
= PyInt_FromLong((long)result
);
9745 static PyObject
*_wrap_MouseData_pressx_set(PyObject
*self
, PyObject
*args
) {
9746 PyObject
*resultobj
;
9747 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9751 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_pressx_set",&obj0
,&arg2
)) goto fail
;
9752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9753 if (arg1
) (arg1
)->pressx
= arg2
;
9755 Py_INCREF(Py_None
); resultobj
= Py_None
;
9762 static PyObject
*_wrap_MouseData_pressx_get(PyObject
*self
, PyObject
*args
) {
9763 PyObject
*resultobj
;
9764 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9766 PyObject
* obj0
= 0 ;
9768 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_pressx_get",&obj0
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9770 result
= (int) ((arg1
)->pressx
);
9772 resultobj
= PyInt_FromLong((long)result
);
9779 static PyObject
*_wrap_MouseData_pressy_set(PyObject
*self
, PyObject
*args
) {
9780 PyObject
*resultobj
;
9781 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9785 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_pressy_set",&obj0
,&arg2
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9787 if (arg1
) (arg1
)->pressy
= arg2
;
9789 Py_INCREF(Py_None
); resultobj
= Py_None
;
9796 static PyObject
*_wrap_MouseData_pressy_get(PyObject
*self
, PyObject
*args
) {
9797 PyObject
*resultobj
;
9798 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9802 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_pressy_get",&obj0
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9804 result
= (int) ((arg1
)->pressy
);
9806 resultobj
= PyInt_FromLong((long)result
);
9813 static PyObject
*_wrap_MouseData_press_clientx_set(PyObject
*self
, PyObject
*args
) {
9814 PyObject
*resultobj
;
9815 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9817 PyObject
* obj0
= 0 ;
9819 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientx_set",&obj0
,&arg2
)) goto fail
;
9820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9821 if (arg1
) (arg1
)->press_clientx
= arg2
;
9823 Py_INCREF(Py_None
); resultobj
= Py_None
;
9830 static PyObject
*_wrap_MouseData_press_clientx_get(PyObject
*self
, PyObject
*args
) {
9831 PyObject
*resultobj
;
9832 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9834 PyObject
* obj0
= 0 ;
9836 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientx_get",&obj0
)) goto fail
;
9837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9838 result
= (int) ((arg1
)->press_clientx
);
9840 resultobj
= PyInt_FromLong((long)result
);
9847 static PyObject
*_wrap_MouseData_press_clienty_set(PyObject
*self
, PyObject
*args
) {
9848 PyObject
*resultobj
;
9849 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9851 PyObject
* obj0
= 0 ;
9853 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clienty_set",&obj0
,&arg2
)) goto fail
;
9854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9855 if (arg1
) (arg1
)->press_clienty
= arg2
;
9857 Py_INCREF(Py_None
); resultobj
= Py_None
;
9864 static PyObject
*_wrap_MouseData_press_clienty_get(PyObject
*self
, PyObject
*args
) {
9865 PyObject
*resultobj
;
9866 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9868 PyObject
* obj0
= 0 ;
9870 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clienty_get",&obj0
)) goto fail
;
9871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9872 result
= (int) ((arg1
)->press_clienty
);
9874 resultobj
= PyInt_FromLong((long)result
);
9881 static PyObject
*_wrap_MouseData_press_clientwidth_set(PyObject
*self
, PyObject
*args
) {
9882 PyObject
*resultobj
;
9883 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9885 PyObject
* obj0
= 0 ;
9887 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientwidth_set",&obj0
,&arg2
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9889 if (arg1
) (arg1
)->press_clientwidth
= arg2
;
9891 Py_INCREF(Py_None
); resultobj
= Py_None
;
9898 static PyObject
*_wrap_MouseData_press_clientwidth_get(PyObject
*self
, PyObject
*args
) {
9899 PyObject
*resultobj
;
9900 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9902 PyObject
* obj0
= 0 ;
9904 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientwidth_get",&obj0
)) goto fail
;
9905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9906 result
= (int) ((arg1
)->press_clientwidth
);
9908 resultobj
= PyInt_FromLong((long)result
);
9915 static PyObject
*_wrap_MouseData_press_clientheight_set(PyObject
*self
, PyObject
*args
) {
9916 PyObject
*resultobj
;
9917 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9919 PyObject
* obj0
= 0 ;
9921 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientheight_set",&obj0
,&arg2
)) goto fail
;
9922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9923 if (arg1
) (arg1
)->press_clientheight
= arg2
;
9925 Py_INCREF(Py_None
); resultobj
= Py_None
;
9932 static PyObject
*_wrap_MouseData_press_clientheight_get(PyObject
*self
, PyObject
*args
) {
9933 PyObject
*resultobj
;
9934 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9936 PyObject
* obj0
= 0 ;
9938 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientheight_get",&obj0
)) goto fail
;
9939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9940 result
= (int) ((arg1
)->press_clientheight
);
9942 resultobj
= PyInt_FromLong((long)result
);
9949 static PyObject
*_wrap_new_MouseData__SWIG_0(PyObject
*self
, PyObject
*args
) {
9950 PyObject
*resultobj
;
9952 ob::Client
*arg2
= (ob::Client
*) 0 ;
9960 otk::Point
*arg10
= 0 ;
9961 otk::Rect
*arg11
= 0 ;
9962 ob::MouseData
*result
;
9963 PyObject
* obj1
= 0 ;
9964 PyObject
* obj2
= 0 ;
9965 PyObject
* obj3
= 0 ;
9966 PyObject
* obj4
= 0 ;
9967 PyObject
* obj9
= 0 ;
9968 PyObject
* obj10
= 0 ;
9970 if(!PyArg_ParseTuple(args
,(char *)"iOOOOiiiiOO:new_MouseData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
,&obj10
)) goto fail
;
9971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9972 arg3
= (Time
) PyInt_AsLong(obj2
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9974 arg4
= (unsigned int) PyInt_AsLong(obj3
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9976 arg5
= (unsigned int) PyInt_AsLong(obj4
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9978 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9979 if (arg10
== NULL
) {
9980 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9982 if ((SWIG_ConvertPtr(obj10
,(void **) &arg11
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9983 if (arg11
== NULL
) {
9984 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9986 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
);
9988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__MouseData
, 1);
9995 static PyObject
*_wrap_new_MouseData__SWIG_1(PyObject
*self
, PyObject
*args
) {
9996 PyObject
*resultobj
;
9998 ob::Client
*arg2
= (ob::Client
*) 0 ;
10000 unsigned int arg4
;
10001 unsigned int arg5
;
10004 ob::MouseData
*result
;
10005 PyObject
* obj1
= 0 ;
10006 PyObject
* obj2
= 0 ;
10007 PyObject
* obj3
= 0 ;
10008 PyObject
* obj4
= 0 ;
10010 if(!PyArg_ParseTuple(args
,(char *)"iOOOOii:new_MouseData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
)) goto fail
;
10011 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10012 arg3
= (Time
) PyInt_AsLong(obj2
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10014 arg4
= (unsigned int) PyInt_AsLong(obj3
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10016 arg5
= (unsigned int) PyInt_AsLong(obj4
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10018 result
= (ob::MouseData
*)new ob::MouseData(arg1
,arg2
,arg3
,arg4
,arg5
,(ob::MouseContext
)arg6
,(ob::MouseAction
)arg7
);
10020 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__MouseData
, 1);
10027 static PyObject
*_wrap_new_MouseData(PyObject
*self
, PyObject
*args
) {
10029 PyObject
*argv
[12];
10032 argc
= PyObject_Length(args
);
10033 for (ii
= 0; (ii
< argc
) && (ii
< 11); ii
++) {
10034 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10039 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
10044 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_ob__Client
, 0) == -1) {
10053 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
10057 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
10061 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
10065 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
10069 _v
= (PyInt_Check(argv
[6]) || PyLong_Check(argv
[6])) ? 1 : 0;
10072 return _wrap_new_MouseData__SWIG_1(self
,args
);
10084 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
10089 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_ob__Client
, 0) == -1) {
10098 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
10102 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
10106 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
10110 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
10114 _v
= (PyInt_Check(argv
[6]) || PyLong_Check(argv
[6])) ? 1 : 0;
10118 _v
= (PyInt_Check(argv
[7]) || PyLong_Check(argv
[7])) ? 1 : 0;
10122 _v
= (PyInt_Check(argv
[8]) || PyLong_Check(argv
[8])) ? 1 : 0;
10127 if (SWIG_ConvertPtr(argv
[9], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
10137 if (SWIG_ConvertPtr(argv
[10], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
10145 return _wrap_new_MouseData__SWIG_0(self
,args
);
10159 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_MouseData'");
10164 static PyObject
* MouseData_swigregister(PyObject
*self
, PyObject
*args
) {
10166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10167 SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData
, obj
);
10169 return Py_BuildValue((char *)"");
10171 static PyObject
*_wrap_EventData_screen_set(PyObject
*self
, PyObject
*args
) {
10172 PyObject
*resultobj
;
10173 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10175 PyObject
* obj0
= 0 ;
10177 if(!PyArg_ParseTuple(args
,(char *)"Oi:EventData_screen_set",&obj0
,&arg2
)) goto fail
;
10178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10179 if (arg1
) (arg1
)->screen
= arg2
;
10181 Py_INCREF(Py_None
); resultobj
= Py_None
;
10188 static PyObject
*_wrap_EventData_screen_get(PyObject
*self
, PyObject
*args
) {
10189 PyObject
*resultobj
;
10190 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10192 PyObject
* obj0
= 0 ;
10194 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_screen_get",&obj0
)) goto fail
;
10195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10196 result
= (int) ((arg1
)->screen
);
10198 resultobj
= PyInt_FromLong((long)result
);
10205 static PyObject
*_wrap_EventData_client_set(PyObject
*self
, PyObject
*args
) {
10206 PyObject
*resultobj
;
10207 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10208 ob::Client
*arg2
= (ob::Client
*) 0 ;
10209 PyObject
* obj0
= 0 ;
10210 PyObject
* obj1
= 0 ;
10212 if(!PyArg_ParseTuple(args
,(char *)"OO:EventData_client_set",&obj0
,&obj1
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
10215 if (arg1
) (arg1
)->client
= arg2
;
10217 Py_INCREF(Py_None
); resultobj
= Py_None
;
10224 static PyObject
*_wrap_EventData_client_get(PyObject
*self
, PyObject
*args
) {
10225 PyObject
*resultobj
;
10226 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10227 ob::Client
*result
;
10228 PyObject
* obj0
= 0 ;
10230 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_client_get",&obj0
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10232 result
= (ob::Client
*) ((arg1
)->client
);
10234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
10241 static PyObject
*_wrap_EventData_state_set(PyObject
*self
, PyObject
*args
) {
10242 PyObject
*resultobj
;
10243 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10244 unsigned int arg2
;
10245 PyObject
* obj0
= 0 ;
10246 PyObject
* obj1
= 0 ;
10248 if(!PyArg_ParseTuple(args
,(char *)"OO:EventData_state_set",&obj0
,&obj1
)) goto fail
;
10249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10250 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10252 if (arg1
) (arg1
)->state
= arg2
;
10254 Py_INCREF(Py_None
); resultobj
= Py_None
;
10261 static PyObject
*_wrap_EventData_state_get(PyObject
*self
, PyObject
*args
) {
10262 PyObject
*resultobj
;
10263 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10264 unsigned int result
;
10265 PyObject
* obj0
= 0 ;
10267 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_state_get",&obj0
)) goto fail
;
10268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10269 result
= (unsigned int) ((arg1
)->state
);
10271 resultobj
= PyInt_FromLong((long)result
);
10278 static PyObject
*_wrap_EventData_action_set(PyObject
*self
, PyObject
*args
) {
10279 PyObject
*resultobj
;
10280 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10282 PyObject
* obj0
= 0 ;
10284 if(!PyArg_ParseTuple(args
,(char *)"Oi:EventData_action_set",&obj0
,&arg2
)) goto fail
;
10285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10286 if (arg1
) (arg1
)->action
= (ob::EventAction
)arg2
;
10288 Py_INCREF(Py_None
); resultobj
= Py_None
;
10295 static PyObject
*_wrap_EventData_action_get(PyObject
*self
, PyObject
*args
) {
10296 PyObject
*resultobj
;
10297 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10301 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_action_get",&obj0
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10303 result
= (int) ((arg1
)->action
);
10305 resultobj
= PyInt_FromLong((long)result
);
10312 static PyObject
*_wrap_new_EventData(PyObject
*self
, PyObject
*args
) {
10313 PyObject
*resultobj
;
10315 ob::Client
*arg2
= (ob::Client
*) 0 ;
10317 unsigned int arg4
;
10318 ob::EventData
*result
;
10319 PyObject
* obj1
= 0 ;
10320 PyObject
* obj3
= 0 ;
10322 if(!PyArg_ParseTuple(args
,(char *)"iOiO:new_EventData",&arg1
,&obj1
,&arg3
,&obj3
)) goto fail
;
10323 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10324 arg4
= (unsigned int) PyInt_AsLong(obj3
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10326 result
= (ob::EventData
*)new ob::EventData(arg1
,arg2
,(ob::EventAction
)arg3
,arg4
);
10328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__EventData
, 1);
10335 static PyObject
* EventData_swigregister(PyObject
*self
, PyObject
*args
) {
10337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10338 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData
, obj
);
10340 return Py_BuildValue((char *)"");
10342 static PyObject
*_wrap_KeyData_screen_set(PyObject
*self
, PyObject
*args
) {
10343 PyObject
*resultobj
;
10344 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10346 PyObject
* obj0
= 0 ;
10348 if(!PyArg_ParseTuple(args
,(char *)"Oi:KeyData_screen_set",&obj0
,&arg2
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10350 if (arg1
) (arg1
)->screen
= arg2
;
10352 Py_INCREF(Py_None
); resultobj
= Py_None
;
10359 static PyObject
*_wrap_KeyData_screen_get(PyObject
*self
, PyObject
*args
) {
10360 PyObject
*resultobj
;
10361 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10365 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_screen_get",&obj0
)) goto fail
;
10366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10367 result
= (int) ((arg1
)->screen
);
10369 resultobj
= PyInt_FromLong((long)result
);
10376 static PyObject
*_wrap_KeyData_client_set(PyObject
*self
, PyObject
*args
) {
10377 PyObject
*resultobj
;
10378 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10379 ob::Client
*arg2
= (ob::Client
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10383 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_client_set",&obj0
,&obj1
)) goto fail
;
10384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
10386 if (arg1
) (arg1
)->client
= arg2
;
10388 Py_INCREF(Py_None
); resultobj
= Py_None
;
10395 static PyObject
*_wrap_KeyData_client_get(PyObject
*self
, PyObject
*args
) {
10396 PyObject
*resultobj
;
10397 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10398 ob::Client
*result
;
10399 PyObject
* obj0
= 0 ;
10401 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_client_get",&obj0
)) goto fail
;
10402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10403 result
= (ob::Client
*) ((arg1
)->client
);
10405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
10412 static PyObject
*_wrap_KeyData_time_set(PyObject
*self
, PyObject
*args
) {
10413 PyObject
*resultobj
;
10414 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10419 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_time_set",&obj0
,&obj1
)) goto fail
;
10420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10421 arg2
= (Time
) PyInt_AsLong(obj1
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10423 if (arg1
) (arg1
)->time
= arg2
;
10425 Py_INCREF(Py_None
); resultobj
= Py_None
;
10432 static PyObject
*_wrap_KeyData_time_get(PyObject
*self
, PyObject
*args
) {
10433 PyObject
*resultobj
;
10434 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10436 PyObject
* obj0
= 0 ;
10438 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_time_get",&obj0
)) goto fail
;
10439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10440 result
= (Time
) ((arg1
)->time
);
10442 resultobj
= PyInt_FromLong((long)result
);
10449 static PyObject
*_wrap_KeyData_state_set(PyObject
*self
, PyObject
*args
) {
10450 PyObject
*resultobj
;
10451 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10452 unsigned int arg2
;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10456 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_state_set",&obj0
,&obj1
)) goto fail
;
10457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10458 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10460 if (arg1
) (arg1
)->state
= arg2
;
10462 Py_INCREF(Py_None
); resultobj
= Py_None
;
10469 static PyObject
*_wrap_KeyData_state_get(PyObject
*self
, PyObject
*args
) {
10470 PyObject
*resultobj
;
10471 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10472 unsigned int result
;
10473 PyObject
* obj0
= 0 ;
10475 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_state_get",&obj0
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10477 result
= (unsigned int) ((arg1
)->state
);
10479 resultobj
= PyInt_FromLong((long)result
);
10486 static PyObject
*_wrap_KeyData_key_set(PyObject
*self
, PyObject
*args
) {
10487 PyObject
*resultobj
;
10488 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10489 std::string
*arg2
= (std::string
*) 0 ;
10490 PyObject
* obj0
= 0 ;
10491 PyObject
* obj1
= 0 ;
10493 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_key_set",&obj0
,&obj1
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10495 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_std__string
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10496 if (arg1
) (arg1
)->key
= *arg2
;
10498 Py_INCREF(Py_None
); resultobj
= Py_None
;
10505 static PyObject
*_wrap_KeyData_key_get(PyObject
*self
, PyObject
*args
) {
10506 PyObject
*resultobj
;
10507 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10508 std::string
*result
;
10509 PyObject
* obj0
= 0 ;
10511 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_key_get",&obj0
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10513 result
= (std::string
*)& ((arg1
)->key
);
10515 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_std__string
, 0);
10522 static PyObject
*_wrap_new_KeyData(PyObject
*self
, PyObject
*args
) {
10523 PyObject
*resultobj
;
10525 ob::Client
*arg2
= (ob::Client
*) 0 ;
10527 unsigned int arg4
;
10528 unsigned int arg5
;
10529 ob::KeyData
*result
;
10530 PyObject
* obj1
= 0 ;
10531 PyObject
* obj2
= 0 ;
10532 PyObject
* obj3
= 0 ;
10533 PyObject
* obj4
= 0 ;
10535 if(!PyArg_ParseTuple(args
,(char *)"iOOOO:new_KeyData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10537 arg3
= (Time
) PyInt_AsLong(obj2
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10539 arg4
= (unsigned int) PyInt_AsLong(obj3
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10541 arg5
= (unsigned int) PyInt_AsLong(obj4
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10543 result
= (ob::KeyData
*)new ob::KeyData(arg1
,arg2
,arg3
,arg4
,arg5
);
10545 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__KeyData
, 1);
10552 static PyObject
* KeyData_swigregister(PyObject
*self
, PyObject
*args
) {
10554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10555 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData
, obj
);
10557 return Py_BuildValue((char *)"");
10559 static PyObject
*_wrap_mbind(PyObject
*self
, PyObject
*args
) {
10560 PyObject
*resultobj
;
10561 std::string
*arg1
= 0 ;
10564 PyObject
*arg4
= (PyObject
*) 0 ;
10566 std::string temp1
;
10567 PyObject
* obj0
= 0 ;
10568 PyObject
* obj3
= 0 ;
10570 if(!PyArg_ParseTuple(args
,(char *)"OiiO:mbind",&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
10572 if (PyString_Check(obj0
)) {
10573 temp1
= std::string(PyString_AsString(obj0
));
10576 SWIG_exception(SWIG_TypeError
, "string expected");
10580 result
= (PyObject
*)ob::mbind((std::string
const &)*arg1
,(ob::MouseContext
)arg2
,(ob::MouseAction
)arg3
,arg4
);
10582 resultobj
= result
;
10589 static PyObject
*_wrap_kbind(PyObject
*self
, PyObject
*args
) {
10590 PyObject
*resultobj
;
10591 PyObject
*arg1
= (PyObject
*) 0 ;
10593 PyObject
*arg3
= (PyObject
*) 0 ;
10595 PyObject
* obj0
= 0 ;
10596 PyObject
* obj2
= 0 ;
10598 if(!PyArg_ParseTuple(args
,(char *)"OiO:kbind",&obj0
,&arg2
,&obj2
)) goto fail
;
10601 result
= (PyObject
*)ob::kbind(arg1
,(ob::KeyContext
)arg2
,arg3
);
10603 resultobj
= result
;
10610 static PyObject
*_wrap_ebind(PyObject
*self
, PyObject
*args
) {
10611 PyObject
*resultobj
;
10613 PyObject
*arg2
= (PyObject
*) 0 ;
10615 PyObject
* obj1
= 0 ;
10617 if(!PyArg_ParseTuple(args
,(char *)"iO:ebind",&arg1
,&obj1
)) goto fail
;
10619 result
= (PyObject
*)ob::ebind((ob::EventAction
)arg1
,arg2
);
10621 resultobj
= result
;
10628 static PyObject
*_wrap_set_reset_key(PyObject
*self
, PyObject
*args
) {
10629 PyObject
*resultobj
;
10630 std::string
*arg1
= 0 ;
10631 std::string temp1
;
10632 PyObject
* obj0
= 0 ;
10634 if(!PyArg_ParseTuple(args
,(char *)"O:set_reset_key",&obj0
)) goto fail
;
10636 if (PyString_Check(obj0
)) {
10637 temp1
= std::string(PyString_AsString(obj0
));
10640 SWIG_exception(SWIG_TypeError
, "string expected");
10643 ob::set_reset_key((std::string
const &)*arg1
);
10645 Py_INCREF(Py_None
); resultobj
= Py_None
;
10652 static PyObject
*_wrap_send_client_msg(PyObject
*self
, PyObject
*args
) {
10653 PyObject
*resultobj
;
10658 long arg5
= (long) 0 ;
10659 long arg6
= (long) 0 ;
10660 long arg7
= (long) 0 ;
10661 long arg8
= (long) 0 ;
10663 PyObject
* obj0
= 0 ;
10664 PyObject
* obj1
= 0 ;
10665 PyObject
* obj2
= 0 ;
10667 if(!PyArg_ParseTuple(args
,(char *)"OOOl|llll:send_client_msg",&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
10668 arg1
= (Window
) PyInt_AsLong(obj0
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10670 arg2
= (Atom
) PyInt_AsLong(obj1
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10672 arg3
= (Window
) PyInt_AsLong(obj2
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10674 result
= (PyObject
*)ob::send_client_msg(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
10676 resultobj
= result
;
10683 static PyMethodDef SwigMethods
[] = {
10684 { (char *)"Openbox_instance", _wrap_Openbox_instance
, METH_VARARGS
},
10685 { (char *)"Display_instance", _wrap_Display_instance
, METH_VARARGS
},
10686 { (char *)"Property_atoms", _wrap_Property_atoms
, METH_VARARGS
},
10687 { (char *)"new_Display", _wrap_new_Display
, METH_VARARGS
},
10688 { (char *)"delete_Display", _wrap_delete_Display
, METH_VARARGS
},
10689 { (char *)"Display_gcCache", _wrap_Display_gcCache
, METH_VARARGS
},
10690 { (char *)"Display_screenInfo", _wrap_Display_screenInfo
, METH_VARARGS
},
10691 { (char *)"Display_findScreen", _wrap_Display_findScreen
, METH_VARARGS
},
10692 { (char *)"Display_xkb", _wrap_Display_xkb
, METH_VARARGS
},
10693 { (char *)"Display_xkbEventBase", _wrap_Display_xkbEventBase
, METH_VARARGS
},
10694 { (char *)"Display_shape", _wrap_Display_shape
, METH_VARARGS
},
10695 { (char *)"Display_shapeEventBase", _wrap_Display_shapeEventBase
, METH_VARARGS
},
10696 { (char *)"Display_xinerama", _wrap_Display_xinerama
, METH_VARARGS
},
10697 { (char *)"Display_numLockMask", _wrap_Display_numLockMask
, METH_VARARGS
},
10698 { (char *)"Display_scrollLockMask", _wrap_Display_scrollLockMask
, METH_VARARGS
},
10699 { (char *)"Display___mul__", _wrap_Display___mul__
, METH_VARARGS
},
10700 { (char *)"Display_grab", _wrap_Display_grab
, METH_VARARGS
},
10701 { (char *)"Display_ungrab", _wrap_Display_ungrab
, METH_VARARGS
},
10702 { (char *)"Display_grabButton", _wrap_Display_grabButton
, METH_VARARGS
},
10703 { (char *)"Display_ungrabButton", _wrap_Display_ungrabButton
, METH_VARARGS
},
10704 { (char *)"Display_grabKey", _wrap_Display_grabKey
, METH_VARARGS
},
10705 { (char *)"Display_ungrabKey", _wrap_Display_ungrabKey
, METH_VARARGS
},
10706 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
10707 { (char *)"new_Point", _wrap_new_Point
, METH_VARARGS
},
10708 { (char *)"Point_setX", _wrap_Point_setX
, METH_VARARGS
},
10709 { (char *)"Point_x", _wrap_Point_x
, METH_VARARGS
},
10710 { (char *)"Point_setY", _wrap_Point_setY
, METH_VARARGS
},
10711 { (char *)"Point_y", _wrap_Point_y
, METH_VARARGS
},
10712 { (char *)"Point_setPoint", _wrap_Point_setPoint
, METH_VARARGS
},
10713 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
10714 { (char *)"Atoms_cardinal_set", _wrap_Atoms_cardinal_set
, METH_VARARGS
},
10715 { (char *)"Atoms_cardinal_get", _wrap_Atoms_cardinal_get
, METH_VARARGS
},
10716 { (char *)"Atoms_window_set", _wrap_Atoms_window_set
, METH_VARARGS
},
10717 { (char *)"Atoms_window_get", _wrap_Atoms_window_get
, METH_VARARGS
},
10718 { (char *)"Atoms_pixmap_set", _wrap_Atoms_pixmap_set
, METH_VARARGS
},
10719 { (char *)"Atoms_pixmap_get", _wrap_Atoms_pixmap_get
, METH_VARARGS
},
10720 { (char *)"Atoms_atom_set", _wrap_Atoms_atom_set
, METH_VARARGS
},
10721 { (char *)"Atoms_atom_get", _wrap_Atoms_atom_get
, METH_VARARGS
},
10722 { (char *)"Atoms_string_set", _wrap_Atoms_string_set
, METH_VARARGS
},
10723 { (char *)"Atoms_string_get", _wrap_Atoms_string_get
, METH_VARARGS
},
10724 { (char *)"Atoms_utf8_set", _wrap_Atoms_utf8_set
, METH_VARARGS
},
10725 { (char *)"Atoms_utf8_get", _wrap_Atoms_utf8_get
, METH_VARARGS
},
10726 { (char *)"Atoms_openbox_pid_set", _wrap_Atoms_openbox_pid_set
, METH_VARARGS
},
10727 { (char *)"Atoms_openbox_pid_get", _wrap_Atoms_openbox_pid_get
, METH_VARARGS
},
10728 { (char *)"Atoms_wm_colormap_windows_set", _wrap_Atoms_wm_colormap_windows_set
, METH_VARARGS
},
10729 { (char *)"Atoms_wm_colormap_windows_get", _wrap_Atoms_wm_colormap_windows_get
, METH_VARARGS
},
10730 { (char *)"Atoms_wm_protocols_set", _wrap_Atoms_wm_protocols_set
, METH_VARARGS
},
10731 { (char *)"Atoms_wm_protocols_get", _wrap_Atoms_wm_protocols_get
, METH_VARARGS
},
10732 { (char *)"Atoms_wm_state_set", _wrap_Atoms_wm_state_set
, METH_VARARGS
},
10733 { (char *)"Atoms_wm_state_get", _wrap_Atoms_wm_state_get
, METH_VARARGS
},
10734 { (char *)"Atoms_wm_delete_window_set", _wrap_Atoms_wm_delete_window_set
, METH_VARARGS
},
10735 { (char *)"Atoms_wm_delete_window_get", _wrap_Atoms_wm_delete_window_get
, METH_VARARGS
},
10736 { (char *)"Atoms_wm_take_focus_set", _wrap_Atoms_wm_take_focus_set
, METH_VARARGS
},
10737 { (char *)"Atoms_wm_take_focus_get", _wrap_Atoms_wm_take_focus_get
, METH_VARARGS
},
10738 { (char *)"Atoms_wm_change_state_set", _wrap_Atoms_wm_change_state_set
, METH_VARARGS
},
10739 { (char *)"Atoms_wm_change_state_get", _wrap_Atoms_wm_change_state_get
, METH_VARARGS
},
10740 { (char *)"Atoms_wm_name_set", _wrap_Atoms_wm_name_set
, METH_VARARGS
},
10741 { (char *)"Atoms_wm_name_get", _wrap_Atoms_wm_name_get
, METH_VARARGS
},
10742 { (char *)"Atoms_wm_icon_name_set", _wrap_Atoms_wm_icon_name_set
, METH_VARARGS
},
10743 { (char *)"Atoms_wm_icon_name_get", _wrap_Atoms_wm_icon_name_get
, METH_VARARGS
},
10744 { (char *)"Atoms_wm_class_set", _wrap_Atoms_wm_class_set
, METH_VARARGS
},
10745 { (char *)"Atoms_wm_class_get", _wrap_Atoms_wm_class_get
, METH_VARARGS
},
10746 { (char *)"Atoms_wm_window_role_set", _wrap_Atoms_wm_window_role_set
, METH_VARARGS
},
10747 { (char *)"Atoms_wm_window_role_get", _wrap_Atoms_wm_window_role_get
, METH_VARARGS
},
10748 { (char *)"Atoms_motif_wm_hints_set", _wrap_Atoms_motif_wm_hints_set
, METH_VARARGS
},
10749 { (char *)"Atoms_motif_wm_hints_get", _wrap_Atoms_motif_wm_hints_get
, METH_VARARGS
},
10750 { (char *)"Atoms_openbox_show_root_menu_set", _wrap_Atoms_openbox_show_root_menu_set
, METH_VARARGS
},
10751 { (char *)"Atoms_openbox_show_root_menu_get", _wrap_Atoms_openbox_show_root_menu_get
, METH_VARARGS
},
10752 { (char *)"Atoms_openbox_show_workspace_menu_set", _wrap_Atoms_openbox_show_workspace_menu_set
, METH_VARARGS
},
10753 { (char *)"Atoms_openbox_show_workspace_menu_get", _wrap_Atoms_openbox_show_workspace_menu_get
, METH_VARARGS
},
10754 { (char *)"Atoms_net_supported_set", _wrap_Atoms_net_supported_set
, METH_VARARGS
},
10755 { (char *)"Atoms_net_supported_get", _wrap_Atoms_net_supported_get
, METH_VARARGS
},
10756 { (char *)"Atoms_net_client_list_set", _wrap_Atoms_net_client_list_set
, METH_VARARGS
},
10757 { (char *)"Atoms_net_client_list_get", _wrap_Atoms_net_client_list_get
, METH_VARARGS
},
10758 { (char *)"Atoms_net_client_list_stacking_set", _wrap_Atoms_net_client_list_stacking_set
, METH_VARARGS
},
10759 { (char *)"Atoms_net_client_list_stacking_get", _wrap_Atoms_net_client_list_stacking_get
, METH_VARARGS
},
10760 { (char *)"Atoms_net_number_of_desktops_set", _wrap_Atoms_net_number_of_desktops_set
, METH_VARARGS
},
10761 { (char *)"Atoms_net_number_of_desktops_get", _wrap_Atoms_net_number_of_desktops_get
, METH_VARARGS
},
10762 { (char *)"Atoms_net_desktop_geometry_set", _wrap_Atoms_net_desktop_geometry_set
, METH_VARARGS
},
10763 { (char *)"Atoms_net_desktop_geometry_get", _wrap_Atoms_net_desktop_geometry_get
, METH_VARARGS
},
10764 { (char *)"Atoms_net_desktop_viewport_set", _wrap_Atoms_net_desktop_viewport_set
, METH_VARARGS
},
10765 { (char *)"Atoms_net_desktop_viewport_get", _wrap_Atoms_net_desktop_viewport_get
, METH_VARARGS
},
10766 { (char *)"Atoms_net_current_desktop_set", _wrap_Atoms_net_current_desktop_set
, METH_VARARGS
},
10767 { (char *)"Atoms_net_current_desktop_get", _wrap_Atoms_net_current_desktop_get
, METH_VARARGS
},
10768 { (char *)"Atoms_net_desktop_names_set", _wrap_Atoms_net_desktop_names_set
, METH_VARARGS
},
10769 { (char *)"Atoms_net_desktop_names_get", _wrap_Atoms_net_desktop_names_get
, METH_VARARGS
},
10770 { (char *)"Atoms_net_active_window_set", _wrap_Atoms_net_active_window_set
, METH_VARARGS
},
10771 { (char *)"Atoms_net_active_window_get", _wrap_Atoms_net_active_window_get
, METH_VARARGS
},
10772 { (char *)"Atoms_net_workarea_set", _wrap_Atoms_net_workarea_set
, METH_VARARGS
},
10773 { (char *)"Atoms_net_workarea_get", _wrap_Atoms_net_workarea_get
, METH_VARARGS
},
10774 { (char *)"Atoms_net_supporting_wm_check_set", _wrap_Atoms_net_supporting_wm_check_set
, METH_VARARGS
},
10775 { (char *)"Atoms_net_supporting_wm_check_get", _wrap_Atoms_net_supporting_wm_check_get
, METH_VARARGS
},
10776 { (char *)"Atoms_net_close_window_set", _wrap_Atoms_net_close_window_set
, METH_VARARGS
},
10777 { (char *)"Atoms_net_close_window_get", _wrap_Atoms_net_close_window_get
, METH_VARARGS
},
10778 { (char *)"Atoms_net_wm_moveresize_set", _wrap_Atoms_net_wm_moveresize_set
, METH_VARARGS
},
10779 { (char *)"Atoms_net_wm_moveresize_get", _wrap_Atoms_net_wm_moveresize_get
, METH_VARARGS
},
10780 { (char *)"Atoms_net_wm_name_set", _wrap_Atoms_net_wm_name_set
, METH_VARARGS
},
10781 { (char *)"Atoms_net_wm_name_get", _wrap_Atoms_net_wm_name_get
, METH_VARARGS
},
10782 { (char *)"Atoms_net_wm_visible_name_set", _wrap_Atoms_net_wm_visible_name_set
, METH_VARARGS
},
10783 { (char *)"Atoms_net_wm_visible_name_get", _wrap_Atoms_net_wm_visible_name_get
, METH_VARARGS
},
10784 { (char *)"Atoms_net_wm_icon_name_set", _wrap_Atoms_net_wm_icon_name_set
, METH_VARARGS
},
10785 { (char *)"Atoms_net_wm_icon_name_get", _wrap_Atoms_net_wm_icon_name_get
, METH_VARARGS
},
10786 { (char *)"Atoms_net_wm_visible_icon_name_set", _wrap_Atoms_net_wm_visible_icon_name_set
, METH_VARARGS
},
10787 { (char *)"Atoms_net_wm_visible_icon_name_get", _wrap_Atoms_net_wm_visible_icon_name_get
, METH_VARARGS
},
10788 { (char *)"Atoms_net_wm_desktop_set", _wrap_Atoms_net_wm_desktop_set
, METH_VARARGS
},
10789 { (char *)"Atoms_net_wm_desktop_get", _wrap_Atoms_net_wm_desktop_get
, METH_VARARGS
},
10790 { (char *)"Atoms_net_wm_window_type_set", _wrap_Atoms_net_wm_window_type_set
, METH_VARARGS
},
10791 { (char *)"Atoms_net_wm_window_type_get", _wrap_Atoms_net_wm_window_type_get
, METH_VARARGS
},
10792 { (char *)"Atoms_net_wm_state_set", _wrap_Atoms_net_wm_state_set
, METH_VARARGS
},
10793 { (char *)"Atoms_net_wm_state_get", _wrap_Atoms_net_wm_state_get
, METH_VARARGS
},
10794 { (char *)"Atoms_net_wm_strut_set", _wrap_Atoms_net_wm_strut_set
, METH_VARARGS
},
10795 { (char *)"Atoms_net_wm_strut_get", _wrap_Atoms_net_wm_strut_get
, METH_VARARGS
},
10796 { (char *)"Atoms_net_wm_allowed_actions_set", _wrap_Atoms_net_wm_allowed_actions_set
, METH_VARARGS
},
10797 { (char *)"Atoms_net_wm_allowed_actions_get", _wrap_Atoms_net_wm_allowed_actions_get
, METH_VARARGS
},
10798 { (char *)"Atoms_net_wm_window_type_desktop_set", _wrap_Atoms_net_wm_window_type_desktop_set
, METH_VARARGS
},
10799 { (char *)"Atoms_net_wm_window_type_desktop_get", _wrap_Atoms_net_wm_window_type_desktop_get
, METH_VARARGS
},
10800 { (char *)"Atoms_net_wm_window_type_dock_set", _wrap_Atoms_net_wm_window_type_dock_set
, METH_VARARGS
},
10801 { (char *)"Atoms_net_wm_window_type_dock_get", _wrap_Atoms_net_wm_window_type_dock_get
, METH_VARARGS
},
10802 { (char *)"Atoms_net_wm_window_type_toolbar_set", _wrap_Atoms_net_wm_window_type_toolbar_set
, METH_VARARGS
},
10803 { (char *)"Atoms_net_wm_window_type_toolbar_get", _wrap_Atoms_net_wm_window_type_toolbar_get
, METH_VARARGS
},
10804 { (char *)"Atoms_net_wm_window_type_menu_set", _wrap_Atoms_net_wm_window_type_menu_set
, METH_VARARGS
},
10805 { (char *)"Atoms_net_wm_window_type_menu_get", _wrap_Atoms_net_wm_window_type_menu_get
, METH_VARARGS
},
10806 { (char *)"Atoms_net_wm_window_type_utility_set", _wrap_Atoms_net_wm_window_type_utility_set
, METH_VARARGS
},
10807 { (char *)"Atoms_net_wm_window_type_utility_get", _wrap_Atoms_net_wm_window_type_utility_get
, METH_VARARGS
},
10808 { (char *)"Atoms_net_wm_window_type_splash_set", _wrap_Atoms_net_wm_window_type_splash_set
, METH_VARARGS
},
10809 { (char *)"Atoms_net_wm_window_type_splash_get", _wrap_Atoms_net_wm_window_type_splash_get
, METH_VARARGS
},
10810 { (char *)"Atoms_net_wm_window_type_dialog_set", _wrap_Atoms_net_wm_window_type_dialog_set
, METH_VARARGS
},
10811 { (char *)"Atoms_net_wm_window_type_dialog_get", _wrap_Atoms_net_wm_window_type_dialog_get
, METH_VARARGS
},
10812 { (char *)"Atoms_net_wm_window_type_normal_set", _wrap_Atoms_net_wm_window_type_normal_set
, METH_VARARGS
},
10813 { (char *)"Atoms_net_wm_window_type_normal_get", _wrap_Atoms_net_wm_window_type_normal_get
, METH_VARARGS
},
10814 { (char *)"Atoms_net_wm_moveresize_size_topleft_set", _wrap_Atoms_net_wm_moveresize_size_topleft_set
, METH_VARARGS
},
10815 { (char *)"Atoms_net_wm_moveresize_size_topleft_get", _wrap_Atoms_net_wm_moveresize_size_topleft_get
, METH_VARARGS
},
10816 { (char *)"Atoms_net_wm_moveresize_size_topright_set", _wrap_Atoms_net_wm_moveresize_size_topright_set
, METH_VARARGS
},
10817 { (char *)"Atoms_net_wm_moveresize_size_topright_get", _wrap_Atoms_net_wm_moveresize_size_topright_get
, METH_VARARGS
},
10818 { (char *)"Atoms_net_wm_moveresize_size_bottomleft_set", _wrap_Atoms_net_wm_moveresize_size_bottomleft_set
, METH_VARARGS
},
10819 { (char *)"Atoms_net_wm_moveresize_size_bottomleft_get", _wrap_Atoms_net_wm_moveresize_size_bottomleft_get
, METH_VARARGS
},
10820 { (char *)"Atoms_net_wm_moveresize_size_bottomright_set", _wrap_Atoms_net_wm_moveresize_size_bottomright_set
, METH_VARARGS
},
10821 { (char *)"Atoms_net_wm_moveresize_size_bottomright_get", _wrap_Atoms_net_wm_moveresize_size_bottomright_get
, METH_VARARGS
},
10822 { (char *)"Atoms_net_wm_moveresize_move_set", _wrap_Atoms_net_wm_moveresize_move_set
, METH_VARARGS
},
10823 { (char *)"Atoms_net_wm_moveresize_move_get", _wrap_Atoms_net_wm_moveresize_move_get
, METH_VARARGS
},
10824 { (char *)"Atoms_net_wm_action_move_set", _wrap_Atoms_net_wm_action_move_set
, METH_VARARGS
},
10825 { (char *)"Atoms_net_wm_action_move_get", _wrap_Atoms_net_wm_action_move_get
, METH_VARARGS
},
10826 { (char *)"Atoms_net_wm_action_resize_set", _wrap_Atoms_net_wm_action_resize_set
, METH_VARARGS
},
10827 { (char *)"Atoms_net_wm_action_resize_get", _wrap_Atoms_net_wm_action_resize_get
, METH_VARARGS
},
10828 { (char *)"Atoms_net_wm_action_shade_set", _wrap_Atoms_net_wm_action_shade_set
, METH_VARARGS
},
10829 { (char *)"Atoms_net_wm_action_shade_get", _wrap_Atoms_net_wm_action_shade_get
, METH_VARARGS
},
10830 { (char *)"Atoms_net_wm_action_maximize_horz_set", _wrap_Atoms_net_wm_action_maximize_horz_set
, METH_VARARGS
},
10831 { (char *)"Atoms_net_wm_action_maximize_horz_get", _wrap_Atoms_net_wm_action_maximize_horz_get
, METH_VARARGS
},
10832 { (char *)"Atoms_net_wm_action_maximize_vert_set", _wrap_Atoms_net_wm_action_maximize_vert_set
, METH_VARARGS
},
10833 { (char *)"Atoms_net_wm_action_maximize_vert_get", _wrap_Atoms_net_wm_action_maximize_vert_get
, METH_VARARGS
},
10834 { (char *)"Atoms_net_wm_action_change_desktop_set", _wrap_Atoms_net_wm_action_change_desktop_set
, METH_VARARGS
},
10835 { (char *)"Atoms_net_wm_action_change_desktop_get", _wrap_Atoms_net_wm_action_change_desktop_get
, METH_VARARGS
},
10836 { (char *)"Atoms_net_wm_action_close_set", _wrap_Atoms_net_wm_action_close_set
, METH_VARARGS
},
10837 { (char *)"Atoms_net_wm_action_close_get", _wrap_Atoms_net_wm_action_close_get
, METH_VARARGS
},
10838 { (char *)"Atoms_net_wm_state_modal_set", _wrap_Atoms_net_wm_state_modal_set
, METH_VARARGS
},
10839 { (char *)"Atoms_net_wm_state_modal_get", _wrap_Atoms_net_wm_state_modal_get
, METH_VARARGS
},
10840 { (char *)"Atoms_net_wm_state_sticky_set", _wrap_Atoms_net_wm_state_sticky_set
, METH_VARARGS
},
10841 { (char *)"Atoms_net_wm_state_sticky_get", _wrap_Atoms_net_wm_state_sticky_get
, METH_VARARGS
},
10842 { (char *)"Atoms_net_wm_state_maximized_vert_set", _wrap_Atoms_net_wm_state_maximized_vert_set
, METH_VARARGS
},
10843 { (char *)"Atoms_net_wm_state_maximized_vert_get", _wrap_Atoms_net_wm_state_maximized_vert_get
, METH_VARARGS
},
10844 { (char *)"Atoms_net_wm_state_maximized_horz_set", _wrap_Atoms_net_wm_state_maximized_horz_set
, METH_VARARGS
},
10845 { (char *)"Atoms_net_wm_state_maximized_horz_get", _wrap_Atoms_net_wm_state_maximized_horz_get
, METH_VARARGS
},
10846 { (char *)"Atoms_net_wm_state_shaded_set", _wrap_Atoms_net_wm_state_shaded_set
, METH_VARARGS
},
10847 { (char *)"Atoms_net_wm_state_shaded_get", _wrap_Atoms_net_wm_state_shaded_get
, METH_VARARGS
},
10848 { (char *)"Atoms_net_wm_state_skip_taskbar_set", _wrap_Atoms_net_wm_state_skip_taskbar_set
, METH_VARARGS
},
10849 { (char *)"Atoms_net_wm_state_skip_taskbar_get", _wrap_Atoms_net_wm_state_skip_taskbar_get
, METH_VARARGS
},
10850 { (char *)"Atoms_net_wm_state_skip_pager_set", _wrap_Atoms_net_wm_state_skip_pager_set
, METH_VARARGS
},
10851 { (char *)"Atoms_net_wm_state_skip_pager_get", _wrap_Atoms_net_wm_state_skip_pager_get
, METH_VARARGS
},
10852 { (char *)"Atoms_net_wm_state_hidden_set", _wrap_Atoms_net_wm_state_hidden_set
, METH_VARARGS
},
10853 { (char *)"Atoms_net_wm_state_hidden_get", _wrap_Atoms_net_wm_state_hidden_get
, METH_VARARGS
},
10854 { (char *)"Atoms_net_wm_state_fullscreen_set", _wrap_Atoms_net_wm_state_fullscreen_set
, METH_VARARGS
},
10855 { (char *)"Atoms_net_wm_state_fullscreen_get", _wrap_Atoms_net_wm_state_fullscreen_get
, METH_VARARGS
},
10856 { (char *)"Atoms_net_wm_state_above_set", _wrap_Atoms_net_wm_state_above_set
, METH_VARARGS
},
10857 { (char *)"Atoms_net_wm_state_above_get", _wrap_Atoms_net_wm_state_above_get
, METH_VARARGS
},
10858 { (char *)"Atoms_net_wm_state_below_set", _wrap_Atoms_net_wm_state_below_set
, METH_VARARGS
},
10859 { (char *)"Atoms_net_wm_state_below_get", _wrap_Atoms_net_wm_state_below_get
, METH_VARARGS
},
10860 { (char *)"Atoms_kde_net_system_tray_windows_set", _wrap_Atoms_kde_net_system_tray_windows_set
, METH_VARARGS
},
10861 { (char *)"Atoms_kde_net_system_tray_windows_get", _wrap_Atoms_kde_net_system_tray_windows_get
, METH_VARARGS
},
10862 { (char *)"Atoms_kde_net_wm_system_tray_window_for_set", _wrap_Atoms_kde_net_wm_system_tray_window_for_set
, METH_VARARGS
},
10863 { (char *)"Atoms_kde_net_wm_system_tray_window_for_get", _wrap_Atoms_kde_net_wm_system_tray_window_for_get
, METH_VARARGS
},
10864 { (char *)"Atoms_kde_net_wm_window_type_override_set", _wrap_Atoms_kde_net_wm_window_type_override_set
, METH_VARARGS
},
10865 { (char *)"Atoms_kde_net_wm_window_type_override_get", _wrap_Atoms_kde_net_wm_window_type_override_get
, METH_VARARGS
},
10866 { (char *)"Atoms_swigregister", Atoms_swigregister
, METH_VARARGS
},
10867 { (char *)"Property_initialize", _wrap_Property_initialize
, METH_VARARGS
},
10868 { (char *)"Property_set", _wrap_Property_set
, METH_VARARGS
},
10869 { (char *)"Property_get", _wrap_Property_get
, METH_VARARGS
},
10870 { (char *)"Property_erase", _wrap_Property_erase
, METH_VARARGS
},
10871 { (char *)"Property_swigregister", Property_swigregister
, METH_VARARGS
},
10872 { (char *)"new_Rect", _wrap_new_Rect
, METH_VARARGS
},
10873 { (char *)"Rect_left", _wrap_Rect_left
, METH_VARARGS
},
10874 { (char *)"Rect_top", _wrap_Rect_top
, METH_VARARGS
},
10875 { (char *)"Rect_right", _wrap_Rect_right
, METH_VARARGS
},
10876 { (char *)"Rect_bottom", _wrap_Rect_bottom
, METH_VARARGS
},
10877 { (char *)"Rect_x", _wrap_Rect_x
, METH_VARARGS
},
10878 { (char *)"Rect_y", _wrap_Rect_y
, METH_VARARGS
},
10879 { (char *)"Rect_location", _wrap_Rect_location
, METH_VARARGS
},
10880 { (char *)"Rect_setX", _wrap_Rect_setX
, METH_VARARGS
},
10881 { (char *)"Rect_setY", _wrap_Rect_setY
, METH_VARARGS
},
10882 { (char *)"Rect_setPos", _wrap_Rect_setPos
, METH_VARARGS
},
10883 { (char *)"Rect_width", _wrap_Rect_width
, METH_VARARGS
},
10884 { (char *)"Rect_height", _wrap_Rect_height
, METH_VARARGS
},
10885 { (char *)"Rect_size", _wrap_Rect_size
, METH_VARARGS
},
10886 { (char *)"Rect_setWidth", _wrap_Rect_setWidth
, METH_VARARGS
},
10887 { (char *)"Rect_setHeight", _wrap_Rect_setHeight
, METH_VARARGS
},
10888 { (char *)"Rect_setSize", _wrap_Rect_setSize
, METH_VARARGS
},
10889 { (char *)"Rect_setRect", _wrap_Rect_setRect
, METH_VARARGS
},
10890 { (char *)"Rect_setCoords", _wrap_Rect_setCoords
, METH_VARARGS
},
10891 { (char *)"Rect___eq__", _wrap_Rect___eq__
, METH_VARARGS
},
10892 { (char *)"Rect___ne__", _wrap_Rect___ne__
, METH_VARARGS
},
10893 { (char *)"Rect___or__", _wrap_Rect___or__
, METH_VARARGS
},
10894 { (char *)"Rect___and__", _wrap_Rect___and__
, METH_VARARGS
},
10895 { (char *)"Rect___ior__", _wrap_Rect___ior__
, METH_VARARGS
},
10896 { (char *)"Rect___iand__", _wrap_Rect___iand__
, METH_VARARGS
},
10897 { (char *)"Rect_valid", _wrap_Rect_valid
, METH_VARARGS
},
10898 { (char *)"Rect_intersects", _wrap_Rect_intersects
, METH_VARARGS
},
10899 { (char *)"Rect_contains", _wrap_Rect_contains
, METH_VARARGS
},
10900 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
10901 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo
, METH_VARARGS
},
10902 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual
, METH_VARARGS
},
10903 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow
, METH_VARARGS
},
10904 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap
, METH_VARARGS
},
10905 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth
, METH_VARARGS
},
10906 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen
, METH_VARARGS
},
10907 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect
, METH_VARARGS
},
10908 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width
, METH_VARARGS
},
10909 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height
, METH_VARARGS
},
10910 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString
, METH_VARARGS
},
10911 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister
, METH_VARARGS
},
10912 { (char *)"Strut_top_set", _wrap_Strut_top_set
, METH_VARARGS
},
10913 { (char *)"Strut_top_get", _wrap_Strut_top_get
, METH_VARARGS
},
10914 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set
, METH_VARARGS
},
10915 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get
, METH_VARARGS
},
10916 { (char *)"Strut_left_set", _wrap_Strut_left_set
, METH_VARARGS
},
10917 { (char *)"Strut_left_get", _wrap_Strut_left_get
, METH_VARARGS
},
10918 { (char *)"Strut_right_set", _wrap_Strut_right_set
, METH_VARARGS
},
10919 { (char *)"Strut_right_get", _wrap_Strut_right_get
, METH_VARARGS
},
10920 { (char *)"new_Strut", _wrap_new_Strut
, METH_VARARGS
},
10921 { (char *)"Strut_swigregister", Strut_swigregister
, METH_VARARGS
},
10922 { (char *)"EventHandler_handle", _wrap_EventHandler_handle
, METH_VARARGS
},
10923 { (char *)"EventHandler_keyPressHandler", _wrap_EventHandler_keyPressHandler
, METH_VARARGS
},
10924 { (char *)"EventHandler_keyReleaseHandler", _wrap_EventHandler_keyReleaseHandler
, METH_VARARGS
},
10925 { (char *)"EventHandler_buttonPressHandler", _wrap_EventHandler_buttonPressHandler
, METH_VARARGS
},
10926 { (char *)"EventHandler_buttonReleaseHandler", _wrap_EventHandler_buttonReleaseHandler
, METH_VARARGS
},
10927 { (char *)"EventHandler_motionHandler", _wrap_EventHandler_motionHandler
, METH_VARARGS
},
10928 { (char *)"EventHandler_enterHandler", _wrap_EventHandler_enterHandler
, METH_VARARGS
},
10929 { (char *)"EventHandler_leaveHandler", _wrap_EventHandler_leaveHandler
, METH_VARARGS
},
10930 { (char *)"EventHandler_focusHandler", _wrap_EventHandler_focusHandler
, METH_VARARGS
},
10931 { (char *)"EventHandler_unfocusHandler", _wrap_EventHandler_unfocusHandler
, METH_VARARGS
},
10932 { (char *)"EventHandler_exposeHandler", _wrap_EventHandler_exposeHandler
, METH_VARARGS
},
10933 { (char *)"EventHandler_graphicsExposeHandler", _wrap_EventHandler_graphicsExposeHandler
, METH_VARARGS
},
10934 { (char *)"EventHandler_noExposeEventHandler", _wrap_EventHandler_noExposeEventHandler
, METH_VARARGS
},
10935 { (char *)"EventHandler_circulateRequestHandler", _wrap_EventHandler_circulateRequestHandler
, METH_VARARGS
},
10936 { (char *)"EventHandler_configureRequestHandler", _wrap_EventHandler_configureRequestHandler
, METH_VARARGS
},
10937 { (char *)"EventHandler_mapRequestHandler", _wrap_EventHandler_mapRequestHandler
, METH_VARARGS
},
10938 { (char *)"EventHandler_resizeRequestHandler", _wrap_EventHandler_resizeRequestHandler
, METH_VARARGS
},
10939 { (char *)"EventHandler_circulateHandler", _wrap_EventHandler_circulateHandler
, METH_VARARGS
},
10940 { (char *)"EventHandler_configureHandler", _wrap_EventHandler_configureHandler
, METH_VARARGS
},
10941 { (char *)"EventHandler_createHandler", _wrap_EventHandler_createHandler
, METH_VARARGS
},
10942 { (char *)"EventHandler_destroyHandler", _wrap_EventHandler_destroyHandler
, METH_VARARGS
},
10943 { (char *)"EventHandler_gravityHandler", _wrap_EventHandler_gravityHandler
, METH_VARARGS
},
10944 { (char *)"EventHandler_mapHandler", _wrap_EventHandler_mapHandler
, METH_VARARGS
},
10945 { (char *)"EventHandler_mappingHandler", _wrap_EventHandler_mappingHandler
, METH_VARARGS
},
10946 { (char *)"EventHandler_reparentHandler", _wrap_EventHandler_reparentHandler
, METH_VARARGS
},
10947 { (char *)"EventHandler_unmapHandler", _wrap_EventHandler_unmapHandler
, METH_VARARGS
},
10948 { (char *)"EventHandler_visibilityHandler", _wrap_EventHandler_visibilityHandler
, METH_VARARGS
},
10949 { (char *)"EventHandler_colorMapHandler", _wrap_EventHandler_colorMapHandler
, METH_VARARGS
},
10950 { (char *)"EventHandler_propertyHandler", _wrap_EventHandler_propertyHandler
, METH_VARARGS
},
10951 { (char *)"EventHandler_selectionClearHandler", _wrap_EventHandler_selectionClearHandler
, METH_VARARGS
},
10952 { (char *)"EventHandler_selectionHandler", _wrap_EventHandler_selectionHandler
, METH_VARARGS
},
10953 { (char *)"EventHandler_selectionRequestHandler", _wrap_EventHandler_selectionRequestHandler
, METH_VARARGS
},
10954 { (char *)"EventHandler_clientMessageHandler", _wrap_EventHandler_clientMessageHandler
, METH_VARARGS
},
10955 { (char *)"delete_EventHandler", _wrap_delete_EventHandler
, METH_VARARGS
},
10956 { (char *)"EventHandler_swigregister", EventHandler_swigregister
, METH_VARARGS
},
10957 { (char *)"new_EventDispatcher", _wrap_new_EventDispatcher
, METH_VARARGS
},
10958 { (char *)"delete_EventDispatcher", _wrap_delete_EventDispatcher
, METH_VARARGS
},
10959 { (char *)"EventDispatcher_clearAllHandlers", _wrap_EventDispatcher_clearAllHandlers
, METH_VARARGS
},
10960 { (char *)"EventDispatcher_registerHandler", _wrap_EventDispatcher_registerHandler
, METH_VARARGS
},
10961 { (char *)"EventDispatcher_clearHandler", _wrap_EventDispatcher_clearHandler
, METH_VARARGS
},
10962 { (char *)"EventDispatcher_dispatchEvents", _wrap_EventDispatcher_dispatchEvents
, METH_VARARGS
},
10963 { (char *)"EventDispatcher_setFallbackHandler", _wrap_EventDispatcher_setFallbackHandler
, METH_VARARGS
},
10964 { (char *)"EventDispatcher_getFallbackHandler", _wrap_EventDispatcher_getFallbackHandler
, METH_VARARGS
},
10965 { (char *)"EventDispatcher_setMasterHandler", _wrap_EventDispatcher_setMasterHandler
, METH_VARARGS
},
10966 { (char *)"EventDispatcher_getMasterHandler", _wrap_EventDispatcher_getMasterHandler
, METH_VARARGS
},
10967 { (char *)"EventDispatcher_findHandler", _wrap_EventDispatcher_findHandler
, METH_VARARGS
},
10968 { (char *)"EventDispatcher_lastTime", _wrap_EventDispatcher_lastTime
, METH_VARARGS
},
10969 { (char *)"EventDispatcher_swigregister", EventDispatcher_swigregister
, METH_VARARGS
},
10970 { (char *)"Cursors_session_set", _wrap_Cursors_session_set
, METH_VARARGS
},
10971 { (char *)"Cursors_session_get", _wrap_Cursors_session_get
, METH_VARARGS
},
10972 { (char *)"Cursors_move_set", _wrap_Cursors_move_set
, METH_VARARGS
},
10973 { (char *)"Cursors_move_get", _wrap_Cursors_move_get
, METH_VARARGS
},
10974 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set
, METH_VARARGS
},
10975 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get
, METH_VARARGS
},
10976 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set
, METH_VARARGS
},
10977 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get
, METH_VARARGS
},
10978 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set
, METH_VARARGS
},
10979 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get
, METH_VARARGS
},
10980 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set
, METH_VARARGS
},
10981 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get
, METH_VARARGS
},
10982 { (char *)"Cursors_swigregister", Cursors_swigregister
, METH_VARARGS
},
10983 { (char *)"Openbox_state", _wrap_Openbox_state
, METH_VARARGS
},
10984 { (char *)"Openbox_actions", _wrap_Openbox_actions
, METH_VARARGS
},
10985 { (char *)"Openbox_bindings", _wrap_Openbox_bindings
, METH_VARARGS
},
10986 { (char *)"Openbox_screen", _wrap_Openbox_screen
, METH_VARARGS
},
10987 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount
, METH_VARARGS
},
10988 { (char *)"Openbox_cursors", _wrap_Openbox_cursors
, METH_VARARGS
},
10989 { (char *)"Openbox_addClient", _wrap_Openbox_addClient
, METH_VARARGS
},
10990 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient
, METH_VARARGS
},
10991 { (char *)"Openbox_findClient", _wrap_Openbox_findClient
, METH_VARARGS
},
10992 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient
, METH_VARARGS
},
10993 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient
, METH_VARARGS
},
10994 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen
, METH_VARARGS
},
10995 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown
, METH_VARARGS
},
10996 { (char *)"Openbox_restart", _wrap_Openbox_restart
, METH_VARARGS
},
10997 { (char *)"Openbox_execute", _wrap_Openbox_execute
, METH_VARARGS
},
10998 { (char *)"Openbox_swigregister", Openbox_swigregister
, METH_VARARGS
},
10999 { (char *)"Screen_client", _wrap_Screen_client
, METH_VARARGS
},
11000 { (char *)"Screen_clientCount", _wrap_Screen_clientCount
, METH_VARARGS
},
11001 { (char *)"Screen_number", _wrap_Screen_number
, METH_VARARGS
},
11002 { (char *)"Screen_managed", _wrap_Screen_managed
, METH_VARARGS
},
11003 { (char *)"Screen_imageControl", _wrap_Screen_imageControl
, METH_VARARGS
},
11004 { (char *)"Screen_area", _wrap_Screen_area
, METH_VARARGS
},
11005 { (char *)"Screen_style", _wrap_Screen_style
, METH_VARARGS
},
11006 { (char *)"Screen_focuswindow", _wrap_Screen_focuswindow
, METH_VARARGS
},
11007 { (char *)"Screen_desktop", _wrap_Screen_desktop
, METH_VARARGS
},
11008 { (char *)"Screen_numDesktops", _wrap_Screen_numDesktops
, METH_VARARGS
},
11009 { (char *)"Screen_updateStrut", _wrap_Screen_updateStrut
, METH_VARARGS
},
11010 { (char *)"Screen_manageExisting", _wrap_Screen_manageExisting
, METH_VARARGS
},
11011 { (char *)"Screen_manageWindow", _wrap_Screen_manageWindow
, METH_VARARGS
},
11012 { (char *)"Screen_unmanageWindow", _wrap_Screen_unmanageWindow
, METH_VARARGS
},
11013 { (char *)"Screen_raiseWindow", _wrap_Screen_raiseWindow
, METH_VARARGS
},
11014 { (char *)"Screen_lowerWindow", _wrap_Screen_lowerWindow
, METH_VARARGS
},
11015 { (char *)"Screen_setDesktopName", _wrap_Screen_setDesktopName
, METH_VARARGS
},
11016 { (char *)"Screen_propertyHandler", _wrap_Screen_propertyHandler
, METH_VARARGS
},
11017 { (char *)"Screen_clientMessageHandler", _wrap_Screen_clientMessageHandler
, METH_VARARGS
},
11018 { (char *)"Screen_mapRequestHandler", _wrap_Screen_mapRequestHandler
, METH_VARARGS
},
11019 { (char *)"Screen_swigregister", Screen_swigregister
, METH_VARARGS
},
11020 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set
, METH_VARARGS
},
11021 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get
, METH_VARARGS
},
11022 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set
, METH_VARARGS
},
11023 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get
, METH_VARARGS
},
11024 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set
, METH_VARARGS
},
11025 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get
, METH_VARARGS
},
11026 { (char *)"MwmHints_swigregister", MwmHints_swigregister
, METH_VARARGS
},
11027 { (char *)"Client_frame_set", _wrap_Client_frame_set
, METH_VARARGS
},
11028 { (char *)"Client_frame_get", _wrap_Client_frame_get
, METH_VARARGS
},
11029 { (char *)"Client_ignore_unmaps_set", _wrap_Client_ignore_unmaps_set
, METH_VARARGS
},
11030 { (char *)"Client_ignore_unmaps_get", _wrap_Client_ignore_unmaps_get
, METH_VARARGS
},
11031 { (char *)"Client_screen", _wrap_Client_screen
, METH_VARARGS
},
11032 { (char *)"Client_window", _wrap_Client_window
, METH_VARARGS
},
11033 { (char *)"Client_type", _wrap_Client_type
, METH_VARARGS
},
11034 { (char *)"Client_normal", _wrap_Client_normal
, METH_VARARGS
},
11035 { (char *)"Client_desktop", _wrap_Client_desktop
, METH_VARARGS
},
11036 { (char *)"Client_title", _wrap_Client_title
, METH_VARARGS
},
11037 { (char *)"Client_iconTitle", _wrap_Client_iconTitle
, METH_VARARGS
},
11038 { (char *)"Client_appName", _wrap_Client_appName
, METH_VARARGS
},
11039 { (char *)"Client_appClass", _wrap_Client_appClass
, METH_VARARGS
},
11040 { (char *)"Client_role", _wrap_Client_role
, METH_VARARGS
},
11041 { (char *)"Client_canFocus", _wrap_Client_canFocus
, METH_VARARGS
},
11042 { (char *)"Client_urgent", _wrap_Client_urgent
, METH_VARARGS
},
11043 { (char *)"Client_focusNotify", _wrap_Client_focusNotify
, METH_VARARGS
},
11044 { (char *)"Client_shaped", _wrap_Client_shaped
, METH_VARARGS
},
11045 { (char *)"Client_gravity", _wrap_Client_gravity
, METH_VARARGS
},
11046 { (char *)"Client_positionRequested", _wrap_Client_positionRequested
, METH_VARARGS
},
11047 { (char *)"Client_decorations", _wrap_Client_decorations
, METH_VARARGS
},
11048 { (char *)"Client_funtions", _wrap_Client_funtions
, METH_VARARGS
},
11049 { (char *)"Client_transientFor", _wrap_Client_transientFor
, METH_VARARGS
},
11050 { (char *)"Client_modal", _wrap_Client_modal
, METH_VARARGS
},
11051 { (char *)"Client_shaded", _wrap_Client_shaded
, METH_VARARGS
},
11052 { (char *)"Client_iconic", _wrap_Client_iconic
, METH_VARARGS
},
11053 { (char *)"Client_maxVert", _wrap_Client_maxVert
, METH_VARARGS
},
11054 { (char *)"Client_maxHorz", _wrap_Client_maxHorz
, METH_VARARGS
},
11055 { (char *)"Client_layer", _wrap_Client_layer
, METH_VARARGS
},
11056 { (char *)"Client_toggleClientBorder", _wrap_Client_toggleClientBorder
, METH_VARARGS
},
11057 { (char *)"Client_area", _wrap_Client_area
, METH_VARARGS
},
11058 { (char *)"Client_strut", _wrap_Client_strut
, METH_VARARGS
},
11059 { (char *)"Client_move", _wrap_Client_move
, METH_VARARGS
},
11060 { (char *)"Client_resize", _wrap_Client_resize
, METH_VARARGS
},
11061 { (char *)"Client_focus", _wrap_Client_focus
, METH_VARARGS
},
11062 { (char *)"Client_unfocus", _wrap_Client_unfocus
, METH_VARARGS
},
11063 { (char *)"Client_focusHandler", _wrap_Client_focusHandler
, METH_VARARGS
},
11064 { (char *)"Client_unfocusHandler", _wrap_Client_unfocusHandler
, METH_VARARGS
},
11065 { (char *)"Client_propertyHandler", _wrap_Client_propertyHandler
, METH_VARARGS
},
11066 { (char *)"Client_clientMessageHandler", _wrap_Client_clientMessageHandler
, METH_VARARGS
},
11067 { (char *)"Client_configureRequestHandler", _wrap_Client_configureRequestHandler
, METH_VARARGS
},
11068 { (char *)"Client_unmapHandler", _wrap_Client_unmapHandler
, METH_VARARGS
},
11069 { (char *)"Client_destroyHandler", _wrap_Client_destroyHandler
, METH_VARARGS
},
11070 { (char *)"Client_reparentHandler", _wrap_Client_reparentHandler
, METH_VARARGS
},
11071 { (char *)"Client_swigregister", Client_swigregister
, METH_VARARGS
},
11072 { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set
, METH_VARARGS
},
11073 { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get
, METH_VARARGS
},
11074 { (char *)"MouseData_client_set", _wrap_MouseData_client_set
, METH_VARARGS
},
11075 { (char *)"MouseData_client_get", _wrap_MouseData_client_get
, METH_VARARGS
},
11076 { (char *)"MouseData_time_set", _wrap_MouseData_time_set
, METH_VARARGS
},
11077 { (char *)"MouseData_time_get", _wrap_MouseData_time_get
, METH_VARARGS
},
11078 { (char *)"MouseData_state_set", _wrap_MouseData_state_set
, METH_VARARGS
},
11079 { (char *)"MouseData_state_get", _wrap_MouseData_state_get
, METH_VARARGS
},
11080 { (char *)"MouseData_button_set", _wrap_MouseData_button_set
, METH_VARARGS
},
11081 { (char *)"MouseData_button_get", _wrap_MouseData_button_get
, METH_VARARGS
},
11082 { (char *)"MouseData_context_set", _wrap_MouseData_context_set
, METH_VARARGS
},
11083 { (char *)"MouseData_context_get", _wrap_MouseData_context_get
, METH_VARARGS
},
11084 { (char *)"MouseData_action_set", _wrap_MouseData_action_set
, METH_VARARGS
},
11085 { (char *)"MouseData_action_get", _wrap_MouseData_action_get
, METH_VARARGS
},
11086 { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set
, METH_VARARGS
},
11087 { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get
, METH_VARARGS
},
11088 { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set
, METH_VARARGS
},
11089 { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get
, METH_VARARGS
},
11090 { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set
, METH_VARARGS
},
11091 { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get
, METH_VARARGS
},
11092 { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set
, METH_VARARGS
},
11093 { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get
, METH_VARARGS
},
11094 { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set
, METH_VARARGS
},
11095 { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get
, METH_VARARGS
},
11096 { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set
, METH_VARARGS
},
11097 { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get
, METH_VARARGS
},
11098 { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set
, METH_VARARGS
},
11099 { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get
, METH_VARARGS
},
11100 { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set
, METH_VARARGS
},
11101 { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get
, METH_VARARGS
},
11102 { (char *)"new_MouseData", _wrap_new_MouseData
, METH_VARARGS
},
11103 { (char *)"MouseData_swigregister", MouseData_swigregister
, METH_VARARGS
},
11104 { (char *)"EventData_screen_set", _wrap_EventData_screen_set
, METH_VARARGS
},
11105 { (char *)"EventData_screen_get", _wrap_EventData_screen_get
, METH_VARARGS
},
11106 { (char *)"EventData_client_set", _wrap_EventData_client_set
, METH_VARARGS
},
11107 { (char *)"EventData_client_get", _wrap_EventData_client_get
, METH_VARARGS
},
11108 { (char *)"EventData_state_set", _wrap_EventData_state_set
, METH_VARARGS
},
11109 { (char *)"EventData_state_get", _wrap_EventData_state_get
, METH_VARARGS
},
11110 { (char *)"EventData_action_set", _wrap_EventData_action_set
, METH_VARARGS
},
11111 { (char *)"EventData_action_get", _wrap_EventData_action_get
, METH_VARARGS
},
11112 { (char *)"new_EventData", _wrap_new_EventData
, METH_VARARGS
},
11113 { (char *)"EventData_swigregister", EventData_swigregister
, METH_VARARGS
},
11114 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set
, METH_VARARGS
},
11115 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get
, METH_VARARGS
},
11116 { (char *)"KeyData_client_set", _wrap_KeyData_client_set
, METH_VARARGS
},
11117 { (char *)"KeyData_client_get", _wrap_KeyData_client_get
, METH_VARARGS
},
11118 { (char *)"KeyData_time_set", _wrap_KeyData_time_set
, METH_VARARGS
},
11119 { (char *)"KeyData_time_get", _wrap_KeyData_time_get
, METH_VARARGS
},
11120 { (char *)"KeyData_state_set", _wrap_KeyData_state_set
, METH_VARARGS
},
11121 { (char *)"KeyData_state_get", _wrap_KeyData_state_get
, METH_VARARGS
},
11122 { (char *)"KeyData_key_set", _wrap_KeyData_key_set
, METH_VARARGS
},
11123 { (char *)"KeyData_key_get", _wrap_KeyData_key_get
, METH_VARARGS
},
11124 { (char *)"new_KeyData", _wrap_new_KeyData
, METH_VARARGS
},
11125 { (char *)"KeyData_swigregister", KeyData_swigregister
, METH_VARARGS
},
11126 { (char *)"mbind", _wrap_mbind
, METH_VARARGS
},
11127 { (char *)"kbind", _wrap_kbind
, METH_VARARGS
},
11128 { (char *)"ebind", _wrap_ebind
, METH_VARARGS
},
11129 { (char *)"set_reset_key", _wrap_set_reset_key
, METH_VARARGS
},
11130 { (char *)"send_client_msg", _wrap_send_client_msg
, METH_VARARGS
},
11135 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11137 static void *_p_ob__ActionsTo_p_otk__EventHandler(void *x
) {
11138 return (void *)((otk::EventHandler
*) ((ob::Actions
*) x
));
11140 static void *_p_ob__OpenboxTo_p_otk__EventHandler(void *x
) {
11141 return (void *)((otk::EventHandler
*) ((ob::Openbox
*) x
));
11143 static void *_p_ob__ScreenTo_p_otk__EventHandler(void *x
) {
11144 return (void *)((otk::EventHandler
*) ((ob::Screen
*) x
));
11146 static void *_p_ob__ClientTo_p_otk__EventHandler(void *x
) {
11147 return (void *)((otk::EventHandler
*) ((ob::Client
*) x
));
11149 static void *_p_ob__OpenboxTo_p_otk__EventDispatcher(void *x
) {
11150 return (void *)((otk::EventDispatcher
*) ((ob::Openbox
*) x
));
11152 static void *_p_ob__ScreenTo_p_ob__WidgetBase(void *x
) {
11153 return (void *)((ob::WidgetBase
*) ((ob::Screen
*) x
));
11155 static void *_p_ob__ClientTo_p_ob__WidgetBase(void *x
) {
11156 return (void *)((ob::WidgetBase
*) ((ob::Client
*) x
));
11158 static swig_type_info _swigt__p_otk__Point
[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
11159 static swig_type_info _swigt__p_ob__Client
[] = {{"_p_ob__Client", 0, "ob::Client *", 0},{"_p_ob__Client"},{0}};
11160 static swig_type_info _swigt__p_XMapEvent
[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
11161 static swig_type_info _swigt__p_XUnmapEvent
[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
11162 static swig_type_info _swigt__p_XColormapEvent
[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
11163 static swig_type_info _swigt__p_XNoExposeEvent
[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
11164 static swig_type_info _swigt__p_XGraphicsExposeEvent
[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
11165 static swig_type_info _swigt__p_XExposeEvent
[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
11166 static swig_type_info _swigt__p_XFocusChangeEvent
[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
11167 static swig_type_info _swigt__p_XClientMessageEvent
[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
11168 static swig_type_info _swigt__p_ob__MouseData
[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
11169 static swig_type_info _swigt__p_XSelectionClearEvent
[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
11170 static swig_type_info _swigt__p_otk__Rect
[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
11171 static swig_type_info _swigt__p_Visual
[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
11172 static swig_type_info _swigt__p_XResizeRequestEvent
[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
11173 static swig_type_info _swigt__p_XMapRequestEvent
[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
11174 static swig_type_info _swigt__p_XConfigureRequestEvent
[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
11175 static swig_type_info _swigt__p_XCirculateRequestEvent
[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
11176 static swig_type_info _swigt__p_XGravityEvent
[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
11177 static swig_type_info _swigt__p_XVisibilityEvent
[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
11178 static swig_type_info _swigt__p_XPropertyEvent
[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
11179 static swig_type_info _swigt__p_XSelectionRequestEvent
[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
11180 static swig_type_info _swigt__p_ob__Cursors
[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
11181 static swig_type_info _swigt__p_otk__ImageControl
[] = {{"_p_otk__ImageControl", 0, "otk::ImageControl *", 0},{"_p_otk__ImageControl"},{0}};
11182 static swig_type_info _swigt__p_ob__MwmHints
[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
11183 static swig_type_info _swigt__p_ob__Screen
[] = {{"_p_ob__Screen", 0, "ob::Screen *", 0},{"_p_ob__Screen"},{0}};
11184 static swig_type_info _swigt__p_ob__Frame
[] = {{"_p_ob__Frame", 0, "ob::Frame *", 0},{"_p_ob__Frame"},{0}};
11185 static swig_type_info _swigt__p_ob__KeyData
[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
11186 static swig_type_info _swigt__p_XConfigureEvent
[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
11187 static swig_type_info _swigt__p_XCirculateEvent
[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
11188 static swig_type_info _swigt__p_XRectangle
[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
11189 static swig_type_info _swigt__p_otk__ustring
[] = {{"_p_otk__ustring", 0, "otk::ustring *", 0},{"_p_otk__ustring"},{0}};
11190 static swig_type_info _swigt__p_std__string
[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
11191 static swig_type_info _swigt__p_XCrossingEvent
[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
11192 static swig_type_info _swigt__p_otk__Display
[] = {{"_p_otk__Display", 0, "otk::Display *", 0},{"_p_otk__Display"},{0}};
11193 static swig_type_info _swigt__p_Display
[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
11194 static swig_type_info _swigt__p_XMappingEvent
[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
11195 static swig_type_info _swigt__p_otk__Style
[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
11196 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}};
11197 static swig_type_info _swigt__p_XReparentEvent
[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
11198 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}};
11199 static swig_type_info _swigt__p_otk__GCCache
[] = {{"_p_otk__GCCache", 0, "otk::GCCache *", 0},{"_p_otk__GCCache"},{0}};
11200 static swig_type_info _swigt__p_ob__Bindings
[] = {{"_p_ob__Bindings", 0, "ob::Bindings *", 0},{"_p_ob__Bindings"},{0}};
11201 static swig_type_info _swigt__p_ob__Openbox
[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
11202 static swig_type_info _swigt__p_ob__Actions
[] = {{"_p_ob__Actions", 0, "ob::Actions *", 0},{"_p_ob__Actions"},{0}};
11203 static swig_type_info _swigt__p_XEvent
[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
11204 static swig_type_info _swigt__p_otk__Property
[] = {{"_p_otk__Property", 0, "otk::Property *", 0},{"_p_otk__Property"},{0}};
11205 static swig_type_info _swigt__p_PyObject
[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
11206 static swig_type_info _swigt__p_otk__ScreenInfo
[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
11207 static swig_type_info _swigt__p_ob__EventData
[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
11208 static swig_type_info _swigt__p_XCreateWindowEvent
[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
11209 static swig_type_info _swigt__p_XDestroyWindowEvent
[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
11210 static swig_type_info _swigt__p_otk__Property__StringVect
[] = {{"_p_otk__Property__StringVect", 0, "otk::Property::StringVect *", 0},{"_p_otk__Property__StringVect"},{0}};
11211 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}};
11212 static swig_type_info _swigt__p_otk__Atoms
[] = {{"_p_otk__Atoms", 0, "otk::Atoms *", 0},{"_p_otk__Atoms"},{0}};
11213 static swig_type_info _swigt__p_XKeyEvent
[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
11214 static swig_type_info _swigt__p_otk__Strut
[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
11215 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
11216 static swig_type_info _swigt__p_p_unsigned_long
[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
11217 static swig_type_info _swigt__p_XMotionEvent
[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
11218 static swig_type_info _swigt__p_XButtonEvent
[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
11219 static swig_type_info _swigt__p_XSelectionEvent
[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
11221 static swig_type_info
*swig_types_initial
[] = {
11222 _swigt__p_otk__Point
,
11223 _swigt__p_ob__Client
,
11224 _swigt__p_XMapEvent
,
11225 _swigt__p_XUnmapEvent
,
11226 _swigt__p_XColormapEvent
,
11227 _swigt__p_XNoExposeEvent
,
11228 _swigt__p_XGraphicsExposeEvent
,
11229 _swigt__p_XExposeEvent
,
11230 _swigt__p_XFocusChangeEvent
,
11231 _swigt__p_XClientMessageEvent
,
11232 _swigt__p_ob__MouseData
,
11233 _swigt__p_XSelectionClearEvent
,
11234 _swigt__p_otk__Rect
,
11236 _swigt__p_XResizeRequestEvent
,
11237 _swigt__p_XMapRequestEvent
,
11238 _swigt__p_XConfigureRequestEvent
,
11239 _swigt__p_XCirculateRequestEvent
,
11240 _swigt__p_XGravityEvent
,
11241 _swigt__p_XVisibilityEvent
,
11242 _swigt__p_XPropertyEvent
,
11243 _swigt__p_XSelectionRequestEvent
,
11244 _swigt__p_ob__Cursors
,
11245 _swigt__p_otk__ImageControl
,
11246 _swigt__p_ob__MwmHints
,
11247 _swigt__p_ob__Screen
,
11248 _swigt__p_ob__Frame
,
11249 _swigt__p_ob__KeyData
,
11250 _swigt__p_XConfigureEvent
,
11251 _swigt__p_XCirculateEvent
,
11252 _swigt__p_XRectangle
,
11253 _swigt__p_otk__ustring
,
11254 _swigt__p_std__string
,
11255 _swigt__p_XCrossingEvent
,
11256 _swigt__p_otk__Display
,
11258 _swigt__p_XMappingEvent
,
11259 _swigt__p_otk__Style
,
11260 _swigt__p_otk__EventHandler
,
11261 _swigt__p_XReparentEvent
,
11262 _swigt__p_otk__EventDispatcher
,
11263 _swigt__p_otk__GCCache
,
11264 _swigt__p_ob__Bindings
,
11265 _swigt__p_ob__Openbox
,
11266 _swigt__p_ob__Actions
,
11268 _swigt__p_otk__Property
,
11269 _swigt__p_PyObject
,
11270 _swigt__p_otk__ScreenInfo
,
11271 _swigt__p_ob__EventData
,
11272 _swigt__p_XCreateWindowEvent
,
11273 _swigt__p_XDestroyWindowEvent
,
11274 _swigt__p_otk__Property__StringVect
,
11275 _swigt__p_ob__WidgetBase
,
11276 _swigt__p_otk__Atoms
,
11277 _swigt__p_XKeyEvent
,
11278 _swigt__p_otk__Strut
,
11279 _swigt__p_unsigned_long
,
11280 _swigt__p_p_unsigned_long
,
11281 _swigt__p_XMotionEvent
,
11282 _swigt__p_XButtonEvent
,
11283 _swigt__p_XSelectionEvent
,
11288 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11290 static swig_const_info swig_const_table
[] = {
11291 { SWIG_PY_INT
, (char *)"Property_ascii", (long) otk::Property::ascii
, 0, 0, 0},
11292 { SWIG_PY_INT
, (char *)"Property_utf8", (long) otk::Property::utf8
, 0, 0, 0},
11293 { SWIG_PY_INT
, (char *)"Property_NUM_STRING_TYPE", (long) otk::Property::NUM_STRING_TYPE
, 0, 0, 0},
11294 { SWIG_PY_INT
, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting
, 0, 0, 0},
11295 { SWIG_PY_INT
, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal
, 0, 0, 0},
11296 { SWIG_PY_INT
, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting
, 0, 0, 0},
11297 { SWIG_PY_INT
, (char *)"Screen_event_mask", (long) ob::Screen::event_mask
, 0, 0, 0},
11298 { SWIG_PY_INT
, (char *)"MwmHints_elements", (long) ob::MwmHints::elements
, 0, 0, 0},
11299 { SWIG_PY_INT
, (char *)"Client_Layer_Icon", (long) ob::Client::Layer_Icon
, 0, 0, 0},
11300 { SWIG_PY_INT
, (char *)"Client_Layer_Desktop", (long) ob::Client::Layer_Desktop
, 0, 0, 0},
11301 { SWIG_PY_INT
, (char *)"Client_Layer_Below", (long) ob::Client::Layer_Below
, 0, 0, 0},
11302 { SWIG_PY_INT
, (char *)"Client_Layer_Normal", (long) ob::Client::Layer_Normal
, 0, 0, 0},
11303 { SWIG_PY_INT
, (char *)"Client_Layer_Above", (long) ob::Client::Layer_Above
, 0, 0, 0},
11304 { SWIG_PY_INT
, (char *)"Client_Layer_Top", (long) ob::Client::Layer_Top
, 0, 0, 0},
11305 { SWIG_PY_INT
, (char *)"Client_Layer_Fullscreen", (long) ob::Client::Layer_Fullscreen
, 0, 0, 0},
11306 { SWIG_PY_INT
, (char *)"Client_Layer_Internal", (long) ob::Client::Layer_Internal
, 0, 0, 0},
11307 { SWIG_PY_INT
, (char *)"Client_NUM_LAYERS", (long) ob::Client::NUM_LAYERS
, 0, 0, 0},
11308 { SWIG_PY_INT
, (char *)"Client_TopLeft", (long) ob::Client::TopLeft
, 0, 0, 0},
11309 { SWIG_PY_INT
, (char *)"Client_TopRight", (long) ob::Client::TopRight
, 0, 0, 0},
11310 { SWIG_PY_INT
, (char *)"Client_BottomLeft", (long) ob::Client::BottomLeft
, 0, 0, 0},
11311 { SWIG_PY_INT
, (char *)"Client_BottomRight", (long) ob::Client::BottomRight
, 0, 0, 0},
11312 { SWIG_PY_INT
, (char *)"Client_Type_Desktop", (long) ob::Client::Type_Desktop
, 0, 0, 0},
11313 { SWIG_PY_INT
, (char *)"Client_Type_Dock", (long) ob::Client::Type_Dock
, 0, 0, 0},
11314 { SWIG_PY_INT
, (char *)"Client_Type_Toolbar", (long) ob::Client::Type_Toolbar
, 0, 0, 0},
11315 { SWIG_PY_INT
, (char *)"Client_Type_Menu", (long) ob::Client::Type_Menu
, 0, 0, 0},
11316 { SWIG_PY_INT
, (char *)"Client_Type_Utility", (long) ob::Client::Type_Utility
, 0, 0, 0},
11317 { SWIG_PY_INT
, (char *)"Client_Type_Splash", (long) ob::Client::Type_Splash
, 0, 0, 0},
11318 { SWIG_PY_INT
, (char *)"Client_Type_Dialog", (long) ob::Client::Type_Dialog
, 0, 0, 0},
11319 { SWIG_PY_INT
, (char *)"Client_Type_Normal", (long) ob::Client::Type_Normal
, 0, 0, 0},
11320 { SWIG_PY_INT
, (char *)"Client_MwmFlag_Functions", (long) ob::Client::MwmFlag_Functions
, 0, 0, 0},
11321 { SWIG_PY_INT
, (char *)"Client_MwmFlag_Decorations", (long) ob::Client::MwmFlag_Decorations
, 0, 0, 0},
11322 { SWIG_PY_INT
, (char *)"Client_MwmFunc_All", (long) ob::Client::MwmFunc_All
, 0, 0, 0},
11323 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Resize", (long) ob::Client::MwmFunc_Resize
, 0, 0, 0},
11324 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Move", (long) ob::Client::MwmFunc_Move
, 0, 0, 0},
11325 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Iconify", (long) ob::Client::MwmFunc_Iconify
, 0, 0, 0},
11326 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Maximize", (long) ob::Client::MwmFunc_Maximize
, 0, 0, 0},
11327 { SWIG_PY_INT
, (char *)"Client_MwmDecor_All", (long) ob::Client::MwmDecor_All
, 0, 0, 0},
11328 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Border", (long) ob::Client::MwmDecor_Border
, 0, 0, 0},
11329 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Handle", (long) ob::Client::MwmDecor_Handle
, 0, 0, 0},
11330 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Title", (long) ob::Client::MwmDecor_Title
, 0, 0, 0},
11331 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Iconify", (long) ob::Client::MwmDecor_Iconify
, 0, 0, 0},
11332 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Maximize", (long) ob::Client::MwmDecor_Maximize
, 0, 0, 0},
11333 { SWIG_PY_INT
, (char *)"Client_Func_Resize", (long) ob::Client::Func_Resize
, 0, 0, 0},
11334 { SWIG_PY_INT
, (char *)"Client_Func_Move", (long) ob::Client::Func_Move
, 0, 0, 0},
11335 { SWIG_PY_INT
, (char *)"Client_Func_Iconify", (long) ob::Client::Func_Iconify
, 0, 0, 0},
11336 { SWIG_PY_INT
, (char *)"Client_Func_Maximize", (long) ob::Client::Func_Maximize
, 0, 0, 0},
11337 { SWIG_PY_INT
, (char *)"Client_Func_Close", (long) ob::Client::Func_Close
, 0, 0, 0},
11338 { SWIG_PY_INT
, (char *)"Client_Decor_Titlebar", (long) ob::Client::Decor_Titlebar
, 0, 0, 0},
11339 { SWIG_PY_INT
, (char *)"Client_Decor_Handle", (long) ob::Client::Decor_Handle
, 0, 0, 0},
11340 { SWIG_PY_INT
, (char *)"Client_Decor_Border", (long) ob::Client::Decor_Border
, 0, 0, 0},
11341 { SWIG_PY_INT
, (char *)"Client_Decor_Iconify", (long) ob::Client::Decor_Iconify
, 0, 0, 0},
11342 { SWIG_PY_INT
, (char *)"Client_Decor_Maximize", (long) ob::Client::Decor_Maximize
, 0, 0, 0},
11343 { SWIG_PY_INT
, (char *)"Client_Decor_Sticky", (long) ob::Client::Decor_Sticky
, 0, 0, 0},
11344 { SWIG_PY_INT
, (char *)"Client_Decor_Close", (long) ob::Client::Decor_Close
, 0, 0, 0},
11345 { SWIG_PY_INT
, (char *)"Client_State_Remove", (long) ob::Client::State_Remove
, 0, 0, 0},
11346 { SWIG_PY_INT
, (char *)"Client_State_Add", (long) ob::Client::State_Add
, 0, 0, 0},
11347 { SWIG_PY_INT
, (char *)"Client_State_Toggle", (long) ob::Client::State_Toggle
, 0, 0, 0},
11348 { SWIG_PY_INT
, (char *)"Client_event_mask", (long) ob::Client::event_mask
, 0, 0, 0},
11349 { SWIG_PY_INT
, (char *)"Client_no_propagate_mask", (long) ob::Client::no_propagate_mask
, 0, 0, 0},
11350 { SWIG_PY_INT
, (char *)"MC_Frame", (long) ob::MC_Frame
, 0, 0, 0},
11351 { SWIG_PY_INT
, (char *)"MC_Titlebar", (long) ob::MC_Titlebar
, 0, 0, 0},
11352 { SWIG_PY_INT
, (char *)"MC_Handle", (long) ob::MC_Handle
, 0, 0, 0},
11353 { SWIG_PY_INT
, (char *)"MC_Window", (long) ob::MC_Window
, 0, 0, 0},
11354 { SWIG_PY_INT
, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton
, 0, 0, 0},
11355 { SWIG_PY_INT
, (char *)"MC_CloseButton", (long) ob::MC_CloseButton
, 0, 0, 0},
11356 { SWIG_PY_INT
, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton
, 0, 0, 0},
11357 { SWIG_PY_INT
, (char *)"MC_StickyButton", (long) ob::MC_StickyButton
, 0, 0, 0},
11358 { SWIG_PY_INT
, (char *)"MC_Grip", (long) ob::MC_Grip
, 0, 0, 0},
11359 { SWIG_PY_INT
, (char *)"MC_Root", (long) ob::MC_Root
, 0, 0, 0},
11360 { SWIG_PY_INT
, (char *)"MC_MenuItem", (long) ob::MC_MenuItem
, 0, 0, 0},
11361 { SWIG_PY_INT
, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT
, 0, 0, 0},
11362 { SWIG_PY_INT
, (char *)"MousePress", (long) ob::MousePress
, 0, 0, 0},
11363 { SWIG_PY_INT
, (char *)"MouseClick", (long) ob::MouseClick
, 0, 0, 0},
11364 { SWIG_PY_INT
, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick
, 0, 0, 0},
11365 { SWIG_PY_INT
, (char *)"MouseMotion", (long) ob::MouseMotion
, 0, 0, 0},
11366 { SWIG_PY_INT
, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION
, 0, 0, 0},
11367 { SWIG_PY_INT
, (char *)"KC_Menu", (long) ob::KC_Menu
, 0, 0, 0},
11368 { SWIG_PY_INT
, (char *)"KC_All", (long) ob::KC_All
, 0, 0, 0},
11369 { SWIG_PY_INT
, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT
, 0, 0, 0},
11370 { SWIG_PY_INT
, (char *)"EventEnterWindow", (long) ob::EventEnterWindow
, 0, 0, 0},
11371 { SWIG_PY_INT
, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow
, 0, 0, 0},
11372 { SWIG_PY_INT
, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow
, 0, 0, 0},
11373 { SWIG_PY_INT
, (char *)"EventNewWindow", (long) ob::EventNewWindow
, 0, 0, 0},
11374 { SWIG_PY_INT
, (char *)"EventCloseWindow", (long) ob::EventCloseWindow
, 0, 0, 0},
11375 { SWIG_PY_INT
, (char *)"EventStartup", (long) ob::EventStartup
, 0, 0, 0},
11376 { SWIG_PY_INT
, (char *)"EventShutdown", (long) ob::EventShutdown
, 0, 0, 0},
11377 { SWIG_PY_INT
, (char *)"EventFocus", (long) ob::EventFocus
, 0, 0, 0},
11378 { SWIG_PY_INT
, (char *)"EventBell", (long) ob::EventBell
, 0, 0, 0},
11379 { SWIG_PY_INT
, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS
, 0, 0, 0},
11380 { SWIG_PY_INT
, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
11381 { SWIG_PY_INT
, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
11382 { SWIG_PY_INT
, (char *)"None", (long) 0L, 0, 0, 0},
11383 { SWIG_PY_INT
, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
11384 { SWIG_PY_INT
, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
11385 { SWIG_PY_INT
, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
11386 { SWIG_PY_INT
, (char *)"InputFocus", (long) 1L, 0, 0, 0},
11387 { SWIG_PY_INT
, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
11388 { SWIG_PY_INT
, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
11389 { SWIG_PY_INT
, (char *)"AnyKey", (long) 0L, 0, 0, 0},
11390 { SWIG_PY_INT
, (char *)"AnyButton", (long) 0L, 0, 0, 0},
11391 { SWIG_PY_INT
, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
11392 { SWIG_PY_INT
, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
11393 { SWIG_PY_INT
, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
11394 { SWIG_PY_INT
, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
11395 { SWIG_PY_INT
, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
11396 { SWIG_PY_INT
, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
11397 { SWIG_PY_INT
, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
11398 { SWIG_PY_INT
, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
11399 { SWIG_PY_INT
, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
11400 { SWIG_PY_INT
, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
11401 { SWIG_PY_INT
, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
11402 { SWIG_PY_INT
, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
11403 { SWIG_PY_INT
, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
11404 { SWIG_PY_INT
, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
11405 { SWIG_PY_INT
, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
11406 { SWIG_PY_INT
, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
11407 { SWIG_PY_INT
, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
11408 { SWIG_PY_INT
, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
11409 { SWIG_PY_INT
, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
11410 { SWIG_PY_INT
, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
11411 { SWIG_PY_INT
, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
11412 { SWIG_PY_INT
, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
11413 { SWIG_PY_INT
, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
11414 { SWIG_PY_INT
, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
11415 { SWIG_PY_INT
, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
11416 { SWIG_PY_INT
, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
11417 { SWIG_PY_INT
, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
11418 { SWIG_PY_INT
, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
11419 { SWIG_PY_INT
, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
11420 { SWIG_PY_INT
, (char *)"KeyPress", (long) 2, 0, 0, 0},
11421 { SWIG_PY_INT
, (char *)"KeyRelease", (long) 3, 0, 0, 0},
11422 { SWIG_PY_INT
, (char *)"ButtonPress", (long) 4, 0, 0, 0},
11423 { SWIG_PY_INT
, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
11424 { SWIG_PY_INT
, (char *)"MotionNotify", (long) 6, 0, 0, 0},
11425 { SWIG_PY_INT
, (char *)"EnterNotify", (long) 7, 0, 0, 0},
11426 { SWIG_PY_INT
, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
11427 { SWIG_PY_INT
, (char *)"FocusIn", (long) 9, 0, 0, 0},
11428 { SWIG_PY_INT
, (char *)"FocusOut", (long) 10, 0, 0, 0},
11429 { SWIG_PY_INT
, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
11430 { SWIG_PY_INT
, (char *)"Expose", (long) 12, 0, 0, 0},
11431 { SWIG_PY_INT
, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
11432 { SWIG_PY_INT
, (char *)"NoExpose", (long) 14, 0, 0, 0},
11433 { SWIG_PY_INT
, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
11434 { SWIG_PY_INT
, (char *)"CreateNotify", (long) 16, 0, 0, 0},
11435 { SWIG_PY_INT
, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
11436 { SWIG_PY_INT
, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
11437 { SWIG_PY_INT
, (char *)"MapNotify", (long) 19, 0, 0, 0},
11438 { SWIG_PY_INT
, (char *)"MapRequest", (long) 20, 0, 0, 0},
11439 { SWIG_PY_INT
, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
11440 { SWIG_PY_INT
, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
11441 { SWIG_PY_INT
, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
11442 { SWIG_PY_INT
, (char *)"GravityNotify", (long) 24, 0, 0, 0},
11443 { SWIG_PY_INT
, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
11444 { SWIG_PY_INT
, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
11445 { SWIG_PY_INT
, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
11446 { SWIG_PY_INT
, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
11447 { SWIG_PY_INT
, (char *)"SelectionClear", (long) 29, 0, 0, 0},
11448 { SWIG_PY_INT
, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
11449 { SWIG_PY_INT
, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
11450 { SWIG_PY_INT
, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
11451 { SWIG_PY_INT
, (char *)"ClientMessage", (long) 33, 0, 0, 0},
11452 { SWIG_PY_INT
, (char *)"MappingNotify", (long) 34, 0, 0, 0},
11453 { SWIG_PY_INT
, (char *)"LASTEvent", (long) 35, 0, 0, 0},
11454 { SWIG_PY_INT
, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
11455 { SWIG_PY_INT
, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
11456 { SWIG_PY_INT
, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
11457 { SWIG_PY_INT
, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
11458 { SWIG_PY_INT
, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
11459 { SWIG_PY_INT
, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
11460 { SWIG_PY_INT
, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
11461 { SWIG_PY_INT
, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
11462 { SWIG_PY_INT
, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
11463 { SWIG_PY_INT
, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
11464 { SWIG_PY_INT
, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
11465 { SWIG_PY_INT
, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
11466 { SWIG_PY_INT
, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
11467 { SWIG_PY_INT
, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
11468 { SWIG_PY_INT
, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
11469 { SWIG_PY_INT
, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
11470 { SWIG_PY_INT
, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
11471 { SWIG_PY_INT
, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
11472 { SWIG_PY_INT
, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
11473 { SWIG_PY_INT
, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
11474 { SWIG_PY_INT
, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
11475 { SWIG_PY_INT
, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
11476 { SWIG_PY_INT
, (char *)"Button1", (long) 1, 0, 0, 0},
11477 { SWIG_PY_INT
, (char *)"Button2", (long) 2, 0, 0, 0},
11478 { SWIG_PY_INT
, (char *)"Button3", (long) 3, 0, 0, 0},
11479 { SWIG_PY_INT
, (char *)"Button4", (long) 4, 0, 0, 0},
11480 { SWIG_PY_INT
, (char *)"Button5", (long) 5, 0, 0, 0},
11481 { SWIG_PY_INT
, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
11482 { SWIG_PY_INT
, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
11483 { SWIG_PY_INT
, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
11484 { SWIG_PY_INT
, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
11485 { SWIG_PY_INT
, (char *)"NotifyHint", (long) 1, 0, 0, 0},
11486 { SWIG_PY_INT
, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
11487 { SWIG_PY_INT
, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
11488 { SWIG_PY_INT
, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
11489 { SWIG_PY_INT
, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
11490 { SWIG_PY_INT
, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
11491 { SWIG_PY_INT
, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
11492 { SWIG_PY_INT
, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
11493 { SWIG_PY_INT
, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
11494 { SWIG_PY_INT
, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
11495 { SWIG_PY_INT
, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
11496 { SWIG_PY_INT
, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
11497 { SWIG_PY_INT
, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
11498 { SWIG_PY_INT
, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
11499 { SWIG_PY_INT
, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
11500 { SWIG_PY_INT
, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
11501 { SWIG_PY_INT
, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
11502 { SWIG_PY_INT
, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
11503 { SWIG_PY_INT
, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
11504 { SWIG_PY_INT
, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
11505 { SWIG_PY_INT
, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
11506 { SWIG_PY_INT
, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
11507 { SWIG_PY_INT
, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
11508 { SWIG_PY_INT
, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
11509 { SWIG_PY_INT
, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
11510 { SWIG_PY_INT
, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
11511 { SWIG_PY_INT
, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
11512 { SWIG_PY_INT
, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
11513 { SWIG_PY_INT
, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
11514 { SWIG_PY_INT
, (char *)"SyncPointer", (long) 1, 0, 0, 0},
11515 { SWIG_PY_INT
, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
11516 { SWIG_PY_INT
, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
11517 { SWIG_PY_INT
, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
11518 { SWIG_PY_INT
, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
11519 { SWIG_PY_INT
, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
11520 { SWIG_PY_INT
, (char *)"SyncBoth", (long) 7, 0, 0, 0},
11521 { SWIG_PY_INT
, (char *)"RevertToParent", (long) 2, 0, 0, 0},
11522 { SWIG_PY_INT
, (char *)"Success", (long) 0, 0, 0, 0},
11523 { SWIG_PY_INT
, (char *)"BadRequest", (long) 1, 0, 0, 0},
11524 { SWIG_PY_INT
, (char *)"BadValue", (long) 2, 0, 0, 0},
11525 { SWIG_PY_INT
, (char *)"BadWindow", (long) 3, 0, 0, 0},
11526 { SWIG_PY_INT
, (char *)"BadPixmap", (long) 4, 0, 0, 0},
11527 { SWIG_PY_INT
, (char *)"BadAtom", (long) 5, 0, 0, 0},
11528 { SWIG_PY_INT
, (char *)"BadCursor", (long) 6, 0, 0, 0},
11529 { SWIG_PY_INT
, (char *)"BadFont", (long) 7, 0, 0, 0},
11530 { SWIG_PY_INT
, (char *)"BadMatch", (long) 8, 0, 0, 0},
11531 { SWIG_PY_INT
, (char *)"BadDrawable", (long) 9, 0, 0, 0},
11532 { SWIG_PY_INT
, (char *)"BadAccess", (long) 10, 0, 0, 0},
11533 { SWIG_PY_INT
, (char *)"BadAlloc", (long) 11, 0, 0, 0},
11534 { SWIG_PY_INT
, (char *)"BadColor", (long) 12, 0, 0, 0},
11535 { SWIG_PY_INT
, (char *)"BadGC", (long) 13, 0, 0, 0},
11536 { SWIG_PY_INT
, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
11537 { SWIG_PY_INT
, (char *)"BadName", (long) 15, 0, 0, 0},
11538 { SWIG_PY_INT
, (char *)"BadLength", (long) 16, 0, 0, 0},
11539 { SWIG_PY_INT
, (char *)"BadImplementation", (long) 17, 0, 0, 0},
11540 { SWIG_PY_INT
, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
11541 { SWIG_PY_INT
, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
11542 { SWIG_PY_INT
, (char *)"InputOutput", (long) 1, 0, 0, 0},
11543 { SWIG_PY_INT
, (char *)"InputOnly", (long) 2, 0, 0, 0},
11544 { SWIG_PY_INT
, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
11545 { SWIG_PY_INT
, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
11546 { SWIG_PY_INT
, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
11547 { SWIG_PY_INT
, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
11548 { SWIG_PY_INT
, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
11549 { SWIG_PY_INT
, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
11550 { SWIG_PY_INT
, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
11551 { SWIG_PY_INT
, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
11552 { SWIG_PY_INT
, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
11553 { SWIG_PY_INT
, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
11554 { SWIG_PY_INT
, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
11555 { SWIG_PY_INT
, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
11556 { SWIG_PY_INT
, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
11557 { SWIG_PY_INT
, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
11558 { SWIG_PY_INT
, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
11559 { SWIG_PY_INT
, (char *)"CWX", (long) (1<<0), 0, 0, 0},
11560 { SWIG_PY_INT
, (char *)"CWY", (long) (1<<1), 0, 0, 0},
11561 { SWIG_PY_INT
, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
11562 { SWIG_PY_INT
, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
11563 { SWIG_PY_INT
, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
11564 { SWIG_PY_INT
, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
11565 { SWIG_PY_INT
, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
11566 { SWIG_PY_INT
, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
11567 { SWIG_PY_INT
, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
11568 { SWIG_PY_INT
, (char *)"NorthGravity", (long) 2, 0, 0, 0},
11569 { SWIG_PY_INT
, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
11570 { SWIG_PY_INT
, (char *)"WestGravity", (long) 4, 0, 0, 0},
11571 { SWIG_PY_INT
, (char *)"CenterGravity", (long) 5, 0, 0, 0},
11572 { SWIG_PY_INT
, (char *)"EastGravity", (long) 6, 0, 0, 0},
11573 { SWIG_PY_INT
, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
11574 { SWIG_PY_INT
, (char *)"SouthGravity", (long) 8, 0, 0, 0},
11575 { SWIG_PY_INT
, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
11576 { SWIG_PY_INT
, (char *)"StaticGravity", (long) 10, 0, 0, 0},
11577 { SWIG_PY_INT
, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
11578 { SWIG_PY_INT
, (char *)"NotUseful", (long) 0, 0, 0, 0},
11579 { SWIG_PY_INT
, (char *)"WhenMapped", (long) 1, 0, 0, 0},
11580 { SWIG_PY_INT
, (char *)"Always", (long) 2, 0, 0, 0},
11581 { SWIG_PY_INT
, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
11582 { SWIG_PY_INT
, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
11583 { SWIG_PY_INT
, (char *)"IsViewable", (long) 2, 0, 0, 0},
11584 { SWIG_PY_INT
, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
11585 { SWIG_PY_INT
, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
11586 { SWIG_PY_INT
, (char *)"DestroyAll", (long) 0, 0, 0, 0},
11587 { SWIG_PY_INT
, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
11588 { SWIG_PY_INT
, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
11589 { SWIG_PY_INT
, (char *)"Above", (long) 0, 0, 0, 0},
11590 { SWIG_PY_INT
, (char *)"Below", (long) 1, 0, 0, 0},
11591 { SWIG_PY_INT
, (char *)"TopIf", (long) 2, 0, 0, 0},
11592 { SWIG_PY_INT
, (char *)"BottomIf", (long) 3, 0, 0, 0},
11593 { SWIG_PY_INT
, (char *)"Opposite", (long) 4, 0, 0, 0},
11594 { SWIG_PY_INT
, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
11595 { SWIG_PY_INT
, (char *)"LowerHighest", (long) 1, 0, 0, 0},
11596 { SWIG_PY_INT
, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
11597 { SWIG_PY_INT
, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
11598 { SWIG_PY_INT
, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
11599 { SWIG_PY_INT
, (char *)"GXclear", (long) 0x0, 0, 0, 0},
11600 { SWIG_PY_INT
, (char *)"GXand", (long) 0x1, 0, 0, 0},
11601 { SWIG_PY_INT
, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
11602 { SWIG_PY_INT
, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
11603 { SWIG_PY_INT
, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
11604 { SWIG_PY_INT
, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
11605 { SWIG_PY_INT
, (char *)"GXxor", (long) 0x6, 0, 0, 0},
11606 { SWIG_PY_INT
, (char *)"GXor", (long) 0x7, 0, 0, 0},
11607 { SWIG_PY_INT
, (char *)"GXnor", (long) 0x8, 0, 0, 0},
11608 { SWIG_PY_INT
, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
11609 { SWIG_PY_INT
, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
11610 { SWIG_PY_INT
, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
11611 { SWIG_PY_INT
, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
11612 { SWIG_PY_INT
, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
11613 { SWIG_PY_INT
, (char *)"GXnand", (long) 0xe, 0, 0, 0},
11614 { SWIG_PY_INT
, (char *)"GXset", (long) 0xf, 0, 0, 0},
11615 { SWIG_PY_INT
, (char *)"LineSolid", (long) 0, 0, 0, 0},
11616 { SWIG_PY_INT
, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
11617 { SWIG_PY_INT
, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
11618 { SWIG_PY_INT
, (char *)"CapNotLast", (long) 0, 0, 0, 0},
11619 { SWIG_PY_INT
, (char *)"CapButt", (long) 1, 0, 0, 0},
11620 { SWIG_PY_INT
, (char *)"CapRound", (long) 2, 0, 0, 0},
11621 { SWIG_PY_INT
, (char *)"CapProjecting", (long) 3, 0, 0, 0},
11622 { SWIG_PY_INT
, (char *)"JoinMiter", (long) 0, 0, 0, 0},
11623 { SWIG_PY_INT
, (char *)"JoinRound", (long) 1, 0, 0, 0},
11624 { SWIG_PY_INT
, (char *)"JoinBevel", (long) 2, 0, 0, 0},
11625 { SWIG_PY_INT
, (char *)"FillSolid", (long) 0, 0, 0, 0},
11626 { SWIG_PY_INT
, (char *)"FillTiled", (long) 1, 0, 0, 0},
11627 { SWIG_PY_INT
, (char *)"FillStippled", (long) 2, 0, 0, 0},
11628 { SWIG_PY_INT
, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
11629 { SWIG_PY_INT
, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
11630 { SWIG_PY_INT
, (char *)"WindingRule", (long) 1, 0, 0, 0},
11631 { SWIG_PY_INT
, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
11632 { SWIG_PY_INT
, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
11633 { SWIG_PY_INT
, (char *)"Unsorted", (long) 0, 0, 0, 0},
11634 { SWIG_PY_INT
, (char *)"YSorted", (long) 1, 0, 0, 0},
11635 { SWIG_PY_INT
, (char *)"YXSorted", (long) 2, 0, 0, 0},
11636 { SWIG_PY_INT
, (char *)"YXBanded", (long) 3, 0, 0, 0},
11637 { SWIG_PY_INT
, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
11638 { SWIG_PY_INT
, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
11639 { SWIG_PY_INT
, (char *)"Complex", (long) 0, 0, 0, 0},
11640 { SWIG_PY_INT
, (char *)"Nonconvex", (long) 1, 0, 0, 0},
11641 { SWIG_PY_INT
, (char *)"Convex", (long) 2, 0, 0, 0},
11642 { SWIG_PY_INT
, (char *)"ArcChord", (long) 0, 0, 0, 0},
11643 { SWIG_PY_INT
, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
11644 { SWIG_PY_INT
, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
11645 { SWIG_PY_INT
, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
11646 { SWIG_PY_INT
, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
11647 { SWIG_PY_INT
, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
11648 { SWIG_PY_INT
, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
11649 { SWIG_PY_INT
, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
11650 { SWIG_PY_INT
, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
11651 { SWIG_PY_INT
, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
11652 { SWIG_PY_INT
, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
11653 { SWIG_PY_INT
, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
11654 { SWIG_PY_INT
, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
11655 { SWIG_PY_INT
, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
11656 { SWIG_PY_INT
, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
11657 { SWIG_PY_INT
, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
11658 { SWIG_PY_INT
, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
11659 { SWIG_PY_INT
, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
11660 { SWIG_PY_INT
, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
11661 { SWIG_PY_INT
, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
11662 { SWIG_PY_INT
, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
11663 { SWIG_PY_INT
, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
11664 { SWIG_PY_INT
, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
11665 { SWIG_PY_INT
, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
11666 { SWIG_PY_INT
, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
11667 { SWIG_PY_INT
, (char *)"GCLastBit", (long) 22, 0, 0, 0},
11668 { SWIG_PY_INT
, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
11669 { SWIG_PY_INT
, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
11670 { SWIG_PY_INT
, (char *)"FontChange", (long) 255, 0, 0, 0},
11671 { SWIG_PY_INT
, (char *)"XYBitmap", (long) 0, 0, 0, 0},
11672 { SWIG_PY_INT
, (char *)"XYPixmap", (long) 1, 0, 0, 0},
11673 { SWIG_PY_INT
, (char *)"ZPixmap", (long) 2, 0, 0, 0},
11674 { SWIG_PY_INT
, (char *)"AllocNone", (long) 0, 0, 0, 0},
11675 { SWIG_PY_INT
, (char *)"AllocAll", (long) 1, 0, 0, 0},
11676 { SWIG_PY_INT
, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
11677 { SWIG_PY_INT
, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
11678 { SWIG_PY_INT
, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
11679 { SWIG_PY_INT
, (char *)"CursorShape", (long) 0, 0, 0, 0},
11680 { SWIG_PY_INT
, (char *)"TileShape", (long) 1, 0, 0, 0},
11681 { SWIG_PY_INT
, (char *)"StippleShape", (long) 2, 0, 0, 0},
11682 { SWIG_PY_INT
, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
11683 { SWIG_PY_INT
, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
11684 { SWIG_PY_INT
, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
11685 { SWIG_PY_INT
, (char *)"LedModeOff", (long) 0, 0, 0, 0},
11686 { SWIG_PY_INT
, (char *)"LedModeOn", (long) 1, 0, 0, 0},
11687 { SWIG_PY_INT
, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
11688 { SWIG_PY_INT
, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
11689 { SWIG_PY_INT
, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
11690 { SWIG_PY_INT
, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
11691 { SWIG_PY_INT
, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
11692 { SWIG_PY_INT
, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
11693 { SWIG_PY_INT
, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
11694 { SWIG_PY_INT
, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
11695 { SWIG_PY_INT
, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
11696 { SWIG_PY_INT
, (char *)"MappingBusy", (long) 1, 0, 0, 0},
11697 { SWIG_PY_INT
, (char *)"MappingFailed", (long) 2, 0, 0, 0},
11698 { SWIG_PY_INT
, (char *)"MappingModifier", (long) 0, 0, 0, 0},
11699 { SWIG_PY_INT
, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
11700 { SWIG_PY_INT
, (char *)"MappingPointer", (long) 2, 0, 0, 0},
11701 { SWIG_PY_INT
, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
11702 { SWIG_PY_INT
, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
11703 { SWIG_PY_INT
, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
11704 { SWIG_PY_INT
, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
11705 { SWIG_PY_INT
, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
11706 { SWIG_PY_INT
, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
11707 { SWIG_PY_INT
, (char *)"AllowExposures", (long) 1, 0, 0, 0},
11708 { SWIG_PY_INT
, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
11709 { SWIG_PY_INT
, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
11710 { SWIG_PY_INT
, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
11711 { SWIG_PY_INT
, (char *)"HostInsert", (long) 0, 0, 0, 0},
11712 { SWIG_PY_INT
, (char *)"HostDelete", (long) 1, 0, 0, 0},
11713 { SWIG_PY_INT
, (char *)"EnableAccess", (long) 1, 0, 0, 0},
11714 { SWIG_PY_INT
, (char *)"DisableAccess", (long) 0, 0, 0, 0},
11715 { SWIG_PY_INT
, (char *)"StaticGray", (long) 0, 0, 0, 0},
11716 { SWIG_PY_INT
, (char *)"GrayScale", (long) 1, 0, 0, 0},
11717 { SWIG_PY_INT
, (char *)"StaticColor", (long) 2, 0, 0, 0},
11718 { SWIG_PY_INT
, (char *)"PseudoColor", (long) 3, 0, 0, 0},
11719 { SWIG_PY_INT
, (char *)"TrueColor", (long) 4, 0, 0, 0},
11720 { SWIG_PY_INT
, (char *)"DirectColor", (long) 5, 0, 0, 0},
11721 { SWIG_PY_INT
, (char *)"LSBFirst", (long) 0, 0, 0, 0},
11722 { SWIG_PY_INT
, (char *)"MSBFirst", (long) 1, 0, 0, 0},
11732 SWIGEXPORT(void) SWIG_init(void) {
11733 static PyObject
*SWIG_globals
= 0;
11734 static int typeinit
= 0;
11737 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
11738 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
11739 d
= PyModule_GetDict(m
);
11742 for (i
= 0; swig_types_initial
[i
]; i
++) {
11743 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
11747 SWIG_InstallConstants(d
,swig_const_table
);