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_XCirculateEvent swig_types[28]
677 #define SWIGTYPE_p_XConfigureEvent 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_otk__Widget swig_types[45]
694 #define SWIGTYPE_p_XEvent swig_types[46]
695 #define SWIGTYPE_p_otk__Property swig_types[47]
696 #define SWIGTYPE_p_PyObject swig_types[48]
697 #define SWIGTYPE_p_otk__ScreenInfo swig_types[49]
698 #define SWIGTYPE_p_ob__EventData swig_types[50]
699 #define SWIGTYPE_p_XCreateWindowEvent swig_types[51]
700 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[52]
701 #define SWIGTYPE_p_otk__Property__StringVect swig_types[53]
702 #define SWIGTYPE_p_ob__WidgetBase swig_types[54]
703 #define SWIGTYPE_p_otk__Atoms swig_types[55]
704 #define SWIGTYPE_p_XKeyEvent swig_types[56]
705 #define SWIGTYPE_p_int swig_types[57]
706 #define SWIGTYPE_p_otk__Strut swig_types[58]
707 #define SWIGTYPE_p_unsigned_long swig_types[59]
708 #define SWIGTYPE_p_p_unsigned_long swig_types[60]
709 #define SWIGTYPE_p_XMotionEvent swig_types[61]
710 #define SWIGTYPE_p_XButtonEvent swig_types[62]
711 #define SWIGTYPE_p_XSelectionEvent swig_types[63]
712 static swig_type_info
*swig_types
[65];
714 /* -------- TYPES TABLE (END) -------- */
717 /*-----------------------------------------------
718 @(target):= _openbox.so
719 ------------------------------------------------*/
720 #define SWIG_init init_openbox
722 #define SWIG_name "_openbox"
725 # include "../config.h"
729 #include "openbox.hh"
732 #include "bindings.hh"
733 #include "actions.hh"
735 #include "otk/otk.hh"
738 #define SWIG_MemoryError 1
739 #define SWIG_IOError 2
740 #define SWIG_RuntimeError 3
741 #define SWIG_IndexError 4
742 #define SWIG_TypeError 5
743 #define SWIG_DivisionByZero 6
744 #define SWIG_OverflowError 7
745 #define SWIG_SyntaxError 8
746 #define SWIG_ValueError 9
747 #define SWIG_SystemError 10
748 #define SWIG_UnknownError 99
751 static void _SWIG_exception(int code
, const char *msg
) {
753 case SWIG_MemoryError
:
754 PyErr_SetString(PyExc_MemoryError
,msg
);
757 PyErr_SetString(PyExc_IOError
,msg
);
759 case SWIG_RuntimeError
:
760 PyErr_SetString(PyExc_RuntimeError
,msg
);
762 case SWIG_IndexError
:
763 PyErr_SetString(PyExc_IndexError
,msg
);
766 PyErr_SetString(PyExc_TypeError
,msg
);
768 case SWIG_DivisionByZero
:
769 PyErr_SetString(PyExc_ZeroDivisionError
,msg
);
771 case SWIG_OverflowError
:
772 PyErr_SetString(PyExc_OverflowError
,msg
);
774 case SWIG_SyntaxError
:
775 PyErr_SetString(PyExc_SyntaxError
,msg
);
777 case SWIG_ValueError
:
778 PyErr_SetString(PyExc_ValueError
,msg
);
780 case SWIG_SystemError
:
781 PyErr_SetString(PyExc_SystemError
,msg
);
784 PyErr_SetString(PyExc_RuntimeError
,msg
);
789 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
797 PyObject
* SwigInt_FromBool(bool b
) {
798 return PyInt_FromLong(b
? 1L : 0L);
800 double SwigNumber_Check(PyObject
* o
) {
801 return PyFloat_Check(o
) || PyInt_Check(o
);
803 double SwigNumber_AsDouble(PyObject
* o
) {
804 return (PyFloat_Check(o
) ? PyFloat_AsDouble(o
) : double(PyInt_AsLong(o
)));
806 PyObject
* SwigString_FromString(const std::string
& s
) {
807 return PyString_FromString(s
.c_str());
809 std::string
SwigString_AsString(PyObject
* o
) {
810 return std::string(PyString_AsString(o
));
819 ob::Openbox
*Openbox_instance() { return ob::openbox
; }
823 void python_callback(PyObject
*func
, MouseData
*data
)
828 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
829 SWIGTYPE_p_ob__MouseData
,
833 result
= PyEval_CallObject(func
, arglist
);
834 if (!result
|| PyErr_Occurred()) {
835 // an exception occured in the script, display it
843 void python_callback(PyObject
*func
, EventData
*data
)
848 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
849 SWIGTYPE_p_ob__EventData
,
853 result
= PyEval_CallObject(func
, arglist
);
854 if (!result
|| PyErr_Occurred()) {
855 // an exception occured in the script, display it
863 void python_callback(PyObject
*func
, KeyData
*data
)
868 arglist
= Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data
,
869 SWIGTYPE_p_ob__KeyData
,
873 result
= PyEval_CallObject(func
, arglist
);
874 if (!result
|| PyErr_Occurred()) {
875 // an exception occured in the script, display it
889 #include "ustring.hh"
892 otk::Display
*Display_instance() { return otk::display
; }
895 const otk::Atoms
& Property_atoms() { return otk::Property::atoms
; }
897 ob::Client
*ob_Screen_client(ob::Screen
*self
,int i
){
898 if (i
< 0 || i
>= (int)self
->clients
.size())
900 ob::Client::List::iterator it
= self
->clients
.begin();
904 int ob_Screen_clientCount(ob::Screen
const *self
){
905 return (int) self
->clients
.size();
910 static PyObject
*_wrap_Openbox_instance(PyObject
*self
, PyObject
*args
) {
914 if(!PyArg_ParseTuple(args
,(char *)":Openbox_instance")) goto fail
;
915 result
= (ob::Openbox
*)Openbox_instance();
917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Openbox
, 0);
924 static PyObject
*_wrap_Display_instance(PyObject
*self
, PyObject
*args
) {
926 otk::Display
*result
;
928 if(!PyArg_ParseTuple(args
,(char *)":Display_instance")) goto fail
;
929 result
= (otk::Display
*)Display_instance();
931 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Display
, 0);
938 static PyObject
*_wrap_Property_atoms(PyObject
*self
, PyObject
*args
) {
942 if(!PyArg_ParseTuple(args
,(char *)":Property_atoms")) goto fail
;
944 otk::Atoms
const &_result_ref
= Property_atoms();
945 result
= (otk::Atoms
*) &_result_ref
;
948 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Atoms
, 0);
955 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
) {
957 otk::Display
*result
;
959 if(!PyArg_ParseTuple(args
,(char *)":new_Display")) goto fail
;
960 result
= (otk::Display
*)new otk::Display();
962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Display
, 1);
969 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
) {
971 otk::Display
*arg1
= (otk::Display
*) 0 ;
972 PyObject
* obj0
= 0 ;
974 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Display",&obj0
)) goto fail
;
975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
978 Py_INCREF(Py_None
); resultobj
= Py_None
;
985 static PyObject
*_wrap_Display_gcCache(PyObject
*self
, PyObject
*args
) {
987 otk::Display
*arg1
= (otk::Display
*) 0 ;
988 otk::GCCache
*result
;
989 PyObject
* obj0
= 0 ;
991 if(!PyArg_ParseTuple(args
,(char *)"O:Display_gcCache",&obj0
)) goto fail
;
992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
993 result
= (otk::GCCache
*)((otk::Display
const *)arg1
)->gcCache();
995 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__GCCache
, 0);
1002 static PyObject
*_wrap_Display_screenInfo(PyObject
*self
, PyObject
*args
) {
1003 PyObject
*resultobj
;
1004 otk::Display
*arg1
= (otk::Display
*) 0 ;
1006 otk::ScreenInfo
*result
;
1007 PyObject
* obj0
= 0 ;
1009 if(!PyArg_ParseTuple(args
,(char *)"Oi:Display_screenInfo",&obj0
,&arg2
)) goto fail
;
1010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1011 result
= (otk::ScreenInfo
*)(arg1
)->screenInfo(arg2
);
1013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
1020 static PyObject
*_wrap_Display_findScreen(PyObject
*self
, PyObject
*args
) {
1021 PyObject
*resultobj
;
1022 otk::Display
*arg1
= (otk::Display
*) 0 ;
1024 otk::ScreenInfo
*result
;
1025 PyObject
* obj0
= 0 ;
1026 PyObject
* obj1
= 0 ;
1028 if(!PyArg_ParseTuple(args
,(char *)"OO:Display_findScreen",&obj0
,&obj1
)) goto fail
;
1029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1030 arg2
= (Window
) PyInt_AsLong(obj1
);
1031 if (PyErr_Occurred()) SWIG_fail
;
1032 result
= (otk::ScreenInfo
*)(arg1
)->findScreen(arg2
);
1034 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 0);
1041 static PyObject
*_wrap_Display_xkb(PyObject
*self
, PyObject
*args
) {
1042 PyObject
*resultobj
;
1043 otk::Display
*arg1
= (otk::Display
*) 0 ;
1045 PyObject
* obj0
= 0 ;
1047 if(!PyArg_ParseTuple(args
,(char *)"O:Display_xkb",&obj0
)) goto fail
;
1048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1049 result
= (bool)((otk::Display
const *)arg1
)->xkb();
1051 resultobj
= PyInt_FromLong((long)result
);
1058 static PyObject
*_wrap_Display_xkbEventBase(PyObject
*self
, PyObject
*args
) {
1059 PyObject
*resultobj
;
1060 otk::Display
*arg1
= (otk::Display
*) 0 ;
1062 PyObject
* obj0
= 0 ;
1064 if(!PyArg_ParseTuple(args
,(char *)"O:Display_xkbEventBase",&obj0
)) goto fail
;
1065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1066 result
= (int)((otk::Display
const *)arg1
)->xkbEventBase();
1068 resultobj
= PyInt_FromLong((long)result
);
1075 static PyObject
*_wrap_Display_shape(PyObject
*self
, PyObject
*args
) {
1076 PyObject
*resultobj
;
1077 otk::Display
*arg1
= (otk::Display
*) 0 ;
1079 PyObject
* obj0
= 0 ;
1081 if(!PyArg_ParseTuple(args
,(char *)"O:Display_shape",&obj0
)) goto fail
;
1082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1083 result
= (bool)((otk::Display
const *)arg1
)->shape();
1085 resultobj
= PyInt_FromLong((long)result
);
1092 static PyObject
*_wrap_Display_shapeEventBase(PyObject
*self
, PyObject
*args
) {
1093 PyObject
*resultobj
;
1094 otk::Display
*arg1
= (otk::Display
*) 0 ;
1096 PyObject
* obj0
= 0 ;
1098 if(!PyArg_ParseTuple(args
,(char *)"O:Display_shapeEventBase",&obj0
)) goto fail
;
1099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1100 result
= (int)((otk::Display
const *)arg1
)->shapeEventBase();
1102 resultobj
= PyInt_FromLong((long)result
);
1109 static PyObject
*_wrap_Display_xinerama(PyObject
*self
, PyObject
*args
) {
1110 PyObject
*resultobj
;
1111 otk::Display
*arg1
= (otk::Display
*) 0 ;
1113 PyObject
* obj0
= 0 ;
1115 if(!PyArg_ParseTuple(args
,(char *)"O:Display_xinerama",&obj0
)) goto fail
;
1116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1117 result
= (bool)((otk::Display
const *)arg1
)->xinerama();
1119 resultobj
= PyInt_FromLong((long)result
);
1126 static PyObject
*_wrap_Display_numLockMask(PyObject
*self
, PyObject
*args
) {
1127 PyObject
*resultobj
;
1128 otk::Display
*arg1
= (otk::Display
*) 0 ;
1129 unsigned int result
;
1130 PyObject
* obj0
= 0 ;
1132 if(!PyArg_ParseTuple(args
,(char *)"O:Display_numLockMask",&obj0
)) goto fail
;
1133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1134 result
= (unsigned int)((otk::Display
const *)arg1
)->numLockMask();
1136 resultobj
= PyInt_FromLong((long)result
);
1143 static PyObject
*_wrap_Display_scrollLockMask(PyObject
*self
, PyObject
*args
) {
1144 PyObject
*resultobj
;
1145 otk::Display
*arg1
= (otk::Display
*) 0 ;
1146 unsigned int result
;
1147 PyObject
* obj0
= 0 ;
1149 if(!PyArg_ParseTuple(args
,(char *)"O:Display_scrollLockMask",&obj0
)) goto fail
;
1150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1151 result
= (unsigned int)((otk::Display
const *)arg1
)->scrollLockMask();
1153 resultobj
= PyInt_FromLong((long)result
);
1160 static PyObject
*_wrap_Display___mul__(PyObject
*self
, PyObject
*args
) {
1161 PyObject
*resultobj
;
1162 otk::Display
*arg1
= (otk::Display
*) 0 ;
1164 PyObject
* obj0
= 0 ;
1166 if(!PyArg_ParseTuple(args
,(char *)"O:Display___mul__",&obj0
)) goto fail
;
1167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1168 result
= (Display
*)((otk::Display
const *)arg1
)->operator *();
1170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Display
, 0);
1177 static PyObject
*_wrap_Display_grab(PyObject
*self
, PyObject
*args
) {
1178 PyObject
*resultobj
;
1179 otk::Display
*arg1
= (otk::Display
*) 0 ;
1180 PyObject
* obj0
= 0 ;
1182 if(!PyArg_ParseTuple(args
,(char *)"O:Display_grab",&obj0
)) goto fail
;
1183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1186 Py_INCREF(Py_None
); resultobj
= Py_None
;
1193 static PyObject
*_wrap_Display_ungrab(PyObject
*self
, PyObject
*args
) {
1194 PyObject
*resultobj
;
1195 otk::Display
*arg1
= (otk::Display
*) 0 ;
1196 PyObject
* obj0
= 0 ;
1198 if(!PyArg_ParseTuple(args
,(char *)"O:Display_ungrab",&obj0
)) goto fail
;
1199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1202 Py_INCREF(Py_None
); resultobj
= Py_None
;
1209 static PyObject
*_wrap_Display_grabButton(PyObject
*self
, PyObject
*args
) {
1210 PyObject
*resultobj
;
1211 otk::Display
*arg1
= (otk::Display
*) 0 ;
1222 PyObject
* obj0
= 0 ;
1223 PyObject
* obj1
= 0 ;
1224 PyObject
* obj2
= 0 ;
1225 PyObject
* obj3
= 0 ;
1226 PyObject
* obj4
= 0 ;
1227 PyObject
* obj5
= 0 ;
1228 PyObject
* obj8
= 0 ;
1229 PyObject
* obj9
= 0 ;
1230 PyObject
* obj10
= 0 ;
1232 if(!PyArg_ParseTuple(args
,(char *)"OOOOOOiiOOO:Display_grabButton",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&obj8
,&obj9
,&obj10
)) goto fail
;
1233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1234 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1235 if (PyErr_Occurred()) SWIG_fail
;
1236 arg3
= (unsigned int) PyInt_AsLong(obj2
);
1237 if (PyErr_Occurred()) SWIG_fail
;
1238 arg4
= (Window
) PyInt_AsLong(obj3
);
1239 if (PyErr_Occurred()) SWIG_fail
;
1240 arg5
= (bool) PyInt_AsLong(obj4
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1242 arg6
= (unsigned int) PyInt_AsLong(obj5
);
1243 if (PyErr_Occurred()) SWIG_fail
;
1244 arg9
= (Window
) PyInt_AsLong(obj8
);
1245 if (PyErr_Occurred()) SWIG_fail
;
1246 arg10
= (Cursor
) PyInt_AsLong(obj9
);
1247 if (PyErr_Occurred()) SWIG_fail
;
1248 arg11
= (bool) PyInt_AsLong(obj10
);
1249 if (PyErr_Occurred()) SWIG_fail
;
1250 ((otk::Display
const *)arg1
)->grabButton(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
);
1252 Py_INCREF(Py_None
); resultobj
= Py_None
;
1259 static PyObject
*_wrap_Display_ungrabButton(PyObject
*self
, PyObject
*args
) {
1260 PyObject
*resultobj
;
1261 otk::Display
*arg1
= (otk::Display
*) 0 ;
1265 PyObject
* obj0
= 0 ;
1266 PyObject
* obj1
= 0 ;
1267 PyObject
* obj2
= 0 ;
1268 PyObject
* obj3
= 0 ;
1270 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Display_ungrabButton",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1272 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1273 if (PyErr_Occurred()) SWIG_fail
;
1274 arg3
= (unsigned int) PyInt_AsLong(obj2
);
1275 if (PyErr_Occurred()) SWIG_fail
;
1276 arg4
= (Window
) PyInt_AsLong(obj3
);
1277 if (PyErr_Occurred()) SWIG_fail
;
1278 ((otk::Display
const *)arg1
)->ungrabButton(arg2
,arg3
,arg4
);
1280 Py_INCREF(Py_None
); resultobj
= Py_None
;
1287 static PyObject
*_wrap_Display_grabKey(PyObject
*self
, PyObject
*args
) {
1288 PyObject
*resultobj
;
1289 otk::Display
*arg1
= (otk::Display
*) 0 ;
1297 PyObject
* obj0
= 0 ;
1298 PyObject
* obj1
= 0 ;
1299 PyObject
* obj2
= 0 ;
1300 PyObject
* obj3
= 0 ;
1301 PyObject
* obj4
= 0 ;
1302 PyObject
* obj7
= 0 ;
1304 if(!PyArg_ParseTuple(args
,(char *)"OOOOOiiO:Display_grabKey",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&obj7
)) goto fail
;
1305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1306 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1307 if (PyErr_Occurred()) SWIG_fail
;
1308 arg3
= (unsigned int) PyInt_AsLong(obj2
);
1309 if (PyErr_Occurred()) SWIG_fail
;
1310 arg4
= (Window
) PyInt_AsLong(obj3
);
1311 if (PyErr_Occurred()) SWIG_fail
;
1312 arg5
= (bool) PyInt_AsLong(obj4
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1314 arg8
= (bool) PyInt_AsLong(obj7
);
1315 if (PyErr_Occurred()) SWIG_fail
;
1316 ((otk::Display
const *)arg1
)->grabKey(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1318 Py_INCREF(Py_None
); resultobj
= Py_None
;
1325 static PyObject
*_wrap_Display_ungrabKey(PyObject
*self
, PyObject
*args
) {
1326 PyObject
*resultobj
;
1327 otk::Display
*arg1
= (otk::Display
*) 0 ;
1331 PyObject
* obj0
= 0 ;
1332 PyObject
* obj1
= 0 ;
1333 PyObject
* obj2
= 0 ;
1334 PyObject
* obj3
= 0 ;
1336 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Display_ungrabKey",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Display
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1338 arg2
= (unsigned int) PyInt_AsLong(obj1
);
1339 if (PyErr_Occurred()) SWIG_fail
;
1340 arg3
= (unsigned int) PyInt_AsLong(obj2
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1342 arg4
= (Window
) PyInt_AsLong(obj3
);
1343 if (PyErr_Occurred()) SWIG_fail
;
1344 ((otk::Display
const *)arg1
)->ungrabKey(arg2
,arg3
,arg4
);
1346 Py_INCREF(Py_None
); resultobj
= Py_None
;
1353 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
1355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1356 SWIG_TypeClientData(SWIGTYPE_p_otk__Display
, obj
);
1358 return Py_BuildValue((char *)"");
1360 static PyObject
*_wrap_new_Point__SWIG_0(PyObject
*self
, PyObject
*args
) {
1361 PyObject
*resultobj
;
1364 if(!PyArg_ParseTuple(args
,(char *)":new_Point")) goto fail
;
1365 result
= (otk::Point
*)new otk::Point();
1367 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
1374 static PyObject
*_wrap_new_Point__SWIG_1(PyObject
*self
, PyObject
*args
) {
1375 PyObject
*resultobj
;
1380 if(!PyArg_ParseTuple(args
,(char *)"ii:new_Point",&arg1
,&arg2
)) goto fail
;
1381 result
= (otk::Point
*)new otk::Point(arg1
,arg2
);
1383 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Point
, 1);
1390 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
) {
1395 argc
= PyObject_Length(args
);
1396 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
1397 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1400 return _wrap_new_Point__SWIG_0(self
,args
);
1405 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
1409 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1412 return _wrap_new_Point__SWIG_1(self
,args
);
1417 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Point'");
1422 static PyObject
*_wrap_Point_setX(PyObject
*self
, PyObject
*args
) {
1423 PyObject
*resultobj
;
1424 otk::Point
*arg1
= (otk::Point
*) 0 ;
1426 PyObject
* obj0
= 0 ;
1428 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setX",&obj0
,&arg2
)) goto fail
;
1429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1432 Py_INCREF(Py_None
); resultobj
= Py_None
;
1439 static PyObject
*_wrap_Point_x(PyObject
*self
, PyObject
*args
) {
1440 PyObject
*resultobj
;
1441 otk::Point
*arg1
= (otk::Point
*) 0 ;
1443 PyObject
* obj0
= 0 ;
1445 if(!PyArg_ParseTuple(args
,(char *)"O:Point_x",&obj0
)) goto fail
;
1446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1447 result
= (int)((otk::Point
const *)arg1
)->x();
1449 resultobj
= PyInt_FromLong((long)result
);
1456 static PyObject
*_wrap_Point_setY(PyObject
*self
, PyObject
*args
) {
1457 PyObject
*resultobj
;
1458 otk::Point
*arg1
= (otk::Point
*) 0 ;
1460 PyObject
* obj0
= 0 ;
1462 if(!PyArg_ParseTuple(args
,(char *)"Oi:Point_setY",&obj0
,&arg2
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1466 Py_INCREF(Py_None
); resultobj
= Py_None
;
1473 static PyObject
*_wrap_Point_y(PyObject
*self
, PyObject
*args
) {
1474 PyObject
*resultobj
;
1475 otk::Point
*arg1
= (otk::Point
*) 0 ;
1477 PyObject
* obj0
= 0 ;
1479 if(!PyArg_ParseTuple(args
,(char *)"O:Point_y",&obj0
)) goto fail
;
1480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1481 result
= (int)((otk::Point
const *)arg1
)->y();
1483 resultobj
= PyInt_FromLong((long)result
);
1490 static PyObject
*_wrap_Point_setPoint(PyObject
*self
, PyObject
*args
) {
1491 PyObject
*resultobj
;
1492 otk::Point
*arg1
= (otk::Point
*) 0 ;
1495 PyObject
* obj0
= 0 ;
1497 if(!PyArg_ParseTuple(args
,(char *)"Oii:Point_setPoint",&obj0
,&arg2
,&arg3
)) goto fail
;
1498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1499 (arg1
)->setPoint(arg2
,arg3
);
1501 Py_INCREF(Py_None
); resultobj
= Py_None
;
1508 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
1510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1511 SWIG_TypeClientData(SWIGTYPE_p_otk__Point
, obj
);
1513 return Py_BuildValue((char *)"");
1515 static PyObject
*_wrap_Atoms_cardinal_set(PyObject
*self
, PyObject
*args
) {
1516 PyObject
*resultobj
;
1517 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1519 PyObject
* obj0
= 0 ;
1520 PyObject
* obj1
= 0 ;
1522 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_cardinal_set",&obj0
,&obj1
)) goto fail
;
1523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1524 arg2
= (Atom
) PyInt_AsLong(obj1
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1526 if (arg1
) (arg1
)->cardinal
= arg2
;
1528 Py_INCREF(Py_None
); resultobj
= Py_None
;
1535 static PyObject
*_wrap_Atoms_cardinal_get(PyObject
*self
, PyObject
*args
) {
1536 PyObject
*resultobj
;
1537 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1539 PyObject
* obj0
= 0 ;
1541 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_cardinal_get",&obj0
)) goto fail
;
1542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1543 result
= (Atom
) ((arg1
)->cardinal
);
1545 resultobj
= PyInt_FromLong((long)result
);
1552 static PyObject
*_wrap_Atoms_window_set(PyObject
*self
, PyObject
*args
) {
1553 PyObject
*resultobj
;
1554 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1556 PyObject
* obj0
= 0 ;
1557 PyObject
* obj1
= 0 ;
1559 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_window_set",&obj0
,&obj1
)) goto fail
;
1560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1561 arg2
= (Atom
) PyInt_AsLong(obj1
);
1562 if (PyErr_Occurred()) SWIG_fail
;
1563 if (arg1
) (arg1
)->window
= arg2
;
1565 Py_INCREF(Py_None
); resultobj
= Py_None
;
1572 static PyObject
*_wrap_Atoms_window_get(PyObject
*self
, PyObject
*args
) {
1573 PyObject
*resultobj
;
1574 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1576 PyObject
* obj0
= 0 ;
1578 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_window_get",&obj0
)) goto fail
;
1579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1580 result
= (Atom
) ((arg1
)->window
);
1582 resultobj
= PyInt_FromLong((long)result
);
1589 static PyObject
*_wrap_Atoms_pixmap_set(PyObject
*self
, PyObject
*args
) {
1590 PyObject
*resultobj
;
1591 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1593 PyObject
* obj0
= 0 ;
1594 PyObject
* obj1
= 0 ;
1596 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_pixmap_set",&obj0
,&obj1
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1598 arg2
= (Atom
) PyInt_AsLong(obj1
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1600 if (arg1
) (arg1
)->pixmap
= arg2
;
1602 Py_INCREF(Py_None
); resultobj
= Py_None
;
1609 static PyObject
*_wrap_Atoms_pixmap_get(PyObject
*self
, PyObject
*args
) {
1610 PyObject
*resultobj
;
1611 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1613 PyObject
* obj0
= 0 ;
1615 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_pixmap_get",&obj0
)) goto fail
;
1616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1617 result
= (Atom
) ((arg1
)->pixmap
);
1619 resultobj
= PyInt_FromLong((long)result
);
1626 static PyObject
*_wrap_Atoms_atom_set(PyObject
*self
, PyObject
*args
) {
1627 PyObject
*resultobj
;
1628 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1630 PyObject
* obj0
= 0 ;
1631 PyObject
* obj1
= 0 ;
1633 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_atom_set",&obj0
,&obj1
)) goto fail
;
1634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1635 arg2
= (Atom
) PyInt_AsLong(obj1
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1637 if (arg1
) (arg1
)->atom
= arg2
;
1639 Py_INCREF(Py_None
); resultobj
= Py_None
;
1646 static PyObject
*_wrap_Atoms_atom_get(PyObject
*self
, PyObject
*args
) {
1647 PyObject
*resultobj
;
1648 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1650 PyObject
* obj0
= 0 ;
1652 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_atom_get",&obj0
)) goto fail
;
1653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1654 result
= (Atom
) ((arg1
)->atom
);
1656 resultobj
= PyInt_FromLong((long)result
);
1663 static PyObject
*_wrap_Atoms_string_set(PyObject
*self
, PyObject
*args
) {
1664 PyObject
*resultobj
;
1665 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1667 PyObject
* obj0
= 0 ;
1668 PyObject
* obj1
= 0 ;
1670 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_string_set",&obj0
,&obj1
)) goto fail
;
1671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1672 arg2
= (Atom
) PyInt_AsLong(obj1
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1674 if (arg1
) (arg1
)->string
= arg2
;
1676 Py_INCREF(Py_None
); resultobj
= Py_None
;
1683 static PyObject
*_wrap_Atoms_string_get(PyObject
*self
, PyObject
*args
) {
1684 PyObject
*resultobj
;
1685 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1687 PyObject
* obj0
= 0 ;
1689 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_string_get",&obj0
)) goto fail
;
1690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1691 result
= (Atom
) ((arg1
)->string
);
1693 resultobj
= PyInt_FromLong((long)result
);
1700 static PyObject
*_wrap_Atoms_utf8_set(PyObject
*self
, PyObject
*args
) {
1701 PyObject
*resultobj
;
1702 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1704 PyObject
* obj0
= 0 ;
1705 PyObject
* obj1
= 0 ;
1707 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_utf8_set",&obj0
,&obj1
)) goto fail
;
1708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1709 arg2
= (Atom
) PyInt_AsLong(obj1
);
1710 if (PyErr_Occurred()) SWIG_fail
;
1711 if (arg1
) (arg1
)->utf8
= arg2
;
1713 Py_INCREF(Py_None
); resultobj
= Py_None
;
1720 static PyObject
*_wrap_Atoms_utf8_get(PyObject
*self
, PyObject
*args
) {
1721 PyObject
*resultobj
;
1722 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1724 PyObject
* obj0
= 0 ;
1726 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_utf8_get",&obj0
)) goto fail
;
1727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1728 result
= (Atom
) ((arg1
)->utf8
);
1730 resultobj
= PyInt_FromLong((long)result
);
1737 static PyObject
*_wrap_Atoms_openbox_pid_set(PyObject
*self
, PyObject
*args
) {
1738 PyObject
*resultobj
;
1739 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1741 PyObject
* obj0
= 0 ;
1742 PyObject
* obj1
= 0 ;
1744 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_openbox_pid_set",&obj0
,&obj1
)) goto fail
;
1745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1746 arg2
= (Atom
) PyInt_AsLong(obj1
);
1747 if (PyErr_Occurred()) SWIG_fail
;
1748 if (arg1
) (arg1
)->openbox_pid
= arg2
;
1750 Py_INCREF(Py_None
); resultobj
= Py_None
;
1757 static PyObject
*_wrap_Atoms_openbox_pid_get(PyObject
*self
, PyObject
*args
) {
1758 PyObject
*resultobj
;
1759 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1761 PyObject
* obj0
= 0 ;
1763 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_openbox_pid_get",&obj0
)) goto fail
;
1764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1765 result
= (Atom
) ((arg1
)->openbox_pid
);
1767 resultobj
= PyInt_FromLong((long)result
);
1774 static PyObject
*_wrap_Atoms_wm_colormap_windows_set(PyObject
*self
, PyObject
*args
) {
1775 PyObject
*resultobj
;
1776 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1778 PyObject
* obj0
= 0 ;
1779 PyObject
* obj1
= 0 ;
1781 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_colormap_windows_set",&obj0
,&obj1
)) goto fail
;
1782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1783 arg2
= (Atom
) PyInt_AsLong(obj1
);
1784 if (PyErr_Occurred()) SWIG_fail
;
1785 if (arg1
) (arg1
)->wm_colormap_windows
= arg2
;
1787 Py_INCREF(Py_None
); resultobj
= Py_None
;
1794 static PyObject
*_wrap_Atoms_wm_colormap_windows_get(PyObject
*self
, PyObject
*args
) {
1795 PyObject
*resultobj
;
1796 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1798 PyObject
* obj0
= 0 ;
1800 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_colormap_windows_get",&obj0
)) goto fail
;
1801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1802 result
= (Atom
) ((arg1
)->wm_colormap_windows
);
1804 resultobj
= PyInt_FromLong((long)result
);
1811 static PyObject
*_wrap_Atoms_wm_protocols_set(PyObject
*self
, PyObject
*args
) {
1812 PyObject
*resultobj
;
1813 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1815 PyObject
* obj0
= 0 ;
1816 PyObject
* obj1
= 0 ;
1818 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_protocols_set",&obj0
,&obj1
)) goto fail
;
1819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1820 arg2
= (Atom
) PyInt_AsLong(obj1
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1822 if (arg1
) (arg1
)->wm_protocols
= arg2
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 static PyObject
*_wrap_Atoms_wm_protocols_get(PyObject
*self
, PyObject
*args
) {
1832 PyObject
*resultobj
;
1833 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1835 PyObject
* obj0
= 0 ;
1837 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_protocols_get",&obj0
)) goto fail
;
1838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1839 result
= (Atom
) ((arg1
)->wm_protocols
);
1841 resultobj
= PyInt_FromLong((long)result
);
1848 static PyObject
*_wrap_Atoms_wm_state_set(PyObject
*self
, PyObject
*args
) {
1849 PyObject
*resultobj
;
1850 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1853 PyObject
* obj1
= 0 ;
1855 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_state_set",&obj0
,&obj1
)) goto fail
;
1856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1857 arg2
= (Atom
) PyInt_AsLong(obj1
);
1858 if (PyErr_Occurred()) SWIG_fail
;
1859 if (arg1
) (arg1
)->wm_state
= arg2
;
1861 Py_INCREF(Py_None
); resultobj
= Py_None
;
1868 static PyObject
*_wrap_Atoms_wm_state_get(PyObject
*self
, PyObject
*args
) {
1869 PyObject
*resultobj
;
1870 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1872 PyObject
* obj0
= 0 ;
1874 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_state_get",&obj0
)) goto fail
;
1875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1876 result
= (Atom
) ((arg1
)->wm_state
);
1878 resultobj
= PyInt_FromLong((long)result
);
1885 static PyObject
*_wrap_Atoms_wm_delete_window_set(PyObject
*self
, PyObject
*args
) {
1886 PyObject
*resultobj
;
1887 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1889 PyObject
* obj0
= 0 ;
1890 PyObject
* obj1
= 0 ;
1892 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_delete_window_set",&obj0
,&obj1
)) goto fail
;
1893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1894 arg2
= (Atom
) PyInt_AsLong(obj1
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1896 if (arg1
) (arg1
)->wm_delete_window
= arg2
;
1898 Py_INCREF(Py_None
); resultobj
= Py_None
;
1905 static PyObject
*_wrap_Atoms_wm_delete_window_get(PyObject
*self
, PyObject
*args
) {
1906 PyObject
*resultobj
;
1907 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1909 PyObject
* obj0
= 0 ;
1911 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_delete_window_get",&obj0
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1913 result
= (Atom
) ((arg1
)->wm_delete_window
);
1915 resultobj
= PyInt_FromLong((long)result
);
1922 static PyObject
*_wrap_Atoms_wm_take_focus_set(PyObject
*self
, PyObject
*args
) {
1923 PyObject
*resultobj
;
1924 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1926 PyObject
* obj0
= 0 ;
1927 PyObject
* obj1
= 0 ;
1929 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_take_focus_set",&obj0
,&obj1
)) goto fail
;
1930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1931 arg2
= (Atom
) PyInt_AsLong(obj1
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1933 if (arg1
) (arg1
)->wm_take_focus
= arg2
;
1935 Py_INCREF(Py_None
); resultobj
= Py_None
;
1942 static PyObject
*_wrap_Atoms_wm_take_focus_get(PyObject
*self
, PyObject
*args
) {
1943 PyObject
*resultobj
;
1944 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1946 PyObject
* obj0
= 0 ;
1948 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_take_focus_get",&obj0
)) goto fail
;
1949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1950 result
= (Atom
) ((arg1
)->wm_take_focus
);
1952 resultobj
= PyInt_FromLong((long)result
);
1959 static PyObject
*_wrap_Atoms_wm_change_state_set(PyObject
*self
, PyObject
*args
) {
1960 PyObject
*resultobj
;
1961 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1963 PyObject
* obj0
= 0 ;
1964 PyObject
* obj1
= 0 ;
1966 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_change_state_set",&obj0
,&obj1
)) goto fail
;
1967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1968 arg2
= (Atom
) PyInt_AsLong(obj1
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1970 if (arg1
) (arg1
)->wm_change_state
= arg2
;
1972 Py_INCREF(Py_None
); resultobj
= Py_None
;
1979 static PyObject
*_wrap_Atoms_wm_change_state_get(PyObject
*self
, PyObject
*args
) {
1980 PyObject
*resultobj
;
1981 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1985 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_change_state_get",&obj0
)) goto fail
;
1986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1987 result
= (Atom
) ((arg1
)->wm_change_state
);
1989 resultobj
= PyInt_FromLong((long)result
);
1996 static PyObject
*_wrap_Atoms_wm_name_set(PyObject
*self
, PyObject
*args
) {
1997 PyObject
*resultobj
;
1998 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2000 PyObject
* obj0
= 0 ;
2001 PyObject
* obj1
= 0 ;
2003 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_name_set",&obj0
,&obj1
)) goto fail
;
2004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2005 arg2
= (Atom
) PyInt_AsLong(obj1
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2007 if (arg1
) (arg1
)->wm_name
= arg2
;
2009 Py_INCREF(Py_None
); resultobj
= Py_None
;
2016 static PyObject
*_wrap_Atoms_wm_name_get(PyObject
*self
, PyObject
*args
) {
2017 PyObject
*resultobj
;
2018 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2020 PyObject
* obj0
= 0 ;
2022 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_name_get",&obj0
)) goto fail
;
2023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2024 result
= (Atom
) ((arg1
)->wm_name
);
2026 resultobj
= PyInt_FromLong((long)result
);
2033 static PyObject
*_wrap_Atoms_wm_icon_name_set(PyObject
*self
, PyObject
*args
) {
2034 PyObject
*resultobj
;
2035 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2037 PyObject
* obj0
= 0 ;
2038 PyObject
* obj1
= 0 ;
2040 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_icon_name_set",&obj0
,&obj1
)) goto fail
;
2041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2042 arg2
= (Atom
) PyInt_AsLong(obj1
);
2043 if (PyErr_Occurred()) SWIG_fail
;
2044 if (arg1
) (arg1
)->wm_icon_name
= arg2
;
2046 Py_INCREF(Py_None
); resultobj
= Py_None
;
2053 static PyObject
*_wrap_Atoms_wm_icon_name_get(PyObject
*self
, PyObject
*args
) {
2054 PyObject
*resultobj
;
2055 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2057 PyObject
* obj0
= 0 ;
2059 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_icon_name_get",&obj0
)) goto fail
;
2060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2061 result
= (Atom
) ((arg1
)->wm_icon_name
);
2063 resultobj
= PyInt_FromLong((long)result
);
2070 static PyObject
*_wrap_Atoms_wm_class_set(PyObject
*self
, PyObject
*args
) {
2071 PyObject
*resultobj
;
2072 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2075 PyObject
* obj1
= 0 ;
2077 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_class_set",&obj0
,&obj1
)) goto fail
;
2078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2079 arg2
= (Atom
) PyInt_AsLong(obj1
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2081 if (arg1
) (arg1
)->wm_class
= arg2
;
2083 Py_INCREF(Py_None
); resultobj
= Py_None
;
2090 static PyObject
*_wrap_Atoms_wm_class_get(PyObject
*self
, PyObject
*args
) {
2091 PyObject
*resultobj
;
2092 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2094 PyObject
* obj0
= 0 ;
2096 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_class_get",&obj0
)) goto fail
;
2097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2098 result
= (Atom
) ((arg1
)->wm_class
);
2100 resultobj
= PyInt_FromLong((long)result
);
2107 static PyObject
*_wrap_Atoms_wm_window_role_set(PyObject
*self
, PyObject
*args
) {
2108 PyObject
*resultobj
;
2109 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2111 PyObject
* obj0
= 0 ;
2112 PyObject
* obj1
= 0 ;
2114 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_wm_window_role_set",&obj0
,&obj1
)) goto fail
;
2115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2116 arg2
= (Atom
) PyInt_AsLong(obj1
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2118 if (arg1
) (arg1
)->wm_window_role
= arg2
;
2120 Py_INCREF(Py_None
); resultobj
= Py_None
;
2127 static PyObject
*_wrap_Atoms_wm_window_role_get(PyObject
*self
, PyObject
*args
) {
2128 PyObject
*resultobj
;
2129 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2131 PyObject
* obj0
= 0 ;
2133 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_wm_window_role_get",&obj0
)) goto fail
;
2134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2135 result
= (Atom
) ((arg1
)->wm_window_role
);
2137 resultobj
= PyInt_FromLong((long)result
);
2144 static PyObject
*_wrap_Atoms_motif_wm_hints_set(PyObject
*self
, PyObject
*args
) {
2145 PyObject
*resultobj
;
2146 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2148 PyObject
* obj0
= 0 ;
2149 PyObject
* obj1
= 0 ;
2151 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_motif_wm_hints_set",&obj0
,&obj1
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2153 arg2
= (Atom
) PyInt_AsLong(obj1
);
2154 if (PyErr_Occurred()) SWIG_fail
;
2155 if (arg1
) (arg1
)->motif_wm_hints
= arg2
;
2157 Py_INCREF(Py_None
); resultobj
= Py_None
;
2164 static PyObject
*_wrap_Atoms_motif_wm_hints_get(PyObject
*self
, PyObject
*args
) {
2165 PyObject
*resultobj
;
2166 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2168 PyObject
* obj0
= 0 ;
2170 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_motif_wm_hints_get",&obj0
)) goto fail
;
2171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2172 result
= (Atom
) ((arg1
)->motif_wm_hints
);
2174 resultobj
= PyInt_FromLong((long)result
);
2181 static PyObject
*_wrap_Atoms_openbox_show_root_menu_set(PyObject
*self
, PyObject
*args
) {
2182 PyObject
*resultobj
;
2183 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2185 PyObject
* obj0
= 0 ;
2186 PyObject
* obj1
= 0 ;
2188 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_openbox_show_root_menu_set",&obj0
,&obj1
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2190 arg2
= (Atom
) PyInt_AsLong(obj1
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2192 if (arg1
) (arg1
)->openbox_show_root_menu
= arg2
;
2194 Py_INCREF(Py_None
); resultobj
= Py_None
;
2201 static PyObject
*_wrap_Atoms_openbox_show_root_menu_get(PyObject
*self
, PyObject
*args
) {
2202 PyObject
*resultobj
;
2203 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2207 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_openbox_show_root_menu_get",&obj0
)) goto fail
;
2208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2209 result
= (Atom
) ((arg1
)->openbox_show_root_menu
);
2211 resultobj
= PyInt_FromLong((long)result
);
2218 static PyObject
*_wrap_Atoms_openbox_show_workspace_menu_set(PyObject
*self
, PyObject
*args
) {
2219 PyObject
*resultobj
;
2220 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2222 PyObject
* obj0
= 0 ;
2223 PyObject
* obj1
= 0 ;
2225 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_openbox_show_workspace_menu_set",&obj0
,&obj1
)) goto fail
;
2226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2227 arg2
= (Atom
) PyInt_AsLong(obj1
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2229 if (arg1
) (arg1
)->openbox_show_workspace_menu
= arg2
;
2231 Py_INCREF(Py_None
); resultobj
= Py_None
;
2238 static PyObject
*_wrap_Atoms_openbox_show_workspace_menu_get(PyObject
*self
, PyObject
*args
) {
2239 PyObject
*resultobj
;
2240 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2242 PyObject
* obj0
= 0 ;
2244 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_openbox_show_workspace_menu_get",&obj0
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2246 result
= (Atom
) ((arg1
)->openbox_show_workspace_menu
);
2248 resultobj
= PyInt_FromLong((long)result
);
2255 static PyObject
*_wrap_Atoms_net_supported_set(PyObject
*self
, PyObject
*args
) {
2256 PyObject
*resultobj
;
2257 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_supported_set",&obj0
,&obj1
)) goto fail
;
2263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2264 arg2
= (Atom
) PyInt_AsLong(obj1
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2266 if (arg1
) (arg1
)->net_supported
= arg2
;
2268 Py_INCREF(Py_None
); resultobj
= Py_None
;
2275 static PyObject
*_wrap_Atoms_net_supported_get(PyObject
*self
, PyObject
*args
) {
2276 PyObject
*resultobj
;
2277 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2279 PyObject
* obj0
= 0 ;
2281 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_supported_get",&obj0
)) goto fail
;
2282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2283 result
= (Atom
) ((arg1
)->net_supported
);
2285 resultobj
= PyInt_FromLong((long)result
);
2292 static PyObject
*_wrap_Atoms_net_client_list_set(PyObject
*self
, PyObject
*args
) {
2293 PyObject
*resultobj
;
2294 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2296 PyObject
* obj0
= 0 ;
2297 PyObject
* obj1
= 0 ;
2299 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_client_list_set",&obj0
,&obj1
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2301 arg2
= (Atom
) PyInt_AsLong(obj1
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2303 if (arg1
) (arg1
)->net_client_list
= arg2
;
2305 Py_INCREF(Py_None
); resultobj
= Py_None
;
2312 static PyObject
*_wrap_Atoms_net_client_list_get(PyObject
*self
, PyObject
*args
) {
2313 PyObject
*resultobj
;
2314 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2316 PyObject
* obj0
= 0 ;
2318 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_client_list_get",&obj0
)) goto fail
;
2319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2320 result
= (Atom
) ((arg1
)->net_client_list
);
2322 resultobj
= PyInt_FromLong((long)result
);
2329 static PyObject
*_wrap_Atoms_net_client_list_stacking_set(PyObject
*self
, PyObject
*args
) {
2330 PyObject
*resultobj
;
2331 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2333 PyObject
* obj0
= 0 ;
2334 PyObject
* obj1
= 0 ;
2336 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_client_list_stacking_set",&obj0
,&obj1
)) goto fail
;
2337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2338 arg2
= (Atom
) PyInt_AsLong(obj1
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2340 if (arg1
) (arg1
)->net_client_list_stacking
= arg2
;
2342 Py_INCREF(Py_None
); resultobj
= Py_None
;
2349 static PyObject
*_wrap_Atoms_net_client_list_stacking_get(PyObject
*self
, PyObject
*args
) {
2350 PyObject
*resultobj
;
2351 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2353 PyObject
* obj0
= 0 ;
2355 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_client_list_stacking_get",&obj0
)) goto fail
;
2356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2357 result
= (Atom
) ((arg1
)->net_client_list_stacking
);
2359 resultobj
= PyInt_FromLong((long)result
);
2366 static PyObject
*_wrap_Atoms_net_number_of_desktops_set(PyObject
*self
, PyObject
*args
) {
2367 PyObject
*resultobj
;
2368 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2370 PyObject
* obj0
= 0 ;
2371 PyObject
* obj1
= 0 ;
2373 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_number_of_desktops_set",&obj0
,&obj1
)) goto fail
;
2374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2375 arg2
= (Atom
) PyInt_AsLong(obj1
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2377 if (arg1
) (arg1
)->net_number_of_desktops
= arg2
;
2379 Py_INCREF(Py_None
); resultobj
= Py_None
;
2386 static PyObject
*_wrap_Atoms_net_number_of_desktops_get(PyObject
*self
, PyObject
*args
) {
2387 PyObject
*resultobj
;
2388 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2392 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_number_of_desktops_get",&obj0
)) goto fail
;
2393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2394 result
= (Atom
) ((arg1
)->net_number_of_desktops
);
2396 resultobj
= PyInt_FromLong((long)result
);
2403 static PyObject
*_wrap_Atoms_net_desktop_geometry_set(PyObject
*self
, PyObject
*args
) {
2404 PyObject
*resultobj
;
2405 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2407 PyObject
* obj0
= 0 ;
2408 PyObject
* obj1
= 0 ;
2410 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_desktop_geometry_set",&obj0
,&obj1
)) goto fail
;
2411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2412 arg2
= (Atom
) PyInt_AsLong(obj1
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2414 if (arg1
) (arg1
)->net_desktop_geometry
= arg2
;
2416 Py_INCREF(Py_None
); resultobj
= Py_None
;
2423 static PyObject
*_wrap_Atoms_net_desktop_geometry_get(PyObject
*self
, PyObject
*args
) {
2424 PyObject
*resultobj
;
2425 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2429 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_desktop_geometry_get",&obj0
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2431 result
= (Atom
) ((arg1
)->net_desktop_geometry
);
2433 resultobj
= PyInt_FromLong((long)result
);
2440 static PyObject
*_wrap_Atoms_net_desktop_viewport_set(PyObject
*self
, PyObject
*args
) {
2441 PyObject
*resultobj
;
2442 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2444 PyObject
* obj0
= 0 ;
2445 PyObject
* obj1
= 0 ;
2447 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_desktop_viewport_set",&obj0
,&obj1
)) goto fail
;
2448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2449 arg2
= (Atom
) PyInt_AsLong(obj1
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2451 if (arg1
) (arg1
)->net_desktop_viewport
= arg2
;
2453 Py_INCREF(Py_None
); resultobj
= Py_None
;
2460 static PyObject
*_wrap_Atoms_net_desktop_viewport_get(PyObject
*self
, PyObject
*args
) {
2461 PyObject
*resultobj
;
2462 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2464 PyObject
* obj0
= 0 ;
2466 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_desktop_viewport_get",&obj0
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2468 result
= (Atom
) ((arg1
)->net_desktop_viewport
);
2470 resultobj
= PyInt_FromLong((long)result
);
2477 static PyObject
*_wrap_Atoms_net_current_desktop_set(PyObject
*self
, PyObject
*args
) {
2478 PyObject
*resultobj
;
2479 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2481 PyObject
* obj0
= 0 ;
2482 PyObject
* obj1
= 0 ;
2484 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_current_desktop_set",&obj0
,&obj1
)) goto fail
;
2485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2486 arg2
= (Atom
) PyInt_AsLong(obj1
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2488 if (arg1
) (arg1
)->net_current_desktop
= arg2
;
2490 Py_INCREF(Py_None
); resultobj
= Py_None
;
2497 static PyObject
*_wrap_Atoms_net_current_desktop_get(PyObject
*self
, PyObject
*args
) {
2498 PyObject
*resultobj
;
2499 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2501 PyObject
* obj0
= 0 ;
2503 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_current_desktop_get",&obj0
)) goto fail
;
2504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2505 result
= (Atom
) ((arg1
)->net_current_desktop
);
2507 resultobj
= PyInt_FromLong((long)result
);
2514 static PyObject
*_wrap_Atoms_net_desktop_names_set(PyObject
*self
, PyObject
*args
) {
2515 PyObject
*resultobj
;
2516 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2518 PyObject
* obj0
= 0 ;
2519 PyObject
* obj1
= 0 ;
2521 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_desktop_names_set",&obj0
,&obj1
)) goto fail
;
2522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2523 arg2
= (Atom
) PyInt_AsLong(obj1
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2525 if (arg1
) (arg1
)->net_desktop_names
= arg2
;
2527 Py_INCREF(Py_None
); resultobj
= Py_None
;
2534 static PyObject
*_wrap_Atoms_net_desktop_names_get(PyObject
*self
, PyObject
*args
) {
2535 PyObject
*resultobj
;
2536 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2538 PyObject
* obj0
= 0 ;
2540 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_desktop_names_get",&obj0
)) goto fail
;
2541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2542 result
= (Atom
) ((arg1
)->net_desktop_names
);
2544 resultobj
= PyInt_FromLong((long)result
);
2551 static PyObject
*_wrap_Atoms_net_active_window_set(PyObject
*self
, PyObject
*args
) {
2552 PyObject
*resultobj
;
2553 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2555 PyObject
* obj0
= 0 ;
2556 PyObject
* obj1
= 0 ;
2558 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_active_window_set",&obj0
,&obj1
)) goto fail
;
2559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2560 arg2
= (Atom
) PyInt_AsLong(obj1
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2562 if (arg1
) (arg1
)->net_active_window
= arg2
;
2564 Py_INCREF(Py_None
); resultobj
= Py_None
;
2571 static PyObject
*_wrap_Atoms_net_active_window_get(PyObject
*self
, PyObject
*args
) {
2572 PyObject
*resultobj
;
2573 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2575 PyObject
* obj0
= 0 ;
2577 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_active_window_get",&obj0
)) goto fail
;
2578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2579 result
= (Atom
) ((arg1
)->net_active_window
);
2581 resultobj
= PyInt_FromLong((long)result
);
2588 static PyObject
*_wrap_Atoms_net_workarea_set(PyObject
*self
, PyObject
*args
) {
2589 PyObject
*resultobj
;
2590 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2592 PyObject
* obj0
= 0 ;
2593 PyObject
* obj1
= 0 ;
2595 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_workarea_set",&obj0
,&obj1
)) goto fail
;
2596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2597 arg2
= (Atom
) PyInt_AsLong(obj1
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2599 if (arg1
) (arg1
)->net_workarea
= arg2
;
2601 Py_INCREF(Py_None
); resultobj
= Py_None
;
2608 static PyObject
*_wrap_Atoms_net_workarea_get(PyObject
*self
, PyObject
*args
) {
2609 PyObject
*resultobj
;
2610 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2612 PyObject
* obj0
= 0 ;
2614 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_workarea_get",&obj0
)) goto fail
;
2615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2616 result
= (Atom
) ((arg1
)->net_workarea
);
2618 resultobj
= PyInt_FromLong((long)result
);
2625 static PyObject
*_wrap_Atoms_net_supporting_wm_check_set(PyObject
*self
, PyObject
*args
) {
2626 PyObject
*resultobj
;
2627 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2629 PyObject
* obj0
= 0 ;
2630 PyObject
* obj1
= 0 ;
2632 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_supporting_wm_check_set",&obj0
,&obj1
)) goto fail
;
2633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2634 arg2
= (Atom
) PyInt_AsLong(obj1
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2636 if (arg1
) (arg1
)->net_supporting_wm_check
= arg2
;
2638 Py_INCREF(Py_None
); resultobj
= Py_None
;
2645 static PyObject
*_wrap_Atoms_net_supporting_wm_check_get(PyObject
*self
, PyObject
*args
) {
2646 PyObject
*resultobj
;
2647 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2649 PyObject
* obj0
= 0 ;
2651 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_supporting_wm_check_get",&obj0
)) goto fail
;
2652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2653 result
= (Atom
) ((arg1
)->net_supporting_wm_check
);
2655 resultobj
= PyInt_FromLong((long)result
);
2662 static PyObject
*_wrap_Atoms_net_close_window_set(PyObject
*self
, PyObject
*args
) {
2663 PyObject
*resultobj
;
2664 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2666 PyObject
* obj0
= 0 ;
2667 PyObject
* obj1
= 0 ;
2669 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_close_window_set",&obj0
,&obj1
)) goto fail
;
2670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2671 arg2
= (Atom
) PyInt_AsLong(obj1
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2673 if (arg1
) (arg1
)->net_close_window
= arg2
;
2675 Py_INCREF(Py_None
); resultobj
= Py_None
;
2682 static PyObject
*_wrap_Atoms_net_close_window_get(PyObject
*self
, PyObject
*args
) {
2683 PyObject
*resultobj
;
2684 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2686 PyObject
* obj0
= 0 ;
2688 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_close_window_get",&obj0
)) goto fail
;
2689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2690 result
= (Atom
) ((arg1
)->net_close_window
);
2692 resultobj
= PyInt_FromLong((long)result
);
2699 static PyObject
*_wrap_Atoms_net_wm_moveresize_set(PyObject
*self
, PyObject
*args
) {
2700 PyObject
*resultobj
;
2701 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2703 PyObject
* obj0
= 0 ;
2704 PyObject
* obj1
= 0 ;
2706 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_set",&obj0
,&obj1
)) goto fail
;
2707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2708 arg2
= (Atom
) PyInt_AsLong(obj1
);
2709 if (PyErr_Occurred()) SWIG_fail
;
2710 if (arg1
) (arg1
)->net_wm_moveresize
= arg2
;
2712 Py_INCREF(Py_None
); resultobj
= Py_None
;
2719 static PyObject
*_wrap_Atoms_net_wm_moveresize_get(PyObject
*self
, PyObject
*args
) {
2720 PyObject
*resultobj
;
2721 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2723 PyObject
* obj0
= 0 ;
2725 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_get",&obj0
)) goto fail
;
2726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2727 result
= (Atom
) ((arg1
)->net_wm_moveresize
);
2729 resultobj
= PyInt_FromLong((long)result
);
2736 static PyObject
*_wrap_Atoms_net_wm_name_set(PyObject
*self
, PyObject
*args
) {
2737 PyObject
*resultobj
;
2738 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2740 PyObject
* obj0
= 0 ;
2741 PyObject
* obj1
= 0 ;
2743 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_name_set",&obj0
,&obj1
)) goto fail
;
2744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2745 arg2
= (Atom
) PyInt_AsLong(obj1
);
2746 if (PyErr_Occurred()) SWIG_fail
;
2747 if (arg1
) (arg1
)->net_wm_name
= arg2
;
2749 Py_INCREF(Py_None
); resultobj
= Py_None
;
2756 static PyObject
*_wrap_Atoms_net_wm_name_get(PyObject
*self
, PyObject
*args
) {
2757 PyObject
*resultobj
;
2758 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2760 PyObject
* obj0
= 0 ;
2762 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_name_get",&obj0
)) goto fail
;
2763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2764 result
= (Atom
) ((arg1
)->net_wm_name
);
2766 resultobj
= PyInt_FromLong((long)result
);
2773 static PyObject
*_wrap_Atoms_net_wm_visible_name_set(PyObject
*self
, PyObject
*args
) {
2774 PyObject
*resultobj
;
2775 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2777 PyObject
* obj0
= 0 ;
2778 PyObject
* obj1
= 0 ;
2780 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_visible_name_set",&obj0
,&obj1
)) goto fail
;
2781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2782 arg2
= (Atom
) PyInt_AsLong(obj1
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2784 if (arg1
) (arg1
)->net_wm_visible_name
= arg2
;
2786 Py_INCREF(Py_None
); resultobj
= Py_None
;
2793 static PyObject
*_wrap_Atoms_net_wm_visible_name_get(PyObject
*self
, PyObject
*args
) {
2794 PyObject
*resultobj
;
2795 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2799 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_visible_name_get",&obj0
)) goto fail
;
2800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2801 result
= (Atom
) ((arg1
)->net_wm_visible_name
);
2803 resultobj
= PyInt_FromLong((long)result
);
2810 static PyObject
*_wrap_Atoms_net_wm_icon_name_set(PyObject
*self
, PyObject
*args
) {
2811 PyObject
*resultobj
;
2812 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2814 PyObject
* obj0
= 0 ;
2815 PyObject
* obj1
= 0 ;
2817 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_icon_name_set",&obj0
,&obj1
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2819 arg2
= (Atom
) PyInt_AsLong(obj1
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2821 if (arg1
) (arg1
)->net_wm_icon_name
= arg2
;
2823 Py_INCREF(Py_None
); resultobj
= Py_None
;
2830 static PyObject
*_wrap_Atoms_net_wm_icon_name_get(PyObject
*self
, PyObject
*args
) {
2831 PyObject
*resultobj
;
2832 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2834 PyObject
* obj0
= 0 ;
2836 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_icon_name_get",&obj0
)) goto fail
;
2837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2838 result
= (Atom
) ((arg1
)->net_wm_icon_name
);
2840 resultobj
= PyInt_FromLong((long)result
);
2847 static PyObject
*_wrap_Atoms_net_wm_visible_icon_name_set(PyObject
*self
, PyObject
*args
) {
2848 PyObject
*resultobj
;
2849 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2851 PyObject
* obj0
= 0 ;
2852 PyObject
* obj1
= 0 ;
2854 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_visible_icon_name_set",&obj0
,&obj1
)) goto fail
;
2855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2856 arg2
= (Atom
) PyInt_AsLong(obj1
);
2857 if (PyErr_Occurred()) SWIG_fail
;
2858 if (arg1
) (arg1
)->net_wm_visible_icon_name
= arg2
;
2860 Py_INCREF(Py_None
); resultobj
= Py_None
;
2867 static PyObject
*_wrap_Atoms_net_wm_visible_icon_name_get(PyObject
*self
, PyObject
*args
) {
2868 PyObject
*resultobj
;
2869 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2871 PyObject
* obj0
= 0 ;
2873 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_visible_icon_name_get",&obj0
)) goto fail
;
2874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2875 result
= (Atom
) ((arg1
)->net_wm_visible_icon_name
);
2877 resultobj
= PyInt_FromLong((long)result
);
2884 static PyObject
*_wrap_Atoms_net_wm_desktop_set(PyObject
*self
, PyObject
*args
) {
2885 PyObject
*resultobj
;
2886 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2888 PyObject
* obj0
= 0 ;
2889 PyObject
* obj1
= 0 ;
2891 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_desktop_set",&obj0
,&obj1
)) goto fail
;
2892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2893 arg2
= (Atom
) PyInt_AsLong(obj1
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2895 if (arg1
) (arg1
)->net_wm_desktop
= arg2
;
2897 Py_INCREF(Py_None
); resultobj
= Py_None
;
2904 static PyObject
*_wrap_Atoms_net_wm_desktop_get(PyObject
*self
, PyObject
*args
) {
2905 PyObject
*resultobj
;
2906 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2908 PyObject
* obj0
= 0 ;
2910 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_desktop_get",&obj0
)) goto fail
;
2911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2912 result
= (Atom
) ((arg1
)->net_wm_desktop
);
2914 resultobj
= PyInt_FromLong((long)result
);
2921 static PyObject
*_wrap_Atoms_net_wm_window_type_set(PyObject
*self
, PyObject
*args
) {
2922 PyObject
*resultobj
;
2923 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2925 PyObject
* obj0
= 0 ;
2926 PyObject
* obj1
= 0 ;
2928 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_set",&obj0
,&obj1
)) goto fail
;
2929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2930 arg2
= (Atom
) PyInt_AsLong(obj1
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2932 if (arg1
) (arg1
)->net_wm_window_type
= arg2
;
2934 Py_INCREF(Py_None
); resultobj
= Py_None
;
2941 static PyObject
*_wrap_Atoms_net_wm_window_type_get(PyObject
*self
, PyObject
*args
) {
2942 PyObject
*resultobj
;
2943 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2945 PyObject
* obj0
= 0 ;
2947 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_get",&obj0
)) goto fail
;
2948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2949 result
= (Atom
) ((arg1
)->net_wm_window_type
);
2951 resultobj
= PyInt_FromLong((long)result
);
2958 static PyObject
*_wrap_Atoms_net_wm_state_set(PyObject
*self
, PyObject
*args
) {
2959 PyObject
*resultobj
;
2960 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2962 PyObject
* obj0
= 0 ;
2963 PyObject
* obj1
= 0 ;
2965 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_set",&obj0
,&obj1
)) goto fail
;
2966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2967 arg2
= (Atom
) PyInt_AsLong(obj1
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2969 if (arg1
) (arg1
)->net_wm_state
= arg2
;
2971 Py_INCREF(Py_None
); resultobj
= Py_None
;
2978 static PyObject
*_wrap_Atoms_net_wm_state_get(PyObject
*self
, PyObject
*args
) {
2979 PyObject
*resultobj
;
2980 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2982 PyObject
* obj0
= 0 ;
2984 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_get",&obj0
)) goto fail
;
2985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2986 result
= (Atom
) ((arg1
)->net_wm_state
);
2988 resultobj
= PyInt_FromLong((long)result
);
2995 static PyObject
*_wrap_Atoms_net_wm_strut_set(PyObject
*self
, PyObject
*args
) {
2996 PyObject
*resultobj
;
2997 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
2999 PyObject
* obj0
= 0 ;
3000 PyObject
* obj1
= 0 ;
3002 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_strut_set",&obj0
,&obj1
)) goto fail
;
3003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3004 arg2
= (Atom
) PyInt_AsLong(obj1
);
3005 if (PyErr_Occurred()) SWIG_fail
;
3006 if (arg1
) (arg1
)->net_wm_strut
= arg2
;
3008 Py_INCREF(Py_None
); resultobj
= Py_None
;
3015 static PyObject
*_wrap_Atoms_net_wm_strut_get(PyObject
*self
, PyObject
*args
) {
3016 PyObject
*resultobj
;
3017 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3019 PyObject
* obj0
= 0 ;
3021 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_strut_get",&obj0
)) goto fail
;
3022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3023 result
= (Atom
) ((arg1
)->net_wm_strut
);
3025 resultobj
= PyInt_FromLong((long)result
);
3032 static PyObject
*_wrap_Atoms_net_wm_allowed_actions_set(PyObject
*self
, PyObject
*args
) {
3033 PyObject
*resultobj
;
3034 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3036 PyObject
* obj0
= 0 ;
3037 PyObject
* obj1
= 0 ;
3039 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_allowed_actions_set",&obj0
,&obj1
)) goto fail
;
3040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3041 arg2
= (Atom
) PyInt_AsLong(obj1
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3043 if (arg1
) (arg1
)->net_wm_allowed_actions
= arg2
;
3045 Py_INCREF(Py_None
); resultobj
= Py_None
;
3052 static PyObject
*_wrap_Atoms_net_wm_allowed_actions_get(PyObject
*self
, PyObject
*args
) {
3053 PyObject
*resultobj
;
3054 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3056 PyObject
* obj0
= 0 ;
3058 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_allowed_actions_get",&obj0
)) goto fail
;
3059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3060 result
= (Atom
) ((arg1
)->net_wm_allowed_actions
);
3062 resultobj
= PyInt_FromLong((long)result
);
3069 static PyObject
*_wrap_Atoms_net_wm_window_type_desktop_set(PyObject
*self
, PyObject
*args
) {
3070 PyObject
*resultobj
;
3071 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3073 PyObject
* obj0
= 0 ;
3074 PyObject
* obj1
= 0 ;
3076 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_desktop_set",&obj0
,&obj1
)) goto fail
;
3077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3078 arg2
= (Atom
) PyInt_AsLong(obj1
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3080 if (arg1
) (arg1
)->net_wm_window_type_desktop
= arg2
;
3082 Py_INCREF(Py_None
); resultobj
= Py_None
;
3089 static PyObject
*_wrap_Atoms_net_wm_window_type_desktop_get(PyObject
*self
, PyObject
*args
) {
3090 PyObject
*resultobj
;
3091 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3093 PyObject
* obj0
= 0 ;
3095 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_desktop_get",&obj0
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3097 result
= (Atom
) ((arg1
)->net_wm_window_type_desktop
);
3099 resultobj
= PyInt_FromLong((long)result
);
3106 static PyObject
*_wrap_Atoms_net_wm_window_type_dock_set(PyObject
*self
, PyObject
*args
) {
3107 PyObject
*resultobj
;
3108 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3110 PyObject
* obj0
= 0 ;
3111 PyObject
* obj1
= 0 ;
3113 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_dock_set",&obj0
,&obj1
)) goto fail
;
3114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3115 arg2
= (Atom
) PyInt_AsLong(obj1
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3117 if (arg1
) (arg1
)->net_wm_window_type_dock
= arg2
;
3119 Py_INCREF(Py_None
); resultobj
= Py_None
;
3126 static PyObject
*_wrap_Atoms_net_wm_window_type_dock_get(PyObject
*self
, PyObject
*args
) {
3127 PyObject
*resultobj
;
3128 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3130 PyObject
* obj0
= 0 ;
3132 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_dock_get",&obj0
)) goto fail
;
3133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3134 result
= (Atom
) ((arg1
)->net_wm_window_type_dock
);
3136 resultobj
= PyInt_FromLong((long)result
);
3143 static PyObject
*_wrap_Atoms_net_wm_window_type_toolbar_set(PyObject
*self
, PyObject
*args
) {
3144 PyObject
*resultobj
;
3145 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3147 PyObject
* obj0
= 0 ;
3148 PyObject
* obj1
= 0 ;
3150 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_toolbar_set",&obj0
,&obj1
)) goto fail
;
3151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3152 arg2
= (Atom
) PyInt_AsLong(obj1
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3154 if (arg1
) (arg1
)->net_wm_window_type_toolbar
= arg2
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3163 static PyObject
*_wrap_Atoms_net_wm_window_type_toolbar_get(PyObject
*self
, PyObject
*args
) {
3164 PyObject
*resultobj
;
3165 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3167 PyObject
* obj0
= 0 ;
3169 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_toolbar_get",&obj0
)) goto fail
;
3170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3171 result
= (Atom
) ((arg1
)->net_wm_window_type_toolbar
);
3173 resultobj
= PyInt_FromLong((long)result
);
3180 static PyObject
*_wrap_Atoms_net_wm_window_type_menu_set(PyObject
*self
, PyObject
*args
) {
3181 PyObject
*resultobj
;
3182 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3184 PyObject
* obj0
= 0 ;
3185 PyObject
* obj1
= 0 ;
3187 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_menu_set",&obj0
,&obj1
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3189 arg2
= (Atom
) PyInt_AsLong(obj1
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3191 if (arg1
) (arg1
)->net_wm_window_type_menu
= arg2
;
3193 Py_INCREF(Py_None
); resultobj
= Py_None
;
3200 static PyObject
*_wrap_Atoms_net_wm_window_type_menu_get(PyObject
*self
, PyObject
*args
) {
3201 PyObject
*resultobj
;
3202 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3206 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_menu_get",&obj0
)) goto fail
;
3207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3208 result
= (Atom
) ((arg1
)->net_wm_window_type_menu
);
3210 resultobj
= PyInt_FromLong((long)result
);
3217 static PyObject
*_wrap_Atoms_net_wm_window_type_utility_set(PyObject
*self
, PyObject
*args
) {
3218 PyObject
*resultobj
;
3219 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3221 PyObject
* obj0
= 0 ;
3222 PyObject
* obj1
= 0 ;
3224 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_utility_set",&obj0
,&obj1
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3226 arg2
= (Atom
) PyInt_AsLong(obj1
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3228 if (arg1
) (arg1
)->net_wm_window_type_utility
= arg2
;
3230 Py_INCREF(Py_None
); resultobj
= Py_None
;
3237 static PyObject
*_wrap_Atoms_net_wm_window_type_utility_get(PyObject
*self
, PyObject
*args
) {
3238 PyObject
*resultobj
;
3239 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3243 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_utility_get",&obj0
)) goto fail
;
3244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3245 result
= (Atom
) ((arg1
)->net_wm_window_type_utility
);
3247 resultobj
= PyInt_FromLong((long)result
);
3254 static PyObject
*_wrap_Atoms_net_wm_window_type_splash_set(PyObject
*self
, PyObject
*args
) {
3255 PyObject
*resultobj
;
3256 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3261 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_splash_set",&obj0
,&obj1
)) goto fail
;
3262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3263 arg2
= (Atom
) PyInt_AsLong(obj1
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3265 if (arg1
) (arg1
)->net_wm_window_type_splash
= arg2
;
3267 Py_INCREF(Py_None
); resultobj
= Py_None
;
3274 static PyObject
*_wrap_Atoms_net_wm_window_type_splash_get(PyObject
*self
, PyObject
*args
) {
3275 PyObject
*resultobj
;
3276 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3278 PyObject
* obj0
= 0 ;
3280 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_splash_get",&obj0
)) goto fail
;
3281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3282 result
= (Atom
) ((arg1
)->net_wm_window_type_splash
);
3284 resultobj
= PyInt_FromLong((long)result
);
3291 static PyObject
*_wrap_Atoms_net_wm_window_type_dialog_set(PyObject
*self
, PyObject
*args
) {
3292 PyObject
*resultobj
;
3293 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3295 PyObject
* obj0
= 0 ;
3296 PyObject
* obj1
= 0 ;
3298 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_dialog_set",&obj0
,&obj1
)) goto fail
;
3299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3300 arg2
= (Atom
) PyInt_AsLong(obj1
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3302 if (arg1
) (arg1
)->net_wm_window_type_dialog
= arg2
;
3304 Py_INCREF(Py_None
); resultobj
= Py_None
;
3311 static PyObject
*_wrap_Atoms_net_wm_window_type_dialog_get(PyObject
*self
, PyObject
*args
) {
3312 PyObject
*resultobj
;
3313 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3315 PyObject
* obj0
= 0 ;
3317 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_dialog_get",&obj0
)) goto fail
;
3318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3319 result
= (Atom
) ((arg1
)->net_wm_window_type_dialog
);
3321 resultobj
= PyInt_FromLong((long)result
);
3328 static PyObject
*_wrap_Atoms_net_wm_window_type_normal_set(PyObject
*self
, PyObject
*args
) {
3329 PyObject
*resultobj
;
3330 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3332 PyObject
* obj0
= 0 ;
3333 PyObject
* obj1
= 0 ;
3335 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_window_type_normal_set",&obj0
,&obj1
)) goto fail
;
3336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3337 arg2
= (Atom
) PyInt_AsLong(obj1
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3339 if (arg1
) (arg1
)->net_wm_window_type_normal
= arg2
;
3341 Py_INCREF(Py_None
); resultobj
= Py_None
;
3348 static PyObject
*_wrap_Atoms_net_wm_window_type_normal_get(PyObject
*self
, PyObject
*args
) {
3349 PyObject
*resultobj
;
3350 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3352 PyObject
* obj0
= 0 ;
3354 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_window_type_normal_get",&obj0
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3356 result
= (Atom
) ((arg1
)->net_wm_window_type_normal
);
3358 resultobj
= PyInt_FromLong((long)result
);
3365 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_topleft_set(PyObject
*self
, PyObject
*args
) {
3366 PyObject
*resultobj
;
3367 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3370 PyObject
* obj1
= 0 ;
3372 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_size_topleft_set",&obj0
,&obj1
)) goto fail
;
3373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3374 arg2
= (Atom
) PyInt_AsLong(obj1
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3376 if (arg1
) (arg1
)->net_wm_moveresize_size_topleft
= arg2
;
3378 Py_INCREF(Py_None
); resultobj
= Py_None
;
3385 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_topleft_get(PyObject
*self
, PyObject
*args
) {
3386 PyObject
*resultobj
;
3387 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3389 PyObject
* obj0
= 0 ;
3391 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_size_topleft_get",&obj0
)) goto fail
;
3392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3393 result
= (Atom
) ((arg1
)->net_wm_moveresize_size_topleft
);
3395 resultobj
= PyInt_FromLong((long)result
);
3402 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_topright_set(PyObject
*self
, PyObject
*args
) {
3403 PyObject
*resultobj
;
3404 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_size_topright_set",&obj0
,&obj1
)) goto fail
;
3410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3411 arg2
= (Atom
) PyInt_AsLong(obj1
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3413 if (arg1
) (arg1
)->net_wm_moveresize_size_topright
= arg2
;
3415 Py_INCREF(Py_None
); resultobj
= Py_None
;
3422 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_topright_get(PyObject
*self
, PyObject
*args
) {
3423 PyObject
*resultobj
;
3424 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3428 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_size_topright_get",&obj0
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3430 result
= (Atom
) ((arg1
)->net_wm_moveresize_size_topright
);
3432 resultobj
= PyInt_FromLong((long)result
);
3439 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_bottomleft_set(PyObject
*self
, PyObject
*args
) {
3440 PyObject
*resultobj
;
3441 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3443 PyObject
* obj0
= 0 ;
3444 PyObject
* obj1
= 0 ;
3446 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_size_bottomleft_set",&obj0
,&obj1
)) goto fail
;
3447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3448 arg2
= (Atom
) PyInt_AsLong(obj1
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3450 if (arg1
) (arg1
)->net_wm_moveresize_size_bottomleft
= arg2
;
3452 Py_INCREF(Py_None
); resultobj
= Py_None
;
3459 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_bottomleft_get(PyObject
*self
, PyObject
*args
) {
3460 PyObject
*resultobj
;
3461 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3463 PyObject
* obj0
= 0 ;
3465 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_size_bottomleft_get",&obj0
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3467 result
= (Atom
) ((arg1
)->net_wm_moveresize_size_bottomleft
);
3469 resultobj
= PyInt_FromLong((long)result
);
3476 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_bottomright_set(PyObject
*self
, PyObject
*args
) {
3477 PyObject
*resultobj
;
3478 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3483 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_size_bottomright_set",&obj0
,&obj1
)) goto fail
;
3484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3485 arg2
= (Atom
) PyInt_AsLong(obj1
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3487 if (arg1
) (arg1
)->net_wm_moveresize_size_bottomright
= arg2
;
3489 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 static PyObject
*_wrap_Atoms_net_wm_moveresize_size_bottomright_get(PyObject
*self
, PyObject
*args
) {
3497 PyObject
*resultobj
;
3498 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3500 PyObject
* obj0
= 0 ;
3502 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_size_bottomright_get",&obj0
)) goto fail
;
3503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3504 result
= (Atom
) ((arg1
)->net_wm_moveresize_size_bottomright
);
3506 resultobj
= PyInt_FromLong((long)result
);
3513 static PyObject
*_wrap_Atoms_net_wm_moveresize_move_set(PyObject
*self
, PyObject
*args
) {
3514 PyObject
*resultobj
;
3515 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3518 PyObject
* obj1
= 0 ;
3520 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_moveresize_move_set",&obj0
,&obj1
)) goto fail
;
3521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3522 arg2
= (Atom
) PyInt_AsLong(obj1
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3524 if (arg1
) (arg1
)->net_wm_moveresize_move
= arg2
;
3526 Py_INCREF(Py_None
); resultobj
= Py_None
;
3533 static PyObject
*_wrap_Atoms_net_wm_moveresize_move_get(PyObject
*self
, PyObject
*args
) {
3534 PyObject
*resultobj
;
3535 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3537 PyObject
* obj0
= 0 ;
3539 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_moveresize_move_get",&obj0
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3541 result
= (Atom
) ((arg1
)->net_wm_moveresize_move
);
3543 resultobj
= PyInt_FromLong((long)result
);
3550 static PyObject
*_wrap_Atoms_net_wm_action_move_set(PyObject
*self
, PyObject
*args
) {
3551 PyObject
*resultobj
;
3552 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3554 PyObject
* obj0
= 0 ;
3555 PyObject
* obj1
= 0 ;
3557 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_move_set",&obj0
,&obj1
)) goto fail
;
3558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3559 arg2
= (Atom
) PyInt_AsLong(obj1
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3561 if (arg1
) (arg1
)->net_wm_action_move
= arg2
;
3563 Py_INCREF(Py_None
); resultobj
= Py_None
;
3570 static PyObject
*_wrap_Atoms_net_wm_action_move_get(PyObject
*self
, PyObject
*args
) {
3571 PyObject
*resultobj
;
3572 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3574 PyObject
* obj0
= 0 ;
3576 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_move_get",&obj0
)) goto fail
;
3577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3578 result
= (Atom
) ((arg1
)->net_wm_action_move
);
3580 resultobj
= PyInt_FromLong((long)result
);
3587 static PyObject
*_wrap_Atoms_net_wm_action_resize_set(PyObject
*self
, PyObject
*args
) {
3588 PyObject
*resultobj
;
3589 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3592 PyObject
* obj1
= 0 ;
3594 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_resize_set",&obj0
,&obj1
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3596 arg2
= (Atom
) PyInt_AsLong(obj1
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3598 if (arg1
) (arg1
)->net_wm_action_resize
= arg2
;
3600 Py_INCREF(Py_None
); resultobj
= Py_None
;
3607 static PyObject
*_wrap_Atoms_net_wm_action_resize_get(PyObject
*self
, PyObject
*args
) {
3608 PyObject
*resultobj
;
3609 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3611 PyObject
* obj0
= 0 ;
3613 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_resize_get",&obj0
)) goto fail
;
3614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3615 result
= (Atom
) ((arg1
)->net_wm_action_resize
);
3617 resultobj
= PyInt_FromLong((long)result
);
3624 static PyObject
*_wrap_Atoms_net_wm_action_shade_set(PyObject
*self
, PyObject
*args
) {
3625 PyObject
*resultobj
;
3626 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3631 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_shade_set",&obj0
,&obj1
)) goto fail
;
3632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3633 arg2
= (Atom
) PyInt_AsLong(obj1
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3635 if (arg1
) (arg1
)->net_wm_action_shade
= arg2
;
3637 Py_INCREF(Py_None
); resultobj
= Py_None
;
3644 static PyObject
*_wrap_Atoms_net_wm_action_shade_get(PyObject
*self
, PyObject
*args
) {
3645 PyObject
*resultobj
;
3646 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3650 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_shade_get",&obj0
)) goto fail
;
3651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3652 result
= (Atom
) ((arg1
)->net_wm_action_shade
);
3654 resultobj
= PyInt_FromLong((long)result
);
3661 static PyObject
*_wrap_Atoms_net_wm_action_maximize_horz_set(PyObject
*self
, PyObject
*args
) {
3662 PyObject
*resultobj
;
3663 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3665 PyObject
* obj0
= 0 ;
3666 PyObject
* obj1
= 0 ;
3668 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_maximize_horz_set",&obj0
,&obj1
)) goto fail
;
3669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3670 arg2
= (Atom
) PyInt_AsLong(obj1
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3672 if (arg1
) (arg1
)->net_wm_action_maximize_horz
= arg2
;
3674 Py_INCREF(Py_None
); resultobj
= Py_None
;
3681 static PyObject
*_wrap_Atoms_net_wm_action_maximize_horz_get(PyObject
*self
, PyObject
*args
) {
3682 PyObject
*resultobj
;
3683 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3687 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_maximize_horz_get",&obj0
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3689 result
= (Atom
) ((arg1
)->net_wm_action_maximize_horz
);
3691 resultobj
= PyInt_FromLong((long)result
);
3698 static PyObject
*_wrap_Atoms_net_wm_action_maximize_vert_set(PyObject
*self
, PyObject
*args
) {
3699 PyObject
*resultobj
;
3700 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3702 PyObject
* obj0
= 0 ;
3703 PyObject
* obj1
= 0 ;
3705 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_maximize_vert_set",&obj0
,&obj1
)) goto fail
;
3706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3707 arg2
= (Atom
) PyInt_AsLong(obj1
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3709 if (arg1
) (arg1
)->net_wm_action_maximize_vert
= arg2
;
3711 Py_INCREF(Py_None
); resultobj
= Py_None
;
3718 static PyObject
*_wrap_Atoms_net_wm_action_maximize_vert_get(PyObject
*self
, PyObject
*args
) {
3719 PyObject
*resultobj
;
3720 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3722 PyObject
* obj0
= 0 ;
3724 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_maximize_vert_get",&obj0
)) goto fail
;
3725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3726 result
= (Atom
) ((arg1
)->net_wm_action_maximize_vert
);
3728 resultobj
= PyInt_FromLong((long)result
);
3735 static PyObject
*_wrap_Atoms_net_wm_action_change_desktop_set(PyObject
*self
, PyObject
*args
) {
3736 PyObject
*resultobj
;
3737 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3742 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_change_desktop_set",&obj0
,&obj1
)) goto fail
;
3743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3744 arg2
= (Atom
) PyInt_AsLong(obj1
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3746 if (arg1
) (arg1
)->net_wm_action_change_desktop
= arg2
;
3748 Py_INCREF(Py_None
); resultobj
= Py_None
;
3755 static PyObject
*_wrap_Atoms_net_wm_action_change_desktop_get(PyObject
*self
, PyObject
*args
) {
3756 PyObject
*resultobj
;
3757 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3761 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_change_desktop_get",&obj0
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3763 result
= (Atom
) ((arg1
)->net_wm_action_change_desktop
);
3765 resultobj
= PyInt_FromLong((long)result
);
3772 static PyObject
*_wrap_Atoms_net_wm_action_close_set(PyObject
*self
, PyObject
*args
) {
3773 PyObject
*resultobj
;
3774 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3777 PyObject
* obj1
= 0 ;
3779 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_action_close_set",&obj0
,&obj1
)) goto fail
;
3780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3781 arg2
= (Atom
) PyInt_AsLong(obj1
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3783 if (arg1
) (arg1
)->net_wm_action_close
= arg2
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
*_wrap_Atoms_net_wm_action_close_get(PyObject
*self
, PyObject
*args
) {
3793 PyObject
*resultobj
;
3794 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3798 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_action_close_get",&obj0
)) goto fail
;
3799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3800 result
= (Atom
) ((arg1
)->net_wm_action_close
);
3802 resultobj
= PyInt_FromLong((long)result
);
3809 static PyObject
*_wrap_Atoms_net_wm_state_modal_set(PyObject
*self
, PyObject
*args
) {
3810 PyObject
*resultobj
;
3811 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3813 PyObject
* obj0
= 0 ;
3814 PyObject
* obj1
= 0 ;
3816 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_modal_set",&obj0
,&obj1
)) goto fail
;
3817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3818 arg2
= (Atom
) PyInt_AsLong(obj1
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3820 if (arg1
) (arg1
)->net_wm_state_modal
= arg2
;
3822 Py_INCREF(Py_None
); resultobj
= Py_None
;
3829 static PyObject
*_wrap_Atoms_net_wm_state_modal_get(PyObject
*self
, PyObject
*args
) {
3830 PyObject
*resultobj
;
3831 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3833 PyObject
* obj0
= 0 ;
3835 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_modal_get",&obj0
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 result
= (Atom
) ((arg1
)->net_wm_state_modal
);
3839 resultobj
= PyInt_FromLong((long)result
);
3846 static PyObject
*_wrap_Atoms_net_wm_state_sticky_set(PyObject
*self
, PyObject
*args
) {
3847 PyObject
*resultobj
;
3848 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3851 PyObject
* obj1
= 0 ;
3853 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_sticky_set",&obj0
,&obj1
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3855 arg2
= (Atom
) PyInt_AsLong(obj1
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3857 if (arg1
) (arg1
)->net_wm_state_sticky
= arg2
;
3859 Py_INCREF(Py_None
); resultobj
= Py_None
;
3866 static PyObject
*_wrap_Atoms_net_wm_state_sticky_get(PyObject
*self
, PyObject
*args
) {
3867 PyObject
*resultobj
;
3868 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3870 PyObject
* obj0
= 0 ;
3872 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_sticky_get",&obj0
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3874 result
= (Atom
) ((arg1
)->net_wm_state_sticky
);
3876 resultobj
= PyInt_FromLong((long)result
);
3883 static PyObject
*_wrap_Atoms_net_wm_state_maximized_vert_set(PyObject
*self
, PyObject
*args
) {
3884 PyObject
*resultobj
;
3885 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3890 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_maximized_vert_set",&obj0
,&obj1
)) goto fail
;
3891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3892 arg2
= (Atom
) PyInt_AsLong(obj1
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3894 if (arg1
) (arg1
)->net_wm_state_maximized_vert
= arg2
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_Atoms_net_wm_state_maximized_vert_get(PyObject
*self
, PyObject
*args
) {
3904 PyObject
*resultobj
;
3905 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3909 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_maximized_vert_get",&obj0
)) goto fail
;
3910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3911 result
= (Atom
) ((arg1
)->net_wm_state_maximized_vert
);
3913 resultobj
= PyInt_FromLong((long)result
);
3920 static PyObject
*_wrap_Atoms_net_wm_state_maximized_horz_set(PyObject
*self
, PyObject
*args
) {
3921 PyObject
*resultobj
;
3922 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3924 PyObject
* obj0
= 0 ;
3925 PyObject
* obj1
= 0 ;
3927 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_maximized_horz_set",&obj0
,&obj1
)) goto fail
;
3928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3929 arg2
= (Atom
) PyInt_AsLong(obj1
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3931 if (arg1
) (arg1
)->net_wm_state_maximized_horz
= arg2
;
3933 Py_INCREF(Py_None
); resultobj
= Py_None
;
3940 static PyObject
*_wrap_Atoms_net_wm_state_maximized_horz_get(PyObject
*self
, PyObject
*args
) {
3941 PyObject
*resultobj
;
3942 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3946 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_maximized_horz_get",&obj0
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3948 result
= (Atom
) ((arg1
)->net_wm_state_maximized_horz
);
3950 resultobj
= PyInt_FromLong((long)result
);
3957 static PyObject
*_wrap_Atoms_net_wm_state_shaded_set(PyObject
*self
, PyObject
*args
) {
3958 PyObject
*resultobj
;
3959 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3964 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_shaded_set",&obj0
,&obj1
)) goto fail
;
3965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3966 arg2
= (Atom
) PyInt_AsLong(obj1
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3968 if (arg1
) (arg1
)->net_wm_state_shaded
= arg2
;
3970 Py_INCREF(Py_None
); resultobj
= Py_None
;
3977 static PyObject
*_wrap_Atoms_net_wm_state_shaded_get(PyObject
*self
, PyObject
*args
) {
3978 PyObject
*resultobj
;
3979 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3981 PyObject
* obj0
= 0 ;
3983 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_shaded_get",&obj0
)) goto fail
;
3984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3985 result
= (Atom
) ((arg1
)->net_wm_state_shaded
);
3987 resultobj
= PyInt_FromLong((long)result
);
3994 static PyObject
*_wrap_Atoms_net_wm_state_skip_taskbar_set(PyObject
*self
, PyObject
*args
) {
3995 PyObject
*resultobj
;
3996 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4001 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_skip_taskbar_set",&obj0
,&obj1
)) goto fail
;
4002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4003 arg2
= (Atom
) PyInt_AsLong(obj1
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4005 if (arg1
) (arg1
)->net_wm_state_skip_taskbar
= arg2
;
4007 Py_INCREF(Py_None
); resultobj
= Py_None
;
4014 static PyObject
*_wrap_Atoms_net_wm_state_skip_taskbar_get(PyObject
*self
, PyObject
*args
) {
4015 PyObject
*resultobj
;
4016 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4018 PyObject
* obj0
= 0 ;
4020 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_skip_taskbar_get",&obj0
)) goto fail
;
4021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4022 result
= (Atom
) ((arg1
)->net_wm_state_skip_taskbar
);
4024 resultobj
= PyInt_FromLong((long)result
);
4031 static PyObject
*_wrap_Atoms_net_wm_state_skip_pager_set(PyObject
*self
, PyObject
*args
) {
4032 PyObject
*resultobj
;
4033 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4035 PyObject
* obj0
= 0 ;
4036 PyObject
* obj1
= 0 ;
4038 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_skip_pager_set",&obj0
,&obj1
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4040 arg2
= (Atom
) PyInt_AsLong(obj1
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4042 if (arg1
) (arg1
)->net_wm_state_skip_pager
= arg2
;
4044 Py_INCREF(Py_None
); resultobj
= Py_None
;
4051 static PyObject
*_wrap_Atoms_net_wm_state_skip_pager_get(PyObject
*self
, PyObject
*args
) {
4052 PyObject
*resultobj
;
4053 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4057 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_skip_pager_get",&obj0
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4059 result
= (Atom
) ((arg1
)->net_wm_state_skip_pager
);
4061 resultobj
= PyInt_FromLong((long)result
);
4068 static PyObject
*_wrap_Atoms_net_wm_state_hidden_set(PyObject
*self
, PyObject
*args
) {
4069 PyObject
*resultobj
;
4070 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4072 PyObject
* obj0
= 0 ;
4073 PyObject
* obj1
= 0 ;
4075 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_hidden_set",&obj0
,&obj1
)) goto fail
;
4076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4077 arg2
= (Atom
) PyInt_AsLong(obj1
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4079 if (arg1
) (arg1
)->net_wm_state_hidden
= arg2
;
4081 Py_INCREF(Py_None
); resultobj
= Py_None
;
4088 static PyObject
*_wrap_Atoms_net_wm_state_hidden_get(PyObject
*self
, PyObject
*args
) {
4089 PyObject
*resultobj
;
4090 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4092 PyObject
* obj0
= 0 ;
4094 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_hidden_get",&obj0
)) goto fail
;
4095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4096 result
= (Atom
) ((arg1
)->net_wm_state_hidden
);
4098 resultobj
= PyInt_FromLong((long)result
);
4105 static PyObject
*_wrap_Atoms_net_wm_state_fullscreen_set(PyObject
*self
, PyObject
*args
) {
4106 PyObject
*resultobj
;
4107 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4112 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_fullscreen_set",&obj0
,&obj1
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4114 arg2
= (Atom
) PyInt_AsLong(obj1
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4116 if (arg1
) (arg1
)->net_wm_state_fullscreen
= arg2
;
4118 Py_INCREF(Py_None
); resultobj
= Py_None
;
4125 static PyObject
*_wrap_Atoms_net_wm_state_fullscreen_get(PyObject
*self
, PyObject
*args
) {
4126 PyObject
*resultobj
;
4127 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4129 PyObject
* obj0
= 0 ;
4131 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_fullscreen_get",&obj0
)) goto fail
;
4132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4133 result
= (Atom
) ((arg1
)->net_wm_state_fullscreen
);
4135 resultobj
= PyInt_FromLong((long)result
);
4142 static PyObject
*_wrap_Atoms_net_wm_state_above_set(PyObject
*self
, PyObject
*args
) {
4143 PyObject
*resultobj
;
4144 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4146 PyObject
* obj0
= 0 ;
4147 PyObject
* obj1
= 0 ;
4149 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_above_set",&obj0
,&obj1
)) goto fail
;
4150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4151 arg2
= (Atom
) PyInt_AsLong(obj1
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4153 if (arg1
) (arg1
)->net_wm_state_above
= arg2
;
4155 Py_INCREF(Py_None
); resultobj
= Py_None
;
4162 static PyObject
*_wrap_Atoms_net_wm_state_above_get(PyObject
*self
, PyObject
*args
) {
4163 PyObject
*resultobj
;
4164 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4166 PyObject
* obj0
= 0 ;
4168 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_above_get",&obj0
)) goto fail
;
4169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4170 result
= (Atom
) ((arg1
)->net_wm_state_above
);
4172 resultobj
= PyInt_FromLong((long)result
);
4179 static PyObject
*_wrap_Atoms_net_wm_state_below_set(PyObject
*self
, PyObject
*args
) {
4180 PyObject
*resultobj
;
4181 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4183 PyObject
* obj0
= 0 ;
4184 PyObject
* obj1
= 0 ;
4186 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_net_wm_state_below_set",&obj0
,&obj1
)) goto fail
;
4187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4188 arg2
= (Atom
) PyInt_AsLong(obj1
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4190 if (arg1
) (arg1
)->net_wm_state_below
= arg2
;
4192 Py_INCREF(Py_None
); resultobj
= Py_None
;
4199 static PyObject
*_wrap_Atoms_net_wm_state_below_get(PyObject
*self
, PyObject
*args
) {
4200 PyObject
*resultobj
;
4201 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4203 PyObject
* obj0
= 0 ;
4205 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_net_wm_state_below_get",&obj0
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4207 result
= (Atom
) ((arg1
)->net_wm_state_below
);
4209 resultobj
= PyInt_FromLong((long)result
);
4216 static PyObject
*_wrap_Atoms_kde_net_system_tray_windows_set(PyObject
*self
, PyObject
*args
) {
4217 PyObject
*resultobj
;
4218 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4220 PyObject
* obj0
= 0 ;
4221 PyObject
* obj1
= 0 ;
4223 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_kde_net_system_tray_windows_set",&obj0
,&obj1
)) goto fail
;
4224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4225 arg2
= (Atom
) PyInt_AsLong(obj1
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4227 if (arg1
) (arg1
)->kde_net_system_tray_windows
= arg2
;
4229 Py_INCREF(Py_None
); resultobj
= Py_None
;
4236 static PyObject
*_wrap_Atoms_kde_net_system_tray_windows_get(PyObject
*self
, PyObject
*args
) {
4237 PyObject
*resultobj
;
4238 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4242 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_kde_net_system_tray_windows_get",&obj0
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4244 result
= (Atom
) ((arg1
)->kde_net_system_tray_windows
);
4246 resultobj
= PyInt_FromLong((long)result
);
4253 static PyObject
*_wrap_Atoms_kde_net_wm_system_tray_window_for_set(PyObject
*self
, PyObject
*args
) {
4254 PyObject
*resultobj
;
4255 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4257 PyObject
* obj0
= 0 ;
4258 PyObject
* obj1
= 0 ;
4260 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_kde_net_wm_system_tray_window_for_set",&obj0
,&obj1
)) goto fail
;
4261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4262 arg2
= (Atom
) PyInt_AsLong(obj1
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4264 if (arg1
) (arg1
)->kde_net_wm_system_tray_window_for
= arg2
;
4266 Py_INCREF(Py_None
); resultobj
= Py_None
;
4273 static PyObject
*_wrap_Atoms_kde_net_wm_system_tray_window_for_get(PyObject
*self
, PyObject
*args
) {
4274 PyObject
*resultobj
;
4275 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4277 PyObject
* obj0
= 0 ;
4279 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_kde_net_wm_system_tray_window_for_get",&obj0
)) goto fail
;
4280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4281 result
= (Atom
) ((arg1
)->kde_net_wm_system_tray_window_for
);
4283 resultobj
= PyInt_FromLong((long)result
);
4290 static PyObject
*_wrap_Atoms_kde_net_wm_window_type_override_set(PyObject
*self
, PyObject
*args
) {
4291 PyObject
*resultobj
;
4292 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4294 PyObject
* obj0
= 0 ;
4295 PyObject
* obj1
= 0 ;
4297 if(!PyArg_ParseTuple(args
,(char *)"OO:Atoms_kde_net_wm_window_type_override_set",&obj0
,&obj1
)) goto fail
;
4298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4299 arg2
= (Atom
) PyInt_AsLong(obj1
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4301 if (arg1
) (arg1
)->kde_net_wm_window_type_override
= arg2
;
4303 Py_INCREF(Py_None
); resultobj
= Py_None
;
4310 static PyObject
*_wrap_Atoms_kde_net_wm_window_type_override_get(PyObject
*self
, PyObject
*args
) {
4311 PyObject
*resultobj
;
4312 otk::Atoms
*arg1
= (otk::Atoms
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4316 if(!PyArg_ParseTuple(args
,(char *)"O:Atoms_kde_net_wm_window_type_override_get",&obj0
)) goto fail
;
4317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Atoms
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4318 result
= (Atom
) ((arg1
)->kde_net_wm_window_type_override
);
4320 resultobj
= PyInt_FromLong((long)result
);
4327 static PyObject
* Atoms_swigregister(PyObject
*self
, PyObject
*args
) {
4329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4330 SWIG_TypeClientData(SWIGTYPE_p_otk__Atoms
, obj
);
4332 return Py_BuildValue((char *)"");
4334 static PyObject
*_wrap_Property_initialize(PyObject
*self
, PyObject
*args
) {
4335 PyObject
*resultobj
;
4337 if(!PyArg_ParseTuple(args
,(char *)":Property_initialize")) goto fail
;
4338 otk::Property::initialize();
4340 Py_INCREF(Py_None
); resultobj
= Py_None
;
4347 static PyObject
*_wrap_Property_set__SWIG_0(PyObject
*self
, PyObject
*args
) {
4348 PyObject
*resultobj
;
4352 unsigned long arg4
;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 PyObject
* obj2
= 0 ;
4356 PyObject
* obj3
= 0 ;
4358 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Property_set",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4359 arg1
= (Window
) PyInt_AsLong(obj0
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4361 arg2
= (Atom
) PyInt_AsLong(obj1
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4363 arg3
= (Atom
) PyInt_AsLong(obj2
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4365 arg4
= (unsigned long) PyInt_AsLong(obj3
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4367 otk::Property::set(arg1
,arg2
,arg3
,arg4
);
4369 Py_INCREF(Py_None
); resultobj
= Py_None
;
4376 static PyObject
*_wrap_Property_set__SWIG_1(PyObject
*self
, PyObject
*args
) {
4377 PyObject
*resultobj
;
4381 unsigned long *arg4
;
4383 PyObject
* obj0
= 0 ;
4384 PyObject
* obj1
= 0 ;
4385 PyObject
* obj2
= 0 ;
4386 PyObject
* obj3
= 0 ;
4388 if(!PyArg_ParseTuple(args
,(char *)"OOOOi:Property_set",&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
4389 arg1
= (Window
) PyInt_AsLong(obj0
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4391 arg2
= (Atom
) PyInt_AsLong(obj1
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4393 arg3
= (Atom
) PyInt_AsLong(obj2
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4395 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4396 otk::Property::set(arg1
,arg2
,arg3
,arg4
,arg5
);
4398 Py_INCREF(Py_None
); resultobj
= Py_None
;
4405 static PyObject
*_wrap_Property_set__SWIG_2(PyObject
*self
, PyObject
*args
) {
4406 PyObject
*resultobj
;
4410 otk::ustring
*arg4
= 0 ;
4411 otk::ustring temp4
;
4412 PyObject
* obj0
= 0 ;
4413 PyObject
* obj1
= 0 ;
4414 PyObject
* obj3
= 0 ;
4416 if(!PyArg_ParseTuple(args
,(char *)"OOiO:Property_set",&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4417 arg1
= (Window
) PyInt_AsLong(obj0
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4419 arg2
= (Atom
) PyInt_AsLong(obj1
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 if (PyString_Check(obj3
)) {
4423 temp4
= otk::ustring(PyString_AsString(obj3
));
4426 SWIG_exception(SWIG_TypeError
, "ustring expected");
4429 otk::Property::set(arg1
,arg2
,(otk::Property::StringType
)arg3
,(otk::ustring
const &)*arg4
);
4431 Py_INCREF(Py_None
); resultobj
= Py_None
;
4438 static PyObject
*_wrap_Property_set__SWIG_3(PyObject
*self
, PyObject
*args
) {
4439 PyObject
*resultobj
;
4443 otk::Property::StringVect
*arg4
= 0 ;
4444 PyObject
* obj0
= 0 ;
4445 PyObject
* obj1
= 0 ;
4446 PyObject
* obj3
= 0 ;
4448 if(!PyArg_ParseTuple(args
,(char *)"OOiO:Property_set",&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4449 arg1
= (Window
) PyInt_AsLong(obj0
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4451 arg2
= (Atom
) PyInt_AsLong(obj1
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4453 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__Property__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4457 otk::Property::set(arg1
,arg2
,(otk::Property::StringType
)arg3
,(otk::Property::StringVect
const &)*arg4
);
4459 Py_INCREF(Py_None
); resultobj
= Py_None
;
4466 static PyObject
*_wrap_Property_set(PyObject
*self
, PyObject
*args
) {
4471 argc
= PyObject_Length(args
);
4472 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
4473 argv
[ii
] = PyTuple_GetItem(args
,ii
);
4478 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4482 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4486 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4491 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_otk__Property__StringVect
, 0) == -1) {
4499 return _wrap_Property_set__SWIG_3(self
,args
);
4508 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4512 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4516 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4520 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
4523 return _wrap_Property_set__SWIG_0(self
,args
);
4532 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4536 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4540 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4544 _v
= PyString_Check(argv
[3]) ? 1 : 0;
4547 return _wrap_Property_set__SWIG_2(self
,args
);
4556 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4560 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4564 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4569 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
4578 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
4581 return _wrap_Property_set__SWIG_1(self
,args
);
4589 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Property_set'");
4594 static PyObject
*_wrap_Property_get__SWIG_0(PyObject
*self
, PyObject
*args
) {
4595 PyObject
*resultobj
;
4599 unsigned long *arg4
= (unsigned long *) 0 ;
4600 unsigned long **arg5
= (unsigned long **) 0 ;
4602 PyObject
* obj0
= 0 ;
4603 PyObject
* obj1
= 0 ;
4604 PyObject
* obj2
= 0 ;
4605 PyObject
* obj3
= 0 ;
4606 PyObject
* obj4
= 0 ;
4608 if(!PyArg_ParseTuple(args
,(char *)"OOOOO:Property_get",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4609 arg1
= (Window
) PyInt_AsLong(obj0
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4611 arg2
= (Atom
) PyInt_AsLong(obj1
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4613 arg3
= (Atom
) PyInt_AsLong(obj2
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4615 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4616 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4617 result
= (bool)otk::Property::get(arg1
,arg2
,arg3
,arg4
,arg5
);
4619 resultobj
= PyInt_FromLong((long)result
);
4626 static PyObject
*_wrap_Property_get__SWIG_1(PyObject
*self
, PyObject
*args
) {
4627 PyObject
*resultobj
;
4631 unsigned long *arg4
= (unsigned long *) 0 ;
4633 PyObject
* obj0
= 0 ;
4634 PyObject
* obj1
= 0 ;
4635 PyObject
* obj2
= 0 ;
4636 PyObject
* obj3
= 0 ;
4638 if(!PyArg_ParseTuple(args
,(char *)"OOOO:Property_get",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4639 arg1
= (Window
) PyInt_AsLong(obj0
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4641 arg2
= (Atom
) PyInt_AsLong(obj1
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4643 arg3
= (Atom
) PyInt_AsLong(obj2
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4645 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4646 result
= (bool)otk::Property::get(arg1
,arg2
,arg3
,arg4
);
4648 resultobj
= PyInt_FromLong((long)result
);
4655 static PyObject
*_wrap_Property_get__SWIG_2(PyObject
*self
, PyObject
*args
) {
4656 PyObject
*resultobj
;
4660 otk::ustring
*arg4
= (otk::ustring
*) 0 ;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj1
= 0 ;
4664 PyObject
* obj3
= 0 ;
4666 if(!PyArg_ParseTuple(args
,(char *)"OOiO:Property_get",&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4667 arg1
= (Window
) PyInt_AsLong(obj0
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4669 arg2
= (Atom
) PyInt_AsLong(obj1
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4671 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_otk__ustring
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4672 result
= (bool)otk::Property::get(arg1
,arg2
,(otk::Property::StringType
)arg3
,arg4
);
4674 resultobj
= PyInt_FromLong((long)result
);
4681 static PyObject
*_wrap_Property_get__SWIG_3(PyObject
*self
, PyObject
*args
) {
4682 PyObject
*resultobj
;
4686 unsigned long *arg4
= (unsigned long *) 0 ;
4687 otk::Property::StringVect
*arg5
= (otk::Property::StringVect
*) 0 ;
4689 PyObject
* obj0
= 0 ;
4690 PyObject
* obj1
= 0 ;
4691 PyObject
* obj3
= 0 ;
4692 PyObject
* obj4
= 0 ;
4694 if(!PyArg_ParseTuple(args
,(char *)"OOiOO:Property_get",&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
4695 arg1
= (Window
) PyInt_AsLong(obj0
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4697 arg2
= (Atom
) PyInt_AsLong(obj1
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4699 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4700 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_otk__Property__StringVect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4701 result
= (bool)otk::Property::get(arg1
,arg2
,(otk::Property::StringType
)arg3
,arg4
,arg5
);
4703 resultobj
= PyInt_FromLong((long)result
);
4710 static PyObject
*_wrap_Property_get(PyObject
*self
, PyObject
*args
) {
4715 argc
= PyObject_Length(args
);
4716 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
4717 argv
[ii
] = PyTuple_GetItem(args
,ii
);
4722 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4726 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4730 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4735 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
4743 return _wrap_Property_get__SWIG_1(self
,args
);
4752 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4756 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4760 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4765 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_otk__ustring
, 0) == -1) {
4773 return _wrap_Property_get__SWIG_2(self
,args
);
4782 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4786 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4790 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4795 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
4805 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_p_unsigned_long
, 0) == -1) {
4813 return _wrap_Property_get__SWIG_0(self
,args
);
4823 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
4827 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
4831 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
4836 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_unsigned_long
, 0) == -1) {
4846 if (SWIG_ConvertPtr(argv
[4], (void **) &ptr
, SWIGTYPE_p_otk__Property__StringVect
, 0) == -1) {
4854 return _wrap_Property_get__SWIG_3(self
,args
);
4862 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Property_get'");
4867 static PyObject
*_wrap_Property_erase(PyObject
*self
, PyObject
*args
) {
4868 PyObject
*resultobj
;
4871 PyObject
* obj0
= 0 ;
4872 PyObject
* obj1
= 0 ;
4874 if(!PyArg_ParseTuple(args
,(char *)"OO:Property_erase",&obj0
,&obj1
)) goto fail
;
4875 arg1
= (Window
) PyInt_AsLong(obj0
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4877 arg2
= (Atom
) PyInt_AsLong(obj1
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4879 otk::Property::erase(arg1
,arg2
);
4881 Py_INCREF(Py_None
); resultobj
= Py_None
;
4888 static PyObject
* Property_swigregister(PyObject
*self
, PyObject
*args
) {
4890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4891 SWIG_TypeClientData(SWIGTYPE_p_otk__Property
, obj
);
4893 return Py_BuildValue((char *)"");
4895 static PyObject
*_wrap_new_Rect__SWIG_0(PyObject
*self
, PyObject
*args
) {
4896 PyObject
*resultobj
;
4899 if(!PyArg_ParseTuple(args
,(char *)":new_Rect")) goto fail
;
4900 result
= (otk::Rect
*)new otk::Rect();
4902 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
4909 static PyObject
*_wrap_new_Rect__SWIG_1(PyObject
*self
, PyObject
*args
) {
4910 PyObject
*resultobj
;
4917 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Rect",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
4918 result
= (otk::Rect
*)new otk::Rect(arg1
,arg2
,arg3
,arg4
);
4920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
4927 static PyObject
*_wrap_new_Rect__SWIG_2(PyObject
*self
, PyObject
*args
) {
4928 PyObject
*resultobj
;
4929 otk::Point
*arg1
= 0 ;
4930 otk::Point
*arg2
= 0 ;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4935 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Rect",&obj0
,&obj1
)) goto fail
;
4936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4938 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4942 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4944 result
= (otk::Rect
*)new otk::Rect((otk::Point
const &)*arg1
,(otk::Point
const &)*arg2
);
4946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
4953 static PyObject
*_wrap_new_Rect__SWIG_3(PyObject
*self
, PyObject
*args
) {
4954 PyObject
*resultobj
;
4955 otk::Rect
*arg1
= 0 ;
4957 PyObject
* obj0
= 0 ;
4959 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
4960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4964 result
= (otk::Rect
*)new otk::Rect((otk::Rect
const &)*arg1
);
4966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
4973 static PyObject
*_wrap_new_Rect__SWIG_4(PyObject
*self
, PyObject
*args
) {
4974 PyObject
*resultobj
;
4975 XRectangle
*arg1
= 0 ;
4977 PyObject
* obj0
= 0 ;
4979 if(!PyArg_ParseTuple(args
,(char *)"O:new_Rect",&obj0
)) goto fail
;
4980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_XRectangle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4982 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4984 result
= (otk::Rect
*)new otk::Rect((XRectangle
const &)*arg1
);
4986 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 1);
4993 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
) {
4998 argc
= PyObject_Length(args
);
4999 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5000 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5003 return _wrap_new_Rect__SWIG_0(self
,args
);
5009 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5017 return _wrap_new_Rect__SWIG_3(self
,args
);
5024 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_XRectangle
, 0) == -1) {
5032 return _wrap_new_Rect__SWIG_4(self
,args
);
5039 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5049 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5057 return _wrap_new_Rect__SWIG_2(self
,args
);
5064 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
5068 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
5072 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
5076 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5079 return _wrap_new_Rect__SWIG_1(self
,args
);
5086 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Rect'");
5091 static PyObject
*_wrap_Rect_left(PyObject
*self
, PyObject
*args
) {
5092 PyObject
*resultobj
;
5093 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5095 PyObject
* obj0
= 0 ;
5097 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_left",&obj0
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5099 result
= (int)((otk::Rect
const *)arg1
)->left();
5101 resultobj
= PyInt_FromLong((long)result
);
5108 static PyObject
*_wrap_Rect_top(PyObject
*self
, PyObject
*args
) {
5109 PyObject
*resultobj
;
5110 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5112 PyObject
* obj0
= 0 ;
5114 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_top",&obj0
)) goto fail
;
5115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5116 result
= (int)((otk::Rect
const *)arg1
)->top();
5118 resultobj
= PyInt_FromLong((long)result
);
5125 static PyObject
*_wrap_Rect_right(PyObject
*self
, PyObject
*args
) {
5126 PyObject
*resultobj
;
5127 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5129 PyObject
* obj0
= 0 ;
5131 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_right",&obj0
)) goto fail
;
5132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5133 result
= (int)((otk::Rect
const *)arg1
)->right();
5135 resultobj
= PyInt_FromLong((long)result
);
5142 static PyObject
*_wrap_Rect_bottom(PyObject
*self
, PyObject
*args
) {
5143 PyObject
*resultobj
;
5144 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5148 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_bottom",&obj0
)) goto fail
;
5149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5150 result
= (int)((otk::Rect
const *)arg1
)->bottom();
5152 resultobj
= PyInt_FromLong((long)result
);
5159 static PyObject
*_wrap_Rect_x(PyObject
*self
, PyObject
*args
) {
5160 PyObject
*resultobj
;
5161 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5165 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_x",&obj0
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5167 result
= (int)((otk::Rect
const *)arg1
)->x();
5169 resultobj
= PyInt_FromLong((long)result
);
5176 static PyObject
*_wrap_Rect_y(PyObject
*self
, PyObject
*args
) {
5177 PyObject
*resultobj
;
5178 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5180 PyObject
* obj0
= 0 ;
5182 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_y",&obj0
)) goto fail
;
5183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5184 result
= (int)((otk::Rect
const *)arg1
)->y();
5186 resultobj
= PyInt_FromLong((long)result
);
5193 static PyObject
*_wrap_Rect_location(PyObject
*self
, PyObject
*args
) {
5194 PyObject
*resultobj
;
5195 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5197 PyObject
* obj0
= 0 ;
5199 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_location",&obj0
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5201 result
= ((otk::Rect
const *)arg1
)->location();
5204 otk::Point
* resultptr
;
5205 resultptr
= new otk::Point((otk::Point
&) result
);
5206 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
5214 static PyObject
*_wrap_Rect_setX(PyObject
*self
, PyObject
*args
) {
5215 PyObject
*resultobj
;
5216 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5220 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setX",&obj0
,&arg2
)) goto fail
;
5221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5224 Py_INCREF(Py_None
); resultobj
= Py_None
;
5231 static PyObject
*_wrap_Rect_setY(PyObject
*self
, PyObject
*args
) {
5232 PyObject
*resultobj
;
5233 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5235 PyObject
* obj0
= 0 ;
5237 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setY",&obj0
,&arg2
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5241 Py_INCREF(Py_None
); resultobj
= Py_None
;
5248 static PyObject
*_wrap_Rect_setPos__SWIG_0(PyObject
*self
, PyObject
*args
) {
5249 PyObject
*resultobj
;
5250 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5253 PyObject
* obj0
= 0 ;
5255 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setPos",&obj0
,&arg2
,&arg3
)) goto fail
;
5256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5257 (arg1
)->setPos(arg2
,arg3
);
5259 Py_INCREF(Py_None
); resultobj
= Py_None
;
5266 static PyObject
*_wrap_Rect_setPos__SWIG_1(PyObject
*self
, PyObject
*args
) {
5267 PyObject
*resultobj
;
5268 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5269 otk::Point
*arg2
= 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5273 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setPos",&obj0
,&obj1
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5277 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5279 (arg1
)->setPos((otk::Point
const &)*arg2
);
5281 Py_INCREF(Py_None
); resultobj
= Py_None
;
5288 static PyObject
*_wrap_Rect_setPos(PyObject
*self
, PyObject
*args
) {
5293 argc
= PyObject_Length(args
);
5294 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
5295 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5301 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5311 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5319 return _wrap_Rect_setPos__SWIG_1(self
,args
);
5327 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5336 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
5340 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
5343 return _wrap_Rect_setPos__SWIG_0(self
,args
);
5349 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setPos'");
5354 static PyObject
*_wrap_Rect_width(PyObject
*self
, PyObject
*args
) {
5355 PyObject
*resultobj
;
5356 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5358 PyObject
* obj0
= 0 ;
5360 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_width",&obj0
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5362 result
= (int)((otk::Rect
const *)arg1
)->width();
5364 resultobj
= PyInt_FromLong((long)result
);
5371 static PyObject
*_wrap_Rect_height(PyObject
*self
, PyObject
*args
) {
5372 PyObject
*resultobj
;
5373 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5375 PyObject
* obj0
= 0 ;
5377 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_height",&obj0
)) goto fail
;
5378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5379 result
= (int)((otk::Rect
const *)arg1
)->height();
5381 resultobj
= PyInt_FromLong((long)result
);
5388 static PyObject
*_wrap_Rect_size(PyObject
*self
, PyObject
*args
) {
5389 PyObject
*resultobj
;
5390 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5394 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_size",&obj0
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5396 result
= ((otk::Rect
const *)arg1
)->size();
5399 otk::Point
* resultptr
;
5400 resultptr
= new otk::Point((otk::Point
&) result
);
5401 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Point
, 1);
5409 static PyObject
*_wrap_Rect_setWidth(PyObject
*self
, PyObject
*args
) {
5410 PyObject
*resultobj
;
5411 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5415 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setWidth",&obj0
,&arg2
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5417 (arg1
)->setWidth(arg2
);
5419 Py_INCREF(Py_None
); resultobj
= Py_None
;
5426 static PyObject
*_wrap_Rect_setHeight(PyObject
*self
, PyObject
*args
) {
5427 PyObject
*resultobj
;
5428 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5430 PyObject
* obj0
= 0 ;
5432 if(!PyArg_ParseTuple(args
,(char *)"Oi:Rect_setHeight",&obj0
,&arg2
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5434 (arg1
)->setHeight(arg2
);
5436 Py_INCREF(Py_None
); resultobj
= Py_None
;
5443 static PyObject
*_wrap_Rect_setSize__SWIG_0(PyObject
*self
, PyObject
*args
) {
5444 PyObject
*resultobj
;
5445 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5448 PyObject
* obj0
= 0 ;
5450 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_setSize",&obj0
,&arg2
,&arg3
)) goto fail
;
5451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5452 (arg1
)->setSize(arg2
,arg3
);
5454 Py_INCREF(Py_None
); resultobj
= Py_None
;
5461 static PyObject
*_wrap_Rect_setSize__SWIG_1(PyObject
*self
, PyObject
*args
) {
5462 PyObject
*resultobj
;
5463 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5464 otk::Point
*arg2
= 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5468 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_setSize",&obj0
,&obj1
)) goto fail
;
5469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5472 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5474 (arg1
)->setSize((otk::Point
const &)*arg2
);
5476 Py_INCREF(Py_None
); resultobj
= Py_None
;
5483 static PyObject
*_wrap_Rect_setSize(PyObject
*self
, PyObject
*args
) {
5488 argc
= PyObject_Length(args
);
5489 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
5490 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5496 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5506 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5514 return _wrap_Rect_setSize__SWIG_1(self
,args
);
5522 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5531 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
5535 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
5538 return _wrap_Rect_setSize__SWIG_0(self
,args
);
5544 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setSize'");
5549 static PyObject
*_wrap_Rect_setRect__SWIG_0(PyObject
*self
, PyObject
*args
) {
5550 PyObject
*resultobj
;
5551 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5556 PyObject
* obj0
= 0 ;
5558 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setRect",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5560 (arg1
)->setRect(arg2
,arg3
,arg4
,arg5
);
5562 Py_INCREF(Py_None
); resultobj
= Py_None
;
5569 static PyObject
*_wrap_Rect_setRect__SWIG_1(PyObject
*self
, PyObject
*args
) {
5570 PyObject
*resultobj
;
5571 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5572 otk::Point
*arg2
= 0 ;
5573 otk::Point
*arg3
= 0 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5576 PyObject
* obj2
= 0 ;
5578 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setRect",&obj0
,&obj1
,&obj2
)) goto fail
;
5579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5584 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5586 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5588 (arg1
)->setRect((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
5590 Py_INCREF(Py_None
); resultobj
= Py_None
;
5597 static PyObject
*_wrap_Rect_setRect(PyObject
*self
, PyObject
*args
) {
5602 argc
= PyObject_Length(args
);
5603 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
5604 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5610 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5620 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5630 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5638 return _wrap_Rect_setRect__SWIG_1(self
,args
);
5647 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5656 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
5660 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
5664 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5668 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
5671 return _wrap_Rect_setRect__SWIG_0(self
,args
);
5679 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setRect'");
5684 static PyObject
*_wrap_Rect_setCoords__SWIG_0(PyObject
*self
, PyObject
*args
) {
5685 PyObject
*resultobj
;
5686 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5693 if(!PyArg_ParseTuple(args
,(char *)"Oiiii:Rect_setCoords",&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5695 (arg1
)->setCoords(arg2
,arg3
,arg4
,arg5
);
5697 Py_INCREF(Py_None
); resultobj
= Py_None
;
5704 static PyObject
*_wrap_Rect_setCoords__SWIG_1(PyObject
*self
, PyObject
*args
) {
5705 PyObject
*resultobj
;
5706 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5707 otk::Point
*arg2
= 0 ;
5708 otk::Point
*arg3
= 0 ;
5709 PyObject
* obj0
= 0 ;
5710 PyObject
* obj1
= 0 ;
5711 PyObject
* obj2
= 0 ;
5713 if(!PyArg_ParseTuple(args
,(char *)"OOO:Rect_setCoords",&obj0
,&obj1
,&obj2
)) goto fail
;
5714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5715 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5717 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5719 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5721 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5723 (arg1
)->setCoords((otk::Point
const &)*arg2
,(otk::Point
const &)*arg3
);
5725 Py_INCREF(Py_None
); resultobj
= Py_None
;
5732 static PyObject
*_wrap_Rect_setCoords(PyObject
*self
, PyObject
*args
) {
5737 argc
= PyObject_Length(args
);
5738 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
5739 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5745 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5755 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5765 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
5773 return _wrap_Rect_setCoords__SWIG_1(self
,args
);
5782 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
5791 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
5795 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
5799 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5803 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
5806 return _wrap_Rect_setCoords__SWIG_0(self
,args
);
5814 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_setCoords'");
5819 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
) {
5820 PyObject
*resultobj
;
5821 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5822 otk::Rect
*arg2
= 0 ;
5824 PyObject
* obj0
= 0 ;
5825 PyObject
* obj1
= 0 ;
5827 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___eq__",&obj0
,&obj1
)) goto fail
;
5828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5829 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5831 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5833 result
= (bool)(arg1
)->operator ==((otk::Rect
const &)*arg2
);
5835 resultobj
= PyInt_FromLong((long)result
);
5842 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
) {
5843 PyObject
*resultobj
;
5844 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5845 otk::Rect
*arg2
= 0 ;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5850 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___ne__",&obj0
,&obj1
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5852 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5854 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5856 result
= (bool)(arg1
)->operator !=((otk::Rect
const &)*arg2
);
5858 resultobj
= PyInt_FromLong((long)result
);
5865 static PyObject
*_wrap_Rect___or__(PyObject
*self
, PyObject
*args
) {
5866 PyObject
*resultobj
;
5867 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5868 otk::Rect
*arg2
= 0 ;
5870 PyObject
* obj0
= 0 ;
5871 PyObject
* obj1
= 0 ;
5873 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___or__",&obj0
,&obj1
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5875 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5877 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5879 result
= ((otk::Rect
const *)arg1
)->operator |((otk::Rect
const &)*arg2
);
5882 otk::Rect
* resultptr
;
5883 resultptr
= new otk::Rect((otk::Rect
&) result
);
5884 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Rect
, 1);
5892 static PyObject
*_wrap_Rect___and__(PyObject
*self
, PyObject
*args
) {
5893 PyObject
*resultobj
;
5894 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5895 otk::Rect
*arg2
= 0 ;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj1
= 0 ;
5900 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___and__",&obj0
,&obj1
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5906 result
= ((otk::Rect
const *)arg1
)->operator &((otk::Rect
const &)*arg2
);
5909 otk::Rect
* resultptr
;
5910 resultptr
= new otk::Rect((otk::Rect
&) result
);
5911 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_otk__Rect
, 1);
5919 static PyObject
*_wrap_Rect___ior__(PyObject
*self
, PyObject
*args
) {
5920 PyObject
*resultobj
;
5921 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5922 otk::Rect
*arg2
= 0 ;
5924 PyObject
* obj0
= 0 ;
5925 PyObject
* obj1
= 0 ;
5927 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___ior__",&obj0
,&obj1
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5934 otk::Rect
&_result_ref
= (arg1
)->operator |=((otk::Rect
const &)*arg2
);
5935 result
= (otk::Rect
*) &_result_ref
;
5938 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
5945 static PyObject
*_wrap_Rect___iand__(PyObject
*self
, PyObject
*args
) {
5946 PyObject
*resultobj
;
5947 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5948 otk::Rect
*arg2
= 0 ;
5950 PyObject
* obj0
= 0 ;
5951 PyObject
* obj1
= 0 ;
5953 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect___iand__",&obj0
,&obj1
)) goto fail
;
5954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5960 otk::Rect
&_result_ref
= (arg1
)->operator &=((otk::Rect
const &)*arg2
);
5961 result
= (otk::Rect
*) &_result_ref
;
5964 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
5971 static PyObject
*_wrap_Rect_valid(PyObject
*self
, PyObject
*args
) {
5972 PyObject
*resultobj
;
5973 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5975 PyObject
* obj0
= 0 ;
5977 if(!PyArg_ParseTuple(args
,(char *)"O:Rect_valid",&obj0
)) goto fail
;
5978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5979 result
= (bool)((otk::Rect
const *)arg1
)->valid();
5981 resultobj
= PyInt_FromLong((long)result
);
5988 static PyObject
*_wrap_Rect_intersects(PyObject
*self
, PyObject
*args
) {
5989 PyObject
*resultobj
;
5990 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
5991 otk::Rect
*arg2
= 0 ;
5993 PyObject
* obj0
= 0 ;
5994 PyObject
* obj1
= 0 ;
5996 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_intersects",&obj0
,&obj1
)) goto fail
;
5997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6000 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6002 result
= (bool)((otk::Rect
const *)arg1
)->intersects((otk::Rect
const &)*arg2
);
6004 resultobj
= PyInt_FromLong((long)result
);
6011 static PyObject
*_wrap_Rect_contains__SWIG_0(PyObject
*self
, PyObject
*args
) {
6012 PyObject
*resultobj
;
6013 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
6017 PyObject
* obj0
= 0 ;
6019 if(!PyArg_ParseTuple(args
,(char *)"Oii:Rect_contains",&obj0
,&arg2
,&arg3
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6021 result
= (bool)((otk::Rect
const *)arg1
)->contains(arg2
,arg3
);
6023 resultobj
= PyInt_FromLong((long)result
);
6030 static PyObject
*_wrap_Rect_contains__SWIG_1(PyObject
*self
, PyObject
*args
) {
6031 PyObject
*resultobj
;
6032 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
6033 otk::Point
*arg2
= 0 ;
6035 PyObject
* obj0
= 0 ;
6036 PyObject
* obj1
= 0 ;
6038 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6040 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6042 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6044 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Point
const &)*arg2
);
6046 resultobj
= PyInt_FromLong((long)result
);
6053 static PyObject
*_wrap_Rect_contains__SWIG_2(PyObject
*self
, PyObject
*args
) {
6054 PyObject
*resultobj
;
6055 otk::Rect
*arg1
= (otk::Rect
*) 0 ;
6056 otk::Rect
*arg2
= 0 ;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6061 if(!PyArg_ParseTuple(args
,(char *)"OO:Rect_contains",&obj0
,&obj1
)) goto fail
;
6062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6067 result
= (bool)((otk::Rect
const *)arg1
)->contains((otk::Rect
const &)*arg2
);
6069 resultobj
= PyInt_FromLong((long)result
);
6076 static PyObject
*_wrap_Rect_contains(PyObject
*self
, PyObject
*args
) {
6081 argc
= PyObject_Length(args
);
6082 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6083 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6089 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
6099 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
6107 return _wrap_Rect_contains__SWIG_1(self
,args
);
6115 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
6125 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
6133 return _wrap_Rect_contains__SWIG_2(self
,args
);
6141 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
6150 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6154 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6157 return _wrap_Rect_contains__SWIG_0(self
,args
);
6163 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Rect_contains'");
6168 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
6170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6171 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect
, obj
);
6173 return Py_BuildValue((char *)"");
6175 static PyObject
*_wrap_new_ScreenInfo(PyObject
*self
, PyObject
*args
) {
6176 PyObject
*resultobj
;
6178 otk::ScreenInfo
*result
;
6179 PyObject
* obj0
= 0 ;
6181 if(!PyArg_ParseTuple(args
,(char *)"O:new_ScreenInfo",&obj0
)) goto fail
;
6182 arg1
= (unsigned int) PyInt_AsLong(obj0
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6184 result
= (otk::ScreenInfo
*)new otk::ScreenInfo(arg1
);
6186 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ScreenInfo
, 1);
6193 static PyObject
*_wrap_ScreenInfo_visual(PyObject
*self
, PyObject
*args
) {
6194 PyObject
*resultobj
;
6195 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6199 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_visual",&obj0
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6201 result
= (Visual
*)((otk::ScreenInfo
const *)arg1
)->visual();
6203 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_Visual
, 0);
6210 static PyObject
*_wrap_ScreenInfo_rootWindow(PyObject
*self
, PyObject
*args
) {
6211 PyObject
*resultobj
;
6212 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6216 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rootWindow",&obj0
)) goto fail
;
6217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6218 result
= (Window
)((otk::ScreenInfo
const *)arg1
)->rootWindow();
6220 resultobj
= PyInt_FromLong((long)result
);
6227 static PyObject
*_wrap_ScreenInfo_colormap(PyObject
*self
, PyObject
*args
) {
6228 PyObject
*resultobj
;
6229 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6231 PyObject
* obj0
= 0 ;
6233 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_colormap",&obj0
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6235 result
= (Colormap
)((otk::ScreenInfo
const *)arg1
)->colormap();
6237 resultobj
= PyInt_FromLong((long)result
);
6244 static PyObject
*_wrap_ScreenInfo_depth(PyObject
*self
, PyObject
*args
) {
6245 PyObject
*resultobj
;
6246 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_depth",&obj0
)) goto fail
;
6251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6252 result
= (int)((otk::ScreenInfo
const *)arg1
)->depth();
6254 resultobj
= PyInt_FromLong((long)result
);
6261 static PyObject
*_wrap_ScreenInfo_screen(PyObject
*self
, PyObject
*args
) {
6262 PyObject
*resultobj
;
6263 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6264 unsigned int result
;
6265 PyObject
* obj0
= 0 ;
6267 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_screen",&obj0
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6269 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->screen();
6271 resultobj
= PyInt_FromLong((long)result
);
6278 static PyObject
*_wrap_ScreenInfo_rect(PyObject
*self
, PyObject
*args
) {
6279 PyObject
*resultobj
;
6280 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6284 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_rect",&obj0
)) goto fail
;
6285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6287 otk::Rect
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->rect();
6288 result
= (otk::Rect
*) &_result_ref
;
6291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
6298 static PyObject
*_wrap_ScreenInfo_width(PyObject
*self
, PyObject
*args
) {
6299 PyObject
*resultobj
;
6300 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6301 unsigned int result
;
6302 PyObject
* obj0
= 0 ;
6304 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_width",&obj0
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6306 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->width();
6308 resultobj
= PyInt_FromLong((long)result
);
6315 static PyObject
*_wrap_ScreenInfo_height(PyObject
*self
, PyObject
*args
) {
6316 PyObject
*resultobj
;
6317 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6318 unsigned int result
;
6319 PyObject
* obj0
= 0 ;
6321 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_height",&obj0
)) goto fail
;
6322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6323 result
= (unsigned int)((otk::ScreenInfo
const *)arg1
)->height();
6325 resultobj
= PyInt_FromLong((long)result
);
6332 static PyObject
*_wrap_ScreenInfo_displayString(PyObject
*self
, PyObject
*args
) {
6333 PyObject
*resultobj
;
6334 otk::ScreenInfo
*arg1
= (otk::ScreenInfo
*) 0 ;
6335 std::string
*result
;
6336 PyObject
* obj0
= 0 ;
6338 if(!PyArg_ParseTuple(args
,(char *)"O:ScreenInfo_displayString",&obj0
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__ScreenInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6341 std::string
const &_result_ref
= ((otk::ScreenInfo
const *)arg1
)->displayString();
6342 result
= (std::string
*) &_result_ref
;
6346 resultobj
= PyString_FromString(result
->c_str());
6354 static PyObject
* ScreenInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6357 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo
, obj
);
6359 return Py_BuildValue((char *)"");
6361 static PyObject
*_wrap_Strut_top_set(PyObject
*self
, PyObject
*args
) {
6362 PyObject
*resultobj
;
6363 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6366 PyObject
* obj1
= 0 ;
6368 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_top_set",&obj0
,&obj1
)) goto fail
;
6369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6370 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6372 if (arg1
) (arg1
)->top
= arg2
;
6374 Py_INCREF(Py_None
); resultobj
= Py_None
;
6381 static PyObject
*_wrap_Strut_top_get(PyObject
*self
, PyObject
*args
) {
6382 PyObject
*resultobj
;
6383 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6384 unsigned int result
;
6385 PyObject
* obj0
= 0 ;
6387 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_top_get",&obj0
)) goto fail
;
6388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6389 result
= (unsigned int) ((arg1
)->top
);
6391 resultobj
= PyInt_FromLong((long)result
);
6398 static PyObject
*_wrap_Strut_bottom_set(PyObject
*self
, PyObject
*args
) {
6399 PyObject
*resultobj
;
6400 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6402 PyObject
* obj0
= 0 ;
6403 PyObject
* obj1
= 0 ;
6405 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_bottom_set",&obj0
,&obj1
)) goto fail
;
6406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6407 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6409 if (arg1
) (arg1
)->bottom
= arg2
;
6411 Py_INCREF(Py_None
); resultobj
= Py_None
;
6418 static PyObject
*_wrap_Strut_bottom_get(PyObject
*self
, PyObject
*args
) {
6419 PyObject
*resultobj
;
6420 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6421 unsigned int result
;
6422 PyObject
* obj0
= 0 ;
6424 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_bottom_get",&obj0
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6426 result
= (unsigned int) ((arg1
)->bottom
);
6428 resultobj
= PyInt_FromLong((long)result
);
6435 static PyObject
*_wrap_Strut_left_set(PyObject
*self
, PyObject
*args
) {
6436 PyObject
*resultobj
;
6437 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6439 PyObject
* obj0
= 0 ;
6440 PyObject
* obj1
= 0 ;
6442 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_left_set",&obj0
,&obj1
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6444 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6446 if (arg1
) (arg1
)->left
= arg2
;
6448 Py_INCREF(Py_None
); resultobj
= Py_None
;
6455 static PyObject
*_wrap_Strut_left_get(PyObject
*self
, PyObject
*args
) {
6456 PyObject
*resultobj
;
6457 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6458 unsigned int result
;
6459 PyObject
* obj0
= 0 ;
6461 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_left_get",&obj0
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6463 result
= (unsigned int) ((arg1
)->left
);
6465 resultobj
= PyInt_FromLong((long)result
);
6472 static PyObject
*_wrap_Strut_right_set(PyObject
*self
, PyObject
*args
) {
6473 PyObject
*resultobj
;
6474 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6477 PyObject
* obj1
= 0 ;
6479 if(!PyArg_ParseTuple(args
,(char *)"OO:Strut_right_set",&obj0
,&obj1
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6481 arg2
= (unsigned int) PyInt_AsLong(obj1
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6483 if (arg1
) (arg1
)->right
= arg2
;
6485 Py_INCREF(Py_None
); resultobj
= Py_None
;
6492 static PyObject
*_wrap_Strut_right_get(PyObject
*self
, PyObject
*args
) {
6493 PyObject
*resultobj
;
6494 otk::Strut
*arg1
= (otk::Strut
*) 0 ;
6495 unsigned int result
;
6496 PyObject
* obj0
= 0 ;
6498 if(!PyArg_ParseTuple(args
,(char *)"O:Strut_right_get",&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__Strut
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6500 result
= (unsigned int) ((arg1
)->right
);
6502 resultobj
= PyInt_FromLong((long)result
);
6509 static PyObject
*_wrap_new_Strut__SWIG_0(PyObject
*self
, PyObject
*args
) {
6510 PyObject
*resultobj
;
6513 if(!PyArg_ParseTuple(args
,(char *)":new_Strut")) goto fail
;
6514 result
= (otk::Strut
*)new otk::Strut();
6516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
6523 static PyObject
*_wrap_new_Strut__SWIG_1(PyObject
*self
, PyObject
*args
) {
6524 PyObject
*resultobj
;
6531 if(!PyArg_ParseTuple(args
,(char *)"iiii:new_Strut",&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
6532 result
= (otk::Strut
*)new otk::Strut(arg1
,arg2
,arg3
,arg4
);
6534 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 1);
6541 static PyObject
*_wrap_new_Strut(PyObject
*self
, PyObject
*args
) {
6546 argc
= PyObject_Length(args
);
6547 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6548 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6551 return _wrap_new_Strut__SWIG_0(self
,args
);
6556 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
6560 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6564 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6568 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
6571 return _wrap_new_Strut__SWIG_1(self
,args
);
6578 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Strut'");
6583 static PyObject
* Strut_swigregister(PyObject
*self
, PyObject
*args
) {
6585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6586 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut
, obj
);
6588 return Py_BuildValue((char *)"");
6590 static PyObject
*_wrap_EventHandler_handle(PyObject
*self
, PyObject
*args
) {
6591 PyObject
*resultobj
;
6592 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6594 PyObject
* obj0
= 0 ;
6595 PyObject
* obj1
= 0 ;
6597 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_handle",&obj0
,&obj1
)) goto fail
;
6598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6603 (arg1
)->handle((XEvent
const &)*arg2
);
6605 Py_INCREF(Py_None
); resultobj
= Py_None
;
6612 static PyObject
*_wrap_EventHandler_keyPressHandler(PyObject
*self
, PyObject
*args
) {
6613 PyObject
*resultobj
;
6614 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6615 XKeyEvent
*arg2
= 0 ;
6616 PyObject
* obj0
= 0 ;
6617 PyObject
* obj1
= 0 ;
6619 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_keyPressHandler",&obj0
,&obj1
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6623 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6625 (arg1
)->keyPressHandler((XKeyEvent
const &)*arg2
);
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6634 static PyObject
*_wrap_EventHandler_keyReleaseHandler(PyObject
*self
, PyObject
*args
) {
6635 PyObject
*resultobj
;
6636 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6637 XKeyEvent
*arg2
= 0 ;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6641 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_keyReleaseHandler",&obj0
,&obj1
)) goto fail
;
6642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6643 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6645 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6647 (arg1
)->keyReleaseHandler((XKeyEvent
const &)*arg2
);
6649 Py_INCREF(Py_None
); resultobj
= Py_None
;
6656 static PyObject
*_wrap_EventHandler_buttonPressHandler(PyObject
*self
, PyObject
*args
) {
6657 PyObject
*resultobj
;
6658 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6659 XButtonEvent
*arg2
= 0 ;
6660 PyObject
* obj0
= 0 ;
6661 PyObject
* obj1
= 0 ;
6663 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_buttonPressHandler",&obj0
,&obj1
)) goto fail
;
6664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6669 (arg1
)->buttonPressHandler((XButtonEvent
const &)*arg2
);
6671 Py_INCREF(Py_None
); resultobj
= Py_None
;
6678 static PyObject
*_wrap_EventHandler_buttonReleaseHandler(PyObject
*self
, PyObject
*args
) {
6679 PyObject
*resultobj
;
6680 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6681 XButtonEvent
*arg2
= 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6685 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_buttonReleaseHandler",&obj0
,&obj1
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6687 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XButtonEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6689 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6691 (arg1
)->buttonReleaseHandler((XButtonEvent
const &)*arg2
);
6693 Py_INCREF(Py_None
); resultobj
= Py_None
;
6700 static PyObject
*_wrap_EventHandler_motionHandler(PyObject
*self
, PyObject
*args
) {
6701 PyObject
*resultobj
;
6702 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6703 XMotionEvent
*arg2
= 0 ;
6704 PyObject
* obj0
= 0 ;
6705 PyObject
* obj1
= 0 ;
6707 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_motionHandler",&obj0
,&obj1
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6709 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMotionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6711 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6713 (arg1
)->motionHandler((XMotionEvent
const &)*arg2
);
6715 Py_INCREF(Py_None
); resultobj
= Py_None
;
6722 static PyObject
*_wrap_EventHandler_enterHandler(PyObject
*self
, PyObject
*args
) {
6723 PyObject
*resultobj
;
6724 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6725 XCrossingEvent
*arg2
= 0 ;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6729 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_enterHandler",&obj0
,&obj1
)) goto fail
;
6730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCrossingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6733 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6735 (arg1
)->enterHandler((XCrossingEvent
const &)*arg2
);
6737 Py_INCREF(Py_None
); resultobj
= Py_None
;
6744 static PyObject
*_wrap_EventHandler_leaveHandler(PyObject
*self
, PyObject
*args
) {
6745 PyObject
*resultobj
;
6746 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6747 XCrossingEvent
*arg2
= 0 ;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6751 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_leaveHandler",&obj0
,&obj1
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCrossingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6755 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6757 (arg1
)->leaveHandler((XCrossingEvent
const &)*arg2
);
6759 Py_INCREF(Py_None
); resultobj
= Py_None
;
6766 static PyObject
*_wrap_EventHandler_focusHandler(PyObject
*self
, PyObject
*args
) {
6767 PyObject
*resultobj
;
6768 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6769 XFocusChangeEvent
*arg2
= 0 ;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6773 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_focusHandler",&obj0
,&obj1
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6775 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6777 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6779 (arg1
)->focusHandler((XFocusChangeEvent
const &)*arg2
);
6781 Py_INCREF(Py_None
); resultobj
= Py_None
;
6788 static PyObject
*_wrap_EventHandler_unfocusHandler(PyObject
*self
, PyObject
*args
) {
6789 PyObject
*resultobj
;
6790 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6791 XFocusChangeEvent
*arg2
= 0 ;
6792 PyObject
* obj0
= 0 ;
6793 PyObject
* obj1
= 0 ;
6795 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_unfocusHandler",&obj0
,&obj1
)) goto fail
;
6796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6797 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6799 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6801 (arg1
)->unfocusHandler((XFocusChangeEvent
const &)*arg2
);
6803 Py_INCREF(Py_None
); resultobj
= Py_None
;
6810 static PyObject
*_wrap_EventHandler_exposeHandler(PyObject
*self
, PyObject
*args
) {
6811 PyObject
*resultobj
;
6812 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6813 XExposeEvent
*arg2
= 0 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6817 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_exposeHandler",&obj0
,&obj1
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6823 (arg1
)->exposeHandler((XExposeEvent
const &)*arg2
);
6825 Py_INCREF(Py_None
); resultobj
= Py_None
;
6832 static PyObject
*_wrap_EventHandler_graphicsExposeHandler(PyObject
*self
, PyObject
*args
) {
6833 PyObject
*resultobj
;
6834 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6835 XGraphicsExposeEvent
*arg2
= 0 ;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6839 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_graphicsExposeHandler",&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XGraphicsExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6843 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6845 (arg1
)->graphicsExposeHandler((XGraphicsExposeEvent
const &)*arg2
);
6847 Py_INCREF(Py_None
); resultobj
= Py_None
;
6854 static PyObject
*_wrap_EventHandler_noExposeEventHandler(PyObject
*self
, PyObject
*args
) {
6855 PyObject
*resultobj
;
6856 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6857 XNoExposeEvent
*arg2
= 0 ;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6861 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_noExposeEventHandler",&obj0
,&obj1
)) goto fail
;
6862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6863 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XNoExposeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6865 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6867 (arg1
)->noExposeEventHandler((XNoExposeEvent
const &)*arg2
);
6869 Py_INCREF(Py_None
); resultobj
= Py_None
;
6876 static PyObject
*_wrap_EventHandler_circulateRequestHandler(PyObject
*self
, PyObject
*args
) {
6877 PyObject
*resultobj
;
6878 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6879 XCirculateRequestEvent
*arg2
= 0 ;
6880 PyObject
* obj0
= 0 ;
6881 PyObject
* obj1
= 0 ;
6883 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_circulateRequestHandler",&obj0
,&obj1
)) goto fail
;
6884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6885 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCirculateRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6887 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6889 (arg1
)->circulateRequestHandler((XCirculateRequestEvent
const &)*arg2
);
6891 Py_INCREF(Py_None
); resultobj
= Py_None
;
6898 static PyObject
*_wrap_EventHandler_configureRequestHandler(PyObject
*self
, PyObject
*args
) {
6899 PyObject
*resultobj
;
6900 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6901 XConfigureRequestEvent
*arg2
= 0 ;
6902 PyObject
* obj0
= 0 ;
6903 PyObject
* obj1
= 0 ;
6905 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_configureRequestHandler",&obj0
,&obj1
)) goto fail
;
6906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6909 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6911 (arg1
)->configureRequestHandler((XConfigureRequestEvent
const &)*arg2
);
6913 Py_INCREF(Py_None
); resultobj
= Py_None
;
6920 static PyObject
*_wrap_EventHandler_mapRequestHandler(PyObject
*self
, PyObject
*args
) {
6921 PyObject
*resultobj
;
6922 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6923 XMapRequestEvent
*arg2
= 0 ;
6924 PyObject
* obj0
= 0 ;
6925 PyObject
* obj1
= 0 ;
6927 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_mapRequestHandler",&obj0
,&obj1
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6933 (arg1
)->mapRequestHandler((XMapRequestEvent
const &)*arg2
);
6935 Py_INCREF(Py_None
); resultobj
= Py_None
;
6942 static PyObject
*_wrap_EventHandler_resizeRequestHandler(PyObject
*self
, PyObject
*args
) {
6943 PyObject
*resultobj
;
6944 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6945 XResizeRequestEvent
*arg2
= 0 ;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6949 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_resizeRequestHandler",&obj0
,&obj1
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XResizeRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6955 (arg1
)->resizeRequestHandler((XResizeRequestEvent
const &)*arg2
);
6957 Py_INCREF(Py_None
); resultobj
= Py_None
;
6964 static PyObject
*_wrap_EventHandler_circulateHandler(PyObject
*self
, PyObject
*args
) {
6965 PyObject
*resultobj
;
6966 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6967 XCirculateEvent
*arg2
= 0 ;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6971 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_circulateHandler",&obj0
,&obj1
)) goto fail
;
6972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCirculateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6975 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6977 (arg1
)->circulateHandler((XCirculateEvent
const &)*arg2
);
6979 Py_INCREF(Py_None
); resultobj
= Py_None
;
6986 static PyObject
*_wrap_EventHandler_configureHandler(PyObject
*self
, PyObject
*args
) {
6987 PyObject
*resultobj
;
6988 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
6989 XConfigureEvent
*arg2
= 0 ;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6993 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_configureHandler",&obj0
,&obj1
)) goto fail
;
6994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6999 (arg1
)->configureHandler((XConfigureEvent
const &)*arg2
);
7001 Py_INCREF(Py_None
); resultobj
= Py_None
;
7008 static PyObject
*_wrap_EventHandler_createHandler(PyObject
*self
, PyObject
*args
) {
7009 PyObject
*resultobj
;
7010 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7011 XCreateWindowEvent
*arg2
= 0 ;
7012 PyObject
* obj0
= 0 ;
7013 PyObject
* obj1
= 0 ;
7015 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_createHandler",&obj0
,&obj1
)) goto fail
;
7016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XCreateWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7019 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7021 (arg1
)->createHandler((XCreateWindowEvent
const &)*arg2
);
7023 Py_INCREF(Py_None
); resultobj
= Py_None
;
7030 static PyObject
*_wrap_EventHandler_destroyHandler(PyObject
*self
, PyObject
*args
) {
7031 PyObject
*resultobj
;
7032 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7033 XDestroyWindowEvent
*arg2
= 0 ;
7034 PyObject
* obj0
= 0 ;
7035 PyObject
* obj1
= 0 ;
7037 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_destroyHandler",&obj0
,&obj1
)) goto fail
;
7038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7039 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XDestroyWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7041 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7043 (arg1
)->destroyHandler((XDestroyWindowEvent
const &)*arg2
);
7045 Py_INCREF(Py_None
); resultobj
= Py_None
;
7052 static PyObject
*_wrap_EventHandler_gravityHandler(PyObject
*self
, PyObject
*args
) {
7053 PyObject
*resultobj
;
7054 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7055 XGravityEvent
*arg2
= 0 ;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7059 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_gravityHandler",&obj0
,&obj1
)) goto fail
;
7060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XGravityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7063 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7065 (arg1
)->gravityHandler((XGravityEvent
const &)*arg2
);
7067 Py_INCREF(Py_None
); resultobj
= Py_None
;
7074 static PyObject
*_wrap_EventHandler_mapHandler(PyObject
*self
, PyObject
*args
) {
7075 PyObject
*resultobj
;
7076 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7077 XMapEvent
*arg2
= 0 ;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7081 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_mapHandler",&obj0
,&obj1
)) goto fail
;
7082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7087 (arg1
)->mapHandler((XMapEvent
const &)*arg2
);
7089 Py_INCREF(Py_None
); resultobj
= Py_None
;
7096 static PyObject
*_wrap_EventHandler_mappingHandler(PyObject
*self
, PyObject
*args
) {
7097 PyObject
*resultobj
;
7098 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7099 XMappingEvent
*arg2
= 0 ;
7100 PyObject
* obj0
= 0 ;
7101 PyObject
* obj1
= 0 ;
7103 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_mappingHandler",&obj0
,&obj1
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7105 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMappingEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7107 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7109 (arg1
)->mappingHandler((XMappingEvent
const &)*arg2
);
7111 Py_INCREF(Py_None
); resultobj
= Py_None
;
7118 static PyObject
*_wrap_EventHandler_reparentHandler(PyObject
*self
, PyObject
*args
) {
7119 PyObject
*resultobj
;
7120 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7121 XReparentEvent
*arg2
= 0 ;
7122 PyObject
* obj0
= 0 ;
7123 PyObject
* obj1
= 0 ;
7125 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_reparentHandler",&obj0
,&obj1
)) goto fail
;
7126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7127 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XReparentEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7129 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7131 (arg1
)->reparentHandler((XReparentEvent
const &)*arg2
);
7133 Py_INCREF(Py_None
); resultobj
= Py_None
;
7140 static PyObject
*_wrap_EventHandler_unmapHandler(PyObject
*self
, PyObject
*args
) {
7141 PyObject
*resultobj
;
7142 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7143 XUnmapEvent
*arg2
= 0 ;
7144 PyObject
* obj0
= 0 ;
7145 PyObject
* obj1
= 0 ;
7147 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_unmapHandler",&obj0
,&obj1
)) goto fail
;
7148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XUnmapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7153 (arg1
)->unmapHandler((XUnmapEvent
const &)*arg2
);
7155 Py_INCREF(Py_None
); resultobj
= Py_None
;
7162 static PyObject
*_wrap_EventHandler_visibilityHandler(PyObject
*self
, PyObject
*args
) {
7163 PyObject
*resultobj
;
7164 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7165 XVisibilityEvent
*arg2
= 0 ;
7166 PyObject
* obj0
= 0 ;
7167 PyObject
* obj1
= 0 ;
7169 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_visibilityHandler",&obj0
,&obj1
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XVisibilityEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7175 (arg1
)->visibilityHandler((XVisibilityEvent
const &)*arg2
);
7177 Py_INCREF(Py_None
); resultobj
= Py_None
;
7184 static PyObject
*_wrap_EventHandler_colorMapHandler(PyObject
*self
, PyObject
*args
) {
7185 PyObject
*resultobj
;
7186 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7187 XColormapEvent
*arg2
= 0 ;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7191 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_colorMapHandler",&obj0
,&obj1
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XColormapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7195 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7197 (arg1
)->colorMapHandler((XColormapEvent
const &)*arg2
);
7199 Py_INCREF(Py_None
); resultobj
= Py_None
;
7206 static PyObject
*_wrap_EventHandler_propertyHandler(PyObject
*self
, PyObject
*args
) {
7207 PyObject
*resultobj
;
7208 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7209 XPropertyEvent
*arg2
= 0 ;
7210 PyObject
* obj0
= 0 ;
7211 PyObject
* obj1
= 0 ;
7213 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_propertyHandler",&obj0
,&obj1
)) goto fail
;
7214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7215 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7217 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7219 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
7221 Py_INCREF(Py_None
); resultobj
= Py_None
;
7228 static PyObject
*_wrap_EventHandler_selectionClearHandler(PyObject
*self
, PyObject
*args
) {
7229 PyObject
*resultobj
;
7230 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7231 XSelectionClearEvent
*arg2
= 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7235 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_selectionClearHandler",&obj0
,&obj1
)) goto fail
;
7236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionClearEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7241 (arg1
)->selectionClearHandler((XSelectionClearEvent
const &)*arg2
);
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7250 static PyObject
*_wrap_EventHandler_selectionHandler(PyObject
*self
, PyObject
*args
) {
7251 PyObject
*resultobj
;
7252 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7253 XSelectionEvent
*arg2
= 0 ;
7254 PyObject
* obj0
= 0 ;
7255 PyObject
* obj1
= 0 ;
7257 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_selectionHandler",&obj0
,&obj1
)) goto fail
;
7258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7261 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7263 (arg1
)->selectionHandler((XSelectionEvent
const &)*arg2
);
7265 Py_INCREF(Py_None
); resultobj
= Py_None
;
7272 static PyObject
*_wrap_EventHandler_selectionRequestHandler(PyObject
*self
, PyObject
*args
) {
7273 PyObject
*resultobj
;
7274 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7275 XSelectionRequestEvent
*arg2
= 0 ;
7276 PyObject
* obj0
= 0 ;
7277 PyObject
* obj1
= 0 ;
7279 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_selectionRequestHandler",&obj0
,&obj1
)) goto fail
;
7280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7281 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XSelectionRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7283 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7285 (arg1
)->selectionRequestHandler((XSelectionRequestEvent
const &)*arg2
);
7287 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 static PyObject
*_wrap_EventHandler_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
7295 PyObject
*resultobj
;
7296 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7297 XClientMessageEvent
*arg2
= 0 ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7301 if(!PyArg_ParseTuple(args
,(char *)"OO:EventHandler_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7303 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7305 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7307 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
7309 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_delete_EventHandler(PyObject
*self
, PyObject
*args
) {
7317 PyObject
*resultobj
;
7318 otk::EventHandler
*arg1
= (otk::EventHandler
*) 0 ;
7319 PyObject
* obj0
= 0 ;
7321 if(!PyArg_ParseTuple(args
,(char *)"O:delete_EventHandler",&obj0
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7325 Py_INCREF(Py_None
); resultobj
= Py_None
;
7332 static PyObject
* EventHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7335 SWIG_TypeClientData(SWIGTYPE_p_otk__EventHandler
, obj
);
7337 return Py_BuildValue((char *)"");
7339 static PyObject
*_wrap_new_EventDispatcher(PyObject
*self
, PyObject
*args
) {
7340 PyObject
*resultobj
;
7341 otk::EventDispatcher
*result
;
7343 if(!PyArg_ParseTuple(args
,(char *)":new_EventDispatcher")) goto fail
;
7344 result
= (otk::EventDispatcher
*)new otk::EventDispatcher();
7346 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventDispatcher
, 1);
7353 static PyObject
*_wrap_delete_EventDispatcher(PyObject
*self
, PyObject
*args
) {
7354 PyObject
*resultobj
;
7355 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7356 PyObject
* obj0
= 0 ;
7358 if(!PyArg_ParseTuple(args
,(char *)"O:delete_EventDispatcher",&obj0
)) goto fail
;
7359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7362 Py_INCREF(Py_None
); resultobj
= Py_None
;
7369 static PyObject
*_wrap_EventDispatcher_clearAllHandlers(PyObject
*self
, PyObject
*args
) {
7370 PyObject
*resultobj
;
7371 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7372 PyObject
* obj0
= 0 ;
7374 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_clearAllHandlers",&obj0
)) goto fail
;
7375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7376 (arg1
)->clearAllHandlers();
7378 Py_INCREF(Py_None
); resultobj
= Py_None
;
7385 static PyObject
*_wrap_EventDispatcher_registerHandler(PyObject
*self
, PyObject
*args
) {
7386 PyObject
*resultobj
;
7387 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7389 otk::EventHandler
*arg3
= (otk::EventHandler
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7392 PyObject
* obj2
= 0 ;
7394 if(!PyArg_ParseTuple(args
,(char *)"OOO:EventDispatcher_registerHandler",&obj0
,&obj1
,&obj2
)) goto fail
;
7395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7396 arg2
= (Window
) PyInt_AsLong(obj1
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7398 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7399 (arg1
)->registerHandler(arg2
,arg3
);
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_EventDispatcher_clearHandler(PyObject
*self
, PyObject
*args
) {
7409 PyObject
*resultobj
;
7410 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7413 PyObject
* obj1
= 0 ;
7415 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_clearHandler",&obj0
,&obj1
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7417 arg2
= (Window
) PyInt_AsLong(obj1
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7419 (arg1
)->clearHandler(arg2
);
7421 Py_INCREF(Py_None
); resultobj
= Py_None
;
7428 static PyObject
*_wrap_EventDispatcher_dispatchEvents(PyObject
*self
, PyObject
*args
) {
7429 PyObject
*resultobj
;
7430 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7431 PyObject
* obj0
= 0 ;
7433 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_dispatchEvents",&obj0
)) goto fail
;
7434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7435 (arg1
)->dispatchEvents();
7437 Py_INCREF(Py_None
); resultobj
= Py_None
;
7444 static PyObject
*_wrap_EventDispatcher_setFallbackHandler(PyObject
*self
, PyObject
*args
) {
7445 PyObject
*resultobj
;
7446 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7447 otk::EventHandler
*arg2
= (otk::EventHandler
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7449 PyObject
* obj1
= 0 ;
7451 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_setFallbackHandler",&obj0
,&obj1
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7454 (arg1
)->setFallbackHandler(arg2
);
7456 Py_INCREF(Py_None
); resultobj
= Py_None
;
7463 static PyObject
*_wrap_EventDispatcher_getFallbackHandler(PyObject
*self
, PyObject
*args
) {
7464 PyObject
*resultobj
;
7465 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7466 otk::EventHandler
*result
;
7467 PyObject
* obj0
= 0 ;
7469 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_getFallbackHandler",&obj0
)) goto fail
;
7470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7471 result
= (otk::EventHandler
*)((otk::EventDispatcher
const *)arg1
)->getFallbackHandler();
7473 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventHandler
, 0);
7480 static PyObject
*_wrap_EventDispatcher_setMasterHandler(PyObject
*self
, PyObject
*args
) {
7481 PyObject
*resultobj
;
7482 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7483 otk::EventHandler
*arg2
= (otk::EventHandler
*) 0 ;
7484 PyObject
* obj0
= 0 ;
7485 PyObject
* obj1
= 0 ;
7487 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_setMasterHandler",&obj0
,&obj1
)) goto fail
;
7488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__EventHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7490 (arg1
)->setMasterHandler(arg2
);
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7499 static PyObject
*_wrap_EventDispatcher_getMasterHandler(PyObject
*self
, PyObject
*args
) {
7500 PyObject
*resultobj
;
7501 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7502 otk::EventHandler
*result
;
7503 PyObject
* obj0
= 0 ;
7505 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_getMasterHandler",&obj0
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7507 result
= (otk::EventHandler
*)((otk::EventDispatcher
const *)arg1
)->getMasterHandler();
7509 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventHandler
, 0);
7516 static PyObject
*_wrap_EventDispatcher_findHandler(PyObject
*self
, PyObject
*args
) {
7517 PyObject
*resultobj
;
7518 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7520 otk::EventHandler
*result
;
7521 PyObject
* obj0
= 0 ;
7522 PyObject
* obj1
= 0 ;
7524 if(!PyArg_ParseTuple(args
,(char *)"OO:EventDispatcher_findHandler",&obj0
,&obj1
)) goto fail
;
7525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7526 arg2
= (Window
) PyInt_AsLong(obj1
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7528 result
= (otk::EventHandler
*)(arg1
)->findHandler(arg2
);
7530 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__EventHandler
, 0);
7537 static PyObject
*_wrap_EventDispatcher_lastTime(PyObject
*self
, PyObject
*args
) {
7538 PyObject
*resultobj
;
7539 otk::EventDispatcher
*arg1
= (otk::EventDispatcher
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7543 if(!PyArg_ParseTuple(args
,(char *)"O:EventDispatcher_lastTime",&obj0
)) goto fail
;
7544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_otk__EventDispatcher
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7545 result
= (Time
)((otk::EventDispatcher
const *)arg1
)->lastTime();
7547 resultobj
= PyInt_FromLong((long)result
);
7554 static PyObject
* EventDispatcher_swigregister(PyObject
*self
, PyObject
*args
) {
7556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7557 SWIG_TypeClientData(SWIGTYPE_p_otk__EventDispatcher
, obj
);
7559 return Py_BuildValue((char *)"");
7561 static PyObject
*_wrap_Cursors_session_set(PyObject
*self
, PyObject
*args
) {
7562 PyObject
*resultobj
;
7563 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7565 PyObject
* obj0
= 0 ;
7566 PyObject
* obj1
= 0 ;
7568 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_session_set",&obj0
,&obj1
)) goto fail
;
7569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7570 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7572 if (arg1
) (arg1
)->session
= arg2
;
7574 Py_INCREF(Py_None
); resultobj
= Py_None
;
7581 static PyObject
*_wrap_Cursors_session_get(PyObject
*self
, PyObject
*args
) {
7582 PyObject
*resultobj
;
7583 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7587 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_session_get",&obj0
)) goto fail
;
7588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7589 result
= (Cursor
) ((arg1
)->session
);
7591 resultobj
= PyInt_FromLong((long)result
);
7598 static PyObject
*_wrap_Cursors_move_set(PyObject
*self
, PyObject
*args
) {
7599 PyObject
*resultobj
;
7600 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7602 PyObject
* obj0
= 0 ;
7603 PyObject
* obj1
= 0 ;
7605 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_move_set",&obj0
,&obj1
)) goto fail
;
7606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7607 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7609 if (arg1
) (arg1
)->move
= arg2
;
7611 Py_INCREF(Py_None
); resultobj
= Py_None
;
7618 static PyObject
*_wrap_Cursors_move_get(PyObject
*self
, PyObject
*args
) {
7619 PyObject
*resultobj
;
7620 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7624 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_move_get",&obj0
)) goto fail
;
7625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7626 result
= (Cursor
) ((arg1
)->move
);
7628 resultobj
= PyInt_FromLong((long)result
);
7635 static PyObject
*_wrap_Cursors_ll_angle_set(PyObject
*self
, PyObject
*args
) {
7636 PyObject
*resultobj
;
7637 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7640 PyObject
* obj1
= 0 ;
7642 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ll_angle_set",&obj0
,&obj1
)) goto fail
;
7643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7644 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7646 if (arg1
) (arg1
)->ll_angle
= arg2
;
7648 Py_INCREF(Py_None
); resultobj
= Py_None
;
7655 static PyObject
*_wrap_Cursors_ll_angle_get(PyObject
*self
, PyObject
*args
) {
7656 PyObject
*resultobj
;
7657 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7659 PyObject
* obj0
= 0 ;
7661 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ll_angle_get",&obj0
)) goto fail
;
7662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7663 result
= (Cursor
) ((arg1
)->ll_angle
);
7665 resultobj
= PyInt_FromLong((long)result
);
7672 static PyObject
*_wrap_Cursors_lr_angle_set(PyObject
*self
, PyObject
*args
) {
7673 PyObject
*resultobj
;
7674 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7677 PyObject
* obj1
= 0 ;
7679 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_lr_angle_set",&obj0
,&obj1
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7681 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7683 if (arg1
) (arg1
)->lr_angle
= arg2
;
7685 Py_INCREF(Py_None
); resultobj
= Py_None
;
7692 static PyObject
*_wrap_Cursors_lr_angle_get(PyObject
*self
, PyObject
*args
) {
7693 PyObject
*resultobj
;
7694 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7696 PyObject
* obj0
= 0 ;
7698 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_lr_angle_get",&obj0
)) goto fail
;
7699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7700 result
= (Cursor
) ((arg1
)->lr_angle
);
7702 resultobj
= PyInt_FromLong((long)result
);
7709 static PyObject
*_wrap_Cursors_ul_angle_set(PyObject
*self
, PyObject
*args
) {
7710 PyObject
*resultobj
;
7711 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7713 PyObject
* obj0
= 0 ;
7714 PyObject
* obj1
= 0 ;
7716 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ul_angle_set",&obj0
,&obj1
)) goto fail
;
7717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7718 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7720 if (arg1
) (arg1
)->ul_angle
= arg2
;
7722 Py_INCREF(Py_None
); resultobj
= Py_None
;
7729 static PyObject
*_wrap_Cursors_ul_angle_get(PyObject
*self
, PyObject
*args
) {
7730 PyObject
*resultobj
;
7731 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7733 PyObject
* obj0
= 0 ;
7735 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ul_angle_get",&obj0
)) goto fail
;
7736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7737 result
= (Cursor
) ((arg1
)->ul_angle
);
7739 resultobj
= PyInt_FromLong((long)result
);
7746 static PyObject
*_wrap_Cursors_ur_angle_set(PyObject
*self
, PyObject
*args
) {
7747 PyObject
*resultobj
;
7748 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7750 PyObject
* obj0
= 0 ;
7751 PyObject
* obj1
= 0 ;
7753 if(!PyArg_ParseTuple(args
,(char *)"OO:Cursors_ur_angle_set",&obj0
,&obj1
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7755 arg2
= (Cursor
) PyInt_AsLong(obj1
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7757 if (arg1
) (arg1
)->ur_angle
= arg2
;
7759 Py_INCREF(Py_None
); resultobj
= Py_None
;
7766 static PyObject
*_wrap_Cursors_ur_angle_get(PyObject
*self
, PyObject
*args
) {
7767 PyObject
*resultobj
;
7768 ob::Cursors
*arg1
= (ob::Cursors
*) 0 ;
7770 PyObject
* obj0
= 0 ;
7772 if(!PyArg_ParseTuple(args
,(char *)"O:Cursors_ur_angle_get",&obj0
)) goto fail
;
7773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Cursors
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7774 result
= (Cursor
) ((arg1
)->ur_angle
);
7776 resultobj
= PyInt_FromLong((long)result
);
7783 static PyObject
* Cursors_swigregister(PyObject
*self
, PyObject
*args
) {
7785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7786 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors
, obj
);
7788 return Py_BuildValue((char *)"");
7790 static PyObject
*_wrap_Openbox_state(PyObject
*self
, PyObject
*args
) {
7791 PyObject
*resultobj
;
7792 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7796 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_state",&obj0
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7798 result
= (int)((ob::Openbox
const *)arg1
)->state();
7800 resultobj
= PyInt_FromLong((long)result
);
7807 static PyObject
*_wrap_Openbox_actions(PyObject
*self
, PyObject
*args
) {
7808 PyObject
*resultobj
;
7809 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7810 ob::Actions
*result
;
7811 PyObject
* obj0
= 0 ;
7813 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_actions",&obj0
)) goto fail
;
7814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7815 result
= (ob::Actions
*)((ob::Openbox
const *)arg1
)->actions();
7817 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Actions
, 0);
7824 static PyObject
*_wrap_Openbox_bindings(PyObject
*self
, PyObject
*args
) {
7825 PyObject
*resultobj
;
7826 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7827 ob::Bindings
*result
;
7828 PyObject
* obj0
= 0 ;
7830 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_bindings",&obj0
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7832 result
= (ob::Bindings
*)((ob::Openbox
const *)arg1
)->bindings();
7834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Bindings
, 0);
7841 static PyObject
*_wrap_Openbox_screen(PyObject
*self
, PyObject
*args
) {
7842 PyObject
*resultobj
;
7843 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7848 if(!PyArg_ParseTuple(args
,(char *)"Oi:Openbox_screen",&obj0
,&arg2
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7850 result
= (ob::Screen
*)(arg1
)->screen(arg2
);
7852 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Screen
, 0);
7859 static PyObject
*_wrap_Openbox_screenCount(PyObject
*self
, PyObject
*args
) {
7860 PyObject
*resultobj
;
7861 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7863 PyObject
* obj0
= 0 ;
7865 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_screenCount",&obj0
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7867 result
= (int)((ob::Openbox
const *)arg1
)->screenCount();
7869 resultobj
= PyInt_FromLong((long)result
);
7876 static PyObject
*_wrap_Openbox_cursors(PyObject
*self
, PyObject
*args
) {
7877 PyObject
*resultobj
;
7878 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7879 ob::Cursors
*result
;
7880 PyObject
* obj0
= 0 ;
7882 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_cursors",&obj0
)) goto fail
;
7883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7885 ob::Cursors
const &_result_ref
= ((ob::Openbox
const *)arg1
)->cursors();
7886 result
= (ob::Cursors
*) &_result_ref
;
7889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Cursors
, 0);
7896 static PyObject
*_wrap_Openbox_addClient(PyObject
*self
, PyObject
*args
) {
7897 PyObject
*resultobj
;
7898 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7900 ob::Client
*arg3
= (ob::Client
*) 0 ;
7901 PyObject
* obj0
= 0 ;
7902 PyObject
* obj1
= 0 ;
7903 PyObject
* obj2
= 0 ;
7905 if(!PyArg_ParseTuple(args
,(char *)"OOO:Openbox_addClient",&obj0
,&obj1
,&obj2
)) goto fail
;
7906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7907 arg2
= (Window
) PyInt_AsLong(obj1
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7909 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7910 (arg1
)->addClient(arg2
,arg3
);
7912 Py_INCREF(Py_None
); resultobj
= Py_None
;
7919 static PyObject
*_wrap_Openbox_removeClient(PyObject
*self
, PyObject
*args
) {
7920 PyObject
*resultobj
;
7921 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7924 PyObject
* obj1
= 0 ;
7926 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_removeClient",&obj0
,&obj1
)) goto fail
;
7927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7928 arg2
= (Window
) PyInt_AsLong(obj1
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7930 (arg1
)->removeClient(arg2
);
7932 Py_INCREF(Py_None
); resultobj
= Py_None
;
7939 static PyObject
*_wrap_Openbox_findClient(PyObject
*self
, PyObject
*args
) {
7940 PyObject
*resultobj
;
7941 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7947 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_findClient",&obj0
,&obj1
)) goto fail
;
7948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7949 arg2
= (Window
) PyInt_AsLong(obj1
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7951 result
= (ob::Client
*)(arg1
)->findClient(arg2
);
7953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
7960 static PyObject
*_wrap_Openbox_focusedClient(PyObject
*self
, PyObject
*args
) {
7961 PyObject
*resultobj
;
7962 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7964 PyObject
* obj0
= 0 ;
7966 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_focusedClient",&obj0
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7968 result
= (ob::Client
*)(arg1
)->focusedClient();
7970 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
7977 static PyObject
*_wrap_Openbox_setFocusedClient(PyObject
*self
, PyObject
*args
) {
7978 PyObject
*resultobj
;
7979 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
7980 ob::Client
*arg2
= (ob::Client
*) 0 ;
7981 PyObject
* obj0
= 0 ;
7982 PyObject
* obj1
= 0 ;
7984 if(!PyArg_ParseTuple(args
,(char *)"OO:Openbox_setFocusedClient",&obj0
,&obj1
)) goto fail
;
7985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7987 (arg1
)->setFocusedClient(arg2
);
7989 Py_INCREF(Py_None
); resultobj
= Py_None
;
7996 static PyObject
*_wrap_Openbox_focusedScreen(PyObject
*self
, PyObject
*args
) {
7997 PyObject
*resultobj
;
7998 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
8000 PyObject
* obj0
= 0 ;
8002 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_focusedScreen",&obj0
)) goto fail
;
8003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8004 result
= (ob::Screen
*)(arg1
)->focusedScreen();
8006 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Screen
, 0);
8013 static PyObject
*_wrap_Openbox_shutdown(PyObject
*self
, PyObject
*args
) {
8014 PyObject
*resultobj
;
8015 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 if(!PyArg_ParseTuple(args
,(char *)"O:Openbox_shutdown",&obj0
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8022 Py_INCREF(Py_None
); resultobj
= Py_None
;
8029 static PyObject
*_wrap_Openbox_restart(PyObject
*self
, PyObject
*args
) {
8030 PyObject
*resultobj
;
8031 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
8032 std::string
const &arg2_defvalue
= "" ;
8033 std::string
*arg2
= (std::string
*) &arg2_defvalue
;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8038 if(!PyArg_ParseTuple(args
,(char *)"O|O:Openbox_restart",&obj0
,&obj1
)) goto fail
;
8039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8042 if (PyString_Check(obj1
)) {
8043 temp2
= std::string(PyString_AsString(obj1
));
8046 SWIG_exception(SWIG_TypeError
, "string expected");
8050 (arg1
)->restart((std::string
const &)*arg2
);
8052 Py_INCREF(Py_None
); resultobj
= Py_None
;
8059 static PyObject
*_wrap_Openbox_execute(PyObject
*self
, PyObject
*args
) {
8060 PyObject
*resultobj
;
8061 ob::Openbox
*arg1
= (ob::Openbox
*) 0 ;
8063 std::string
*arg3
= 0 ;
8065 PyObject
* obj0
= 0 ;
8066 PyObject
* obj2
= 0 ;
8068 if(!PyArg_ParseTuple(args
,(char *)"OiO:Openbox_execute",&obj0
,&arg2
,&obj2
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Openbox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8071 if (PyString_Check(obj2
)) {
8072 temp3
= std::string(PyString_AsString(obj2
));
8075 SWIG_exception(SWIG_TypeError
, "string expected");
8078 (arg1
)->execute(arg2
,(std::string
const &)*arg3
);
8080 Py_INCREF(Py_None
); resultobj
= Py_None
;
8087 static PyObject
* Openbox_swigregister(PyObject
*self
, PyObject
*args
) {
8089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8090 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox
, obj
);
8092 return Py_BuildValue((char *)"");
8094 static PyObject
*_wrap_Screen_client(PyObject
*self
, PyObject
*args
) {
8095 PyObject
*resultobj
;
8096 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8099 PyObject
* obj0
= 0 ;
8101 if(!PyArg_ParseTuple(args
,(char *)"Oi:Screen_client",&obj0
,&arg2
)) goto fail
;
8102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8103 result
= (ob::Client
*)ob_Screen_client(arg1
,arg2
);
8105 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
8112 static PyObject
*_wrap_Screen_clientCount(PyObject
*self
, PyObject
*args
) {
8113 PyObject
*resultobj
;
8114 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8118 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_clientCount",&obj0
)) goto fail
;
8119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8120 result
= (int)ob_Screen_clientCount((ob::Screen
const *)arg1
);
8122 resultobj
= PyInt_FromLong((long)result
);
8129 static PyObject
*_wrap_Screen_number(PyObject
*self
, PyObject
*args
) {
8130 PyObject
*resultobj
;
8131 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_number",&obj0
)) goto fail
;
8136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8137 result
= (int)((ob::Screen
const *)arg1
)->number();
8139 resultobj
= PyInt_FromLong((long)result
);
8146 static PyObject
*_wrap_Screen_managed(PyObject
*self
, PyObject
*args
) {
8147 PyObject
*resultobj
;
8148 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8150 PyObject
* obj0
= 0 ;
8152 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_managed",&obj0
)) goto fail
;
8153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8154 result
= (bool)((ob::Screen
const *)arg1
)->managed();
8156 resultobj
= PyInt_FromLong((long)result
);
8163 static PyObject
*_wrap_Screen_imageControl(PyObject
*self
, PyObject
*args
) {
8164 PyObject
*resultobj
;
8165 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8166 otk::ImageControl
*result
;
8167 PyObject
* obj0
= 0 ;
8169 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_imageControl",&obj0
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8171 result
= (otk::ImageControl
*)(arg1
)->imageControl();
8173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__ImageControl
, 0);
8180 static PyObject
*_wrap_Screen_area(PyObject
*self
, PyObject
*args
) {
8181 PyObject
*resultobj
;
8182 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_area",&obj0
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8189 otk::Rect
const &_result_ref
= ((ob::Screen
const *)arg1
)->area();
8190 result
= (otk::Rect
*) &_result_ref
;
8193 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
8200 static PyObject
*_wrap_Screen_style(PyObject
*self
, PyObject
*args
) {
8201 PyObject
*resultobj
;
8202 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8204 PyObject
* obj0
= 0 ;
8206 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_style",&obj0
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8208 result
= (otk::Style
*)((ob::Screen
const *)arg1
)->style();
8210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Style
, 0);
8217 static PyObject
*_wrap_Screen_focuswindow(PyObject
*self
, PyObject
*args
) {
8218 PyObject
*resultobj
;
8219 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8221 PyObject
* obj0
= 0 ;
8223 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_focuswindow",&obj0
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8225 result
= (Window
)((ob::Screen
const *)arg1
)->focuswindow();
8227 resultobj
= PyInt_FromLong((long)result
);
8234 static PyObject
*_wrap_Screen_desktop(PyObject
*self
, PyObject
*args
) {
8235 PyObject
*resultobj
;
8236 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8238 PyObject
* obj0
= 0 ;
8240 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_desktop",&obj0
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8242 result
= (long)((ob::Screen
const *)arg1
)->desktop();
8244 resultobj
= PyInt_FromLong((long)result
);
8251 static PyObject
*_wrap_Screen_numDesktops(PyObject
*self
, PyObject
*args
) {
8252 PyObject
*resultobj
;
8253 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8255 PyObject
* obj0
= 0 ;
8257 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_numDesktops",&obj0
)) goto fail
;
8258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8259 result
= (long)((ob::Screen
const *)arg1
)->numDesktops();
8261 resultobj
= PyInt_FromLong((long)result
);
8268 static PyObject
*_wrap_Screen_updateStrut(PyObject
*self
, PyObject
*args
) {
8269 PyObject
*resultobj
;
8270 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8271 PyObject
* obj0
= 0 ;
8273 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_updateStrut",&obj0
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8275 (arg1
)->updateStrut();
8277 Py_INCREF(Py_None
); resultobj
= Py_None
;
8284 static PyObject
*_wrap_Screen_manageExisting(PyObject
*self
, PyObject
*args
) {
8285 PyObject
*resultobj
;
8286 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8287 PyObject
* obj0
= 0 ;
8289 if(!PyArg_ParseTuple(args
,(char *)"O:Screen_manageExisting",&obj0
)) goto fail
;
8290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8291 (arg1
)->manageExisting();
8293 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_Screen_manageWindow(PyObject
*self
, PyObject
*args
) {
8301 PyObject
*resultobj
;
8302 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8304 PyObject
* obj0
= 0 ;
8305 PyObject
* obj1
= 0 ;
8307 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_manageWindow",&obj0
,&obj1
)) goto fail
;
8308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8309 arg2
= (Window
) PyInt_AsLong(obj1
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8311 (arg1
)->manageWindow(arg2
);
8313 Py_INCREF(Py_None
); resultobj
= Py_None
;
8320 static PyObject
*_wrap_Screen_unmanageWindow(PyObject
*self
, PyObject
*args
) {
8321 PyObject
*resultobj
;
8322 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8323 ob::Client
*arg2
= (ob::Client
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8327 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_unmanageWindow",&obj0
,&obj1
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8329 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8330 (arg1
)->unmanageWindow(arg2
);
8332 Py_INCREF(Py_None
); resultobj
= Py_None
;
8339 static PyObject
*_wrap_Screen_raiseWindow(PyObject
*self
, PyObject
*args
) {
8340 PyObject
*resultobj
;
8341 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8342 ob::Client
*arg2
= (ob::Client
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8344 PyObject
* obj1
= 0 ;
8346 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_raiseWindow",&obj0
,&obj1
)) goto fail
;
8347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8349 (arg1
)->raiseWindow(arg2
);
8351 Py_INCREF(Py_None
); resultobj
= Py_None
;
8358 static PyObject
*_wrap_Screen_lowerWindow(PyObject
*self
, PyObject
*args
) {
8359 PyObject
*resultobj
;
8360 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8361 ob::Client
*arg2
= (ob::Client
*) 0 ;
8362 PyObject
* obj0
= 0 ;
8363 PyObject
* obj1
= 0 ;
8365 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_lowerWindow",&obj0
,&obj1
)) goto fail
;
8366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8368 (arg1
)->lowerWindow(arg2
);
8370 Py_INCREF(Py_None
); resultobj
= Py_None
;
8377 static PyObject
*_wrap_Screen_setDesktopName(PyObject
*self
, PyObject
*args
) {
8378 PyObject
*resultobj
;
8379 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8381 otk::ustring
*arg3
= 0 ;
8382 otk::ustring temp3
;
8383 PyObject
* obj0
= 0 ;
8384 PyObject
* obj2
= 0 ;
8386 if(!PyArg_ParseTuple(args
,(char *)"OlO:Screen_setDesktopName",&obj0
,&arg2
,&obj2
)) goto fail
;
8387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8389 if (PyString_Check(obj2
)) {
8390 temp3
= otk::ustring(PyString_AsString(obj2
));
8393 SWIG_exception(SWIG_TypeError
, "ustring expected");
8396 (arg1
)->setDesktopName(arg2
,(otk::ustring
const &)*arg3
);
8398 Py_INCREF(Py_None
); resultobj
= Py_None
;
8405 static PyObject
*_wrap_Screen_propertyHandler(PyObject
*self
, PyObject
*args
) {
8406 PyObject
*resultobj
;
8407 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8408 XPropertyEvent
*arg2
= 0 ;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8412 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_propertyHandler",&obj0
,&obj1
)) goto fail
;
8413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8414 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8416 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8418 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
8420 Py_INCREF(Py_None
); resultobj
= Py_None
;
8427 static PyObject
*_wrap_Screen_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
8428 PyObject
*resultobj
;
8429 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8430 XClientMessageEvent
*arg2
= 0 ;
8431 PyObject
* obj0
= 0 ;
8432 PyObject
* obj1
= 0 ;
8434 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8436 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8438 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8440 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
8442 Py_INCREF(Py_None
); resultobj
= Py_None
;
8449 static PyObject
*_wrap_Screen_mapRequestHandler(PyObject
*self
, PyObject
*args
) {
8450 PyObject
*resultobj
;
8451 ob::Screen
*arg1
= (ob::Screen
*) 0 ;
8452 XMapRequestEvent
*arg2
= 0 ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8456 if(!PyArg_ParseTuple(args
,(char *)"OO:Screen_mapRequestHandler",&obj0
,&obj1
)) goto fail
;
8457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Screen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8458 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XMapRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8460 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8462 (arg1
)->mapRequestHandler((XMapRequestEvent
const &)*arg2
);
8464 Py_INCREF(Py_None
); resultobj
= Py_None
;
8471 static PyObject
* Screen_swigregister(PyObject
*self
, PyObject
*args
) {
8473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8474 SWIG_TypeClientData(SWIGTYPE_p_ob__Screen
, obj
);
8476 return Py_BuildValue((char *)"");
8478 static PyObject
*_wrap_MwmHints_flags_set(PyObject
*self
, PyObject
*args
) {
8479 PyObject
*resultobj
;
8480 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8481 unsigned long arg2
;
8482 PyObject
* obj0
= 0 ;
8483 PyObject
* obj1
= 0 ;
8485 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_flags_set",&obj0
,&obj1
)) goto fail
;
8486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8487 arg2
= (unsigned long) PyInt_AsLong(obj1
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8489 if (arg1
) (arg1
)->flags
= arg2
;
8491 Py_INCREF(Py_None
); resultobj
= Py_None
;
8498 static PyObject
*_wrap_MwmHints_flags_get(PyObject
*self
, PyObject
*args
) {
8499 PyObject
*resultobj
;
8500 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8501 unsigned long result
;
8502 PyObject
* obj0
= 0 ;
8504 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_flags_get",&obj0
)) goto fail
;
8505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8506 result
= (unsigned long) ((arg1
)->flags
);
8508 resultobj
= PyInt_FromLong((long)result
);
8515 static PyObject
*_wrap_MwmHints_functions_set(PyObject
*self
, PyObject
*args
) {
8516 PyObject
*resultobj
;
8517 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8518 unsigned long arg2
;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8522 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_functions_set",&obj0
,&obj1
)) goto fail
;
8523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8524 arg2
= (unsigned long) PyInt_AsLong(obj1
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8526 if (arg1
) (arg1
)->functions
= arg2
;
8528 Py_INCREF(Py_None
); resultobj
= Py_None
;
8535 static PyObject
*_wrap_MwmHints_functions_get(PyObject
*self
, PyObject
*args
) {
8536 PyObject
*resultobj
;
8537 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8538 unsigned long result
;
8539 PyObject
* obj0
= 0 ;
8541 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_functions_get",&obj0
)) goto fail
;
8542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8543 result
= (unsigned long) ((arg1
)->functions
);
8545 resultobj
= PyInt_FromLong((long)result
);
8552 static PyObject
*_wrap_MwmHints_decorations_set(PyObject
*self
, PyObject
*args
) {
8553 PyObject
*resultobj
;
8554 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8555 unsigned long arg2
;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8559 if(!PyArg_ParseTuple(args
,(char *)"OO:MwmHints_decorations_set",&obj0
,&obj1
)) goto fail
;
8560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8561 arg2
= (unsigned long) PyInt_AsLong(obj1
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8563 if (arg1
) (arg1
)->decorations
= arg2
;
8565 Py_INCREF(Py_None
); resultobj
= Py_None
;
8572 static PyObject
*_wrap_MwmHints_decorations_get(PyObject
*self
, PyObject
*args
) {
8573 PyObject
*resultobj
;
8574 ob::MwmHints
*arg1
= (ob::MwmHints
*) 0 ;
8575 unsigned long result
;
8576 PyObject
* obj0
= 0 ;
8578 if(!PyArg_ParseTuple(args
,(char *)"O:MwmHints_decorations_get",&obj0
)) goto fail
;
8579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MwmHints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8580 result
= (unsigned long) ((arg1
)->decorations
);
8582 resultobj
= PyInt_FromLong((long)result
);
8589 static PyObject
* MwmHints_swigregister(PyObject
*self
, PyObject
*args
) {
8591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8592 SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints
, obj
);
8594 return Py_BuildValue((char *)"");
8596 static PyObject
*_wrap_Client_frame_set(PyObject
*self
, PyObject
*args
) {
8597 PyObject
*resultobj
;
8598 ob::Client
*arg1
= (ob::Client
*) 0 ;
8599 ob::Frame
*arg2
= (ob::Frame
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8601 PyObject
* obj1
= 0 ;
8603 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_frame_set",&obj0
,&obj1
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8605 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
8606 if (arg1
) (arg1
)->frame
= arg2
;
8608 Py_INCREF(Py_None
); resultobj
= Py_None
;
8615 static PyObject
*_wrap_Client_frame_get(PyObject
*self
, PyObject
*args
) {
8616 PyObject
*resultobj
;
8617 ob::Client
*arg1
= (ob::Client
*) 0 ;
8619 PyObject
* obj0
= 0 ;
8621 if(!PyArg_ParseTuple(args
,(char *)"O:Client_frame_get",&obj0
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8623 result
= (ob::Frame
*) ((arg1
)->frame
);
8625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Frame
, 0);
8632 static PyObject
*_wrap_Client_ignore_unmaps_set(PyObject
*self
, PyObject
*args
) {
8633 PyObject
*resultobj
;
8634 ob::Client
*arg1
= (ob::Client
*) 0 ;
8636 PyObject
* obj0
= 0 ;
8638 if(!PyArg_ParseTuple(args
,(char *)"Oi:Client_ignore_unmaps_set",&obj0
,&arg2
)) goto fail
;
8639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8640 if (arg1
) (arg1
)->ignore_unmaps
= arg2
;
8642 Py_INCREF(Py_None
); resultobj
= Py_None
;
8649 static PyObject
*_wrap_Client_ignore_unmaps_get(PyObject
*self
, PyObject
*args
) {
8650 PyObject
*resultobj
;
8651 ob::Client
*arg1
= (ob::Client
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8655 if(!PyArg_ParseTuple(args
,(char *)"O:Client_ignore_unmaps_get",&obj0
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8657 result
= (int) ((arg1
)->ignore_unmaps
);
8659 resultobj
= PyInt_FromLong((long)result
);
8666 static PyObject
*_wrap_Client_screen(PyObject
*self
, PyObject
*args
) {
8667 PyObject
*resultobj
;
8668 ob::Client
*arg1
= (ob::Client
*) 0 ;
8670 PyObject
* obj0
= 0 ;
8672 if(!PyArg_ParseTuple(args
,(char *)"O:Client_screen",&obj0
)) goto fail
;
8673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8674 result
= (int)((ob::Client
const *)arg1
)->screen();
8676 resultobj
= PyInt_FromLong((long)result
);
8683 static PyObject
*_wrap_Client_window(PyObject
*self
, PyObject
*args
) {
8684 PyObject
*resultobj
;
8685 ob::Client
*arg1
= (ob::Client
*) 0 ;
8687 PyObject
* obj0
= 0 ;
8689 if(!PyArg_ParseTuple(args
,(char *)"O:Client_window",&obj0
)) goto fail
;
8690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8691 result
= (Window
)((ob::Client
const *)arg1
)->window();
8693 resultobj
= PyInt_FromLong((long)result
);
8700 static PyObject
*_wrap_Client_type(PyObject
*self
, PyObject
*args
) {
8701 PyObject
*resultobj
;
8702 ob::Client
*arg1
= (ob::Client
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8706 if(!PyArg_ParseTuple(args
,(char *)"O:Client_type",&obj0
)) goto fail
;
8707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8708 result
= (int)((ob::Client
const *)arg1
)->type();
8710 resultobj
= PyInt_FromLong((long)result
);
8717 static PyObject
*_wrap_Client_normal(PyObject
*self
, PyObject
*args
) {
8718 PyObject
*resultobj
;
8719 ob::Client
*arg1
= (ob::Client
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 if(!PyArg_ParseTuple(args
,(char *)"O:Client_normal",&obj0
)) goto fail
;
8724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8725 result
= (bool)((ob::Client
const *)arg1
)->normal();
8727 resultobj
= PyInt_FromLong((long)result
);
8734 static PyObject
*_wrap_Client_desktop(PyObject
*self
, PyObject
*args
) {
8735 PyObject
*resultobj
;
8736 ob::Client
*arg1
= (ob::Client
*) 0 ;
8738 PyObject
* obj0
= 0 ;
8740 if(!PyArg_ParseTuple(args
,(char *)"O:Client_desktop",&obj0
)) goto fail
;
8741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8742 result
= (long)((ob::Client
const *)arg1
)->desktop();
8744 resultobj
= PyInt_FromLong((long)result
);
8751 static PyObject
*_wrap_Client_title(PyObject
*self
, PyObject
*args
) {
8752 PyObject
*resultobj
;
8753 ob::Client
*arg1
= (ob::Client
*) 0 ;
8754 otk::ustring
*result
;
8755 PyObject
* obj0
= 0 ;
8757 if(!PyArg_ParseTuple(args
,(char *)"O:Client_title",&obj0
)) goto fail
;
8758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8760 otk::ustring
const &_result_ref
= ((ob::Client
const *)arg1
)->title();
8761 result
= (otk::ustring
*) &_result_ref
;
8765 resultobj
= PyString_FromString(result
->c_str());
8773 static PyObject
*_wrap_Client_iconTitle(PyObject
*self
, PyObject
*args
) {
8774 PyObject
*resultobj
;
8775 ob::Client
*arg1
= (ob::Client
*) 0 ;
8776 otk::ustring
*result
;
8777 PyObject
* obj0
= 0 ;
8779 if(!PyArg_ParseTuple(args
,(char *)"O:Client_iconTitle",&obj0
)) goto fail
;
8780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8782 otk::ustring
const &_result_ref
= ((ob::Client
const *)arg1
)->iconTitle();
8783 result
= (otk::ustring
*) &_result_ref
;
8787 resultobj
= PyString_FromString(result
->c_str());
8795 static PyObject
*_wrap_Client_appName(PyObject
*self
, PyObject
*args
) {
8796 PyObject
*resultobj
;
8797 ob::Client
*arg1
= (ob::Client
*) 0 ;
8798 std::string
*result
;
8799 PyObject
* obj0
= 0 ;
8801 if(!PyArg_ParseTuple(args
,(char *)"O:Client_appName",&obj0
)) goto fail
;
8802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8804 std::string
const &_result_ref
= ((ob::Client
const *)arg1
)->appName();
8805 result
= (std::string
*) &_result_ref
;
8809 resultobj
= PyString_FromString(result
->c_str());
8817 static PyObject
*_wrap_Client_appClass(PyObject
*self
, PyObject
*args
) {
8818 PyObject
*resultobj
;
8819 ob::Client
*arg1
= (ob::Client
*) 0 ;
8820 std::string
*result
;
8821 PyObject
* obj0
= 0 ;
8823 if(!PyArg_ParseTuple(args
,(char *)"O:Client_appClass",&obj0
)) goto fail
;
8824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8826 std::string
const &_result_ref
= ((ob::Client
const *)arg1
)->appClass();
8827 result
= (std::string
*) &_result_ref
;
8831 resultobj
= PyString_FromString(result
->c_str());
8839 static PyObject
*_wrap_Client_role(PyObject
*self
, PyObject
*args
) {
8840 PyObject
*resultobj
;
8841 ob::Client
*arg1
= (ob::Client
*) 0 ;
8842 std::string
*result
;
8843 PyObject
* obj0
= 0 ;
8845 if(!PyArg_ParseTuple(args
,(char *)"O:Client_role",&obj0
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8848 std::string
const &_result_ref
= ((ob::Client
const *)arg1
)->role();
8849 result
= (std::string
*) &_result_ref
;
8853 resultobj
= PyString_FromString(result
->c_str());
8861 static PyObject
*_wrap_Client_canFocus(PyObject
*self
, PyObject
*args
) {
8862 PyObject
*resultobj
;
8863 ob::Client
*arg1
= (ob::Client
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8867 if(!PyArg_ParseTuple(args
,(char *)"O:Client_canFocus",&obj0
)) goto fail
;
8868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8869 result
= (bool)((ob::Client
const *)arg1
)->canFocus();
8871 resultobj
= PyInt_FromLong((long)result
);
8878 static PyObject
*_wrap_Client_urgent(PyObject
*self
, PyObject
*args
) {
8879 PyObject
*resultobj
;
8880 ob::Client
*arg1
= (ob::Client
*) 0 ;
8882 PyObject
* obj0
= 0 ;
8884 if(!PyArg_ParseTuple(args
,(char *)"O:Client_urgent",&obj0
)) goto fail
;
8885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8886 result
= (bool)((ob::Client
const *)arg1
)->urgent();
8888 resultobj
= PyInt_FromLong((long)result
);
8895 static PyObject
*_wrap_Client_focusNotify(PyObject
*self
, PyObject
*args
) {
8896 PyObject
*resultobj
;
8897 ob::Client
*arg1
= (ob::Client
*) 0 ;
8899 PyObject
* obj0
= 0 ;
8901 if(!PyArg_ParseTuple(args
,(char *)"O:Client_focusNotify",&obj0
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8903 result
= (bool)((ob::Client
const *)arg1
)->focusNotify();
8905 resultobj
= PyInt_FromLong((long)result
);
8912 static PyObject
*_wrap_Client_shaped(PyObject
*self
, PyObject
*args
) {
8913 PyObject
*resultobj
;
8914 ob::Client
*arg1
= (ob::Client
*) 0 ;
8916 PyObject
* obj0
= 0 ;
8918 if(!PyArg_ParseTuple(args
,(char *)"O:Client_shaped",&obj0
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8920 result
= (bool)((ob::Client
const *)arg1
)->shaped();
8922 resultobj
= PyInt_FromLong((long)result
);
8929 static PyObject
*_wrap_Client_gravity(PyObject
*self
, PyObject
*args
) {
8930 PyObject
*resultobj
;
8931 ob::Client
*arg1
= (ob::Client
*) 0 ;
8933 PyObject
* obj0
= 0 ;
8935 if(!PyArg_ParseTuple(args
,(char *)"O:Client_gravity",&obj0
)) goto fail
;
8936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8937 result
= (int)((ob::Client
const *)arg1
)->gravity();
8939 resultobj
= PyInt_FromLong((long)result
);
8946 static PyObject
*_wrap_Client_positionRequested(PyObject
*self
, PyObject
*args
) {
8947 PyObject
*resultobj
;
8948 ob::Client
*arg1
= (ob::Client
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 if(!PyArg_ParseTuple(args
,(char *)"O:Client_positionRequested",&obj0
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8954 result
= (bool)((ob::Client
const *)arg1
)->positionRequested();
8956 resultobj
= PyInt_FromLong((long)result
);
8963 static PyObject
*_wrap_Client_decorations(PyObject
*self
, PyObject
*args
) {
8964 PyObject
*resultobj
;
8965 ob::Client
*arg1
= (ob::Client
*) 0 ;
8966 ob::Client::DecorationFlags result
;
8967 PyObject
* obj0
= 0 ;
8969 if(!PyArg_ParseTuple(args
,(char *)"O:Client_decorations",&obj0
)) goto fail
;
8970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8971 result
= (ob::Client::DecorationFlags
)((ob::Client
const *)arg1
)->decorations();
8973 resultobj
= PyInt_FromLong((long)result
);
8980 static PyObject
*_wrap_Client_funtions(PyObject
*self
, PyObject
*args
) {
8981 PyObject
*resultobj
;
8982 ob::Client
*arg1
= (ob::Client
*) 0 ;
8983 ob::Client::FunctionFlags result
;
8984 PyObject
* obj0
= 0 ;
8986 if(!PyArg_ParseTuple(args
,(char *)"O:Client_funtions",&obj0
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8988 result
= (ob::Client::FunctionFlags
)((ob::Client
const *)arg1
)->funtions();
8990 resultobj
= PyInt_FromLong((long)result
);
8997 static PyObject
*_wrap_Client_transientFor(PyObject
*self
, PyObject
*args
) {
8998 PyObject
*resultobj
;
8999 ob::Client
*arg1
= (ob::Client
*) 0 ;
9001 PyObject
* obj0
= 0 ;
9003 if(!PyArg_ParseTuple(args
,(char *)"O:Client_transientFor",&obj0
)) goto fail
;
9004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9005 result
= (ob::Client
*)((ob::Client
const *)arg1
)->transientFor();
9007 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
9014 static PyObject
*_wrap_Client_modal(PyObject
*self
, PyObject
*args
) {
9015 PyObject
*resultobj
;
9016 ob::Client
*arg1
= (ob::Client
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9020 if(!PyArg_ParseTuple(args
,(char *)"O:Client_modal",&obj0
)) goto fail
;
9021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9022 result
= (bool)((ob::Client
const *)arg1
)->modal();
9024 resultobj
= PyInt_FromLong((long)result
);
9031 static PyObject
*_wrap_Client_shaded(PyObject
*self
, PyObject
*args
) {
9032 PyObject
*resultobj
;
9033 ob::Client
*arg1
= (ob::Client
*) 0 ;
9035 PyObject
* obj0
= 0 ;
9037 if(!PyArg_ParseTuple(args
,(char *)"O:Client_shaded",&obj0
)) goto fail
;
9038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9039 result
= (bool)((ob::Client
const *)arg1
)->shaded();
9041 resultobj
= PyInt_FromLong((long)result
);
9048 static PyObject
*_wrap_Client_iconic(PyObject
*self
, PyObject
*args
) {
9049 PyObject
*resultobj
;
9050 ob::Client
*arg1
= (ob::Client
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9054 if(!PyArg_ParseTuple(args
,(char *)"O:Client_iconic",&obj0
)) goto fail
;
9055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9056 result
= (bool)((ob::Client
const *)arg1
)->iconic();
9058 resultobj
= PyInt_FromLong((long)result
);
9065 static PyObject
*_wrap_Client_maxVert(PyObject
*self
, PyObject
*args
) {
9066 PyObject
*resultobj
;
9067 ob::Client
*arg1
= (ob::Client
*) 0 ;
9069 PyObject
* obj0
= 0 ;
9071 if(!PyArg_ParseTuple(args
,(char *)"O:Client_maxVert",&obj0
)) goto fail
;
9072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9073 result
= (bool)((ob::Client
const *)arg1
)->maxVert();
9075 resultobj
= PyInt_FromLong((long)result
);
9082 static PyObject
*_wrap_Client_maxHorz(PyObject
*self
, PyObject
*args
) {
9083 PyObject
*resultobj
;
9084 ob::Client
*arg1
= (ob::Client
*) 0 ;
9086 PyObject
* obj0
= 0 ;
9088 if(!PyArg_ParseTuple(args
,(char *)"O:Client_maxHorz",&obj0
)) goto fail
;
9089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9090 result
= (bool)((ob::Client
const *)arg1
)->maxHorz();
9092 resultobj
= PyInt_FromLong((long)result
);
9099 static PyObject
*_wrap_Client_layer(PyObject
*self
, PyObject
*args
) {
9100 PyObject
*resultobj
;
9101 ob::Client
*arg1
= (ob::Client
*) 0 ;
9103 PyObject
* obj0
= 0 ;
9105 if(!PyArg_ParseTuple(args
,(char *)"O:Client_layer",&obj0
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9107 result
= (int)((ob::Client
const *)arg1
)->layer();
9109 resultobj
= PyInt_FromLong((long)result
);
9116 static PyObject
*_wrap_Client_toggleClientBorder(PyObject
*self
, PyObject
*args
) {
9117 PyObject
*resultobj
;
9118 ob::Client
*arg1
= (ob::Client
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9123 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_toggleClientBorder",&obj0
,&obj1
)) goto fail
;
9124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9125 arg2
= (bool) PyInt_AsLong(obj1
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9127 (arg1
)->toggleClientBorder(arg2
);
9129 Py_INCREF(Py_None
); resultobj
= Py_None
;
9136 static PyObject
*_wrap_Client_area(PyObject
*self
, PyObject
*args
) {
9137 PyObject
*resultobj
;
9138 ob::Client
*arg1
= (ob::Client
*) 0 ;
9140 PyObject
* obj0
= 0 ;
9142 if(!PyArg_ParseTuple(args
,(char *)"O:Client_area",&obj0
)) goto fail
;
9143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9145 otk::Rect
const &_result_ref
= ((ob::Client
const *)arg1
)->area();
9146 result
= (otk::Rect
*) &_result_ref
;
9149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Rect
, 0);
9156 static PyObject
*_wrap_Client_strut(PyObject
*self
, PyObject
*args
) {
9157 PyObject
*resultobj
;
9158 ob::Client
*arg1
= (ob::Client
*) 0 ;
9160 PyObject
* obj0
= 0 ;
9162 if(!PyArg_ParseTuple(args
,(char *)"O:Client_strut",&obj0
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9165 otk::Strut
const &_result_ref
= ((ob::Client
const *)arg1
)->strut();
9166 result
= (otk::Strut
*) &_result_ref
;
9169 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 0);
9176 static PyObject
*_wrap_Client_move(PyObject
*self
, PyObject
*args
) {
9177 PyObject
*resultobj
;
9178 ob::Client
*arg1
= (ob::Client
*) 0 ;
9181 PyObject
* obj0
= 0 ;
9183 if(!PyArg_ParseTuple(args
,(char *)"Oii:Client_move",&obj0
,&arg2
,&arg3
)) goto fail
;
9184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9185 (arg1
)->move(arg2
,arg3
);
9187 Py_INCREF(Py_None
); resultobj
= Py_None
;
9194 static PyObject
*_wrap_Client_resize(PyObject
*self
, PyObject
*args
) {
9195 PyObject
*resultobj
;
9196 ob::Client
*arg1
= (ob::Client
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9202 if(!PyArg_ParseTuple(args
,(char *)"Oiii:Client_resize",&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9204 (arg1
)->resize((ob::Client::Corner
)arg2
,arg3
,arg4
);
9206 Py_INCREF(Py_None
); resultobj
= Py_None
;
9213 static PyObject
*_wrap_Client_focus(PyObject
*self
, PyObject
*args
) {
9214 PyObject
*resultobj
;
9215 ob::Client
*arg1
= (ob::Client
*) 0 ;
9217 PyObject
* obj0
= 0 ;
9219 if(!PyArg_ParseTuple(args
,(char *)"O:Client_focus",&obj0
)) goto fail
;
9220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9221 result
= (bool)((ob::Client
const *)arg1
)->focus();
9223 resultobj
= PyInt_FromLong((long)result
);
9230 static PyObject
*_wrap_Client_unfocus(PyObject
*self
, PyObject
*args
) {
9231 PyObject
*resultobj
;
9232 ob::Client
*arg1
= (ob::Client
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9235 if(!PyArg_ParseTuple(args
,(char *)"O:Client_unfocus",&obj0
)) goto fail
;
9236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9237 ((ob::Client
const *)arg1
)->unfocus();
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
*_wrap_Client_focusHandler(PyObject
*self
, PyObject
*args
) {
9247 PyObject
*resultobj
;
9248 ob::Client
*arg1
= (ob::Client
*) 0 ;
9249 XFocusChangeEvent
*arg2
= 0 ;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9253 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_focusHandler",&obj0
,&obj1
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9259 (arg1
)->focusHandler((XFocusChangeEvent
const &)*arg2
);
9261 Py_INCREF(Py_None
); resultobj
= Py_None
;
9268 static PyObject
*_wrap_Client_unfocusHandler(PyObject
*self
, PyObject
*args
) {
9269 PyObject
*resultobj
;
9270 ob::Client
*arg1
= (ob::Client
*) 0 ;
9271 XFocusChangeEvent
*arg2
= 0 ;
9272 PyObject
* obj0
= 0 ;
9273 PyObject
* obj1
= 0 ;
9275 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_unfocusHandler",&obj0
,&obj1
)) goto fail
;
9276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XFocusChangeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9281 (arg1
)->unfocusHandler((XFocusChangeEvent
const &)*arg2
);
9283 Py_INCREF(Py_None
); resultobj
= Py_None
;
9290 static PyObject
*_wrap_Client_propertyHandler(PyObject
*self
, PyObject
*args
) {
9291 PyObject
*resultobj
;
9292 ob::Client
*arg1
= (ob::Client
*) 0 ;
9293 XPropertyEvent
*arg2
= 0 ;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9297 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_propertyHandler",&obj0
,&obj1
)) goto fail
;
9298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XPropertyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9301 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9303 (arg1
)->propertyHandler((XPropertyEvent
const &)*arg2
);
9305 Py_INCREF(Py_None
); resultobj
= Py_None
;
9312 static PyObject
*_wrap_Client_clientMessageHandler(PyObject
*self
, PyObject
*args
) {
9313 PyObject
*resultobj
;
9314 ob::Client
*arg1
= (ob::Client
*) 0 ;
9315 XClientMessageEvent
*arg2
= 0 ;
9316 PyObject
* obj0
= 0 ;
9317 PyObject
* obj1
= 0 ;
9319 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_clientMessageHandler",&obj0
,&obj1
)) goto fail
;
9320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XClientMessageEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9325 (arg1
)->clientMessageHandler((XClientMessageEvent
const &)*arg2
);
9327 Py_INCREF(Py_None
); resultobj
= Py_None
;
9334 static PyObject
*_wrap_Client_configureRequestHandler(PyObject
*self
, PyObject
*args
) {
9335 PyObject
*resultobj
;
9336 ob::Client
*arg1
= (ob::Client
*) 0 ;
9337 XConfigureRequestEvent
*arg2
= 0 ;
9338 PyObject
* obj0
= 0 ;
9339 PyObject
* obj1
= 0 ;
9341 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_configureRequestHandler",&obj0
,&obj1
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9343 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XConfigureRequestEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9345 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9347 (arg1
)->configureRequestHandler((XConfigureRequestEvent
const &)*arg2
);
9349 Py_INCREF(Py_None
); resultobj
= Py_None
;
9356 static PyObject
*_wrap_Client_unmapHandler(PyObject
*self
, PyObject
*args
) {
9357 PyObject
*resultobj
;
9358 ob::Client
*arg1
= (ob::Client
*) 0 ;
9359 XUnmapEvent
*arg2
= 0 ;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9363 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_unmapHandler",&obj0
,&obj1
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XUnmapEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9369 (arg1
)->unmapHandler((XUnmapEvent
const &)*arg2
);
9371 Py_INCREF(Py_None
); resultobj
= Py_None
;
9378 static PyObject
*_wrap_Client_destroyHandler(PyObject
*self
, PyObject
*args
) {
9379 PyObject
*resultobj
;
9380 ob::Client
*arg1
= (ob::Client
*) 0 ;
9381 XDestroyWindowEvent
*arg2
= 0 ;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9385 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_destroyHandler",&obj0
,&obj1
)) goto fail
;
9386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XDestroyWindowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9391 (arg1
)->destroyHandler((XDestroyWindowEvent
const &)*arg2
);
9393 Py_INCREF(Py_None
); resultobj
= Py_None
;
9400 static PyObject
*_wrap_Client_reparentHandler(PyObject
*self
, PyObject
*args
) {
9401 PyObject
*resultobj
;
9402 ob::Client
*arg1
= (ob::Client
*) 0 ;
9403 XReparentEvent
*arg2
= 0 ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9407 if(!PyArg_ParseTuple(args
,(char *)"OO:Client_reparentHandler",&obj0
,&obj1
)) goto fail
;
9408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_XReparentEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9411 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9413 (arg1
)->reparentHandler((XReparentEvent
const &)*arg2
);
9415 Py_INCREF(Py_None
); resultobj
= Py_None
;
9422 static PyObject
* Client_swigregister(PyObject
*self
, PyObject
*args
) {
9424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9425 SWIG_TypeClientData(SWIGTYPE_p_ob__Client
, obj
);
9427 return Py_BuildValue((char *)"");
9429 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
) {
9430 PyObject
*resultobj
;
9431 ob::Client
*arg1
= (ob::Client
*) 0 ;
9432 otk::Style
*arg2
= (otk::Style
*) 0 ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9437 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Frame",&obj0
,&obj1
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9439 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9440 result
= (ob::Frame
*)new ob::Frame(arg1
,arg2
);
9442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Frame
, 1);
9449 static PyObject
*_wrap_delete_Frame(PyObject
*self
, PyObject
*args
) {
9450 PyObject
*resultobj
;
9451 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9454 if(!PyArg_ParseTuple(args
,(char *)"O:delete_Frame",&obj0
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9458 Py_INCREF(Py_None
); resultobj
= Py_None
;
9465 static PyObject
*_wrap_Frame_size(PyObject
*self
, PyObject
*args
) {
9466 PyObject
*resultobj
;
9467 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9471 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_size",&obj0
)) goto fail
;
9472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9474 otk::Strut
const &_result_ref
= ((ob::Frame
const *)arg1
)->size();
9475 result
= (otk::Strut
*) &_result_ref
;
9478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_otk__Strut
, 0);
9485 static PyObject
*_wrap_Frame_setStyle(PyObject
*self
, PyObject
*args
) {
9486 PyObject
*resultobj
;
9487 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9488 otk::Style
*arg2
= (otk::Style
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9490 PyObject
* obj1
= 0 ;
9492 if(!PyArg_ParseTuple(args
,(char *)"OO:Frame_setStyle",&obj0
,&obj1
)) goto fail
;
9493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9494 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_otk__Style
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9495 (arg1
)->setStyle(arg2
);
9497 Py_INCREF(Py_None
); resultobj
= Py_None
;
9504 static PyObject
*_wrap_Frame_adjust(PyObject
*self
, PyObject
*args
) {
9505 PyObject
*resultobj
;
9506 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9509 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_adjust",&obj0
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9513 Py_INCREF(Py_None
); resultobj
= Py_None
;
9520 static PyObject
*_wrap_Frame_focus(PyObject
*self
, PyObject
*args
) {
9521 PyObject
*resultobj
;
9522 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9525 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_focus",&obj0
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9529 Py_INCREF(Py_None
); resultobj
= Py_None
;
9536 static PyObject
*_wrap_Frame_unfocus(PyObject
*self
, PyObject
*args
) {
9537 PyObject
*resultobj
;
9538 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9541 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_unfocus",&obj0
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9545 Py_INCREF(Py_None
); resultobj
= Py_None
;
9552 static PyObject
*_wrap_Frame_setTitle(PyObject
*self
, PyObject
*args
) {
9553 PyObject
*resultobj
;
9554 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9555 otk::ustring
*arg2
= 0 ;
9556 otk::ustring temp2
;
9557 PyObject
* obj0
= 0 ;
9558 PyObject
* obj1
= 0 ;
9560 if(!PyArg_ParseTuple(args
,(char *)"OO:Frame_setTitle",&obj0
,&obj1
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9563 if (PyString_Check(obj1
)) {
9564 temp2
= otk::ustring(PyString_AsString(obj1
));
9567 SWIG_exception(SWIG_TypeError
, "ustring expected");
9570 (arg1
)->setTitle((otk::ustring
const &)*arg2
);
9572 Py_INCREF(Py_None
); resultobj
= Py_None
;
9579 static PyObject
*_wrap_Frame_grabClient(PyObject
*self
, PyObject
*args
) {
9580 PyObject
*resultobj
;
9581 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9582 PyObject
* obj0
= 0 ;
9584 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_grabClient",&obj0
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9586 (arg1
)->grabClient();
9588 Py_INCREF(Py_None
); resultobj
= Py_None
;
9595 static PyObject
*_wrap_Frame_releaseClient(PyObject
*self
, PyObject
*args
) {
9596 PyObject
*resultobj
;
9597 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9600 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_releaseClient",&obj0
)) goto fail
;
9601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9602 (arg1
)->releaseClient();
9604 Py_INCREF(Py_None
); resultobj
= Py_None
;
9611 static PyObject
*_wrap_Frame_adjustSize(PyObject
*self
, PyObject
*args
) {
9612 PyObject
*resultobj
;
9613 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9614 PyObject
* obj0
= 0 ;
9616 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_adjustSize",&obj0
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9618 (arg1
)->adjustSize();
9620 Py_INCREF(Py_None
); resultobj
= Py_None
;
9627 static PyObject
*_wrap_Frame_adjustPosition(PyObject
*self
, PyObject
*args
) {
9628 PyObject
*resultobj
;
9629 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9632 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_adjustPosition",&obj0
)) goto fail
;
9633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9634 (arg1
)->adjustPosition();
9636 Py_INCREF(Py_None
); resultobj
= Py_None
;
9643 static PyObject
*_wrap_Frame_adjustShape(PyObject
*self
, PyObject
*args
) {
9644 PyObject
*resultobj
;
9645 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9646 PyObject
* obj0
= 0 ;
9648 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_adjustShape",&obj0
)) goto fail
;
9649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9650 (arg1
)->adjustShape();
9652 Py_INCREF(Py_None
); resultobj
= Py_None
;
9659 static PyObject
*_wrap_Frame_clientGravity(PyObject
*self
, PyObject
*args
) {
9660 PyObject
*resultobj
;
9661 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9666 PyObject
* obj2
= 0 ;
9668 if(!PyArg_ParseTuple(args
,(char *)"OOO:Frame_clientGravity",&obj0
,&obj1
,&obj2
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9672 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9674 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9676 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9678 (arg1
)->clientGravity(*arg2
,*arg3
);
9680 Py_INCREF(Py_None
); resultobj
= Py_None
;
9687 static PyObject
*_wrap_Frame_frameGravity(PyObject
*self
, PyObject
*args
) {
9688 PyObject
*resultobj
;
9689 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 PyObject
* obj2
= 0 ;
9696 if(!PyArg_ParseTuple(args
,(char *)"OOO:Frame_frameGravity",&obj0
,&obj1
,&obj2
)) goto fail
;
9697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9702 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9704 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9706 (arg1
)->frameGravity(*arg2
,*arg3
);
9708 Py_INCREF(Py_None
); resultobj
= Py_None
;
9715 static PyObject
*_wrap_Frame_plate(PyObject
*self
, PyObject
*args
) {
9716 PyObject
*resultobj
;
9717 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9719 PyObject
* obj0
= 0 ;
9721 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_plate",&obj0
)) goto fail
;
9722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9723 result
= (Window
)((ob::Frame
const *)arg1
)->plate();
9725 resultobj
= PyInt_FromLong((long)result
);
9732 static PyObject
*_wrap_Frame_titlebar(PyObject
*self
, PyObject
*args
) {
9733 PyObject
*resultobj
;
9734 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9738 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_titlebar",&obj0
)) goto fail
;
9739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9740 result
= (Window
)((ob::Frame
const *)arg1
)->titlebar();
9742 resultobj
= PyInt_FromLong((long)result
);
9749 static PyObject
*_wrap_Frame_label(PyObject
*self
, PyObject
*args
) {
9750 PyObject
*resultobj
;
9751 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9753 PyObject
* obj0
= 0 ;
9755 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_label",&obj0
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9757 result
= (Window
)((ob::Frame
const *)arg1
)->label();
9759 resultobj
= PyInt_FromLong((long)result
);
9766 static PyObject
*_wrap_Frame_button_close(PyObject
*self
, PyObject
*args
) {
9767 PyObject
*resultobj
;
9768 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9772 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_button_close",&obj0
)) goto fail
;
9773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9774 result
= (Window
)((ob::Frame
const *)arg1
)->button_close();
9776 resultobj
= PyInt_FromLong((long)result
);
9783 static PyObject
*_wrap_Frame_button_iconify(PyObject
*self
, PyObject
*args
) {
9784 PyObject
*resultobj
;
9785 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9789 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_button_iconify",&obj0
)) goto fail
;
9790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9791 result
= (Window
)((ob::Frame
const *)arg1
)->button_iconify();
9793 resultobj
= PyInt_FromLong((long)result
);
9800 static PyObject
*_wrap_Frame_button_max(PyObject
*self
, PyObject
*args
) {
9801 PyObject
*resultobj
;
9802 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9806 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_button_max",&obj0
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9808 result
= (Window
)((ob::Frame
const *)arg1
)->button_max();
9810 resultobj
= PyInt_FromLong((long)result
);
9817 static PyObject
*_wrap_Frame_button_stick(PyObject
*self
, PyObject
*args
) {
9818 PyObject
*resultobj
;
9819 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9823 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_button_stick",&obj0
)) goto fail
;
9824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9825 result
= (Window
)((ob::Frame
const *)arg1
)->button_stick();
9827 resultobj
= PyInt_FromLong((long)result
);
9834 static PyObject
*_wrap_Frame_handle(PyObject
*self
, PyObject
*args
) {
9835 PyObject
*resultobj
;
9836 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9840 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_handle",&obj0
)) goto fail
;
9841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9842 result
= (Window
)((ob::Frame
const *)arg1
)->handle();
9844 resultobj
= PyInt_FromLong((long)result
);
9851 static PyObject
*_wrap_Frame_grip_left(PyObject
*self
, PyObject
*args
) {
9852 PyObject
*resultobj
;
9853 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9855 PyObject
* obj0
= 0 ;
9857 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_grip_left",&obj0
)) goto fail
;
9858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9859 result
= (Window
)((ob::Frame
const *)arg1
)->grip_left();
9861 resultobj
= PyInt_FromLong((long)result
);
9868 static PyObject
*_wrap_Frame_grip_right(PyObject
*self
, PyObject
*args
) {
9869 PyObject
*resultobj
;
9870 ob::Frame
*arg1
= (ob::Frame
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9874 if(!PyArg_ParseTuple(args
,(char *)"O:Frame_grip_right",&obj0
)) goto fail
;
9875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__Frame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9876 result
= (Window
)((ob::Frame
const *)arg1
)->grip_right();
9878 resultobj
= PyInt_FromLong((long)result
);
9885 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
9887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9888 SWIG_TypeClientData(SWIGTYPE_p_ob__Frame
, obj
);
9890 return Py_BuildValue((char *)"");
9892 static PyObject
*_wrap_MouseData_screen_set(PyObject
*self
, PyObject
*args
) {
9893 PyObject
*resultobj
;
9894 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9898 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_screen_set",&obj0
,&arg2
)) goto fail
;
9899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9900 if (arg1
) (arg1
)->screen
= arg2
;
9902 Py_INCREF(Py_None
); resultobj
= Py_None
;
9909 static PyObject
*_wrap_MouseData_screen_get(PyObject
*self
, PyObject
*args
) {
9910 PyObject
*resultobj
;
9911 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9913 PyObject
* obj0
= 0 ;
9915 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_screen_get",&obj0
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9917 result
= (int) ((arg1
)->screen
);
9919 resultobj
= PyInt_FromLong((long)result
);
9926 static PyObject
*_wrap_MouseData_client_set(PyObject
*self
, PyObject
*args
) {
9927 PyObject
*resultobj
;
9928 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9929 ob::Client
*arg2
= (ob::Client
*) 0 ;
9930 PyObject
* obj0
= 0 ;
9931 PyObject
* obj1
= 0 ;
9933 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_client_set",&obj0
,&obj1
)) goto fail
;
9934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9935 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
9936 if (arg1
) (arg1
)->client
= arg2
;
9938 Py_INCREF(Py_None
); resultobj
= Py_None
;
9945 static PyObject
*_wrap_MouseData_client_get(PyObject
*self
, PyObject
*args
) {
9946 PyObject
*resultobj
;
9947 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9951 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_client_get",&obj0
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9953 result
= (ob::Client
*) ((arg1
)->client
);
9955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
9962 static PyObject
*_wrap_MouseData_time_set(PyObject
*self
, PyObject
*args
) {
9963 PyObject
*resultobj
;
9964 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9966 PyObject
* obj0
= 0 ;
9967 PyObject
* obj1
= 0 ;
9969 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_time_set",&obj0
,&obj1
)) goto fail
;
9970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9971 arg2
= (Time
) PyInt_AsLong(obj1
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9973 if (arg1
) (arg1
)->time
= arg2
;
9975 Py_INCREF(Py_None
); resultobj
= Py_None
;
9982 static PyObject
*_wrap_MouseData_time_get(PyObject
*self
, PyObject
*args
) {
9983 PyObject
*resultobj
;
9984 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
9986 PyObject
* obj0
= 0 ;
9988 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_time_get",&obj0
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9990 result
= (Time
) ((arg1
)->time
);
9992 resultobj
= PyInt_FromLong((long)result
);
9999 static PyObject
*_wrap_MouseData_state_set(PyObject
*self
, PyObject
*args
) {
10000 PyObject
*resultobj
;
10001 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10002 unsigned int arg2
;
10003 PyObject
* obj0
= 0 ;
10004 PyObject
* obj1
= 0 ;
10006 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_state_set",&obj0
,&obj1
)) goto fail
;
10007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10008 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10010 if (arg1
) (arg1
)->state
= arg2
;
10012 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_MouseData_state_get(PyObject
*self
, PyObject
*args
) {
10020 PyObject
*resultobj
;
10021 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10022 unsigned int result
;
10023 PyObject
* obj0
= 0 ;
10025 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_state_get",&obj0
)) goto fail
;
10026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10027 result
= (unsigned int) ((arg1
)->state
);
10029 resultobj
= PyInt_FromLong((long)result
);
10036 static PyObject
*_wrap_MouseData_button_set(PyObject
*self
, PyObject
*args
) {
10037 PyObject
*resultobj
;
10038 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10039 unsigned int arg2
;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10043 if(!PyArg_ParseTuple(args
,(char *)"OO:MouseData_button_set",&obj0
,&obj1
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10045 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10047 if (arg1
) (arg1
)->button
= arg2
;
10049 Py_INCREF(Py_None
); resultobj
= Py_None
;
10056 static PyObject
*_wrap_MouseData_button_get(PyObject
*self
, PyObject
*args
) {
10057 PyObject
*resultobj
;
10058 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10059 unsigned int result
;
10060 PyObject
* obj0
= 0 ;
10062 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_button_get",&obj0
)) goto fail
;
10063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10064 result
= (unsigned int) ((arg1
)->button
);
10066 resultobj
= PyInt_FromLong((long)result
);
10073 static PyObject
*_wrap_MouseData_context_set(PyObject
*self
, PyObject
*args
) {
10074 PyObject
*resultobj
;
10075 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10077 PyObject
* obj0
= 0 ;
10079 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_context_set",&obj0
,&arg2
)) goto fail
;
10080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10081 if (arg1
) (arg1
)->context
= (ob::MouseContext
)arg2
;
10083 Py_INCREF(Py_None
); resultobj
= Py_None
;
10090 static PyObject
*_wrap_MouseData_context_get(PyObject
*self
, PyObject
*args
) {
10091 PyObject
*resultobj
;
10092 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10096 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_context_get",&obj0
)) goto fail
;
10097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10098 result
= (int) ((arg1
)->context
);
10100 resultobj
= PyInt_FromLong((long)result
);
10107 static PyObject
*_wrap_MouseData_action_set(PyObject
*self
, PyObject
*args
) {
10108 PyObject
*resultobj
;
10109 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10111 PyObject
* obj0
= 0 ;
10113 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_action_set",&obj0
,&arg2
)) goto fail
;
10114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10115 if (arg1
) (arg1
)->action
= (ob::MouseAction
)arg2
;
10117 Py_INCREF(Py_None
); resultobj
= Py_None
;
10124 static PyObject
*_wrap_MouseData_action_get(PyObject
*self
, PyObject
*args
) {
10125 PyObject
*resultobj
;
10126 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10128 PyObject
* obj0
= 0 ;
10130 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_action_get",&obj0
)) goto fail
;
10131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10132 result
= (int) ((arg1
)->action
);
10134 resultobj
= PyInt_FromLong((long)result
);
10141 static PyObject
*_wrap_MouseData_xroot_set(PyObject
*self
, PyObject
*args
) {
10142 PyObject
*resultobj
;
10143 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10145 PyObject
* obj0
= 0 ;
10147 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_xroot_set",&obj0
,&arg2
)) goto fail
;
10148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10149 if (arg1
) (arg1
)->xroot
= arg2
;
10151 Py_INCREF(Py_None
); resultobj
= Py_None
;
10158 static PyObject
*_wrap_MouseData_xroot_get(PyObject
*self
, PyObject
*args
) {
10159 PyObject
*resultobj
;
10160 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10164 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_xroot_get",&obj0
)) goto fail
;
10165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10166 result
= (int) ((arg1
)->xroot
);
10168 resultobj
= PyInt_FromLong((long)result
);
10175 static PyObject
*_wrap_MouseData_yroot_set(PyObject
*self
, PyObject
*args
) {
10176 PyObject
*resultobj
;
10177 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10179 PyObject
* obj0
= 0 ;
10181 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_yroot_set",&obj0
,&arg2
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10183 if (arg1
) (arg1
)->yroot
= arg2
;
10185 Py_INCREF(Py_None
); resultobj
= Py_None
;
10192 static PyObject
*_wrap_MouseData_yroot_get(PyObject
*self
, PyObject
*args
) {
10193 PyObject
*resultobj
;
10194 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10196 PyObject
* obj0
= 0 ;
10198 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_yroot_get",&obj0
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10200 result
= (int) ((arg1
)->yroot
);
10202 resultobj
= PyInt_FromLong((long)result
);
10209 static PyObject
*_wrap_MouseData_pressx_set(PyObject
*self
, PyObject
*args
) {
10210 PyObject
*resultobj
;
10211 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10213 PyObject
* obj0
= 0 ;
10215 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_pressx_set",&obj0
,&arg2
)) goto fail
;
10216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10217 if (arg1
) (arg1
)->pressx
= arg2
;
10219 Py_INCREF(Py_None
); resultobj
= Py_None
;
10226 static PyObject
*_wrap_MouseData_pressx_get(PyObject
*self
, PyObject
*args
) {
10227 PyObject
*resultobj
;
10228 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10230 PyObject
* obj0
= 0 ;
10232 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_pressx_get",&obj0
)) goto fail
;
10233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10234 result
= (int) ((arg1
)->pressx
);
10236 resultobj
= PyInt_FromLong((long)result
);
10243 static PyObject
*_wrap_MouseData_pressy_set(PyObject
*self
, PyObject
*args
) {
10244 PyObject
*resultobj
;
10245 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10249 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_pressy_set",&obj0
,&arg2
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10251 if (arg1
) (arg1
)->pressy
= arg2
;
10253 Py_INCREF(Py_None
); resultobj
= Py_None
;
10260 static PyObject
*_wrap_MouseData_pressy_get(PyObject
*self
, PyObject
*args
) {
10261 PyObject
*resultobj
;
10262 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10264 PyObject
* obj0
= 0 ;
10266 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_pressy_get",&obj0
)) goto fail
;
10267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10268 result
= (int) ((arg1
)->pressy
);
10270 resultobj
= PyInt_FromLong((long)result
);
10277 static PyObject
*_wrap_MouseData_press_clientx_set(PyObject
*self
, PyObject
*args
) {
10278 PyObject
*resultobj
;
10279 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10281 PyObject
* obj0
= 0 ;
10283 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientx_set",&obj0
,&arg2
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10285 if (arg1
) (arg1
)->press_clientx
= arg2
;
10287 Py_INCREF(Py_None
); resultobj
= Py_None
;
10294 static PyObject
*_wrap_MouseData_press_clientx_get(PyObject
*self
, PyObject
*args
) {
10295 PyObject
*resultobj
;
10296 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10298 PyObject
* obj0
= 0 ;
10300 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientx_get",&obj0
)) goto fail
;
10301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10302 result
= (int) ((arg1
)->press_clientx
);
10304 resultobj
= PyInt_FromLong((long)result
);
10311 static PyObject
*_wrap_MouseData_press_clienty_set(PyObject
*self
, PyObject
*args
) {
10312 PyObject
*resultobj
;
10313 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10315 PyObject
* obj0
= 0 ;
10317 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clienty_set",&obj0
,&arg2
)) goto fail
;
10318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10319 if (arg1
) (arg1
)->press_clienty
= arg2
;
10321 Py_INCREF(Py_None
); resultobj
= Py_None
;
10328 static PyObject
*_wrap_MouseData_press_clienty_get(PyObject
*self
, PyObject
*args
) {
10329 PyObject
*resultobj
;
10330 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10332 PyObject
* obj0
= 0 ;
10334 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clienty_get",&obj0
)) goto fail
;
10335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10336 result
= (int) ((arg1
)->press_clienty
);
10338 resultobj
= PyInt_FromLong((long)result
);
10345 static PyObject
*_wrap_MouseData_press_clientwidth_set(PyObject
*self
, PyObject
*args
) {
10346 PyObject
*resultobj
;
10347 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10351 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientwidth_set",&obj0
,&arg2
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10353 if (arg1
) (arg1
)->press_clientwidth
= arg2
;
10355 Py_INCREF(Py_None
); resultobj
= Py_None
;
10362 static PyObject
*_wrap_MouseData_press_clientwidth_get(PyObject
*self
, PyObject
*args
) {
10363 PyObject
*resultobj
;
10364 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10368 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientwidth_get",&obj0
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10370 result
= (int) ((arg1
)->press_clientwidth
);
10372 resultobj
= PyInt_FromLong((long)result
);
10379 static PyObject
*_wrap_MouseData_press_clientheight_set(PyObject
*self
, PyObject
*args
) {
10380 PyObject
*resultobj
;
10381 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10383 PyObject
* obj0
= 0 ;
10385 if(!PyArg_ParseTuple(args
,(char *)"Oi:MouseData_press_clientheight_set",&obj0
,&arg2
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10387 if (arg1
) (arg1
)->press_clientheight
= arg2
;
10389 Py_INCREF(Py_None
); resultobj
= Py_None
;
10396 static PyObject
*_wrap_MouseData_press_clientheight_get(PyObject
*self
, PyObject
*args
) {
10397 PyObject
*resultobj
;
10398 ob::MouseData
*arg1
= (ob::MouseData
*) 0 ;
10400 PyObject
* obj0
= 0 ;
10402 if(!PyArg_ParseTuple(args
,(char *)"O:MouseData_press_clientheight_get",&obj0
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__MouseData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10404 result
= (int) ((arg1
)->press_clientheight
);
10406 resultobj
= PyInt_FromLong((long)result
);
10413 static PyObject
*_wrap_new_MouseData__SWIG_0(PyObject
*self
, PyObject
*args
) {
10414 PyObject
*resultobj
;
10416 ob::Client
*arg2
= (ob::Client
*) 0 ;
10418 unsigned int arg4
;
10419 unsigned int arg5
;
10424 otk::Point
*arg10
= 0 ;
10425 otk::Rect
*arg11
= 0 ;
10426 ob::MouseData
*result
;
10427 PyObject
* obj1
= 0 ;
10428 PyObject
* obj2
= 0 ;
10429 PyObject
* obj3
= 0 ;
10430 PyObject
* obj4
= 0 ;
10431 PyObject
* obj9
= 0 ;
10432 PyObject
* obj10
= 0 ;
10434 if(!PyArg_ParseTuple(args
,(char *)"iOOOOiiiiOO:new_MouseData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
,&obj10
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10436 arg3
= (Time
) PyInt_AsLong(obj2
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10438 arg4
= (unsigned int) PyInt_AsLong(obj3
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10440 arg5
= (unsigned int) PyInt_AsLong(obj4
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10442 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_otk__Point
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10443 if (arg10
== NULL
) {
10444 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10446 if ((SWIG_ConvertPtr(obj10
,(void **) &arg11
, SWIGTYPE_p_otk__Rect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10447 if (arg11
== NULL
) {
10448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10450 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
);
10452 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__MouseData
, 1);
10459 static PyObject
*_wrap_new_MouseData__SWIG_1(PyObject
*self
, PyObject
*args
) {
10460 PyObject
*resultobj
;
10462 ob::Client
*arg2
= (ob::Client
*) 0 ;
10464 unsigned int arg4
;
10465 unsigned int arg5
;
10468 ob::MouseData
*result
;
10469 PyObject
* obj1
= 0 ;
10470 PyObject
* obj2
= 0 ;
10471 PyObject
* obj3
= 0 ;
10472 PyObject
* obj4
= 0 ;
10474 if(!PyArg_ParseTuple(args
,(char *)"iOOOOii:new_MouseData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
)) goto fail
;
10475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10476 arg3
= (Time
) PyInt_AsLong(obj2
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10478 arg4
= (unsigned int) PyInt_AsLong(obj3
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10480 arg5
= (unsigned int) PyInt_AsLong(obj4
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10482 result
= (ob::MouseData
*)new ob::MouseData(arg1
,arg2
,arg3
,arg4
,arg5
,(ob::MouseContext
)arg6
,(ob::MouseAction
)arg7
);
10484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__MouseData
, 1);
10491 static PyObject
*_wrap_new_MouseData(PyObject
*self
, PyObject
*args
) {
10493 PyObject
*argv
[12];
10496 argc
= PyObject_Length(args
);
10497 for (ii
= 0; (ii
< argc
) && (ii
< 11); ii
++) {
10498 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10503 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
10508 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_ob__Client
, 0) == -1) {
10517 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
10521 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
10525 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
10529 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
10533 _v
= (PyInt_Check(argv
[6]) || PyLong_Check(argv
[6])) ? 1 : 0;
10536 return _wrap_new_MouseData__SWIG_1(self
,args
);
10548 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
10553 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_ob__Client
, 0) == -1) {
10562 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
10566 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
10570 _v
= (PyInt_Check(argv
[4]) || PyLong_Check(argv
[4])) ? 1 : 0;
10574 _v
= (PyInt_Check(argv
[5]) || PyLong_Check(argv
[5])) ? 1 : 0;
10578 _v
= (PyInt_Check(argv
[6]) || PyLong_Check(argv
[6])) ? 1 : 0;
10582 _v
= (PyInt_Check(argv
[7]) || PyLong_Check(argv
[7])) ? 1 : 0;
10586 _v
= (PyInt_Check(argv
[8]) || PyLong_Check(argv
[8])) ? 1 : 0;
10591 if (SWIG_ConvertPtr(argv
[9], (void **) &ptr
, SWIGTYPE_p_otk__Point
, 0) == -1) {
10601 if (SWIG_ConvertPtr(argv
[10], (void **) &ptr
, SWIGTYPE_p_otk__Rect
, 0) == -1) {
10609 return _wrap_new_MouseData__SWIG_0(self
,args
);
10623 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_MouseData'");
10628 static PyObject
* MouseData_swigregister(PyObject
*self
, PyObject
*args
) {
10630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10631 SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData
, obj
);
10633 return Py_BuildValue((char *)"");
10635 static PyObject
*_wrap_EventData_screen_set(PyObject
*self
, PyObject
*args
) {
10636 PyObject
*resultobj
;
10637 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10639 PyObject
* obj0
= 0 ;
10641 if(!PyArg_ParseTuple(args
,(char *)"Oi:EventData_screen_set",&obj0
,&arg2
)) goto fail
;
10642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10643 if (arg1
) (arg1
)->screen
= arg2
;
10645 Py_INCREF(Py_None
); resultobj
= Py_None
;
10652 static PyObject
*_wrap_EventData_screen_get(PyObject
*self
, PyObject
*args
) {
10653 PyObject
*resultobj
;
10654 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10656 PyObject
* obj0
= 0 ;
10658 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_screen_get",&obj0
)) goto fail
;
10659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10660 result
= (int) ((arg1
)->screen
);
10662 resultobj
= PyInt_FromLong((long)result
);
10669 static PyObject
*_wrap_EventData_client_set(PyObject
*self
, PyObject
*args
) {
10670 PyObject
*resultobj
;
10671 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10672 ob::Client
*arg2
= (ob::Client
*) 0 ;
10673 PyObject
* obj0
= 0 ;
10674 PyObject
* obj1
= 0 ;
10676 if(!PyArg_ParseTuple(args
,(char *)"OO:EventData_client_set",&obj0
,&obj1
)) goto fail
;
10677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
10679 if (arg1
) (arg1
)->client
= arg2
;
10681 Py_INCREF(Py_None
); resultobj
= Py_None
;
10688 static PyObject
*_wrap_EventData_client_get(PyObject
*self
, PyObject
*args
) {
10689 PyObject
*resultobj
;
10690 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10691 ob::Client
*result
;
10692 PyObject
* obj0
= 0 ;
10694 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_client_get",&obj0
)) goto fail
;
10695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10696 result
= (ob::Client
*) ((arg1
)->client
);
10698 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
10705 static PyObject
*_wrap_EventData_state_set(PyObject
*self
, PyObject
*args
) {
10706 PyObject
*resultobj
;
10707 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10708 unsigned int arg2
;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10712 if(!PyArg_ParseTuple(args
,(char *)"OO:EventData_state_set",&obj0
,&obj1
)) goto fail
;
10713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10714 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10716 if (arg1
) (arg1
)->state
= arg2
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10725 static PyObject
*_wrap_EventData_state_get(PyObject
*self
, PyObject
*args
) {
10726 PyObject
*resultobj
;
10727 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10728 unsigned int result
;
10729 PyObject
* obj0
= 0 ;
10731 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_state_get",&obj0
)) goto fail
;
10732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10733 result
= (unsigned int) ((arg1
)->state
);
10735 resultobj
= PyInt_FromLong((long)result
);
10742 static PyObject
*_wrap_EventData_action_set(PyObject
*self
, PyObject
*args
) {
10743 PyObject
*resultobj
;
10744 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10748 if(!PyArg_ParseTuple(args
,(char *)"Oi:EventData_action_set",&obj0
,&arg2
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10750 if (arg1
) (arg1
)->action
= (ob::EventAction
)arg2
;
10752 Py_INCREF(Py_None
); resultobj
= Py_None
;
10759 static PyObject
*_wrap_EventData_action_get(PyObject
*self
, PyObject
*args
) {
10760 PyObject
*resultobj
;
10761 ob::EventData
*arg1
= (ob::EventData
*) 0 ;
10763 PyObject
* obj0
= 0 ;
10765 if(!PyArg_ParseTuple(args
,(char *)"O:EventData_action_get",&obj0
)) goto fail
;
10766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__EventData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10767 result
= (int) ((arg1
)->action
);
10769 resultobj
= PyInt_FromLong((long)result
);
10776 static PyObject
*_wrap_new_EventData(PyObject
*self
, PyObject
*args
) {
10777 PyObject
*resultobj
;
10779 ob::Client
*arg2
= (ob::Client
*) 0 ;
10781 unsigned int arg4
;
10782 ob::EventData
*result
;
10783 PyObject
* obj1
= 0 ;
10784 PyObject
* obj3
= 0 ;
10786 if(!PyArg_ParseTuple(args
,(char *)"iOiO:new_EventData",&arg1
,&obj1
,&arg3
,&obj3
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10788 arg4
= (unsigned int) PyInt_AsLong(obj3
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10790 result
= (ob::EventData
*)new ob::EventData(arg1
,arg2
,(ob::EventAction
)arg3
,arg4
);
10792 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__EventData
, 1);
10799 static PyObject
* EventData_swigregister(PyObject
*self
, PyObject
*args
) {
10801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10802 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData
, obj
);
10804 return Py_BuildValue((char *)"");
10806 static PyObject
*_wrap_KeyData_screen_set(PyObject
*self
, PyObject
*args
) {
10807 PyObject
*resultobj
;
10808 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10810 PyObject
* obj0
= 0 ;
10812 if(!PyArg_ParseTuple(args
,(char *)"Oi:KeyData_screen_set",&obj0
,&arg2
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10814 if (arg1
) (arg1
)->screen
= arg2
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
*_wrap_KeyData_screen_get(PyObject
*self
, PyObject
*args
) {
10824 PyObject
*resultobj
;
10825 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10829 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_screen_get",&obj0
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10831 result
= (int) ((arg1
)->screen
);
10833 resultobj
= PyInt_FromLong((long)result
);
10840 static PyObject
*_wrap_KeyData_client_set(PyObject
*self
, PyObject
*args
) {
10841 PyObject
*resultobj
;
10842 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10843 ob::Client
*arg2
= (ob::Client
*) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 PyObject
* obj1
= 0 ;
10847 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_client_set",&obj0
,&obj1
)) goto fail
;
10848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
10850 if (arg1
) (arg1
)->client
= arg2
;
10852 Py_INCREF(Py_None
); resultobj
= Py_None
;
10859 static PyObject
*_wrap_KeyData_client_get(PyObject
*self
, PyObject
*args
) {
10860 PyObject
*resultobj
;
10861 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10862 ob::Client
*result
;
10863 PyObject
* obj0
= 0 ;
10865 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_client_get",&obj0
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10867 result
= (ob::Client
*) ((arg1
)->client
);
10869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__Client
, 0);
10876 static PyObject
*_wrap_KeyData_time_set(PyObject
*self
, PyObject
*args
) {
10877 PyObject
*resultobj
;
10878 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10883 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_time_set",&obj0
,&obj1
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10885 arg2
= (Time
) PyInt_AsLong(obj1
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10887 if (arg1
) (arg1
)->time
= arg2
;
10889 Py_INCREF(Py_None
); resultobj
= Py_None
;
10896 static PyObject
*_wrap_KeyData_time_get(PyObject
*self
, PyObject
*args
) {
10897 PyObject
*resultobj
;
10898 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10900 PyObject
* obj0
= 0 ;
10902 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_time_get",&obj0
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10904 result
= (Time
) ((arg1
)->time
);
10906 resultobj
= PyInt_FromLong((long)result
);
10913 static PyObject
*_wrap_KeyData_state_set(PyObject
*self
, PyObject
*args
) {
10914 PyObject
*resultobj
;
10915 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10916 unsigned int arg2
;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10920 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_state_set",&obj0
,&obj1
)) goto fail
;
10921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10922 arg2
= (unsigned int) PyInt_AsLong(obj1
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10924 if (arg1
) (arg1
)->state
= arg2
;
10926 Py_INCREF(Py_None
); resultobj
= Py_None
;
10933 static PyObject
*_wrap_KeyData_state_get(PyObject
*self
, PyObject
*args
) {
10934 PyObject
*resultobj
;
10935 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10936 unsigned int result
;
10937 PyObject
* obj0
= 0 ;
10939 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_state_get",&obj0
)) goto fail
;
10940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10941 result
= (unsigned int) ((arg1
)->state
);
10943 resultobj
= PyInt_FromLong((long)result
);
10950 static PyObject
*_wrap_KeyData_key_set(PyObject
*self
, PyObject
*args
) {
10951 PyObject
*resultobj
;
10952 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10953 std::string
*arg2
= (std::string
*) 0 ;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10957 if(!PyArg_ParseTuple(args
,(char *)"OO:KeyData_key_set",&obj0
,&obj1
)) goto fail
;
10958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_std__string
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10960 if (arg1
) (arg1
)->key
= *arg2
;
10962 Py_INCREF(Py_None
); resultobj
= Py_None
;
10969 static PyObject
*_wrap_KeyData_key_get(PyObject
*self
, PyObject
*args
) {
10970 PyObject
*resultobj
;
10971 ob::KeyData
*arg1
= (ob::KeyData
*) 0 ;
10972 std::string
*result
;
10973 PyObject
* obj0
= 0 ;
10975 if(!PyArg_ParseTuple(args
,(char *)"O:KeyData_key_get",&obj0
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_ob__KeyData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10977 result
= (std::string
*)& ((arg1
)->key
);
10979 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_std__string
, 0);
10986 static PyObject
*_wrap_new_KeyData(PyObject
*self
, PyObject
*args
) {
10987 PyObject
*resultobj
;
10989 ob::Client
*arg2
= (ob::Client
*) 0 ;
10991 unsigned int arg4
;
10992 unsigned int arg5
;
10993 ob::KeyData
*result
;
10994 PyObject
* obj1
= 0 ;
10995 PyObject
* obj2
= 0 ;
10996 PyObject
* obj3
= 0 ;
10997 PyObject
* obj4
= 0 ;
10999 if(!PyArg_ParseTuple(args
,(char *)"iOOOO:new_KeyData",&arg1
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_ob__Client
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11001 arg3
= (Time
) PyInt_AsLong(obj2
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11003 arg4
= (unsigned int) PyInt_AsLong(obj3
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11005 arg5
= (unsigned int) PyInt_AsLong(obj4
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11007 result
= (ob::KeyData
*)new ob::KeyData(arg1
,arg2
,arg3
,arg4
,arg5
);
11009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_ob__KeyData
, 1);
11016 static PyObject
* KeyData_swigregister(PyObject
*self
, PyObject
*args
) {
11018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11019 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData
, obj
);
11021 return Py_BuildValue((char *)"");
11023 static PyObject
*_wrap_mbind(PyObject
*self
, PyObject
*args
) {
11024 PyObject
*resultobj
;
11025 std::string
*arg1
= 0 ;
11028 PyObject
*arg4
= (PyObject
*) 0 ;
11030 std::string temp1
;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj3
= 0 ;
11034 if(!PyArg_ParseTuple(args
,(char *)"OiiO:mbind",&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11036 if (PyString_Check(obj0
)) {
11037 temp1
= std::string(PyString_AsString(obj0
));
11040 SWIG_exception(SWIG_TypeError
, "string expected");
11044 result
= (PyObject
*)ob::mbind((std::string
const &)*arg1
,(ob::MouseContext
)arg2
,(ob::MouseAction
)arg3
,arg4
);
11046 resultobj
= result
;
11053 static PyObject
*_wrap_kbind(PyObject
*self
, PyObject
*args
) {
11054 PyObject
*resultobj
;
11055 PyObject
*arg1
= (PyObject
*) 0 ;
11057 PyObject
*arg3
= (PyObject
*) 0 ;
11059 PyObject
* obj0
= 0 ;
11060 PyObject
* obj2
= 0 ;
11062 if(!PyArg_ParseTuple(args
,(char *)"OiO:kbind",&obj0
,&arg2
,&obj2
)) goto fail
;
11065 result
= (PyObject
*)ob::kbind(arg1
,(ob::KeyContext
)arg2
,arg3
);
11067 resultobj
= result
;
11074 static PyObject
*_wrap_ebind(PyObject
*self
, PyObject
*args
) {
11075 PyObject
*resultobj
;
11077 PyObject
*arg2
= (PyObject
*) 0 ;
11079 PyObject
* obj1
= 0 ;
11081 if(!PyArg_ParseTuple(args
,(char *)"iO:ebind",&arg1
,&obj1
)) goto fail
;
11083 result
= (PyObject
*)ob::ebind((ob::EventAction
)arg1
,arg2
);
11085 resultobj
= result
;
11092 static PyObject
*_wrap_set_reset_key(PyObject
*self
, PyObject
*args
) {
11093 PyObject
*resultobj
;
11094 std::string
*arg1
= 0 ;
11095 std::string temp1
;
11096 PyObject
* obj0
= 0 ;
11098 if(!PyArg_ParseTuple(args
,(char *)"O:set_reset_key",&obj0
)) goto fail
;
11100 if (PyString_Check(obj0
)) {
11101 temp1
= std::string(PyString_AsString(obj0
));
11104 SWIG_exception(SWIG_TypeError
, "string expected");
11107 ob::set_reset_key((std::string
const &)*arg1
);
11109 Py_INCREF(Py_None
); resultobj
= Py_None
;
11116 static PyObject
*_wrap_send_client_msg(PyObject
*self
, PyObject
*args
) {
11117 PyObject
*resultobj
;
11122 long arg5
= (long) 0 ;
11123 long arg6
= (long) 0 ;
11124 long arg7
= (long) 0 ;
11125 long arg8
= (long) 0 ;
11127 PyObject
* obj0
= 0 ;
11128 PyObject
* obj1
= 0 ;
11129 PyObject
* obj2
= 0 ;
11131 if(!PyArg_ParseTuple(args
,(char *)"OOOl|llll:send_client_msg",&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
11132 arg1
= (Window
) PyInt_AsLong(obj0
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11134 arg2
= (Atom
) PyInt_AsLong(obj1
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11136 arg3
= (Window
) PyInt_AsLong(obj2
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11138 result
= (PyObject
*)ob::send_client_msg(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
11140 resultobj
= result
;
11147 static PyMethodDef SwigMethods
[] = {
11148 { (char *)"Openbox_instance", _wrap_Openbox_instance
, METH_VARARGS
},
11149 { (char *)"Display_instance", _wrap_Display_instance
, METH_VARARGS
},
11150 { (char *)"Property_atoms", _wrap_Property_atoms
, METH_VARARGS
},
11151 { (char *)"new_Display", _wrap_new_Display
, METH_VARARGS
},
11152 { (char *)"delete_Display", _wrap_delete_Display
, METH_VARARGS
},
11153 { (char *)"Display_gcCache", _wrap_Display_gcCache
, METH_VARARGS
},
11154 { (char *)"Display_screenInfo", _wrap_Display_screenInfo
, METH_VARARGS
},
11155 { (char *)"Display_findScreen", _wrap_Display_findScreen
, METH_VARARGS
},
11156 { (char *)"Display_xkb", _wrap_Display_xkb
, METH_VARARGS
},
11157 { (char *)"Display_xkbEventBase", _wrap_Display_xkbEventBase
, METH_VARARGS
},
11158 { (char *)"Display_shape", _wrap_Display_shape
, METH_VARARGS
},
11159 { (char *)"Display_shapeEventBase", _wrap_Display_shapeEventBase
, METH_VARARGS
},
11160 { (char *)"Display_xinerama", _wrap_Display_xinerama
, METH_VARARGS
},
11161 { (char *)"Display_numLockMask", _wrap_Display_numLockMask
, METH_VARARGS
},
11162 { (char *)"Display_scrollLockMask", _wrap_Display_scrollLockMask
, METH_VARARGS
},
11163 { (char *)"Display___mul__", _wrap_Display___mul__
, METH_VARARGS
},
11164 { (char *)"Display_grab", _wrap_Display_grab
, METH_VARARGS
},
11165 { (char *)"Display_ungrab", _wrap_Display_ungrab
, METH_VARARGS
},
11166 { (char *)"Display_grabButton", _wrap_Display_grabButton
, METH_VARARGS
},
11167 { (char *)"Display_ungrabButton", _wrap_Display_ungrabButton
, METH_VARARGS
},
11168 { (char *)"Display_grabKey", _wrap_Display_grabKey
, METH_VARARGS
},
11169 { (char *)"Display_ungrabKey", _wrap_Display_ungrabKey
, METH_VARARGS
},
11170 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
11171 { (char *)"new_Point", _wrap_new_Point
, METH_VARARGS
},
11172 { (char *)"Point_setX", _wrap_Point_setX
, METH_VARARGS
},
11173 { (char *)"Point_x", _wrap_Point_x
, METH_VARARGS
},
11174 { (char *)"Point_setY", _wrap_Point_setY
, METH_VARARGS
},
11175 { (char *)"Point_y", _wrap_Point_y
, METH_VARARGS
},
11176 { (char *)"Point_setPoint", _wrap_Point_setPoint
, METH_VARARGS
},
11177 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
11178 { (char *)"Atoms_cardinal_set", _wrap_Atoms_cardinal_set
, METH_VARARGS
},
11179 { (char *)"Atoms_cardinal_get", _wrap_Atoms_cardinal_get
, METH_VARARGS
},
11180 { (char *)"Atoms_window_set", _wrap_Atoms_window_set
, METH_VARARGS
},
11181 { (char *)"Atoms_window_get", _wrap_Atoms_window_get
, METH_VARARGS
},
11182 { (char *)"Atoms_pixmap_set", _wrap_Atoms_pixmap_set
, METH_VARARGS
},
11183 { (char *)"Atoms_pixmap_get", _wrap_Atoms_pixmap_get
, METH_VARARGS
},
11184 { (char *)"Atoms_atom_set", _wrap_Atoms_atom_set
, METH_VARARGS
},
11185 { (char *)"Atoms_atom_get", _wrap_Atoms_atom_get
, METH_VARARGS
},
11186 { (char *)"Atoms_string_set", _wrap_Atoms_string_set
, METH_VARARGS
},
11187 { (char *)"Atoms_string_get", _wrap_Atoms_string_get
, METH_VARARGS
},
11188 { (char *)"Atoms_utf8_set", _wrap_Atoms_utf8_set
, METH_VARARGS
},
11189 { (char *)"Atoms_utf8_get", _wrap_Atoms_utf8_get
, METH_VARARGS
},
11190 { (char *)"Atoms_openbox_pid_set", _wrap_Atoms_openbox_pid_set
, METH_VARARGS
},
11191 { (char *)"Atoms_openbox_pid_get", _wrap_Atoms_openbox_pid_get
, METH_VARARGS
},
11192 { (char *)"Atoms_wm_colormap_windows_set", _wrap_Atoms_wm_colormap_windows_set
, METH_VARARGS
},
11193 { (char *)"Atoms_wm_colormap_windows_get", _wrap_Atoms_wm_colormap_windows_get
, METH_VARARGS
},
11194 { (char *)"Atoms_wm_protocols_set", _wrap_Atoms_wm_protocols_set
, METH_VARARGS
},
11195 { (char *)"Atoms_wm_protocols_get", _wrap_Atoms_wm_protocols_get
, METH_VARARGS
},
11196 { (char *)"Atoms_wm_state_set", _wrap_Atoms_wm_state_set
, METH_VARARGS
},
11197 { (char *)"Atoms_wm_state_get", _wrap_Atoms_wm_state_get
, METH_VARARGS
},
11198 { (char *)"Atoms_wm_delete_window_set", _wrap_Atoms_wm_delete_window_set
, METH_VARARGS
},
11199 { (char *)"Atoms_wm_delete_window_get", _wrap_Atoms_wm_delete_window_get
, METH_VARARGS
},
11200 { (char *)"Atoms_wm_take_focus_set", _wrap_Atoms_wm_take_focus_set
, METH_VARARGS
},
11201 { (char *)"Atoms_wm_take_focus_get", _wrap_Atoms_wm_take_focus_get
, METH_VARARGS
},
11202 { (char *)"Atoms_wm_change_state_set", _wrap_Atoms_wm_change_state_set
, METH_VARARGS
},
11203 { (char *)"Atoms_wm_change_state_get", _wrap_Atoms_wm_change_state_get
, METH_VARARGS
},
11204 { (char *)"Atoms_wm_name_set", _wrap_Atoms_wm_name_set
, METH_VARARGS
},
11205 { (char *)"Atoms_wm_name_get", _wrap_Atoms_wm_name_get
, METH_VARARGS
},
11206 { (char *)"Atoms_wm_icon_name_set", _wrap_Atoms_wm_icon_name_set
, METH_VARARGS
},
11207 { (char *)"Atoms_wm_icon_name_get", _wrap_Atoms_wm_icon_name_get
, METH_VARARGS
},
11208 { (char *)"Atoms_wm_class_set", _wrap_Atoms_wm_class_set
, METH_VARARGS
},
11209 { (char *)"Atoms_wm_class_get", _wrap_Atoms_wm_class_get
, METH_VARARGS
},
11210 { (char *)"Atoms_wm_window_role_set", _wrap_Atoms_wm_window_role_set
, METH_VARARGS
},
11211 { (char *)"Atoms_wm_window_role_get", _wrap_Atoms_wm_window_role_get
, METH_VARARGS
},
11212 { (char *)"Atoms_motif_wm_hints_set", _wrap_Atoms_motif_wm_hints_set
, METH_VARARGS
},
11213 { (char *)"Atoms_motif_wm_hints_get", _wrap_Atoms_motif_wm_hints_get
, METH_VARARGS
},
11214 { (char *)"Atoms_openbox_show_root_menu_set", _wrap_Atoms_openbox_show_root_menu_set
, METH_VARARGS
},
11215 { (char *)"Atoms_openbox_show_root_menu_get", _wrap_Atoms_openbox_show_root_menu_get
, METH_VARARGS
},
11216 { (char *)"Atoms_openbox_show_workspace_menu_set", _wrap_Atoms_openbox_show_workspace_menu_set
, METH_VARARGS
},
11217 { (char *)"Atoms_openbox_show_workspace_menu_get", _wrap_Atoms_openbox_show_workspace_menu_get
, METH_VARARGS
},
11218 { (char *)"Atoms_net_supported_set", _wrap_Atoms_net_supported_set
, METH_VARARGS
},
11219 { (char *)"Atoms_net_supported_get", _wrap_Atoms_net_supported_get
, METH_VARARGS
},
11220 { (char *)"Atoms_net_client_list_set", _wrap_Atoms_net_client_list_set
, METH_VARARGS
},
11221 { (char *)"Atoms_net_client_list_get", _wrap_Atoms_net_client_list_get
, METH_VARARGS
},
11222 { (char *)"Atoms_net_client_list_stacking_set", _wrap_Atoms_net_client_list_stacking_set
, METH_VARARGS
},
11223 { (char *)"Atoms_net_client_list_stacking_get", _wrap_Atoms_net_client_list_stacking_get
, METH_VARARGS
},
11224 { (char *)"Atoms_net_number_of_desktops_set", _wrap_Atoms_net_number_of_desktops_set
, METH_VARARGS
},
11225 { (char *)"Atoms_net_number_of_desktops_get", _wrap_Atoms_net_number_of_desktops_get
, METH_VARARGS
},
11226 { (char *)"Atoms_net_desktop_geometry_set", _wrap_Atoms_net_desktop_geometry_set
, METH_VARARGS
},
11227 { (char *)"Atoms_net_desktop_geometry_get", _wrap_Atoms_net_desktop_geometry_get
, METH_VARARGS
},
11228 { (char *)"Atoms_net_desktop_viewport_set", _wrap_Atoms_net_desktop_viewport_set
, METH_VARARGS
},
11229 { (char *)"Atoms_net_desktop_viewport_get", _wrap_Atoms_net_desktop_viewport_get
, METH_VARARGS
},
11230 { (char *)"Atoms_net_current_desktop_set", _wrap_Atoms_net_current_desktop_set
, METH_VARARGS
},
11231 { (char *)"Atoms_net_current_desktop_get", _wrap_Atoms_net_current_desktop_get
, METH_VARARGS
},
11232 { (char *)"Atoms_net_desktop_names_set", _wrap_Atoms_net_desktop_names_set
, METH_VARARGS
},
11233 { (char *)"Atoms_net_desktop_names_get", _wrap_Atoms_net_desktop_names_get
, METH_VARARGS
},
11234 { (char *)"Atoms_net_active_window_set", _wrap_Atoms_net_active_window_set
, METH_VARARGS
},
11235 { (char *)"Atoms_net_active_window_get", _wrap_Atoms_net_active_window_get
, METH_VARARGS
},
11236 { (char *)"Atoms_net_workarea_set", _wrap_Atoms_net_workarea_set
, METH_VARARGS
},
11237 { (char *)"Atoms_net_workarea_get", _wrap_Atoms_net_workarea_get
, METH_VARARGS
},
11238 { (char *)"Atoms_net_supporting_wm_check_set", _wrap_Atoms_net_supporting_wm_check_set
, METH_VARARGS
},
11239 { (char *)"Atoms_net_supporting_wm_check_get", _wrap_Atoms_net_supporting_wm_check_get
, METH_VARARGS
},
11240 { (char *)"Atoms_net_close_window_set", _wrap_Atoms_net_close_window_set
, METH_VARARGS
},
11241 { (char *)"Atoms_net_close_window_get", _wrap_Atoms_net_close_window_get
, METH_VARARGS
},
11242 { (char *)"Atoms_net_wm_moveresize_set", _wrap_Atoms_net_wm_moveresize_set
, METH_VARARGS
},
11243 { (char *)"Atoms_net_wm_moveresize_get", _wrap_Atoms_net_wm_moveresize_get
, METH_VARARGS
},
11244 { (char *)"Atoms_net_wm_name_set", _wrap_Atoms_net_wm_name_set
, METH_VARARGS
},
11245 { (char *)"Atoms_net_wm_name_get", _wrap_Atoms_net_wm_name_get
, METH_VARARGS
},
11246 { (char *)"Atoms_net_wm_visible_name_set", _wrap_Atoms_net_wm_visible_name_set
, METH_VARARGS
},
11247 { (char *)"Atoms_net_wm_visible_name_get", _wrap_Atoms_net_wm_visible_name_get
, METH_VARARGS
},
11248 { (char *)"Atoms_net_wm_icon_name_set", _wrap_Atoms_net_wm_icon_name_set
, METH_VARARGS
},
11249 { (char *)"Atoms_net_wm_icon_name_get", _wrap_Atoms_net_wm_icon_name_get
, METH_VARARGS
},
11250 { (char *)"Atoms_net_wm_visible_icon_name_set", _wrap_Atoms_net_wm_visible_icon_name_set
, METH_VARARGS
},
11251 { (char *)"Atoms_net_wm_visible_icon_name_get", _wrap_Atoms_net_wm_visible_icon_name_get
, METH_VARARGS
},
11252 { (char *)"Atoms_net_wm_desktop_set", _wrap_Atoms_net_wm_desktop_set
, METH_VARARGS
},
11253 { (char *)"Atoms_net_wm_desktop_get", _wrap_Atoms_net_wm_desktop_get
, METH_VARARGS
},
11254 { (char *)"Atoms_net_wm_window_type_set", _wrap_Atoms_net_wm_window_type_set
, METH_VARARGS
},
11255 { (char *)"Atoms_net_wm_window_type_get", _wrap_Atoms_net_wm_window_type_get
, METH_VARARGS
},
11256 { (char *)"Atoms_net_wm_state_set", _wrap_Atoms_net_wm_state_set
, METH_VARARGS
},
11257 { (char *)"Atoms_net_wm_state_get", _wrap_Atoms_net_wm_state_get
, METH_VARARGS
},
11258 { (char *)"Atoms_net_wm_strut_set", _wrap_Atoms_net_wm_strut_set
, METH_VARARGS
},
11259 { (char *)"Atoms_net_wm_strut_get", _wrap_Atoms_net_wm_strut_get
, METH_VARARGS
},
11260 { (char *)"Atoms_net_wm_allowed_actions_set", _wrap_Atoms_net_wm_allowed_actions_set
, METH_VARARGS
},
11261 { (char *)"Atoms_net_wm_allowed_actions_get", _wrap_Atoms_net_wm_allowed_actions_get
, METH_VARARGS
},
11262 { (char *)"Atoms_net_wm_window_type_desktop_set", _wrap_Atoms_net_wm_window_type_desktop_set
, METH_VARARGS
},
11263 { (char *)"Atoms_net_wm_window_type_desktop_get", _wrap_Atoms_net_wm_window_type_desktop_get
, METH_VARARGS
},
11264 { (char *)"Atoms_net_wm_window_type_dock_set", _wrap_Atoms_net_wm_window_type_dock_set
, METH_VARARGS
},
11265 { (char *)"Atoms_net_wm_window_type_dock_get", _wrap_Atoms_net_wm_window_type_dock_get
, METH_VARARGS
},
11266 { (char *)"Atoms_net_wm_window_type_toolbar_set", _wrap_Atoms_net_wm_window_type_toolbar_set
, METH_VARARGS
},
11267 { (char *)"Atoms_net_wm_window_type_toolbar_get", _wrap_Atoms_net_wm_window_type_toolbar_get
, METH_VARARGS
},
11268 { (char *)"Atoms_net_wm_window_type_menu_set", _wrap_Atoms_net_wm_window_type_menu_set
, METH_VARARGS
},
11269 { (char *)"Atoms_net_wm_window_type_menu_get", _wrap_Atoms_net_wm_window_type_menu_get
, METH_VARARGS
},
11270 { (char *)"Atoms_net_wm_window_type_utility_set", _wrap_Atoms_net_wm_window_type_utility_set
, METH_VARARGS
},
11271 { (char *)"Atoms_net_wm_window_type_utility_get", _wrap_Atoms_net_wm_window_type_utility_get
, METH_VARARGS
},
11272 { (char *)"Atoms_net_wm_window_type_splash_set", _wrap_Atoms_net_wm_window_type_splash_set
, METH_VARARGS
},
11273 { (char *)"Atoms_net_wm_window_type_splash_get", _wrap_Atoms_net_wm_window_type_splash_get
, METH_VARARGS
},
11274 { (char *)"Atoms_net_wm_window_type_dialog_set", _wrap_Atoms_net_wm_window_type_dialog_set
, METH_VARARGS
},
11275 { (char *)"Atoms_net_wm_window_type_dialog_get", _wrap_Atoms_net_wm_window_type_dialog_get
, METH_VARARGS
},
11276 { (char *)"Atoms_net_wm_window_type_normal_set", _wrap_Atoms_net_wm_window_type_normal_set
, METH_VARARGS
},
11277 { (char *)"Atoms_net_wm_window_type_normal_get", _wrap_Atoms_net_wm_window_type_normal_get
, METH_VARARGS
},
11278 { (char *)"Atoms_net_wm_moveresize_size_topleft_set", _wrap_Atoms_net_wm_moveresize_size_topleft_set
, METH_VARARGS
},
11279 { (char *)"Atoms_net_wm_moveresize_size_topleft_get", _wrap_Atoms_net_wm_moveresize_size_topleft_get
, METH_VARARGS
},
11280 { (char *)"Atoms_net_wm_moveresize_size_topright_set", _wrap_Atoms_net_wm_moveresize_size_topright_set
, METH_VARARGS
},
11281 { (char *)"Atoms_net_wm_moveresize_size_topright_get", _wrap_Atoms_net_wm_moveresize_size_topright_get
, METH_VARARGS
},
11282 { (char *)"Atoms_net_wm_moveresize_size_bottomleft_set", _wrap_Atoms_net_wm_moveresize_size_bottomleft_set
, METH_VARARGS
},
11283 { (char *)"Atoms_net_wm_moveresize_size_bottomleft_get", _wrap_Atoms_net_wm_moveresize_size_bottomleft_get
, METH_VARARGS
},
11284 { (char *)"Atoms_net_wm_moveresize_size_bottomright_set", _wrap_Atoms_net_wm_moveresize_size_bottomright_set
, METH_VARARGS
},
11285 { (char *)"Atoms_net_wm_moveresize_size_bottomright_get", _wrap_Atoms_net_wm_moveresize_size_bottomright_get
, METH_VARARGS
},
11286 { (char *)"Atoms_net_wm_moveresize_move_set", _wrap_Atoms_net_wm_moveresize_move_set
, METH_VARARGS
},
11287 { (char *)"Atoms_net_wm_moveresize_move_get", _wrap_Atoms_net_wm_moveresize_move_get
, METH_VARARGS
},
11288 { (char *)"Atoms_net_wm_action_move_set", _wrap_Atoms_net_wm_action_move_set
, METH_VARARGS
},
11289 { (char *)"Atoms_net_wm_action_move_get", _wrap_Atoms_net_wm_action_move_get
, METH_VARARGS
},
11290 { (char *)"Atoms_net_wm_action_resize_set", _wrap_Atoms_net_wm_action_resize_set
, METH_VARARGS
},
11291 { (char *)"Atoms_net_wm_action_resize_get", _wrap_Atoms_net_wm_action_resize_get
, METH_VARARGS
},
11292 { (char *)"Atoms_net_wm_action_shade_set", _wrap_Atoms_net_wm_action_shade_set
, METH_VARARGS
},
11293 { (char *)"Atoms_net_wm_action_shade_get", _wrap_Atoms_net_wm_action_shade_get
, METH_VARARGS
},
11294 { (char *)"Atoms_net_wm_action_maximize_horz_set", _wrap_Atoms_net_wm_action_maximize_horz_set
, METH_VARARGS
},
11295 { (char *)"Atoms_net_wm_action_maximize_horz_get", _wrap_Atoms_net_wm_action_maximize_horz_get
, METH_VARARGS
},
11296 { (char *)"Atoms_net_wm_action_maximize_vert_set", _wrap_Atoms_net_wm_action_maximize_vert_set
, METH_VARARGS
},
11297 { (char *)"Atoms_net_wm_action_maximize_vert_get", _wrap_Atoms_net_wm_action_maximize_vert_get
, METH_VARARGS
},
11298 { (char *)"Atoms_net_wm_action_change_desktop_set", _wrap_Atoms_net_wm_action_change_desktop_set
, METH_VARARGS
},
11299 { (char *)"Atoms_net_wm_action_change_desktop_get", _wrap_Atoms_net_wm_action_change_desktop_get
, METH_VARARGS
},
11300 { (char *)"Atoms_net_wm_action_close_set", _wrap_Atoms_net_wm_action_close_set
, METH_VARARGS
},
11301 { (char *)"Atoms_net_wm_action_close_get", _wrap_Atoms_net_wm_action_close_get
, METH_VARARGS
},
11302 { (char *)"Atoms_net_wm_state_modal_set", _wrap_Atoms_net_wm_state_modal_set
, METH_VARARGS
},
11303 { (char *)"Atoms_net_wm_state_modal_get", _wrap_Atoms_net_wm_state_modal_get
, METH_VARARGS
},
11304 { (char *)"Atoms_net_wm_state_sticky_set", _wrap_Atoms_net_wm_state_sticky_set
, METH_VARARGS
},
11305 { (char *)"Atoms_net_wm_state_sticky_get", _wrap_Atoms_net_wm_state_sticky_get
, METH_VARARGS
},
11306 { (char *)"Atoms_net_wm_state_maximized_vert_set", _wrap_Atoms_net_wm_state_maximized_vert_set
, METH_VARARGS
},
11307 { (char *)"Atoms_net_wm_state_maximized_vert_get", _wrap_Atoms_net_wm_state_maximized_vert_get
, METH_VARARGS
},
11308 { (char *)"Atoms_net_wm_state_maximized_horz_set", _wrap_Atoms_net_wm_state_maximized_horz_set
, METH_VARARGS
},
11309 { (char *)"Atoms_net_wm_state_maximized_horz_get", _wrap_Atoms_net_wm_state_maximized_horz_get
, METH_VARARGS
},
11310 { (char *)"Atoms_net_wm_state_shaded_set", _wrap_Atoms_net_wm_state_shaded_set
, METH_VARARGS
},
11311 { (char *)"Atoms_net_wm_state_shaded_get", _wrap_Atoms_net_wm_state_shaded_get
, METH_VARARGS
},
11312 { (char *)"Atoms_net_wm_state_skip_taskbar_set", _wrap_Atoms_net_wm_state_skip_taskbar_set
, METH_VARARGS
},
11313 { (char *)"Atoms_net_wm_state_skip_taskbar_get", _wrap_Atoms_net_wm_state_skip_taskbar_get
, METH_VARARGS
},
11314 { (char *)"Atoms_net_wm_state_skip_pager_set", _wrap_Atoms_net_wm_state_skip_pager_set
, METH_VARARGS
},
11315 { (char *)"Atoms_net_wm_state_skip_pager_get", _wrap_Atoms_net_wm_state_skip_pager_get
, METH_VARARGS
},
11316 { (char *)"Atoms_net_wm_state_hidden_set", _wrap_Atoms_net_wm_state_hidden_set
, METH_VARARGS
},
11317 { (char *)"Atoms_net_wm_state_hidden_get", _wrap_Atoms_net_wm_state_hidden_get
, METH_VARARGS
},
11318 { (char *)"Atoms_net_wm_state_fullscreen_set", _wrap_Atoms_net_wm_state_fullscreen_set
, METH_VARARGS
},
11319 { (char *)"Atoms_net_wm_state_fullscreen_get", _wrap_Atoms_net_wm_state_fullscreen_get
, METH_VARARGS
},
11320 { (char *)"Atoms_net_wm_state_above_set", _wrap_Atoms_net_wm_state_above_set
, METH_VARARGS
},
11321 { (char *)"Atoms_net_wm_state_above_get", _wrap_Atoms_net_wm_state_above_get
, METH_VARARGS
},
11322 { (char *)"Atoms_net_wm_state_below_set", _wrap_Atoms_net_wm_state_below_set
, METH_VARARGS
},
11323 { (char *)"Atoms_net_wm_state_below_get", _wrap_Atoms_net_wm_state_below_get
, METH_VARARGS
},
11324 { (char *)"Atoms_kde_net_system_tray_windows_set", _wrap_Atoms_kde_net_system_tray_windows_set
, METH_VARARGS
},
11325 { (char *)"Atoms_kde_net_system_tray_windows_get", _wrap_Atoms_kde_net_system_tray_windows_get
, METH_VARARGS
},
11326 { (char *)"Atoms_kde_net_wm_system_tray_window_for_set", _wrap_Atoms_kde_net_wm_system_tray_window_for_set
, METH_VARARGS
},
11327 { (char *)"Atoms_kde_net_wm_system_tray_window_for_get", _wrap_Atoms_kde_net_wm_system_tray_window_for_get
, METH_VARARGS
},
11328 { (char *)"Atoms_kde_net_wm_window_type_override_set", _wrap_Atoms_kde_net_wm_window_type_override_set
, METH_VARARGS
},
11329 { (char *)"Atoms_kde_net_wm_window_type_override_get", _wrap_Atoms_kde_net_wm_window_type_override_get
, METH_VARARGS
},
11330 { (char *)"Atoms_swigregister", Atoms_swigregister
, METH_VARARGS
},
11331 { (char *)"Property_initialize", _wrap_Property_initialize
, METH_VARARGS
},
11332 { (char *)"Property_set", _wrap_Property_set
, METH_VARARGS
},
11333 { (char *)"Property_get", _wrap_Property_get
, METH_VARARGS
},
11334 { (char *)"Property_erase", _wrap_Property_erase
, METH_VARARGS
},
11335 { (char *)"Property_swigregister", Property_swigregister
, METH_VARARGS
},
11336 { (char *)"new_Rect", _wrap_new_Rect
, METH_VARARGS
},
11337 { (char *)"Rect_left", _wrap_Rect_left
, METH_VARARGS
},
11338 { (char *)"Rect_top", _wrap_Rect_top
, METH_VARARGS
},
11339 { (char *)"Rect_right", _wrap_Rect_right
, METH_VARARGS
},
11340 { (char *)"Rect_bottom", _wrap_Rect_bottom
, METH_VARARGS
},
11341 { (char *)"Rect_x", _wrap_Rect_x
, METH_VARARGS
},
11342 { (char *)"Rect_y", _wrap_Rect_y
, METH_VARARGS
},
11343 { (char *)"Rect_location", _wrap_Rect_location
, METH_VARARGS
},
11344 { (char *)"Rect_setX", _wrap_Rect_setX
, METH_VARARGS
},
11345 { (char *)"Rect_setY", _wrap_Rect_setY
, METH_VARARGS
},
11346 { (char *)"Rect_setPos", _wrap_Rect_setPos
, METH_VARARGS
},
11347 { (char *)"Rect_width", _wrap_Rect_width
, METH_VARARGS
},
11348 { (char *)"Rect_height", _wrap_Rect_height
, METH_VARARGS
},
11349 { (char *)"Rect_size", _wrap_Rect_size
, METH_VARARGS
},
11350 { (char *)"Rect_setWidth", _wrap_Rect_setWidth
, METH_VARARGS
},
11351 { (char *)"Rect_setHeight", _wrap_Rect_setHeight
, METH_VARARGS
},
11352 { (char *)"Rect_setSize", _wrap_Rect_setSize
, METH_VARARGS
},
11353 { (char *)"Rect_setRect", _wrap_Rect_setRect
, METH_VARARGS
},
11354 { (char *)"Rect_setCoords", _wrap_Rect_setCoords
, METH_VARARGS
},
11355 { (char *)"Rect___eq__", _wrap_Rect___eq__
, METH_VARARGS
},
11356 { (char *)"Rect___ne__", _wrap_Rect___ne__
, METH_VARARGS
},
11357 { (char *)"Rect___or__", _wrap_Rect___or__
, METH_VARARGS
},
11358 { (char *)"Rect___and__", _wrap_Rect___and__
, METH_VARARGS
},
11359 { (char *)"Rect___ior__", _wrap_Rect___ior__
, METH_VARARGS
},
11360 { (char *)"Rect___iand__", _wrap_Rect___iand__
, METH_VARARGS
},
11361 { (char *)"Rect_valid", _wrap_Rect_valid
, METH_VARARGS
},
11362 { (char *)"Rect_intersects", _wrap_Rect_intersects
, METH_VARARGS
},
11363 { (char *)"Rect_contains", _wrap_Rect_contains
, METH_VARARGS
},
11364 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
11365 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo
, METH_VARARGS
},
11366 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual
, METH_VARARGS
},
11367 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow
, METH_VARARGS
},
11368 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap
, METH_VARARGS
},
11369 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth
, METH_VARARGS
},
11370 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen
, METH_VARARGS
},
11371 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect
, METH_VARARGS
},
11372 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width
, METH_VARARGS
},
11373 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height
, METH_VARARGS
},
11374 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString
, METH_VARARGS
},
11375 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister
, METH_VARARGS
},
11376 { (char *)"Strut_top_set", _wrap_Strut_top_set
, METH_VARARGS
},
11377 { (char *)"Strut_top_get", _wrap_Strut_top_get
, METH_VARARGS
},
11378 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set
, METH_VARARGS
},
11379 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get
, METH_VARARGS
},
11380 { (char *)"Strut_left_set", _wrap_Strut_left_set
, METH_VARARGS
},
11381 { (char *)"Strut_left_get", _wrap_Strut_left_get
, METH_VARARGS
},
11382 { (char *)"Strut_right_set", _wrap_Strut_right_set
, METH_VARARGS
},
11383 { (char *)"Strut_right_get", _wrap_Strut_right_get
, METH_VARARGS
},
11384 { (char *)"new_Strut", _wrap_new_Strut
, METH_VARARGS
},
11385 { (char *)"Strut_swigregister", Strut_swigregister
, METH_VARARGS
},
11386 { (char *)"EventHandler_handle", _wrap_EventHandler_handle
, METH_VARARGS
},
11387 { (char *)"EventHandler_keyPressHandler", _wrap_EventHandler_keyPressHandler
, METH_VARARGS
},
11388 { (char *)"EventHandler_keyReleaseHandler", _wrap_EventHandler_keyReleaseHandler
, METH_VARARGS
},
11389 { (char *)"EventHandler_buttonPressHandler", _wrap_EventHandler_buttonPressHandler
, METH_VARARGS
},
11390 { (char *)"EventHandler_buttonReleaseHandler", _wrap_EventHandler_buttonReleaseHandler
, METH_VARARGS
},
11391 { (char *)"EventHandler_motionHandler", _wrap_EventHandler_motionHandler
, METH_VARARGS
},
11392 { (char *)"EventHandler_enterHandler", _wrap_EventHandler_enterHandler
, METH_VARARGS
},
11393 { (char *)"EventHandler_leaveHandler", _wrap_EventHandler_leaveHandler
, METH_VARARGS
},
11394 { (char *)"EventHandler_focusHandler", _wrap_EventHandler_focusHandler
, METH_VARARGS
},
11395 { (char *)"EventHandler_unfocusHandler", _wrap_EventHandler_unfocusHandler
, METH_VARARGS
},
11396 { (char *)"EventHandler_exposeHandler", _wrap_EventHandler_exposeHandler
, METH_VARARGS
},
11397 { (char *)"EventHandler_graphicsExposeHandler", _wrap_EventHandler_graphicsExposeHandler
, METH_VARARGS
},
11398 { (char *)"EventHandler_noExposeEventHandler", _wrap_EventHandler_noExposeEventHandler
, METH_VARARGS
},
11399 { (char *)"EventHandler_circulateRequestHandler", _wrap_EventHandler_circulateRequestHandler
, METH_VARARGS
},
11400 { (char *)"EventHandler_configureRequestHandler", _wrap_EventHandler_configureRequestHandler
, METH_VARARGS
},
11401 { (char *)"EventHandler_mapRequestHandler", _wrap_EventHandler_mapRequestHandler
, METH_VARARGS
},
11402 { (char *)"EventHandler_resizeRequestHandler", _wrap_EventHandler_resizeRequestHandler
, METH_VARARGS
},
11403 { (char *)"EventHandler_circulateHandler", _wrap_EventHandler_circulateHandler
, METH_VARARGS
},
11404 { (char *)"EventHandler_configureHandler", _wrap_EventHandler_configureHandler
, METH_VARARGS
},
11405 { (char *)"EventHandler_createHandler", _wrap_EventHandler_createHandler
, METH_VARARGS
},
11406 { (char *)"EventHandler_destroyHandler", _wrap_EventHandler_destroyHandler
, METH_VARARGS
},
11407 { (char *)"EventHandler_gravityHandler", _wrap_EventHandler_gravityHandler
, METH_VARARGS
},
11408 { (char *)"EventHandler_mapHandler", _wrap_EventHandler_mapHandler
, METH_VARARGS
},
11409 { (char *)"EventHandler_mappingHandler", _wrap_EventHandler_mappingHandler
, METH_VARARGS
},
11410 { (char *)"EventHandler_reparentHandler", _wrap_EventHandler_reparentHandler
, METH_VARARGS
},
11411 { (char *)"EventHandler_unmapHandler", _wrap_EventHandler_unmapHandler
, METH_VARARGS
},
11412 { (char *)"EventHandler_visibilityHandler", _wrap_EventHandler_visibilityHandler
, METH_VARARGS
},
11413 { (char *)"EventHandler_colorMapHandler", _wrap_EventHandler_colorMapHandler
, METH_VARARGS
},
11414 { (char *)"EventHandler_propertyHandler", _wrap_EventHandler_propertyHandler
, METH_VARARGS
},
11415 { (char *)"EventHandler_selectionClearHandler", _wrap_EventHandler_selectionClearHandler
, METH_VARARGS
},
11416 { (char *)"EventHandler_selectionHandler", _wrap_EventHandler_selectionHandler
, METH_VARARGS
},
11417 { (char *)"EventHandler_selectionRequestHandler", _wrap_EventHandler_selectionRequestHandler
, METH_VARARGS
},
11418 { (char *)"EventHandler_clientMessageHandler", _wrap_EventHandler_clientMessageHandler
, METH_VARARGS
},
11419 { (char *)"delete_EventHandler", _wrap_delete_EventHandler
, METH_VARARGS
},
11420 { (char *)"EventHandler_swigregister", EventHandler_swigregister
, METH_VARARGS
},
11421 { (char *)"new_EventDispatcher", _wrap_new_EventDispatcher
, METH_VARARGS
},
11422 { (char *)"delete_EventDispatcher", _wrap_delete_EventDispatcher
, METH_VARARGS
},
11423 { (char *)"EventDispatcher_clearAllHandlers", _wrap_EventDispatcher_clearAllHandlers
, METH_VARARGS
},
11424 { (char *)"EventDispatcher_registerHandler", _wrap_EventDispatcher_registerHandler
, METH_VARARGS
},
11425 { (char *)"EventDispatcher_clearHandler", _wrap_EventDispatcher_clearHandler
, METH_VARARGS
},
11426 { (char *)"EventDispatcher_dispatchEvents", _wrap_EventDispatcher_dispatchEvents
, METH_VARARGS
},
11427 { (char *)"EventDispatcher_setFallbackHandler", _wrap_EventDispatcher_setFallbackHandler
, METH_VARARGS
},
11428 { (char *)"EventDispatcher_getFallbackHandler", _wrap_EventDispatcher_getFallbackHandler
, METH_VARARGS
},
11429 { (char *)"EventDispatcher_setMasterHandler", _wrap_EventDispatcher_setMasterHandler
, METH_VARARGS
},
11430 { (char *)"EventDispatcher_getMasterHandler", _wrap_EventDispatcher_getMasterHandler
, METH_VARARGS
},
11431 { (char *)"EventDispatcher_findHandler", _wrap_EventDispatcher_findHandler
, METH_VARARGS
},
11432 { (char *)"EventDispatcher_lastTime", _wrap_EventDispatcher_lastTime
, METH_VARARGS
},
11433 { (char *)"EventDispatcher_swigregister", EventDispatcher_swigregister
, METH_VARARGS
},
11434 { (char *)"Cursors_session_set", _wrap_Cursors_session_set
, METH_VARARGS
},
11435 { (char *)"Cursors_session_get", _wrap_Cursors_session_get
, METH_VARARGS
},
11436 { (char *)"Cursors_move_set", _wrap_Cursors_move_set
, METH_VARARGS
},
11437 { (char *)"Cursors_move_get", _wrap_Cursors_move_get
, METH_VARARGS
},
11438 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set
, METH_VARARGS
},
11439 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get
, METH_VARARGS
},
11440 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set
, METH_VARARGS
},
11441 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get
, METH_VARARGS
},
11442 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set
, METH_VARARGS
},
11443 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get
, METH_VARARGS
},
11444 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set
, METH_VARARGS
},
11445 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get
, METH_VARARGS
},
11446 { (char *)"Cursors_swigregister", Cursors_swigregister
, METH_VARARGS
},
11447 { (char *)"Openbox_state", _wrap_Openbox_state
, METH_VARARGS
},
11448 { (char *)"Openbox_actions", _wrap_Openbox_actions
, METH_VARARGS
},
11449 { (char *)"Openbox_bindings", _wrap_Openbox_bindings
, METH_VARARGS
},
11450 { (char *)"Openbox_screen", _wrap_Openbox_screen
, METH_VARARGS
},
11451 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount
, METH_VARARGS
},
11452 { (char *)"Openbox_cursors", _wrap_Openbox_cursors
, METH_VARARGS
},
11453 { (char *)"Openbox_addClient", _wrap_Openbox_addClient
, METH_VARARGS
},
11454 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient
, METH_VARARGS
},
11455 { (char *)"Openbox_findClient", _wrap_Openbox_findClient
, METH_VARARGS
},
11456 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient
, METH_VARARGS
},
11457 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient
, METH_VARARGS
},
11458 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen
, METH_VARARGS
},
11459 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown
, METH_VARARGS
},
11460 { (char *)"Openbox_restart", _wrap_Openbox_restart
, METH_VARARGS
},
11461 { (char *)"Openbox_execute", _wrap_Openbox_execute
, METH_VARARGS
},
11462 { (char *)"Openbox_swigregister", Openbox_swigregister
, METH_VARARGS
},
11463 { (char *)"Screen_client", _wrap_Screen_client
, METH_VARARGS
},
11464 { (char *)"Screen_clientCount", _wrap_Screen_clientCount
, METH_VARARGS
},
11465 { (char *)"Screen_number", _wrap_Screen_number
, METH_VARARGS
},
11466 { (char *)"Screen_managed", _wrap_Screen_managed
, METH_VARARGS
},
11467 { (char *)"Screen_imageControl", _wrap_Screen_imageControl
, METH_VARARGS
},
11468 { (char *)"Screen_area", _wrap_Screen_area
, METH_VARARGS
},
11469 { (char *)"Screen_style", _wrap_Screen_style
, METH_VARARGS
},
11470 { (char *)"Screen_focuswindow", _wrap_Screen_focuswindow
, METH_VARARGS
},
11471 { (char *)"Screen_desktop", _wrap_Screen_desktop
, METH_VARARGS
},
11472 { (char *)"Screen_numDesktops", _wrap_Screen_numDesktops
, METH_VARARGS
},
11473 { (char *)"Screen_updateStrut", _wrap_Screen_updateStrut
, METH_VARARGS
},
11474 { (char *)"Screen_manageExisting", _wrap_Screen_manageExisting
, METH_VARARGS
},
11475 { (char *)"Screen_manageWindow", _wrap_Screen_manageWindow
, METH_VARARGS
},
11476 { (char *)"Screen_unmanageWindow", _wrap_Screen_unmanageWindow
, METH_VARARGS
},
11477 { (char *)"Screen_raiseWindow", _wrap_Screen_raiseWindow
, METH_VARARGS
},
11478 { (char *)"Screen_lowerWindow", _wrap_Screen_lowerWindow
, METH_VARARGS
},
11479 { (char *)"Screen_setDesktopName", _wrap_Screen_setDesktopName
, METH_VARARGS
},
11480 { (char *)"Screen_propertyHandler", _wrap_Screen_propertyHandler
, METH_VARARGS
},
11481 { (char *)"Screen_clientMessageHandler", _wrap_Screen_clientMessageHandler
, METH_VARARGS
},
11482 { (char *)"Screen_mapRequestHandler", _wrap_Screen_mapRequestHandler
, METH_VARARGS
},
11483 { (char *)"Screen_swigregister", Screen_swigregister
, METH_VARARGS
},
11484 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set
, METH_VARARGS
},
11485 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get
, METH_VARARGS
},
11486 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set
, METH_VARARGS
},
11487 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get
, METH_VARARGS
},
11488 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set
, METH_VARARGS
},
11489 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get
, METH_VARARGS
},
11490 { (char *)"MwmHints_swigregister", MwmHints_swigregister
, METH_VARARGS
},
11491 { (char *)"Client_frame_set", _wrap_Client_frame_set
, METH_VARARGS
},
11492 { (char *)"Client_frame_get", _wrap_Client_frame_get
, METH_VARARGS
},
11493 { (char *)"Client_ignore_unmaps_set", _wrap_Client_ignore_unmaps_set
, METH_VARARGS
},
11494 { (char *)"Client_ignore_unmaps_get", _wrap_Client_ignore_unmaps_get
, METH_VARARGS
},
11495 { (char *)"Client_screen", _wrap_Client_screen
, METH_VARARGS
},
11496 { (char *)"Client_window", _wrap_Client_window
, METH_VARARGS
},
11497 { (char *)"Client_type", _wrap_Client_type
, METH_VARARGS
},
11498 { (char *)"Client_normal", _wrap_Client_normal
, METH_VARARGS
},
11499 { (char *)"Client_desktop", _wrap_Client_desktop
, METH_VARARGS
},
11500 { (char *)"Client_title", _wrap_Client_title
, METH_VARARGS
},
11501 { (char *)"Client_iconTitle", _wrap_Client_iconTitle
, METH_VARARGS
},
11502 { (char *)"Client_appName", _wrap_Client_appName
, METH_VARARGS
},
11503 { (char *)"Client_appClass", _wrap_Client_appClass
, METH_VARARGS
},
11504 { (char *)"Client_role", _wrap_Client_role
, METH_VARARGS
},
11505 { (char *)"Client_canFocus", _wrap_Client_canFocus
, METH_VARARGS
},
11506 { (char *)"Client_urgent", _wrap_Client_urgent
, METH_VARARGS
},
11507 { (char *)"Client_focusNotify", _wrap_Client_focusNotify
, METH_VARARGS
},
11508 { (char *)"Client_shaped", _wrap_Client_shaped
, METH_VARARGS
},
11509 { (char *)"Client_gravity", _wrap_Client_gravity
, METH_VARARGS
},
11510 { (char *)"Client_positionRequested", _wrap_Client_positionRequested
, METH_VARARGS
},
11511 { (char *)"Client_decorations", _wrap_Client_decorations
, METH_VARARGS
},
11512 { (char *)"Client_funtions", _wrap_Client_funtions
, METH_VARARGS
},
11513 { (char *)"Client_transientFor", _wrap_Client_transientFor
, METH_VARARGS
},
11514 { (char *)"Client_modal", _wrap_Client_modal
, METH_VARARGS
},
11515 { (char *)"Client_shaded", _wrap_Client_shaded
, METH_VARARGS
},
11516 { (char *)"Client_iconic", _wrap_Client_iconic
, METH_VARARGS
},
11517 { (char *)"Client_maxVert", _wrap_Client_maxVert
, METH_VARARGS
},
11518 { (char *)"Client_maxHorz", _wrap_Client_maxHorz
, METH_VARARGS
},
11519 { (char *)"Client_layer", _wrap_Client_layer
, METH_VARARGS
},
11520 { (char *)"Client_toggleClientBorder", _wrap_Client_toggleClientBorder
, METH_VARARGS
},
11521 { (char *)"Client_area", _wrap_Client_area
, METH_VARARGS
},
11522 { (char *)"Client_strut", _wrap_Client_strut
, METH_VARARGS
},
11523 { (char *)"Client_move", _wrap_Client_move
, METH_VARARGS
},
11524 { (char *)"Client_resize", _wrap_Client_resize
, METH_VARARGS
},
11525 { (char *)"Client_focus", _wrap_Client_focus
, METH_VARARGS
},
11526 { (char *)"Client_unfocus", _wrap_Client_unfocus
, METH_VARARGS
},
11527 { (char *)"Client_focusHandler", _wrap_Client_focusHandler
, METH_VARARGS
},
11528 { (char *)"Client_unfocusHandler", _wrap_Client_unfocusHandler
, METH_VARARGS
},
11529 { (char *)"Client_propertyHandler", _wrap_Client_propertyHandler
, METH_VARARGS
},
11530 { (char *)"Client_clientMessageHandler", _wrap_Client_clientMessageHandler
, METH_VARARGS
},
11531 { (char *)"Client_configureRequestHandler", _wrap_Client_configureRequestHandler
, METH_VARARGS
},
11532 { (char *)"Client_unmapHandler", _wrap_Client_unmapHandler
, METH_VARARGS
},
11533 { (char *)"Client_destroyHandler", _wrap_Client_destroyHandler
, METH_VARARGS
},
11534 { (char *)"Client_reparentHandler", _wrap_Client_reparentHandler
, METH_VARARGS
},
11535 { (char *)"Client_swigregister", Client_swigregister
, METH_VARARGS
},
11536 { (char *)"new_Frame", _wrap_new_Frame
, METH_VARARGS
},
11537 { (char *)"delete_Frame", _wrap_delete_Frame
, METH_VARARGS
},
11538 { (char *)"Frame_size", _wrap_Frame_size
, METH_VARARGS
},
11539 { (char *)"Frame_setStyle", _wrap_Frame_setStyle
, METH_VARARGS
},
11540 { (char *)"Frame_adjust", _wrap_Frame_adjust
, METH_VARARGS
},
11541 { (char *)"Frame_focus", _wrap_Frame_focus
, METH_VARARGS
},
11542 { (char *)"Frame_unfocus", _wrap_Frame_unfocus
, METH_VARARGS
},
11543 { (char *)"Frame_setTitle", _wrap_Frame_setTitle
, METH_VARARGS
},
11544 { (char *)"Frame_grabClient", _wrap_Frame_grabClient
, METH_VARARGS
},
11545 { (char *)"Frame_releaseClient", _wrap_Frame_releaseClient
, METH_VARARGS
},
11546 { (char *)"Frame_adjustSize", _wrap_Frame_adjustSize
, METH_VARARGS
},
11547 { (char *)"Frame_adjustPosition", _wrap_Frame_adjustPosition
, METH_VARARGS
},
11548 { (char *)"Frame_adjustShape", _wrap_Frame_adjustShape
, METH_VARARGS
},
11549 { (char *)"Frame_clientGravity", _wrap_Frame_clientGravity
, METH_VARARGS
},
11550 { (char *)"Frame_frameGravity", _wrap_Frame_frameGravity
, METH_VARARGS
},
11551 { (char *)"Frame_plate", _wrap_Frame_plate
, METH_VARARGS
},
11552 { (char *)"Frame_titlebar", _wrap_Frame_titlebar
, METH_VARARGS
},
11553 { (char *)"Frame_label", _wrap_Frame_label
, METH_VARARGS
},
11554 { (char *)"Frame_button_close", _wrap_Frame_button_close
, METH_VARARGS
},
11555 { (char *)"Frame_button_iconify", _wrap_Frame_button_iconify
, METH_VARARGS
},
11556 { (char *)"Frame_button_max", _wrap_Frame_button_max
, METH_VARARGS
},
11557 { (char *)"Frame_button_stick", _wrap_Frame_button_stick
, METH_VARARGS
},
11558 { (char *)"Frame_handle", _wrap_Frame_handle
, METH_VARARGS
},
11559 { (char *)"Frame_grip_left", _wrap_Frame_grip_left
, METH_VARARGS
},
11560 { (char *)"Frame_grip_right", _wrap_Frame_grip_right
, METH_VARARGS
},
11561 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
11562 { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set
, METH_VARARGS
},
11563 { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get
, METH_VARARGS
},
11564 { (char *)"MouseData_client_set", _wrap_MouseData_client_set
, METH_VARARGS
},
11565 { (char *)"MouseData_client_get", _wrap_MouseData_client_get
, METH_VARARGS
},
11566 { (char *)"MouseData_time_set", _wrap_MouseData_time_set
, METH_VARARGS
},
11567 { (char *)"MouseData_time_get", _wrap_MouseData_time_get
, METH_VARARGS
},
11568 { (char *)"MouseData_state_set", _wrap_MouseData_state_set
, METH_VARARGS
},
11569 { (char *)"MouseData_state_get", _wrap_MouseData_state_get
, METH_VARARGS
},
11570 { (char *)"MouseData_button_set", _wrap_MouseData_button_set
, METH_VARARGS
},
11571 { (char *)"MouseData_button_get", _wrap_MouseData_button_get
, METH_VARARGS
},
11572 { (char *)"MouseData_context_set", _wrap_MouseData_context_set
, METH_VARARGS
},
11573 { (char *)"MouseData_context_get", _wrap_MouseData_context_get
, METH_VARARGS
},
11574 { (char *)"MouseData_action_set", _wrap_MouseData_action_set
, METH_VARARGS
},
11575 { (char *)"MouseData_action_get", _wrap_MouseData_action_get
, METH_VARARGS
},
11576 { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set
, METH_VARARGS
},
11577 { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get
, METH_VARARGS
},
11578 { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set
, METH_VARARGS
},
11579 { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get
, METH_VARARGS
},
11580 { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set
, METH_VARARGS
},
11581 { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get
, METH_VARARGS
},
11582 { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set
, METH_VARARGS
},
11583 { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get
, METH_VARARGS
},
11584 { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set
, METH_VARARGS
},
11585 { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get
, METH_VARARGS
},
11586 { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set
, METH_VARARGS
},
11587 { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get
, METH_VARARGS
},
11588 { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set
, METH_VARARGS
},
11589 { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get
, METH_VARARGS
},
11590 { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set
, METH_VARARGS
},
11591 { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get
, METH_VARARGS
},
11592 { (char *)"new_MouseData", _wrap_new_MouseData
, METH_VARARGS
},
11593 { (char *)"MouseData_swigregister", MouseData_swigregister
, METH_VARARGS
},
11594 { (char *)"EventData_screen_set", _wrap_EventData_screen_set
, METH_VARARGS
},
11595 { (char *)"EventData_screen_get", _wrap_EventData_screen_get
, METH_VARARGS
},
11596 { (char *)"EventData_client_set", _wrap_EventData_client_set
, METH_VARARGS
},
11597 { (char *)"EventData_client_get", _wrap_EventData_client_get
, METH_VARARGS
},
11598 { (char *)"EventData_state_set", _wrap_EventData_state_set
, METH_VARARGS
},
11599 { (char *)"EventData_state_get", _wrap_EventData_state_get
, METH_VARARGS
},
11600 { (char *)"EventData_action_set", _wrap_EventData_action_set
, METH_VARARGS
},
11601 { (char *)"EventData_action_get", _wrap_EventData_action_get
, METH_VARARGS
},
11602 { (char *)"new_EventData", _wrap_new_EventData
, METH_VARARGS
},
11603 { (char *)"EventData_swigregister", EventData_swigregister
, METH_VARARGS
},
11604 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set
, METH_VARARGS
},
11605 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get
, METH_VARARGS
},
11606 { (char *)"KeyData_client_set", _wrap_KeyData_client_set
, METH_VARARGS
},
11607 { (char *)"KeyData_client_get", _wrap_KeyData_client_get
, METH_VARARGS
},
11608 { (char *)"KeyData_time_set", _wrap_KeyData_time_set
, METH_VARARGS
},
11609 { (char *)"KeyData_time_get", _wrap_KeyData_time_get
, METH_VARARGS
},
11610 { (char *)"KeyData_state_set", _wrap_KeyData_state_set
, METH_VARARGS
},
11611 { (char *)"KeyData_state_get", _wrap_KeyData_state_get
, METH_VARARGS
},
11612 { (char *)"KeyData_key_set", _wrap_KeyData_key_set
, METH_VARARGS
},
11613 { (char *)"KeyData_key_get", _wrap_KeyData_key_get
, METH_VARARGS
},
11614 { (char *)"new_KeyData", _wrap_new_KeyData
, METH_VARARGS
},
11615 { (char *)"KeyData_swigregister", KeyData_swigregister
, METH_VARARGS
},
11616 { (char *)"mbind", _wrap_mbind
, METH_VARARGS
},
11617 { (char *)"kbind", _wrap_kbind
, METH_VARARGS
},
11618 { (char *)"ebind", _wrap_ebind
, METH_VARARGS
},
11619 { (char *)"set_reset_key", _wrap_set_reset_key
, METH_VARARGS
},
11620 { (char *)"send_client_msg", _wrap_send_client_msg
, METH_VARARGS
},
11625 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11627 static void *_p_ob__FrameTo_p_otk__Widget(void *x
) {
11628 return (void *)((otk::Widget
*) ((ob::Frame
*) x
));
11630 static void *_p_ob__ActionsTo_p_otk__EventHandler(void *x
) {
11631 return (void *)((otk::EventHandler
*) ((ob::Actions
*) x
));
11633 static void *_p_ob__FrameTo_p_otk__EventHandler(void *x
) {
11634 return (void *)((otk::EventHandler
*) (otk::Widget
*) ((ob::Frame
*) x
));
11636 static void *_p_otk__WidgetTo_p_otk__EventHandler(void *x
) {
11637 return (void *)((otk::EventHandler
*) ((otk::Widget
*) x
));
11639 static void *_p_ob__OpenboxTo_p_otk__EventHandler(void *x
) {
11640 return (void *)((otk::EventHandler
*) ((ob::Openbox
*) x
));
11642 static void *_p_ob__ScreenTo_p_otk__EventHandler(void *x
) {
11643 return (void *)((otk::EventHandler
*) ((ob::Screen
*) x
));
11645 static void *_p_ob__ClientTo_p_otk__EventHandler(void *x
) {
11646 return (void *)((otk::EventHandler
*) ((ob::Client
*) x
));
11648 static void *_p_ob__OpenboxTo_p_otk__EventDispatcher(void *x
) {
11649 return (void *)((otk::EventDispatcher
*) ((ob::Openbox
*) x
));
11651 static void *_p_ob__FrameTo_p_ob__WidgetBase(void *x
) {
11652 return (void *)((ob::WidgetBase
*) ((ob::Frame
*) x
));
11654 static void *_p_ob__ScreenTo_p_ob__WidgetBase(void *x
) {
11655 return (void *)((ob::WidgetBase
*) ((ob::Screen
*) x
));
11657 static void *_p_ob__ClientTo_p_ob__WidgetBase(void *x
) {
11658 return (void *)((ob::WidgetBase
*) ((ob::Client
*) x
));
11660 static swig_type_info _swigt__p_otk__Point
[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
11661 static swig_type_info _swigt__p_ob__Client
[] = {{"_p_ob__Client", 0, "ob::Client *", 0},{"_p_ob__Client"},{0}};
11662 static swig_type_info _swigt__p_XMapEvent
[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
11663 static swig_type_info _swigt__p_XUnmapEvent
[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
11664 static swig_type_info _swigt__p_XColormapEvent
[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
11665 static swig_type_info _swigt__p_XNoExposeEvent
[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
11666 static swig_type_info _swigt__p_XGraphicsExposeEvent
[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
11667 static swig_type_info _swigt__p_XExposeEvent
[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
11668 static swig_type_info _swigt__p_XFocusChangeEvent
[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
11669 static swig_type_info _swigt__p_XClientMessageEvent
[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
11670 static swig_type_info _swigt__p_ob__MouseData
[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
11671 static swig_type_info _swigt__p_XSelectionClearEvent
[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
11672 static swig_type_info _swigt__p_otk__Rect
[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
11673 static swig_type_info _swigt__p_Visual
[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
11674 static swig_type_info _swigt__p_XResizeRequestEvent
[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
11675 static swig_type_info _swigt__p_XMapRequestEvent
[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
11676 static swig_type_info _swigt__p_XConfigureRequestEvent
[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
11677 static swig_type_info _swigt__p_XCirculateRequestEvent
[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
11678 static swig_type_info _swigt__p_XGravityEvent
[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
11679 static swig_type_info _swigt__p_XVisibilityEvent
[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
11680 static swig_type_info _swigt__p_XPropertyEvent
[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
11681 static swig_type_info _swigt__p_XSelectionRequestEvent
[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
11682 static swig_type_info _swigt__p_ob__Cursors
[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
11683 static swig_type_info _swigt__p_otk__ImageControl
[] = {{"_p_otk__ImageControl", 0, "otk::ImageControl *", 0},{"_p_otk__ImageControl"},{0}};
11684 static swig_type_info _swigt__p_ob__MwmHints
[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
11685 static swig_type_info _swigt__p_ob__Screen
[] = {{"_p_ob__Screen", 0, "ob::Screen *", 0},{"_p_ob__Screen"},{0}};
11686 static swig_type_info _swigt__p_ob__Frame
[] = {{"_p_ob__Frame", 0, "ob::Frame *", 0},{"_p_ob__Frame"},{0}};
11687 static swig_type_info _swigt__p_ob__KeyData
[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
11688 static swig_type_info _swigt__p_XCirculateEvent
[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
11689 static swig_type_info _swigt__p_XConfigureEvent
[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
11690 static swig_type_info _swigt__p_XRectangle
[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
11691 static swig_type_info _swigt__p_otk__ustring
[] = {{"_p_otk__ustring", 0, "otk::ustring *", 0},{"_p_otk__ustring"},{0}};
11692 static swig_type_info _swigt__p_std__string
[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
11693 static swig_type_info _swigt__p_XCrossingEvent
[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
11694 static swig_type_info _swigt__p_otk__Display
[] = {{"_p_otk__Display", 0, "otk::Display *", 0},{"_p_otk__Display"},{0}};
11695 static swig_type_info _swigt__p_Display
[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
11696 static swig_type_info _swigt__p_XMappingEvent
[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
11697 static swig_type_info _swigt__p_otk__Style
[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
11698 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__Frame", _p_ob__FrameTo_p_otk__EventHandler
},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__EventHandler
},{"_p_otk__Widget", _p_otk__WidgetTo_p_otk__EventHandler
},{"_p_ob__Screen", _p_ob__ScreenTo_p_otk__EventHandler
},{0}};
11699 static swig_type_info _swigt__p_XReparentEvent
[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
11700 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}};
11701 static swig_type_info _swigt__p_otk__GCCache
[] = {{"_p_otk__GCCache", 0, "otk::GCCache *", 0},{"_p_otk__GCCache"},{0}};
11702 static swig_type_info _swigt__p_ob__Bindings
[] = {{"_p_ob__Bindings", 0, "ob::Bindings *", 0},{"_p_ob__Bindings"},{0}};
11703 static swig_type_info _swigt__p_ob__Openbox
[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
11704 static swig_type_info _swigt__p_ob__Actions
[] = {{"_p_ob__Actions", 0, "ob::Actions *", 0},{"_p_ob__Actions"},{0}};
11705 static swig_type_info _swigt__p_otk__Widget
[] = {{"_p_otk__Widget", 0, "otk::Widget *", 0},{"_p_ob__Frame", _p_ob__FrameTo_p_otk__Widget
},{"_p_otk__Widget"},{0}};
11706 static swig_type_info _swigt__p_XEvent
[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
11707 static swig_type_info _swigt__p_otk__Property
[] = {{"_p_otk__Property", 0, "otk::Property *", 0},{"_p_otk__Property"},{0}};
11708 static swig_type_info _swigt__p_PyObject
[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
11709 static swig_type_info _swigt__p_otk__ScreenInfo
[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
11710 static swig_type_info _swigt__p_ob__EventData
[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
11711 static swig_type_info _swigt__p_XCreateWindowEvent
[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
11712 static swig_type_info _swigt__p_XDestroyWindowEvent
[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
11713 static swig_type_info _swigt__p_otk__Property__StringVect
[] = {{"_p_otk__Property__StringVect", 0, "otk::Property::StringVect *", 0},{"_p_otk__Property__StringVect"},{0}};
11714 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__Frame", _p_ob__FrameTo_p_ob__WidgetBase
},{"_p_ob__Screen", _p_ob__ScreenTo_p_ob__WidgetBase
},{0}};
11715 static swig_type_info _swigt__p_otk__Atoms
[] = {{"_p_otk__Atoms", 0, "otk::Atoms *", 0},{"_p_otk__Atoms"},{0}};
11716 static swig_type_info _swigt__p_XKeyEvent
[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
11717 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11718 static swig_type_info _swigt__p_otk__Strut
[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
11719 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
11720 static swig_type_info _swigt__p_p_unsigned_long
[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
11721 static swig_type_info _swigt__p_XMotionEvent
[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
11722 static swig_type_info _swigt__p_XButtonEvent
[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
11723 static swig_type_info _swigt__p_XSelectionEvent
[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
11725 static swig_type_info
*swig_types_initial
[] = {
11726 _swigt__p_otk__Point
,
11727 _swigt__p_ob__Client
,
11728 _swigt__p_XMapEvent
,
11729 _swigt__p_XUnmapEvent
,
11730 _swigt__p_XColormapEvent
,
11731 _swigt__p_XNoExposeEvent
,
11732 _swigt__p_XGraphicsExposeEvent
,
11733 _swigt__p_XExposeEvent
,
11734 _swigt__p_XFocusChangeEvent
,
11735 _swigt__p_XClientMessageEvent
,
11736 _swigt__p_ob__MouseData
,
11737 _swigt__p_XSelectionClearEvent
,
11738 _swigt__p_otk__Rect
,
11740 _swigt__p_XResizeRequestEvent
,
11741 _swigt__p_XMapRequestEvent
,
11742 _swigt__p_XConfigureRequestEvent
,
11743 _swigt__p_XCirculateRequestEvent
,
11744 _swigt__p_XGravityEvent
,
11745 _swigt__p_XVisibilityEvent
,
11746 _swigt__p_XPropertyEvent
,
11747 _swigt__p_XSelectionRequestEvent
,
11748 _swigt__p_ob__Cursors
,
11749 _swigt__p_otk__ImageControl
,
11750 _swigt__p_ob__MwmHints
,
11751 _swigt__p_ob__Screen
,
11752 _swigt__p_ob__Frame
,
11753 _swigt__p_ob__KeyData
,
11754 _swigt__p_XCirculateEvent
,
11755 _swigt__p_XConfigureEvent
,
11756 _swigt__p_XRectangle
,
11757 _swigt__p_otk__ustring
,
11758 _swigt__p_std__string
,
11759 _swigt__p_XCrossingEvent
,
11760 _swigt__p_otk__Display
,
11762 _swigt__p_XMappingEvent
,
11763 _swigt__p_otk__Style
,
11764 _swigt__p_otk__EventHandler
,
11765 _swigt__p_XReparentEvent
,
11766 _swigt__p_otk__EventDispatcher
,
11767 _swigt__p_otk__GCCache
,
11768 _swigt__p_ob__Bindings
,
11769 _swigt__p_ob__Openbox
,
11770 _swigt__p_ob__Actions
,
11771 _swigt__p_otk__Widget
,
11773 _swigt__p_otk__Property
,
11774 _swigt__p_PyObject
,
11775 _swigt__p_otk__ScreenInfo
,
11776 _swigt__p_ob__EventData
,
11777 _swigt__p_XCreateWindowEvent
,
11778 _swigt__p_XDestroyWindowEvent
,
11779 _swigt__p_otk__Property__StringVect
,
11780 _swigt__p_ob__WidgetBase
,
11781 _swigt__p_otk__Atoms
,
11782 _swigt__p_XKeyEvent
,
11784 _swigt__p_otk__Strut
,
11785 _swigt__p_unsigned_long
,
11786 _swigt__p_p_unsigned_long
,
11787 _swigt__p_XMotionEvent
,
11788 _swigt__p_XButtonEvent
,
11789 _swigt__p_XSelectionEvent
,
11794 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11796 static swig_const_info swig_const_table
[] = {
11797 { SWIG_PY_INT
, (char *)"Property_ascii", (long) otk::Property::ascii
, 0, 0, 0},
11798 { SWIG_PY_INT
, (char *)"Property_utf8", (long) otk::Property::utf8
, 0, 0, 0},
11799 { SWIG_PY_INT
, (char *)"Property_NUM_STRING_TYPE", (long) otk::Property::NUM_STRING_TYPE
, 0, 0, 0},
11800 { SWIG_PY_INT
, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting
, 0, 0, 0},
11801 { SWIG_PY_INT
, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal
, 0, 0, 0},
11802 { SWIG_PY_INT
, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting
, 0, 0, 0},
11803 { SWIG_PY_INT
, (char *)"Screen_event_mask", (long) ob::Screen::event_mask
, 0, 0, 0},
11804 { SWIG_PY_INT
, (char *)"MwmHints_elements", (long) ob::MwmHints::elements
, 0, 0, 0},
11805 { SWIG_PY_INT
, (char *)"Client_Layer_Icon", (long) ob::Client::Layer_Icon
, 0, 0, 0},
11806 { SWIG_PY_INT
, (char *)"Client_Layer_Desktop", (long) ob::Client::Layer_Desktop
, 0, 0, 0},
11807 { SWIG_PY_INT
, (char *)"Client_Layer_Below", (long) ob::Client::Layer_Below
, 0, 0, 0},
11808 { SWIG_PY_INT
, (char *)"Client_Layer_Normal", (long) ob::Client::Layer_Normal
, 0, 0, 0},
11809 { SWIG_PY_INT
, (char *)"Client_Layer_Above", (long) ob::Client::Layer_Above
, 0, 0, 0},
11810 { SWIG_PY_INT
, (char *)"Client_Layer_Top", (long) ob::Client::Layer_Top
, 0, 0, 0},
11811 { SWIG_PY_INT
, (char *)"Client_Layer_Fullscreen", (long) ob::Client::Layer_Fullscreen
, 0, 0, 0},
11812 { SWIG_PY_INT
, (char *)"Client_Layer_Internal", (long) ob::Client::Layer_Internal
, 0, 0, 0},
11813 { SWIG_PY_INT
, (char *)"Client_NUM_LAYERS", (long) ob::Client::NUM_LAYERS
, 0, 0, 0},
11814 { SWIG_PY_INT
, (char *)"Client_TopLeft", (long) ob::Client::TopLeft
, 0, 0, 0},
11815 { SWIG_PY_INT
, (char *)"Client_TopRight", (long) ob::Client::TopRight
, 0, 0, 0},
11816 { SWIG_PY_INT
, (char *)"Client_BottomLeft", (long) ob::Client::BottomLeft
, 0, 0, 0},
11817 { SWIG_PY_INT
, (char *)"Client_BottomRight", (long) ob::Client::BottomRight
, 0, 0, 0},
11818 { SWIG_PY_INT
, (char *)"Client_Type_Desktop", (long) ob::Client::Type_Desktop
, 0, 0, 0},
11819 { SWIG_PY_INT
, (char *)"Client_Type_Dock", (long) ob::Client::Type_Dock
, 0, 0, 0},
11820 { SWIG_PY_INT
, (char *)"Client_Type_Toolbar", (long) ob::Client::Type_Toolbar
, 0, 0, 0},
11821 { SWIG_PY_INT
, (char *)"Client_Type_Menu", (long) ob::Client::Type_Menu
, 0, 0, 0},
11822 { SWIG_PY_INT
, (char *)"Client_Type_Utility", (long) ob::Client::Type_Utility
, 0, 0, 0},
11823 { SWIG_PY_INT
, (char *)"Client_Type_Splash", (long) ob::Client::Type_Splash
, 0, 0, 0},
11824 { SWIG_PY_INT
, (char *)"Client_Type_Dialog", (long) ob::Client::Type_Dialog
, 0, 0, 0},
11825 { SWIG_PY_INT
, (char *)"Client_Type_Normal", (long) ob::Client::Type_Normal
, 0, 0, 0},
11826 { SWIG_PY_INT
, (char *)"Client_MwmFlag_Functions", (long) ob::Client::MwmFlag_Functions
, 0, 0, 0},
11827 { SWIG_PY_INT
, (char *)"Client_MwmFlag_Decorations", (long) ob::Client::MwmFlag_Decorations
, 0, 0, 0},
11828 { SWIG_PY_INT
, (char *)"Client_MwmFunc_All", (long) ob::Client::MwmFunc_All
, 0, 0, 0},
11829 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Resize", (long) ob::Client::MwmFunc_Resize
, 0, 0, 0},
11830 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Move", (long) ob::Client::MwmFunc_Move
, 0, 0, 0},
11831 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Iconify", (long) ob::Client::MwmFunc_Iconify
, 0, 0, 0},
11832 { SWIG_PY_INT
, (char *)"Client_MwmFunc_Maximize", (long) ob::Client::MwmFunc_Maximize
, 0, 0, 0},
11833 { SWIG_PY_INT
, (char *)"Client_MwmDecor_All", (long) ob::Client::MwmDecor_All
, 0, 0, 0},
11834 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Border", (long) ob::Client::MwmDecor_Border
, 0, 0, 0},
11835 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Handle", (long) ob::Client::MwmDecor_Handle
, 0, 0, 0},
11836 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Title", (long) ob::Client::MwmDecor_Title
, 0, 0, 0},
11837 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Iconify", (long) ob::Client::MwmDecor_Iconify
, 0, 0, 0},
11838 { SWIG_PY_INT
, (char *)"Client_MwmDecor_Maximize", (long) ob::Client::MwmDecor_Maximize
, 0, 0, 0},
11839 { SWIG_PY_INT
, (char *)"Client_Func_Resize", (long) ob::Client::Func_Resize
, 0, 0, 0},
11840 { SWIG_PY_INT
, (char *)"Client_Func_Move", (long) ob::Client::Func_Move
, 0, 0, 0},
11841 { SWIG_PY_INT
, (char *)"Client_Func_Iconify", (long) ob::Client::Func_Iconify
, 0, 0, 0},
11842 { SWIG_PY_INT
, (char *)"Client_Func_Maximize", (long) ob::Client::Func_Maximize
, 0, 0, 0},
11843 { SWIG_PY_INT
, (char *)"Client_Func_Close", (long) ob::Client::Func_Close
, 0, 0, 0},
11844 { SWIG_PY_INT
, (char *)"Client_Decor_Titlebar", (long) ob::Client::Decor_Titlebar
, 0, 0, 0},
11845 { SWIG_PY_INT
, (char *)"Client_Decor_Handle", (long) ob::Client::Decor_Handle
, 0, 0, 0},
11846 { SWIG_PY_INT
, (char *)"Client_Decor_Border", (long) ob::Client::Decor_Border
, 0, 0, 0},
11847 { SWIG_PY_INT
, (char *)"Client_Decor_Iconify", (long) ob::Client::Decor_Iconify
, 0, 0, 0},
11848 { SWIG_PY_INT
, (char *)"Client_Decor_Maximize", (long) ob::Client::Decor_Maximize
, 0, 0, 0},
11849 { SWIG_PY_INT
, (char *)"Client_Decor_Sticky", (long) ob::Client::Decor_Sticky
, 0, 0, 0},
11850 { SWIG_PY_INT
, (char *)"Client_Decor_Close", (long) ob::Client::Decor_Close
, 0, 0, 0},
11851 { SWIG_PY_INT
, (char *)"Client_State_Remove", (long) ob::Client::State_Remove
, 0, 0, 0},
11852 { SWIG_PY_INT
, (char *)"Client_State_Add", (long) ob::Client::State_Add
, 0, 0, 0},
11853 { SWIG_PY_INT
, (char *)"Client_State_Toggle", (long) ob::Client::State_Toggle
, 0, 0, 0},
11854 { SWIG_PY_INT
, (char *)"Client_event_mask", (long) ob::Client::event_mask
, 0, 0, 0},
11855 { SWIG_PY_INT
, (char *)"Client_no_propagate_mask", (long) ob::Client::no_propagate_mask
, 0, 0, 0},
11856 { SWIG_PY_INT
, (char *)"Frame_event_mask", (long) ob::Frame::event_mask
, 0, 0, 0},
11857 { SWIG_PY_INT
, (char *)"MC_Frame", (long) ob::MC_Frame
, 0, 0, 0},
11858 { SWIG_PY_INT
, (char *)"MC_Titlebar", (long) ob::MC_Titlebar
, 0, 0, 0},
11859 { SWIG_PY_INT
, (char *)"MC_Handle", (long) ob::MC_Handle
, 0, 0, 0},
11860 { SWIG_PY_INT
, (char *)"MC_Window", (long) ob::MC_Window
, 0, 0, 0},
11861 { SWIG_PY_INT
, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton
, 0, 0, 0},
11862 { SWIG_PY_INT
, (char *)"MC_CloseButton", (long) ob::MC_CloseButton
, 0, 0, 0},
11863 { SWIG_PY_INT
, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton
, 0, 0, 0},
11864 { SWIG_PY_INT
, (char *)"MC_StickyButton", (long) ob::MC_StickyButton
, 0, 0, 0},
11865 { SWIG_PY_INT
, (char *)"MC_Grip", (long) ob::MC_Grip
, 0, 0, 0},
11866 { SWIG_PY_INT
, (char *)"MC_Root", (long) ob::MC_Root
, 0, 0, 0},
11867 { SWIG_PY_INT
, (char *)"MC_MenuItem", (long) ob::MC_MenuItem
, 0, 0, 0},
11868 { SWIG_PY_INT
, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT
, 0, 0, 0},
11869 { SWIG_PY_INT
, (char *)"MousePress", (long) ob::MousePress
, 0, 0, 0},
11870 { SWIG_PY_INT
, (char *)"MouseClick", (long) ob::MouseClick
, 0, 0, 0},
11871 { SWIG_PY_INT
, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick
, 0, 0, 0},
11872 { SWIG_PY_INT
, (char *)"MouseMotion", (long) ob::MouseMotion
, 0, 0, 0},
11873 { SWIG_PY_INT
, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION
, 0, 0, 0},
11874 { SWIG_PY_INT
, (char *)"KC_Menu", (long) ob::KC_Menu
, 0, 0, 0},
11875 { SWIG_PY_INT
, (char *)"KC_All", (long) ob::KC_All
, 0, 0, 0},
11876 { SWIG_PY_INT
, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT
, 0, 0, 0},
11877 { SWIG_PY_INT
, (char *)"EventEnterWindow", (long) ob::EventEnterWindow
, 0, 0, 0},
11878 { SWIG_PY_INT
, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow
, 0, 0, 0},
11879 { SWIG_PY_INT
, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow
, 0, 0, 0},
11880 { SWIG_PY_INT
, (char *)"EventNewWindow", (long) ob::EventNewWindow
, 0, 0, 0},
11881 { SWIG_PY_INT
, (char *)"EventCloseWindow", (long) ob::EventCloseWindow
, 0, 0, 0},
11882 { SWIG_PY_INT
, (char *)"EventStartup", (long) ob::EventStartup
, 0, 0, 0},
11883 { SWIG_PY_INT
, (char *)"EventShutdown", (long) ob::EventShutdown
, 0, 0, 0},
11884 { SWIG_PY_INT
, (char *)"EventFocus", (long) ob::EventFocus
, 0, 0, 0},
11885 { SWIG_PY_INT
, (char *)"EventBell", (long) ob::EventBell
, 0, 0, 0},
11886 { SWIG_PY_INT
, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS
, 0, 0, 0},
11887 { SWIG_PY_INT
, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
11888 { SWIG_PY_INT
, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
11889 { SWIG_PY_INT
, (char *)"None", (long) 0L, 0, 0, 0},
11890 { SWIG_PY_INT
, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
11891 { SWIG_PY_INT
, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
11892 { SWIG_PY_INT
, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
11893 { SWIG_PY_INT
, (char *)"InputFocus", (long) 1L, 0, 0, 0},
11894 { SWIG_PY_INT
, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
11895 { SWIG_PY_INT
, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
11896 { SWIG_PY_INT
, (char *)"AnyKey", (long) 0L, 0, 0, 0},
11897 { SWIG_PY_INT
, (char *)"AnyButton", (long) 0L, 0, 0, 0},
11898 { SWIG_PY_INT
, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
11899 { SWIG_PY_INT
, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
11900 { SWIG_PY_INT
, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
11901 { SWIG_PY_INT
, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
11902 { SWIG_PY_INT
, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
11903 { SWIG_PY_INT
, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
11904 { SWIG_PY_INT
, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
11905 { SWIG_PY_INT
, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
11906 { SWIG_PY_INT
, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
11907 { SWIG_PY_INT
, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
11908 { SWIG_PY_INT
, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
11909 { SWIG_PY_INT
, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
11910 { SWIG_PY_INT
, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
11911 { SWIG_PY_INT
, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
11912 { SWIG_PY_INT
, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
11913 { SWIG_PY_INT
, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
11914 { SWIG_PY_INT
, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
11915 { SWIG_PY_INT
, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
11916 { SWIG_PY_INT
, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
11917 { SWIG_PY_INT
, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
11918 { SWIG_PY_INT
, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
11919 { SWIG_PY_INT
, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
11920 { SWIG_PY_INT
, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
11921 { SWIG_PY_INT
, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
11922 { SWIG_PY_INT
, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
11923 { SWIG_PY_INT
, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
11924 { SWIG_PY_INT
, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
11925 { SWIG_PY_INT
, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
11926 { SWIG_PY_INT
, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
11927 { SWIG_PY_INT
, (char *)"KeyPress", (long) 2, 0, 0, 0},
11928 { SWIG_PY_INT
, (char *)"KeyRelease", (long) 3, 0, 0, 0},
11929 { SWIG_PY_INT
, (char *)"ButtonPress", (long) 4, 0, 0, 0},
11930 { SWIG_PY_INT
, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
11931 { SWIG_PY_INT
, (char *)"MotionNotify", (long) 6, 0, 0, 0},
11932 { SWIG_PY_INT
, (char *)"EnterNotify", (long) 7, 0, 0, 0},
11933 { SWIG_PY_INT
, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
11934 { SWIG_PY_INT
, (char *)"FocusIn", (long) 9, 0, 0, 0},
11935 { SWIG_PY_INT
, (char *)"FocusOut", (long) 10, 0, 0, 0},
11936 { SWIG_PY_INT
, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
11937 { SWIG_PY_INT
, (char *)"Expose", (long) 12, 0, 0, 0},
11938 { SWIG_PY_INT
, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
11939 { SWIG_PY_INT
, (char *)"NoExpose", (long) 14, 0, 0, 0},
11940 { SWIG_PY_INT
, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
11941 { SWIG_PY_INT
, (char *)"CreateNotify", (long) 16, 0, 0, 0},
11942 { SWIG_PY_INT
, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
11943 { SWIG_PY_INT
, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
11944 { SWIG_PY_INT
, (char *)"MapNotify", (long) 19, 0, 0, 0},
11945 { SWIG_PY_INT
, (char *)"MapRequest", (long) 20, 0, 0, 0},
11946 { SWIG_PY_INT
, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
11947 { SWIG_PY_INT
, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
11948 { SWIG_PY_INT
, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
11949 { SWIG_PY_INT
, (char *)"GravityNotify", (long) 24, 0, 0, 0},
11950 { SWIG_PY_INT
, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
11951 { SWIG_PY_INT
, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
11952 { SWIG_PY_INT
, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
11953 { SWIG_PY_INT
, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
11954 { SWIG_PY_INT
, (char *)"SelectionClear", (long) 29, 0, 0, 0},
11955 { SWIG_PY_INT
, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
11956 { SWIG_PY_INT
, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
11957 { SWIG_PY_INT
, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
11958 { SWIG_PY_INT
, (char *)"ClientMessage", (long) 33, 0, 0, 0},
11959 { SWIG_PY_INT
, (char *)"MappingNotify", (long) 34, 0, 0, 0},
11960 { SWIG_PY_INT
, (char *)"LASTEvent", (long) 35, 0, 0, 0},
11961 { SWIG_PY_INT
, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
11962 { SWIG_PY_INT
, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
11963 { SWIG_PY_INT
, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
11964 { SWIG_PY_INT
, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
11965 { SWIG_PY_INT
, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
11966 { SWIG_PY_INT
, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
11967 { SWIG_PY_INT
, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
11968 { SWIG_PY_INT
, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
11969 { SWIG_PY_INT
, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
11970 { SWIG_PY_INT
, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
11971 { SWIG_PY_INT
, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
11972 { SWIG_PY_INT
, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
11973 { SWIG_PY_INT
, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
11974 { SWIG_PY_INT
, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
11975 { SWIG_PY_INT
, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
11976 { SWIG_PY_INT
, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
11977 { SWIG_PY_INT
, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
11978 { SWIG_PY_INT
, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
11979 { SWIG_PY_INT
, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
11980 { SWIG_PY_INT
, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
11981 { SWIG_PY_INT
, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
11982 { SWIG_PY_INT
, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
11983 { SWIG_PY_INT
, (char *)"Button1", (long) 1, 0, 0, 0},
11984 { SWIG_PY_INT
, (char *)"Button2", (long) 2, 0, 0, 0},
11985 { SWIG_PY_INT
, (char *)"Button3", (long) 3, 0, 0, 0},
11986 { SWIG_PY_INT
, (char *)"Button4", (long) 4, 0, 0, 0},
11987 { SWIG_PY_INT
, (char *)"Button5", (long) 5, 0, 0, 0},
11988 { SWIG_PY_INT
, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
11989 { SWIG_PY_INT
, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
11990 { SWIG_PY_INT
, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
11991 { SWIG_PY_INT
, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
11992 { SWIG_PY_INT
, (char *)"NotifyHint", (long) 1, 0, 0, 0},
11993 { SWIG_PY_INT
, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
11994 { SWIG_PY_INT
, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
11995 { SWIG_PY_INT
, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
11996 { SWIG_PY_INT
, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
11997 { SWIG_PY_INT
, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
11998 { SWIG_PY_INT
, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
11999 { SWIG_PY_INT
, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
12000 { SWIG_PY_INT
, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
12001 { SWIG_PY_INT
, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
12002 { SWIG_PY_INT
, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
12003 { SWIG_PY_INT
, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
12004 { SWIG_PY_INT
, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
12005 { SWIG_PY_INT
, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
12006 { SWIG_PY_INT
, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
12007 { SWIG_PY_INT
, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
12008 { SWIG_PY_INT
, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
12009 { SWIG_PY_INT
, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
12010 { SWIG_PY_INT
, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
12011 { SWIG_PY_INT
, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
12012 { SWIG_PY_INT
, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
12013 { SWIG_PY_INT
, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
12014 { SWIG_PY_INT
, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
12015 { SWIG_PY_INT
, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
12016 { SWIG_PY_INT
, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
12017 { SWIG_PY_INT
, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
12018 { SWIG_PY_INT
, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
12019 { SWIG_PY_INT
, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
12020 { SWIG_PY_INT
, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
12021 { SWIG_PY_INT
, (char *)"SyncPointer", (long) 1, 0, 0, 0},
12022 { SWIG_PY_INT
, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
12023 { SWIG_PY_INT
, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
12024 { SWIG_PY_INT
, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
12025 { SWIG_PY_INT
, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
12026 { SWIG_PY_INT
, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
12027 { SWIG_PY_INT
, (char *)"SyncBoth", (long) 7, 0, 0, 0},
12028 { SWIG_PY_INT
, (char *)"RevertToParent", (long) 2, 0, 0, 0},
12029 { SWIG_PY_INT
, (char *)"Success", (long) 0, 0, 0, 0},
12030 { SWIG_PY_INT
, (char *)"BadRequest", (long) 1, 0, 0, 0},
12031 { SWIG_PY_INT
, (char *)"BadValue", (long) 2, 0, 0, 0},
12032 { SWIG_PY_INT
, (char *)"BadWindow", (long) 3, 0, 0, 0},
12033 { SWIG_PY_INT
, (char *)"BadPixmap", (long) 4, 0, 0, 0},
12034 { SWIG_PY_INT
, (char *)"BadAtom", (long) 5, 0, 0, 0},
12035 { SWIG_PY_INT
, (char *)"BadCursor", (long) 6, 0, 0, 0},
12036 { SWIG_PY_INT
, (char *)"BadFont", (long) 7, 0, 0, 0},
12037 { SWIG_PY_INT
, (char *)"BadMatch", (long) 8, 0, 0, 0},
12038 { SWIG_PY_INT
, (char *)"BadDrawable", (long) 9, 0, 0, 0},
12039 { SWIG_PY_INT
, (char *)"BadAccess", (long) 10, 0, 0, 0},
12040 { SWIG_PY_INT
, (char *)"BadAlloc", (long) 11, 0, 0, 0},
12041 { SWIG_PY_INT
, (char *)"BadColor", (long) 12, 0, 0, 0},
12042 { SWIG_PY_INT
, (char *)"BadGC", (long) 13, 0, 0, 0},
12043 { SWIG_PY_INT
, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
12044 { SWIG_PY_INT
, (char *)"BadName", (long) 15, 0, 0, 0},
12045 { SWIG_PY_INT
, (char *)"BadLength", (long) 16, 0, 0, 0},
12046 { SWIG_PY_INT
, (char *)"BadImplementation", (long) 17, 0, 0, 0},
12047 { SWIG_PY_INT
, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
12048 { SWIG_PY_INT
, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
12049 { SWIG_PY_INT
, (char *)"InputOutput", (long) 1, 0, 0, 0},
12050 { SWIG_PY_INT
, (char *)"InputOnly", (long) 2, 0, 0, 0},
12051 { SWIG_PY_INT
, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
12052 { SWIG_PY_INT
, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
12053 { SWIG_PY_INT
, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
12054 { SWIG_PY_INT
, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
12055 { SWIG_PY_INT
, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
12056 { SWIG_PY_INT
, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
12057 { SWIG_PY_INT
, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
12058 { SWIG_PY_INT
, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
12059 { SWIG_PY_INT
, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
12060 { SWIG_PY_INT
, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
12061 { SWIG_PY_INT
, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
12062 { SWIG_PY_INT
, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
12063 { SWIG_PY_INT
, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
12064 { SWIG_PY_INT
, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
12065 { SWIG_PY_INT
, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
12066 { SWIG_PY_INT
, (char *)"CWX", (long) (1<<0), 0, 0, 0},
12067 { SWIG_PY_INT
, (char *)"CWY", (long) (1<<1), 0, 0, 0},
12068 { SWIG_PY_INT
, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
12069 { SWIG_PY_INT
, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
12070 { SWIG_PY_INT
, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
12071 { SWIG_PY_INT
, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
12072 { SWIG_PY_INT
, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
12073 { SWIG_PY_INT
, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
12074 { SWIG_PY_INT
, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
12075 { SWIG_PY_INT
, (char *)"NorthGravity", (long) 2, 0, 0, 0},
12076 { SWIG_PY_INT
, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
12077 { SWIG_PY_INT
, (char *)"WestGravity", (long) 4, 0, 0, 0},
12078 { SWIG_PY_INT
, (char *)"CenterGravity", (long) 5, 0, 0, 0},
12079 { SWIG_PY_INT
, (char *)"EastGravity", (long) 6, 0, 0, 0},
12080 { SWIG_PY_INT
, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
12081 { SWIG_PY_INT
, (char *)"SouthGravity", (long) 8, 0, 0, 0},
12082 { SWIG_PY_INT
, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
12083 { SWIG_PY_INT
, (char *)"StaticGravity", (long) 10, 0, 0, 0},
12084 { SWIG_PY_INT
, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
12085 { SWIG_PY_INT
, (char *)"NotUseful", (long) 0, 0, 0, 0},
12086 { SWIG_PY_INT
, (char *)"WhenMapped", (long) 1, 0, 0, 0},
12087 { SWIG_PY_INT
, (char *)"Always", (long) 2, 0, 0, 0},
12088 { SWIG_PY_INT
, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
12089 { SWIG_PY_INT
, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
12090 { SWIG_PY_INT
, (char *)"IsViewable", (long) 2, 0, 0, 0},
12091 { SWIG_PY_INT
, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
12092 { SWIG_PY_INT
, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
12093 { SWIG_PY_INT
, (char *)"DestroyAll", (long) 0, 0, 0, 0},
12094 { SWIG_PY_INT
, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
12095 { SWIG_PY_INT
, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
12096 { SWIG_PY_INT
, (char *)"Above", (long) 0, 0, 0, 0},
12097 { SWIG_PY_INT
, (char *)"Below", (long) 1, 0, 0, 0},
12098 { SWIG_PY_INT
, (char *)"TopIf", (long) 2, 0, 0, 0},
12099 { SWIG_PY_INT
, (char *)"BottomIf", (long) 3, 0, 0, 0},
12100 { SWIG_PY_INT
, (char *)"Opposite", (long) 4, 0, 0, 0},
12101 { SWIG_PY_INT
, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
12102 { SWIG_PY_INT
, (char *)"LowerHighest", (long) 1, 0, 0, 0},
12103 { SWIG_PY_INT
, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
12104 { SWIG_PY_INT
, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
12105 { SWIG_PY_INT
, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
12106 { SWIG_PY_INT
, (char *)"GXclear", (long) 0x0, 0, 0, 0},
12107 { SWIG_PY_INT
, (char *)"GXand", (long) 0x1, 0, 0, 0},
12108 { SWIG_PY_INT
, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
12109 { SWIG_PY_INT
, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
12110 { SWIG_PY_INT
, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
12111 { SWIG_PY_INT
, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
12112 { SWIG_PY_INT
, (char *)"GXxor", (long) 0x6, 0, 0, 0},
12113 { SWIG_PY_INT
, (char *)"GXor", (long) 0x7, 0, 0, 0},
12114 { SWIG_PY_INT
, (char *)"GXnor", (long) 0x8, 0, 0, 0},
12115 { SWIG_PY_INT
, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
12116 { SWIG_PY_INT
, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
12117 { SWIG_PY_INT
, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
12118 { SWIG_PY_INT
, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
12119 { SWIG_PY_INT
, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
12120 { SWIG_PY_INT
, (char *)"GXnand", (long) 0xe, 0, 0, 0},
12121 { SWIG_PY_INT
, (char *)"GXset", (long) 0xf, 0, 0, 0},
12122 { SWIG_PY_INT
, (char *)"LineSolid", (long) 0, 0, 0, 0},
12123 { SWIG_PY_INT
, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
12124 { SWIG_PY_INT
, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
12125 { SWIG_PY_INT
, (char *)"CapNotLast", (long) 0, 0, 0, 0},
12126 { SWIG_PY_INT
, (char *)"CapButt", (long) 1, 0, 0, 0},
12127 { SWIG_PY_INT
, (char *)"CapRound", (long) 2, 0, 0, 0},
12128 { SWIG_PY_INT
, (char *)"CapProjecting", (long) 3, 0, 0, 0},
12129 { SWIG_PY_INT
, (char *)"JoinMiter", (long) 0, 0, 0, 0},
12130 { SWIG_PY_INT
, (char *)"JoinRound", (long) 1, 0, 0, 0},
12131 { SWIG_PY_INT
, (char *)"JoinBevel", (long) 2, 0, 0, 0},
12132 { SWIG_PY_INT
, (char *)"FillSolid", (long) 0, 0, 0, 0},
12133 { SWIG_PY_INT
, (char *)"FillTiled", (long) 1, 0, 0, 0},
12134 { SWIG_PY_INT
, (char *)"FillStippled", (long) 2, 0, 0, 0},
12135 { SWIG_PY_INT
, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
12136 { SWIG_PY_INT
, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
12137 { SWIG_PY_INT
, (char *)"WindingRule", (long) 1, 0, 0, 0},
12138 { SWIG_PY_INT
, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
12139 { SWIG_PY_INT
, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
12140 { SWIG_PY_INT
, (char *)"Unsorted", (long) 0, 0, 0, 0},
12141 { SWIG_PY_INT
, (char *)"YSorted", (long) 1, 0, 0, 0},
12142 { SWIG_PY_INT
, (char *)"YXSorted", (long) 2, 0, 0, 0},
12143 { SWIG_PY_INT
, (char *)"YXBanded", (long) 3, 0, 0, 0},
12144 { SWIG_PY_INT
, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
12145 { SWIG_PY_INT
, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
12146 { SWIG_PY_INT
, (char *)"Complex", (long) 0, 0, 0, 0},
12147 { SWIG_PY_INT
, (char *)"Nonconvex", (long) 1, 0, 0, 0},
12148 { SWIG_PY_INT
, (char *)"Convex", (long) 2, 0, 0, 0},
12149 { SWIG_PY_INT
, (char *)"ArcChord", (long) 0, 0, 0, 0},
12150 { SWIG_PY_INT
, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
12151 { SWIG_PY_INT
, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
12152 { SWIG_PY_INT
, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
12153 { SWIG_PY_INT
, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
12154 { SWIG_PY_INT
, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
12155 { SWIG_PY_INT
, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
12156 { SWIG_PY_INT
, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
12157 { SWIG_PY_INT
, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
12158 { SWIG_PY_INT
, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
12159 { SWIG_PY_INT
, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
12160 { SWIG_PY_INT
, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
12161 { SWIG_PY_INT
, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
12162 { SWIG_PY_INT
, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
12163 { SWIG_PY_INT
, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
12164 { SWIG_PY_INT
, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
12165 { SWIG_PY_INT
, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
12166 { SWIG_PY_INT
, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
12167 { SWIG_PY_INT
, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
12168 { SWIG_PY_INT
, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
12169 { SWIG_PY_INT
, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
12170 { SWIG_PY_INT
, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
12171 { SWIG_PY_INT
, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
12172 { SWIG_PY_INT
, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
12173 { SWIG_PY_INT
, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
12174 { SWIG_PY_INT
, (char *)"GCLastBit", (long) 22, 0, 0, 0},
12175 { SWIG_PY_INT
, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
12176 { SWIG_PY_INT
, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
12177 { SWIG_PY_INT
, (char *)"FontChange", (long) 255, 0, 0, 0},
12178 { SWIG_PY_INT
, (char *)"XYBitmap", (long) 0, 0, 0, 0},
12179 { SWIG_PY_INT
, (char *)"XYPixmap", (long) 1, 0, 0, 0},
12180 { SWIG_PY_INT
, (char *)"ZPixmap", (long) 2, 0, 0, 0},
12181 { SWIG_PY_INT
, (char *)"AllocNone", (long) 0, 0, 0, 0},
12182 { SWIG_PY_INT
, (char *)"AllocAll", (long) 1, 0, 0, 0},
12183 { SWIG_PY_INT
, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
12184 { SWIG_PY_INT
, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
12185 { SWIG_PY_INT
, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
12186 { SWIG_PY_INT
, (char *)"CursorShape", (long) 0, 0, 0, 0},
12187 { SWIG_PY_INT
, (char *)"TileShape", (long) 1, 0, 0, 0},
12188 { SWIG_PY_INT
, (char *)"StippleShape", (long) 2, 0, 0, 0},
12189 { SWIG_PY_INT
, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
12190 { SWIG_PY_INT
, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
12191 { SWIG_PY_INT
, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
12192 { SWIG_PY_INT
, (char *)"LedModeOff", (long) 0, 0, 0, 0},
12193 { SWIG_PY_INT
, (char *)"LedModeOn", (long) 1, 0, 0, 0},
12194 { SWIG_PY_INT
, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
12195 { SWIG_PY_INT
, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
12196 { SWIG_PY_INT
, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
12197 { SWIG_PY_INT
, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
12198 { SWIG_PY_INT
, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
12199 { SWIG_PY_INT
, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
12200 { SWIG_PY_INT
, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
12201 { SWIG_PY_INT
, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
12202 { SWIG_PY_INT
, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
12203 { SWIG_PY_INT
, (char *)"MappingBusy", (long) 1, 0, 0, 0},
12204 { SWIG_PY_INT
, (char *)"MappingFailed", (long) 2, 0, 0, 0},
12205 { SWIG_PY_INT
, (char *)"MappingModifier", (long) 0, 0, 0, 0},
12206 { SWIG_PY_INT
, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
12207 { SWIG_PY_INT
, (char *)"MappingPointer", (long) 2, 0, 0, 0},
12208 { SWIG_PY_INT
, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
12209 { SWIG_PY_INT
, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
12210 { SWIG_PY_INT
, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
12211 { SWIG_PY_INT
, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
12212 { SWIG_PY_INT
, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
12213 { SWIG_PY_INT
, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
12214 { SWIG_PY_INT
, (char *)"AllowExposures", (long) 1, 0, 0, 0},
12215 { SWIG_PY_INT
, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
12216 { SWIG_PY_INT
, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
12217 { SWIG_PY_INT
, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
12218 { SWIG_PY_INT
, (char *)"HostInsert", (long) 0, 0, 0, 0},
12219 { SWIG_PY_INT
, (char *)"HostDelete", (long) 1, 0, 0, 0},
12220 { SWIG_PY_INT
, (char *)"EnableAccess", (long) 1, 0, 0, 0},
12221 { SWIG_PY_INT
, (char *)"DisableAccess", (long) 0, 0, 0, 0},
12222 { SWIG_PY_INT
, (char *)"StaticGray", (long) 0, 0, 0, 0},
12223 { SWIG_PY_INT
, (char *)"GrayScale", (long) 1, 0, 0, 0},
12224 { SWIG_PY_INT
, (char *)"StaticColor", (long) 2, 0, 0, 0},
12225 { SWIG_PY_INT
, (char *)"PseudoColor", (long) 3, 0, 0, 0},
12226 { SWIG_PY_INT
, (char *)"TrueColor", (long) 4, 0, 0, 0},
12227 { SWIG_PY_INT
, (char *)"DirectColor", (long) 5, 0, 0, 0},
12228 { SWIG_PY_INT
, (char *)"LSBFirst", (long) 0, 0, 0, 0},
12229 { SWIG_PY_INT
, (char *)"MSBFirst", (long) 1, 0, 0, 0},
12239 SWIGEXPORT(void) SWIG_init(void) {
12240 static PyObject
*SWIG_globals
= 0;
12241 static int typeinit
= 0;
12244 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
12245 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
12246 d
= PyModule_GetDict(m
);
12249 for (i
= 0; swig_types_initial
[i
]; i
++) {
12250 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
12254 SWIG_InstallConstants(d
,swig_const_table
);