1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021128-1508
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T> class SwigValueWrapper {
17 inline SwigValueWrapper() : tt(0) { }
18 inline ~SwigValueWrapper() { if (tt) delete tt; }
19 inline SwigValueWrapper& operator=(const T& t) { tt = new T(t); return *this; }
20 inline operator T&() const { return *tt; }
21 inline T *operator&() { return tt; }
28 /***********************************************************************
31 * This file contains generic SWIG runtime support for pointer
32 * type checking as well as a few commonly used macros to control
35 * Author : David Beazley (beazley@cs.uchicago.edu)
37 * Copyright (c) 1999-2000, The University of Chicago
39 * This file may be freely redistributed without license or fee provided
40 * this copyright message remains intact.
41 ************************************************************************/
45 #if defined(_WIN32) || defined(__WIN32__)
46 # if defined(_MSC_VER)
47 # if defined(STATIC_LINKED)
48 # define SWIGEXPORT(a) a
49 # define SWIGIMPORT(a) extern a
51 # define SWIGEXPORT(a) __declspec(dllexport) a
52 # define SWIGIMPORT(a) extern a
55 # if defined(__BORLANDC__)
56 # define SWIGEXPORT(a) a _export
57 # define SWIGIMPORT(a) a _export
59 # define SWIGEXPORT(a) a
60 # define SWIGIMPORT(a) a
64 # define SWIGEXPORT(a) a
65 # define SWIGIMPORT(a) a
69 #define SWIGRUNTIME(a) SWIGEXPORT(a)
71 #define SWIGRUNTIME(a) static a
78 typedef void *(*swig_converter_func)(void *);
79 typedef struct swig_type_info *(*swig_dycast_func)(void **);
81 typedef struct swig_type_info {
83 swig_converter_func converter;
86 swig_dycast_func dcast;
87 struct swig_type_info *next;
88 struct swig_type_info *prev;
93 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
94 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
95 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
96 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
97 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
98 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
102 static swig_type_info *swig_type_list = 0;
104 /* Register a type mapping with the type-checking */
105 SWIGRUNTIME(swig_type_info *)
106 SWIG_TypeRegister(swig_type_info *ti)
108 swig_type_info *tc, *head, *ret, *next;
109 /* Check to see if this type has already been registered */
112 if (strcmp(tc->name, ti->name) == 0) {
113 /* Already exists in the table. Just add additional types to the list */
114 if (tc->clientdata) ti->clientdata = tc->clientdata;
125 ti->prev = swig_type_list;
128 /* Build linked lists */
132 /* Patch up the rest of the links */
143 /* Check the typename */
144 SWIGRUNTIME(swig_type_info *)
145 SWIG_TypeCheck(char *c, swig_type_info *ty)
148 if (!ty) return 0; /* Void pointer */
149 s = ty->next; /* First element always just a name */
151 if (strcmp(s->name,c) == 0) {
152 if (s == ty->next) return s;
153 /* Move s to the top of the linked list */
154 s->prev->next = s->next;
156 s->next->prev = s->prev;
158 /* Insert s as second element in the list */
160 if (ty->next) ty->next->prev = s;
165 } while (s && (s != ty->next));
169 /* Cast a pointer up an inheritance hierarchy */
171 SWIG_TypeCast(swig_type_info *ty, void *ptr)
173 if ((!ty) || (!ty->converter)) return ptr;
174 return (*ty->converter)(ptr);
177 /* Dynamic pointer casting. Down an inheritance hierarchy */
178 SWIGRUNTIME(swig_type_info *)
179 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
181 swig_type_info *lastty = ty;
182 if (!ty || !ty->dcast) return ty;
183 while (ty && (ty->dcast)) {
184 ty = (*ty->dcast)(ptr);
190 /* Search for a swig_type_info structure */
191 SWIGRUNTIME(swig_type_info *)
192 SWIG_TypeQuery(const char *name) {
193 swig_type_info *ty = swig_type_list;
195 if (ty->str && (strcmp(name,ty->str) == 0)) return ty;
196 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
202 /* Set the clientdata field for a type */
204 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
205 swig_type_info *tc, *equiv;
206 if (ti->clientdata == clientdata) return;
207 ti->clientdata = clientdata;
210 if (!equiv->converter) {
213 if ((strcmp(tc->name, equiv->name) == 0))
214 SWIG_TypeClientData(tc,clientdata);
228 /***********************************************************************
231 * This file contains the runtime support for Python modules
232 * and includes code for managing global variables and pointer
235 * Author : David Beazley (beazley@cs.uchicago.edu)
236 ************************************************************************/
244 #define SWIG_PY_INT 1
245 #define SWIG_PY_FLOAT 2
246 #define SWIG_PY_STRING 3
247 #define SWIG_PY_POINTER 4
248 #define SWIG_PY_BINARY 5
250 /* Flags for pointer conversion */
252 #define SWIG_POINTER_EXCEPTION 0x1
253 #define SWIG_POINTER_DISOWN 0x2
255 /* Exception handling in wrappers */
256 #define SWIG_fail goto fail
258 /* Constant information structure */
259 typedef struct swig_const_info {
265 swig_type_info **ptype;
268 #ifdef SWIG_NOINCLUDE
270 SWIGEXPORT(PyObject *) SWIG_newvarlink();
271 SWIGEXPORT(void) SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
272 SWIGEXPORT(int) SWIG_ConvertPtr(PyObject *, void **, swig_type_info *, int);
273 SWIGEXPORT(int) SWIG_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
274 SWIGEXPORT(char *) SWIG_PackData(char *c, void *, int);
275 SWIGEXPORT(char *) SWIG_UnpackData(char *c, void *, int);
276 SWIGEXPORT(PyObject *) SWIG_NewPointerObj(void *, swig_type_info *,int own);
277 SWIGEXPORT(PyObject *) SWIG_NewPackedObj(void *, int sz, swig_type_info *);
278 SWIGEXPORT(void) SWIG_InstallConstants(PyObject *d, swig_const_info constants[]);
281 /* -----------------------------------------------------------------------------
282 * global variable support code.
283 * ----------------------------------------------------------------------------- */
285 typedef struct swig_globalvar {
286 char *name; /* Name of global variable */
287 PyObject *(*get_attr)(void); /* Return the current value */
288 int (*set_attr)(PyObject *); /* Set the value */
289 struct swig_globalvar *next;
292 typedef struct swig_varlinkobject {
294 swig_globalvar *vars;
295 } swig_varlinkobject;
298 swig_varlink_repr(swig_varlinkobject *v) {
300 return PyString_FromString("<Global variables>");
304 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
307 fprintf(fp,"Global variables { ");
308 for (var = v->vars; var; var=var->next) {
309 fprintf(fp,"%s", var->name);
310 if (var->next) fprintf(fp,", ");
317 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
318 swig_globalvar *var = v->vars;
320 if (strcmp(var->name,n) == 0) {
321 return (*var->get_attr)();
325 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
330 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
331 swig_globalvar *var = v->vars;
333 if (strcmp(var->name,n) == 0) {
334 return (*var->set_attr)(p);
338 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
342 statichere PyTypeObject varlinktype = {
343 PyObject_HEAD_INIT(0)
345 (char *)"swigvarlink", /* Type name */
346 sizeof(swig_varlinkobject), /* Basic size */
349 (printfunc) swig_varlink_print, /* Print */
350 (getattrfunc) swig_varlink_getattr, /* get attr */
351 (setattrfunc) swig_varlink_setattr, /* Set attr */
353 (reprfunc) swig_varlink_repr, /* tp_repr */
354 0, /* tp_as_number */
355 0, /* tp_as_mapping*/
359 /* Create a variable linking object for use later */
360 SWIGRUNTIME(PyObject *)
361 SWIG_newvarlink(void) {
362 swig_varlinkobject *result = 0;
363 result = PyMem_NEW(swig_varlinkobject,1);
364 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
365 result->ob_type = &varlinktype;
367 result->ob_refcnt = 0;
368 Py_XINCREF((PyObject *) result);
369 return ((PyObject*) result);
373 SWIG_addvarlink(PyObject *p, char *name,
374 PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
375 swig_varlinkobject *v;
377 v= (swig_varlinkobject *) p;
378 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
379 gv->name = (char *) malloc(strlen(name)+1);
380 strcpy(gv->name,name);
381 gv->get_attr = get_attr;
382 gv->set_attr = set_attr;
387 /* Pack binary data into a string */
389 SWIG_PackData(char *c, void *ptr, int sz) {
390 static char hex[17] = "0123456789abcdef";
392 unsigned char *u = (unsigned char *) ptr;
393 register unsigned char uu;
394 for (i = 0; i < sz; i++,u++) {
396 *(c++) = hex[(uu & 0xf0) >> 4];
397 *(c++) = hex[uu & 0xf];
402 /* Unpack binary data from a string */
404 SWIG_UnpackData(char *c, void *ptr, int sz) {
405 register unsigned char uu = 0;
407 unsigned char *u = (unsigned char *) ptr;
409 for (i = 0; i < sz; i++, u++) {
411 if ((d >= '0') && (d <= '9'))
412 uu = ((d - '0') << 4);
413 else if ((d >= 'a') && (d <= 'f'))
414 uu = ((d - ('a'-10)) << 4);
416 if ((d >= '0') && (d <= '9'))
418 else if ((d >= 'a') && (d <= 'f'))
419 uu |= (d - ('a'-10));
425 /* Convert a pointer value */
427 SWIG_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
430 static PyObject *SWIG_this = 0;
435 if (obj == Py_None) {
439 #ifdef SWIG_COBJECT_TYPES
440 if (!(PyCObject_Check(obj))) {
442 SWIG_this = PyString_FromString("this");
444 obj = PyObject_GetAttr(obj,SWIG_this);
446 if (!obj) goto type_error;
447 if (!PyCObject_Check(obj)) {
452 *ptr = PyCObject_AsVoidPtr(obj);
453 c = (char *) PyCObject_GetDesc(obj);
454 if (newref) Py_DECREF(obj);
457 if (!(PyString_Check(obj))) {
459 SWIG_this = PyString_FromString("this");
461 obj = PyObject_GetAttr(obj,SWIG_this);
463 if (!obj) goto type_error;
464 if (!PyString_Check(obj)) {
469 c = PyString_AsString(obj);
470 /* Pointer values must start with leading underscore */
473 if (strcmp(c,"NULL") == 0) {
474 if (newref) { Py_DECREF(obj); }
477 if (newref) { Py_DECREF(obj); }
482 c = SWIG_UnpackData(c,ptr,sizeof(void *));
483 if (newref) { Py_DECREF(obj); }
486 #ifdef SWIG_COBJECT_TYPES
491 tc = SWIG_TypeCheck(c,ty);
492 if (!tc) goto type_error;
493 *ptr = SWIG_TypeCast(tc,(void*) *ptr);
496 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
497 PyObject *zero = PyInt_FromLong(0);
498 PyObject_SetAttrString(pyobj,(char*)"thisown",zero);
504 if (flags & SWIG_POINTER_EXCEPTION) {
506 char *temp = (char *) malloc(64+strlen(ty->name));
507 sprintf(temp,"Type error. Expected %s", ty->name);
508 PyErr_SetString(PyExc_TypeError, temp);
511 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
517 /* Convert a packed value value */
519 SWIG_ConvertPacked(PyObject *obj, void *ptr, int sz, swig_type_info *ty, int flags) {
523 if ((!obj) || (!PyString_Check(obj))) goto type_error;
524 c = PyString_AsString(obj);
525 /* Pointer values must start with leading underscore */
526 if (*c != '_') goto type_error;
528 c = SWIG_UnpackData(c,ptr,sz);
530 tc = SWIG_TypeCheck(c,ty);
531 if (!tc) goto type_error;
539 char *temp = (char *) malloc(64+strlen(ty->name));
540 sprintf(temp,"Type error. Expected %s", ty->name);
541 PyErr_SetString(PyExc_TypeError, temp);
544 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
550 /* Create a new pointer object */
551 SWIGRUNTIME(PyObject *)
552 SWIG_NewPointerObj(void *ptr, swig_type_info *type, int own) {
558 #ifdef SWIG_COBJECT_TYPES
559 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) type->name, NULL);
565 r = SWIG_PackData(r,&ptr,sizeof(void *));
566 strcpy(r,type->name);
567 robj = PyString_FromString(result);
570 if (!robj || (robj == Py_None)) return robj;
571 if (type->clientdata) {
573 PyObject *args = Py_BuildValue((char*)"(O)", robj);
575 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
579 PyObject *n = PyInt_FromLong(1);
580 PyObject_SetAttrString(inst,(char*)"thisown",n);
589 SWIGRUNTIME(PyObject *)
590 SWIG_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
593 if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
595 r = SWIG_PackData(r,ptr,sz);
596 strcpy(r,type->name);
597 return PyString_FromString(result);
600 /* Install Constants */
602 SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) {
605 for (i = 0; constants[i].type; i++) {
606 switch(constants[i].type) {
608 obj = PyInt_FromLong(constants[i].lvalue);
611 obj = PyFloat_FromDouble(constants[i].dvalue);
614 obj = PyString_FromString((char *) constants[i].pvalue);
616 case SWIG_PY_POINTER:
617 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
620 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
627 PyDict_SetItemString(d,constants[i].name,obj);
646 /* -------- TYPES TABLE (BEGIN) -------- */
648 #define SWIGTYPE_p_otk__Point swig_types[0]
649 #define SWIGTYPE_p_ob__Client swig_types[1]
650 #define SWIGTYPE_p_XMapEvent swig_types[2]
651 #define SWIGTYPE_p_XUnmapEvent swig_types[3]
652 #define SWIGTYPE_p_XColormapEvent swig_types[4]
653 #define SWIGTYPE_p_XNoExposeEvent swig_types[5]
654 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[6]
655 #define SWIGTYPE_p_XExposeEvent swig_types[7]
656 #define SWIGTYPE_p_XFocusChangeEvent swig_types[8]
657 #define SWIGTYPE_p_XClientMessageEvent swig_types[9]
658 #define SWIGTYPE_p_ob__MouseData swig_types[10]
659 #define SWIGTYPE_p_XSelectionClearEvent swig_types[11]
660 #define SWIGTYPE_p_otk__Rect swig_types[12]
661 #define SWIGTYPE_p_Visual swig_types[13]
662 #define SWIGTYPE_p_XResizeRequestEvent swig_types[14]
663 #define SWIGTYPE_p_XMapRequestEvent swig_types[15]
664 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[16]
665 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[17]
666 #define SWIGTYPE_p_XGravityEvent swig_types[18]
667 #define SWIGTYPE_p_XVisibilityEvent swig_types[19]
668 #define SWIGTYPE_p_XPropertyEvent swig_types[20]
669 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[21]
670 #define SWIGTYPE_p_ob__Cursors swig_types[22]
671 #define SWIGTYPE_p_otk__ImageControl swig_types[23]
672 #define SWIGTYPE_p_ob__MwmHints swig_types[24]
673 #define SWIGTYPE_p_ob__Screen swig_types[25]
674 #define SWIGTYPE_p_ob__Frame swig_types[26]
675 #define SWIGTYPE_p_ob__KeyData swig_types[27]
676 #define SWIGTYPE_p_XConfigureEvent swig_types[28]
677 #define SWIGTYPE_p_XCirculateEvent swig_types[29]
678 #define SWIGTYPE_p_XRectangle swig_types[30]
679 #define SWIGTYPE_p_otk__ustring swig_types[31]
680 #define SWIGTYPE_p_std__string swig_types[32]
681 #define SWIGTYPE_p_XCrossingEvent swig_types[33]
682 #define SWIGTYPE_p_otk__Display swig_types[34]
683 #define SWIGTYPE_p_Display swig_types[35]
684 #define SWIGTYPE_p_XMappingEvent swig_types[36]
685 #define SWIGTYPE_p_otk__Style swig_types[37]
686 #define SWIGTYPE_p_otk__EventHandler swig_types[38]
687 #define SWIGTYPE_p_XReparentEvent swig_types[39]
688 #define SWIGTYPE_p_otk__EventDispatcher swig_types[40]
689 #define SWIGTYPE_p_otk__GCCache swig_types[41]
690 #define SWIGTYPE_p_ob__Bindings swig_types[42]
691 #define SWIGTYPE_p_ob__Openbox swig_types[43]
692 #define SWIGTYPE_p_ob__Actions swig_types[44]
693 #define SWIGTYPE_p_XEvent swig_types[45]
694 #define SWIGTYPE_p_otk__Property swig_types[46]
695 #define SWIGTYPE_p_PyObject swig_types[47]
696 #define SWIGTYPE_p_otk__ScreenInfo swig_types[48]
697 #define SWIGTYPE_p_ob__EventData swig_types[49]
698 #define SWIGTYPE_p_XCreateWindowEvent swig_types[50]
699 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[51]
700 #define SWIGTYPE_p_otk__Property__StringVect swig_types[52]
701 #define SWIGTYPE_p_ob__WidgetBase swig_types[53]
702 #define SWIGTYPE_p_otk__Atoms swig_types[54]
703 #define SWIGTYPE_p_XKeyEvent swig_types[55]
704 #define SWIGTYPE_p_otk__Strut swig_types[56]
705 #define SWIGTYPE_p_unsigned_long swig_types[57]
706 #define SWIGTYPE_p_p_unsigned_long swig_types[58]
707 #define SWIGTYPE_p_XMotionEvent swig_types[59]
708 #define SWIGTYPE_p_XButtonEvent swig_types[60]
709 #define SWIGTYPE_p_XSelectionEvent swig_types[61]
710 static swig_type_info *swig_types[63];
712 /* -------- TYPES TABLE (END) -------- */
715 /*-----------------------------------------------
716 @(target):= _openbox.so
717 ------------------------------------------------*/
718 #define SWIG_init init_openbox
720 #define SWIG_name "_openbox"
723 # include "../config.h"
726 #include "openbox.hh"
729 #include "bindings.hh"
730 #include "actions.hh"
732 #include "otk/otk.hh"
735 #define SWIG_MemoryError 1
736 #define SWIG_IOError 2
737 #define SWIG_RuntimeError 3
738 #define SWIG_IndexError 4
739 #define SWIG_TypeError 5
740 #define SWIG_DivisionByZero 6
741 #define SWIG_OverflowError 7
742 #define SWIG_SyntaxError 8
743 #define SWIG_ValueError 9
744 #define SWIG_SystemError 10
745 #define SWIG_UnknownError 99
748 static void _SWIG_exception(int code, const char *msg) {
750 case SWIG_MemoryError:
751 PyErr_SetString(PyExc_MemoryError,msg);
754 PyErr_SetString(PyExc_IOError,msg);
756 case SWIG_RuntimeError:
757 PyErr_SetString(PyExc_RuntimeError,msg);
759 case SWIG_IndexError:
760 PyErr_SetString(PyExc_IndexError,msg);
763 PyErr_SetString(PyExc_TypeError,msg);
765 case SWIG_DivisionByZero:
766 PyErr_SetString(PyExc_ZeroDivisionError,msg);
768 case SWIG_OverflowError:
769 PyErr_SetString(PyExc_OverflowError,msg);
771 case SWIG_SyntaxError:
772 PyErr_SetString(PyExc_SyntaxError,msg);
774 case SWIG_ValueError:
775 PyErr_SetString(PyExc_ValueError,msg);
777 case SWIG_SystemError:
778 PyErr_SetString(PyExc_SystemError,msg);
781 PyErr_SetString(PyExc_RuntimeError,msg);
786 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
794 PyObject* SwigInt_FromBool(bool b) {
795 return PyInt_FromLong(b ? 1L : 0L);
797 double SwigNumber_Check(PyObject* o) {
798 return PyFloat_Check(o) || PyInt_Check(o);
800 double SwigNumber_AsDouble(PyObject* o) {
801 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
803 PyObject* SwigString_FromString(const std::string& s) {
804 return PyString_FromString(s.c_str());
806 std::string SwigString_AsString(PyObject* o) {
807 return std::string(PyString_AsString(o));
816 ob::Openbox *Openbox_instance() { return ob::openbox; }
820 void python_callback(PyObject *func, MouseData *data)
825 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
826 SWIGTYPE_p_ob__MouseData,
830 result = PyEval_CallObject(func, arglist);
831 if (!result || PyErr_Occurred()) {
832 // an exception occured in the script, display it
840 void python_callback(PyObject *func, EventData *data)
845 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
846 SWIGTYPE_p_ob__EventData,
850 result = PyEval_CallObject(func, arglist);
851 if (!result || PyErr_Occurred()) {
852 // an exception occured in the script, display it
860 void python_callback(PyObject *func, KeyData *data)
865 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
866 SWIGTYPE_p_ob__KeyData,
870 result = PyEval_CallObject(func, arglist);
871 if (!result || PyErr_Occurred()) {
872 // an exception occured in the script, display it
886 #include "ustring.hh"
889 otk::Display *Display_instance() { return otk::display; }
892 const otk::Atoms& Property_atoms() { return otk::Property::atoms; }
894 ob::Client *ob_Screen_client(ob::Screen *self,int i){
895 if (i < 0 || i >= (int)self->clients.size())
897 ob::Client::List::iterator it = self->clients.begin();
901 int ob_Screen_clientCount(ob::Screen const *self){
902 return (int) self->clients.size();
907 static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
911 if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
912 result = (ob::Openbox *)Openbox_instance();
914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
921 static PyObject *_wrap_Display_instance(PyObject *self, PyObject *args) {
923 otk::Display *result;
925 if(!PyArg_ParseTuple(args,(char *)":Display_instance")) goto fail;
926 result = (otk::Display *)Display_instance();
928 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 0);
935 static PyObject *_wrap_Property_atoms(PyObject *self, PyObject *args) {
939 if(!PyArg_ParseTuple(args,(char *)":Property_atoms")) goto fail;
941 otk::Atoms const &_result_ref = Property_atoms();
942 result = (otk::Atoms *) &_result_ref;
945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Atoms, 0);
952 static PyObject *_wrap_new_Display(PyObject *self, PyObject *args) {
954 otk::Display *result;
956 if(!PyArg_ParseTuple(args,(char *)":new_Display")) goto fail;
957 result = (otk::Display *)new otk::Display();
959 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 1);
966 static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args) {
968 otk::Display *arg1 = (otk::Display *) 0 ;
969 PyObject * obj0 = 0 ;
971 if(!PyArg_ParseTuple(args,(char *)"O:delete_Display",&obj0)) goto fail;
972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
975 Py_INCREF(Py_None); resultobj = Py_None;
982 static PyObject *_wrap_Display_gcCache(PyObject *self, PyObject *args) {
984 otk::Display *arg1 = (otk::Display *) 0 ;
985 otk::GCCache *result;
986 PyObject * obj0 = 0 ;
988 if(!PyArg_ParseTuple(args,(char *)"O:Display_gcCache",&obj0)) goto fail;
989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
990 result = (otk::GCCache *)((otk::Display const *)arg1)->gcCache();
992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__GCCache, 0);
999 static PyObject *_wrap_Display_screenInfo(PyObject *self, PyObject *args) {
1000 PyObject *resultobj;
1001 otk::Display *arg1 = (otk::Display *) 0 ;
1003 otk::ScreenInfo *result;
1004 PyObject * obj0 = 0 ;
1006 if(!PyArg_ParseTuple(args,(char *)"Oi:Display_screenInfo",&obj0,&arg2)) goto fail;
1007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1008 result = (otk::ScreenInfo *)(arg1)->screenInfo(arg2);
1010 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
1017 static PyObject *_wrap_Display_findScreen(PyObject *self, PyObject *args) {
1018 PyObject *resultobj;
1019 otk::Display *arg1 = (otk::Display *) 0 ;
1021 otk::ScreenInfo *result;
1022 PyObject * obj0 = 0 ;
1023 PyObject * obj1 = 0 ;
1025 if(!PyArg_ParseTuple(args,(char *)"OO:Display_findScreen",&obj0,&obj1)) goto fail;
1026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1027 arg2 = (Window) PyInt_AsLong(obj1);
1028 if (PyErr_Occurred()) SWIG_fail;
1029 result = (otk::ScreenInfo *)(arg1)->findScreen(arg2);
1031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
1038 static PyObject *_wrap_Display_xkb(PyObject *self, PyObject *args) {
1039 PyObject *resultobj;
1040 otk::Display *arg1 = (otk::Display *) 0 ;
1042 PyObject * obj0 = 0 ;
1044 if(!PyArg_ParseTuple(args,(char *)"O:Display_xkb",&obj0)) goto fail;
1045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1046 result = (bool)((otk::Display const *)arg1)->xkb();
1048 resultobj = PyInt_FromLong((long)result);
1055 static PyObject *_wrap_Display_xkbEventBase(PyObject *self, PyObject *args) {
1056 PyObject *resultobj;
1057 otk::Display *arg1 = (otk::Display *) 0 ;
1059 PyObject * obj0 = 0 ;
1061 if(!PyArg_ParseTuple(args,(char *)"O:Display_xkbEventBase",&obj0)) goto fail;
1062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1063 result = (int)((otk::Display const *)arg1)->xkbEventBase();
1065 resultobj = PyInt_FromLong((long)result);
1072 static PyObject *_wrap_Display_shape(PyObject *self, PyObject *args) {
1073 PyObject *resultobj;
1074 otk::Display *arg1 = (otk::Display *) 0 ;
1076 PyObject * obj0 = 0 ;
1078 if(!PyArg_ParseTuple(args,(char *)"O:Display_shape",&obj0)) goto fail;
1079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1080 result = (bool)((otk::Display const *)arg1)->shape();
1082 resultobj = PyInt_FromLong((long)result);
1089 static PyObject *_wrap_Display_shapeEventBase(PyObject *self, PyObject *args) {
1090 PyObject *resultobj;
1091 otk::Display *arg1 = (otk::Display *) 0 ;
1093 PyObject * obj0 = 0 ;
1095 if(!PyArg_ParseTuple(args,(char *)"O:Display_shapeEventBase",&obj0)) goto fail;
1096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1097 result = (int)((otk::Display const *)arg1)->shapeEventBase();
1099 resultobj = PyInt_FromLong((long)result);
1106 static PyObject *_wrap_Display_xinerama(PyObject *self, PyObject *args) {
1107 PyObject *resultobj;
1108 otk::Display *arg1 = (otk::Display *) 0 ;
1110 PyObject * obj0 = 0 ;
1112 if(!PyArg_ParseTuple(args,(char *)"O:Display_xinerama",&obj0)) goto fail;
1113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1114 result = (bool)((otk::Display const *)arg1)->xinerama();
1116 resultobj = PyInt_FromLong((long)result);
1123 static PyObject *_wrap_Display_numLockMask(PyObject *self, PyObject *args) {
1124 PyObject *resultobj;
1125 otk::Display *arg1 = (otk::Display *) 0 ;
1126 unsigned int result;
1127 PyObject * obj0 = 0 ;
1129 if(!PyArg_ParseTuple(args,(char *)"O:Display_numLockMask",&obj0)) goto fail;
1130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1131 result = (unsigned int)((otk::Display const *)arg1)->numLockMask();
1133 resultobj = PyInt_FromLong((long)result);
1140 static PyObject *_wrap_Display_scrollLockMask(PyObject *self, PyObject *args) {
1141 PyObject *resultobj;
1142 otk::Display *arg1 = (otk::Display *) 0 ;
1143 unsigned int result;
1144 PyObject * obj0 = 0 ;
1146 if(!PyArg_ParseTuple(args,(char *)"O:Display_scrollLockMask",&obj0)) goto fail;
1147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1148 result = (unsigned int)((otk::Display const *)arg1)->scrollLockMask();
1150 resultobj = PyInt_FromLong((long)result);
1157 static PyObject *_wrap_Display___mul__(PyObject *self, PyObject *args) {
1158 PyObject *resultobj;
1159 otk::Display *arg1 = (otk::Display *) 0 ;
1161 PyObject * obj0 = 0 ;
1163 if(!PyArg_ParseTuple(args,(char *)"O:Display___mul__",&obj0)) goto fail;
1164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1165 result = (Display *)((otk::Display const *)arg1)->operator *();
1167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
1174 static PyObject *_wrap_Display_grab(PyObject *self, PyObject *args) {
1175 PyObject *resultobj;
1176 otk::Display *arg1 = (otk::Display *) 0 ;
1177 PyObject * obj0 = 0 ;
1179 if(!PyArg_ParseTuple(args,(char *)"O:Display_grab",&obj0)) goto fail;
1180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1183 Py_INCREF(Py_None); resultobj = Py_None;
1190 static PyObject *_wrap_Display_ungrab(PyObject *self, PyObject *args) {
1191 PyObject *resultobj;
1192 otk::Display *arg1 = (otk::Display *) 0 ;
1193 PyObject * obj0 = 0 ;
1195 if(!PyArg_ParseTuple(args,(char *)"O:Display_ungrab",&obj0)) goto fail;
1196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1199 Py_INCREF(Py_None); resultobj = Py_None;
1206 static PyObject *_wrap_Display_grabButton(PyObject *self, PyObject *args) {
1207 PyObject *resultobj;
1208 otk::Display *arg1 = (otk::Display *) 0 ;
1219 PyObject * obj0 = 0 ;
1220 PyObject * obj1 = 0 ;
1221 PyObject * obj2 = 0 ;
1222 PyObject * obj3 = 0 ;
1223 PyObject * obj4 = 0 ;
1224 PyObject * obj5 = 0 ;
1225 PyObject * obj8 = 0 ;
1226 PyObject * obj9 = 0 ;
1227 PyObject * obj10 = 0 ;
1229 if(!PyArg_ParseTuple(args,(char *)"OOOOOOiiOOO:Display_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&arg7,&arg8,&obj8,&obj9,&obj10)) goto fail;
1230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1231 arg2 = (unsigned int) PyInt_AsLong(obj1);
1232 if (PyErr_Occurred()) SWIG_fail;
1233 arg3 = (unsigned int) PyInt_AsLong(obj2);
1234 if (PyErr_Occurred()) SWIG_fail;
1235 arg4 = (Window) PyInt_AsLong(obj3);
1236 if (PyErr_Occurred()) SWIG_fail;
1237 arg5 = (bool) PyInt_AsLong(obj4);
1238 if (PyErr_Occurred()) SWIG_fail;
1239 arg6 = (unsigned int) PyInt_AsLong(obj5);
1240 if (PyErr_Occurred()) SWIG_fail;
1241 arg9 = (Window) PyInt_AsLong(obj8);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 arg10 = (Cursor) PyInt_AsLong(obj9);
1244 if (PyErr_Occurred()) SWIG_fail;
1245 arg11 = (bool) PyInt_AsLong(obj10);
1246 if (PyErr_Occurred()) SWIG_fail;
1247 ((otk::Display const *)arg1)->grabButton(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
1249 Py_INCREF(Py_None); resultobj = Py_None;
1256 static PyObject *_wrap_Display_ungrabButton(PyObject *self, PyObject *args) {
1257 PyObject *resultobj;
1258 otk::Display *arg1 = (otk::Display *) 0 ;
1262 PyObject * obj0 = 0 ;
1263 PyObject * obj1 = 0 ;
1264 PyObject * obj2 = 0 ;
1265 PyObject * obj3 = 0 ;
1267 if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabButton",&obj0,&obj1,&obj2,&obj3)) goto fail;
1268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1269 arg2 = (unsigned int) PyInt_AsLong(obj1);
1270 if (PyErr_Occurred()) SWIG_fail;
1271 arg3 = (unsigned int) PyInt_AsLong(obj2);
1272 if (PyErr_Occurred()) SWIG_fail;
1273 arg4 = (Window) PyInt_AsLong(obj3);
1274 if (PyErr_Occurred()) SWIG_fail;
1275 ((otk::Display const *)arg1)->ungrabButton(arg2,arg3,arg4);
1277 Py_INCREF(Py_None); resultobj = Py_None;
1284 static PyObject *_wrap_Display_grabKey(PyObject *self, PyObject *args) {
1285 PyObject *resultobj;
1286 otk::Display *arg1 = (otk::Display *) 0 ;
1294 PyObject * obj0 = 0 ;
1295 PyObject * obj1 = 0 ;
1296 PyObject * obj2 = 0 ;
1297 PyObject * obj3 = 0 ;
1298 PyObject * obj4 = 0 ;
1299 PyObject * obj7 = 0 ;
1301 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiO:Display_grabKey",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7)) goto fail;
1302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1303 arg2 = (unsigned int) PyInt_AsLong(obj1);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 arg3 = (unsigned int) PyInt_AsLong(obj2);
1306 if (PyErr_Occurred()) SWIG_fail;
1307 arg4 = (Window) PyInt_AsLong(obj3);
1308 if (PyErr_Occurred()) SWIG_fail;
1309 arg5 = (bool) PyInt_AsLong(obj4);
1310 if (PyErr_Occurred()) SWIG_fail;
1311 arg8 = (bool) PyInt_AsLong(obj7);
1312 if (PyErr_Occurred()) SWIG_fail;
1313 ((otk::Display const *)arg1)->grabKey(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1315 Py_INCREF(Py_None); resultobj = Py_None;
1322 static PyObject *_wrap_Display_ungrabKey(PyObject *self, PyObject *args) {
1323 PyObject *resultobj;
1324 otk::Display *arg1 = (otk::Display *) 0 ;
1328 PyObject * obj0 = 0 ;
1329 PyObject * obj1 = 0 ;
1330 PyObject * obj2 = 0 ;
1331 PyObject * obj3 = 0 ;
1333 if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabKey",&obj0,&obj1,&obj2,&obj3)) goto fail;
1334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1335 arg2 = (unsigned int) PyInt_AsLong(obj1);
1336 if (PyErr_Occurred()) SWIG_fail;
1337 arg3 = (unsigned int) PyInt_AsLong(obj2);
1338 if (PyErr_Occurred()) SWIG_fail;
1339 arg4 = (Window) PyInt_AsLong(obj3);
1340 if (PyErr_Occurred()) SWIG_fail;
1341 ((otk::Display const *)arg1)->ungrabKey(arg2,arg3,arg4);
1343 Py_INCREF(Py_None); resultobj = Py_None;
1350 static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
1352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1353 SWIG_TypeClientData(SWIGTYPE_p_otk__Display, obj);
1355 return Py_BuildValue((char *)"");
1357 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
1358 PyObject *resultobj;
1361 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
1362 result = (otk::Point *)new otk::Point();
1364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1371 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
1372 PyObject *resultobj;
1377 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
1378 result = (otk::Point *)new otk::Point(arg1,arg2);
1380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1387 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
1392 argc = PyObject_Length(args);
1393 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
1394 argv[ii] = PyTuple_GetItem(args,ii);
1397 return _wrap_new_Point__SWIG_0(self,args);
1402 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
1406 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1409 return _wrap_new_Point__SWIG_1(self,args);
1414 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
1419 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
1420 PyObject *resultobj;
1421 otk::Point *arg1 = (otk::Point *) 0 ;
1423 PyObject * obj0 = 0 ;
1425 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
1426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1429 Py_INCREF(Py_None); resultobj = Py_None;
1436 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
1437 PyObject *resultobj;
1438 otk::Point *arg1 = (otk::Point *) 0 ;
1440 PyObject * obj0 = 0 ;
1442 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
1443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1444 result = (int)((otk::Point const *)arg1)->x();
1446 resultobj = PyInt_FromLong((long)result);
1453 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
1454 PyObject *resultobj;
1455 otk::Point *arg1 = (otk::Point *) 0 ;
1457 PyObject * obj0 = 0 ;
1459 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
1460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1463 Py_INCREF(Py_None); resultobj = Py_None;
1470 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
1471 PyObject *resultobj;
1472 otk::Point *arg1 = (otk::Point *) 0 ;
1474 PyObject * obj0 = 0 ;
1476 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
1477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1478 result = (int)((otk::Point const *)arg1)->y();
1480 resultobj = PyInt_FromLong((long)result);
1487 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
1488 PyObject *resultobj;
1489 otk::Point *arg1 = (otk::Point *) 0 ;
1492 PyObject * obj0 = 0 ;
1494 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
1495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1496 (arg1)->setPoint(arg2,arg3);
1498 Py_INCREF(Py_None); resultobj = Py_None;
1505 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
1507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1508 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
1510 return Py_BuildValue((char *)"");
1512 static PyObject *_wrap_Atoms_cardinal_set(PyObject *self, PyObject *args) {
1513 PyObject *resultobj;
1514 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1516 PyObject * obj0 = 0 ;
1517 PyObject * obj1 = 0 ;
1519 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_cardinal_set",&obj0,&obj1)) goto fail;
1520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1521 arg2 = (Atom) PyInt_AsLong(obj1);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 if (arg1) (arg1)->cardinal = arg2;
1525 Py_INCREF(Py_None); resultobj = Py_None;
1532 static PyObject *_wrap_Atoms_cardinal_get(PyObject *self, PyObject *args) {
1533 PyObject *resultobj;
1534 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1536 PyObject * obj0 = 0 ;
1538 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_cardinal_get",&obj0)) goto fail;
1539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1540 result = (Atom) ((arg1)->cardinal);
1542 resultobj = PyInt_FromLong((long)result);
1549 static PyObject *_wrap_Atoms_window_set(PyObject *self, PyObject *args) {
1550 PyObject *resultobj;
1551 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1553 PyObject * obj0 = 0 ;
1554 PyObject * obj1 = 0 ;
1556 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_window_set",&obj0,&obj1)) goto fail;
1557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1558 arg2 = (Atom) PyInt_AsLong(obj1);
1559 if (PyErr_Occurred()) SWIG_fail;
1560 if (arg1) (arg1)->window = arg2;
1562 Py_INCREF(Py_None); resultobj = Py_None;
1569 static PyObject *_wrap_Atoms_window_get(PyObject *self, PyObject *args) {
1570 PyObject *resultobj;
1571 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1573 PyObject * obj0 = 0 ;
1575 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_window_get",&obj0)) goto fail;
1576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1577 result = (Atom) ((arg1)->window);
1579 resultobj = PyInt_FromLong((long)result);
1586 static PyObject *_wrap_Atoms_pixmap_set(PyObject *self, PyObject *args) {
1587 PyObject *resultobj;
1588 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1590 PyObject * obj0 = 0 ;
1591 PyObject * obj1 = 0 ;
1593 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_pixmap_set",&obj0,&obj1)) goto fail;
1594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1595 arg2 = (Atom) PyInt_AsLong(obj1);
1596 if (PyErr_Occurred()) SWIG_fail;
1597 if (arg1) (arg1)->pixmap = arg2;
1599 Py_INCREF(Py_None); resultobj = Py_None;
1606 static PyObject *_wrap_Atoms_pixmap_get(PyObject *self, PyObject *args) {
1607 PyObject *resultobj;
1608 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1610 PyObject * obj0 = 0 ;
1612 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_pixmap_get",&obj0)) goto fail;
1613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1614 result = (Atom) ((arg1)->pixmap);
1616 resultobj = PyInt_FromLong((long)result);
1623 static PyObject *_wrap_Atoms_atom_set(PyObject *self, PyObject *args) {
1624 PyObject *resultobj;
1625 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1627 PyObject * obj0 = 0 ;
1628 PyObject * obj1 = 0 ;
1630 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_atom_set",&obj0,&obj1)) goto fail;
1631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1632 arg2 = (Atom) PyInt_AsLong(obj1);
1633 if (PyErr_Occurred()) SWIG_fail;
1634 if (arg1) (arg1)->atom = arg2;
1636 Py_INCREF(Py_None); resultobj = Py_None;
1643 static PyObject *_wrap_Atoms_atom_get(PyObject *self, PyObject *args) {
1644 PyObject *resultobj;
1645 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1647 PyObject * obj0 = 0 ;
1649 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_atom_get",&obj0)) goto fail;
1650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1651 result = (Atom) ((arg1)->atom);
1653 resultobj = PyInt_FromLong((long)result);
1660 static PyObject *_wrap_Atoms_string_set(PyObject *self, PyObject *args) {
1661 PyObject *resultobj;
1662 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1664 PyObject * obj0 = 0 ;
1665 PyObject * obj1 = 0 ;
1667 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_string_set",&obj0,&obj1)) goto fail;
1668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1669 arg2 = (Atom) PyInt_AsLong(obj1);
1670 if (PyErr_Occurred()) SWIG_fail;
1671 if (arg1) (arg1)->string = arg2;
1673 Py_INCREF(Py_None); resultobj = Py_None;
1680 static PyObject *_wrap_Atoms_string_get(PyObject *self, PyObject *args) {
1681 PyObject *resultobj;
1682 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1684 PyObject * obj0 = 0 ;
1686 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_string_get",&obj0)) goto fail;
1687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1688 result = (Atom) ((arg1)->string);
1690 resultobj = PyInt_FromLong((long)result);
1697 static PyObject *_wrap_Atoms_utf8_set(PyObject *self, PyObject *args) {
1698 PyObject *resultobj;
1699 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1701 PyObject * obj0 = 0 ;
1702 PyObject * obj1 = 0 ;
1704 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_utf8_set",&obj0,&obj1)) goto fail;
1705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1706 arg2 = (Atom) PyInt_AsLong(obj1);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 if (arg1) (arg1)->utf8 = arg2;
1710 Py_INCREF(Py_None); resultobj = Py_None;
1717 static PyObject *_wrap_Atoms_utf8_get(PyObject *self, PyObject *args) {
1718 PyObject *resultobj;
1719 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1721 PyObject * obj0 = 0 ;
1723 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_utf8_get",&obj0)) goto fail;
1724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1725 result = (Atom) ((arg1)->utf8);
1727 resultobj = PyInt_FromLong((long)result);
1734 static PyObject *_wrap_Atoms_openbox_pid_set(PyObject *self, PyObject *args) {
1735 PyObject *resultobj;
1736 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1738 PyObject * obj0 = 0 ;
1739 PyObject * obj1 = 0 ;
1741 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_pid_set",&obj0,&obj1)) goto fail;
1742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1743 arg2 = (Atom) PyInt_AsLong(obj1);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 if (arg1) (arg1)->openbox_pid = arg2;
1747 Py_INCREF(Py_None); resultobj = Py_None;
1754 static PyObject *_wrap_Atoms_openbox_pid_get(PyObject *self, PyObject *args) {
1755 PyObject *resultobj;
1756 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1758 PyObject * obj0 = 0 ;
1760 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_pid_get",&obj0)) goto fail;
1761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1762 result = (Atom) ((arg1)->openbox_pid);
1764 resultobj = PyInt_FromLong((long)result);
1771 static PyObject *_wrap_Atoms_wm_colormap_windows_set(PyObject *self, PyObject *args) {
1772 PyObject *resultobj;
1773 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1775 PyObject * obj0 = 0 ;
1776 PyObject * obj1 = 0 ;
1778 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_colormap_windows_set",&obj0,&obj1)) goto fail;
1779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1780 arg2 = (Atom) PyInt_AsLong(obj1);
1781 if (PyErr_Occurred()) SWIG_fail;
1782 if (arg1) (arg1)->wm_colormap_windows = arg2;
1784 Py_INCREF(Py_None); resultobj = Py_None;
1791 static PyObject *_wrap_Atoms_wm_colormap_windows_get(PyObject *self, PyObject *args) {
1792 PyObject *resultobj;
1793 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1795 PyObject * obj0 = 0 ;
1797 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_colormap_windows_get",&obj0)) goto fail;
1798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1799 result = (Atom) ((arg1)->wm_colormap_windows);
1801 resultobj = PyInt_FromLong((long)result);
1808 static PyObject *_wrap_Atoms_wm_protocols_set(PyObject *self, PyObject *args) {
1809 PyObject *resultobj;
1810 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1812 PyObject * obj0 = 0 ;
1813 PyObject * obj1 = 0 ;
1815 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_protocols_set",&obj0,&obj1)) goto fail;
1816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1817 arg2 = (Atom) PyInt_AsLong(obj1);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 if (arg1) (arg1)->wm_protocols = arg2;
1821 Py_INCREF(Py_None); resultobj = Py_None;
1828 static PyObject *_wrap_Atoms_wm_protocols_get(PyObject *self, PyObject *args) {
1829 PyObject *resultobj;
1830 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1832 PyObject * obj0 = 0 ;
1834 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_protocols_get",&obj0)) goto fail;
1835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1836 result = (Atom) ((arg1)->wm_protocols);
1838 resultobj = PyInt_FromLong((long)result);
1845 static PyObject *_wrap_Atoms_wm_state_set(PyObject *self, PyObject *args) {
1846 PyObject *resultobj;
1847 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1849 PyObject * obj0 = 0 ;
1850 PyObject * obj1 = 0 ;
1852 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_state_set",&obj0,&obj1)) goto fail;
1853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1854 arg2 = (Atom) PyInt_AsLong(obj1);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 if (arg1) (arg1)->wm_state = arg2;
1858 Py_INCREF(Py_None); resultobj = Py_None;
1865 static PyObject *_wrap_Atoms_wm_state_get(PyObject *self, PyObject *args) {
1866 PyObject *resultobj;
1867 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1869 PyObject * obj0 = 0 ;
1871 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_state_get",&obj0)) goto fail;
1872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1873 result = (Atom) ((arg1)->wm_state);
1875 resultobj = PyInt_FromLong((long)result);
1882 static PyObject *_wrap_Atoms_wm_delete_window_set(PyObject *self, PyObject *args) {
1883 PyObject *resultobj;
1884 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1886 PyObject * obj0 = 0 ;
1887 PyObject * obj1 = 0 ;
1889 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_delete_window_set",&obj0,&obj1)) goto fail;
1890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1891 arg2 = (Atom) PyInt_AsLong(obj1);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 if (arg1) (arg1)->wm_delete_window = arg2;
1895 Py_INCREF(Py_None); resultobj = Py_None;
1902 static PyObject *_wrap_Atoms_wm_delete_window_get(PyObject *self, PyObject *args) {
1903 PyObject *resultobj;
1904 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1906 PyObject * obj0 = 0 ;
1908 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_delete_window_get",&obj0)) goto fail;
1909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1910 result = (Atom) ((arg1)->wm_delete_window);
1912 resultobj = PyInt_FromLong((long)result);
1919 static PyObject *_wrap_Atoms_wm_take_focus_set(PyObject *self, PyObject *args) {
1920 PyObject *resultobj;
1921 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1923 PyObject * obj0 = 0 ;
1924 PyObject * obj1 = 0 ;
1926 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_take_focus_set",&obj0,&obj1)) goto fail;
1927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1928 arg2 = (Atom) PyInt_AsLong(obj1);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 if (arg1) (arg1)->wm_take_focus = arg2;
1932 Py_INCREF(Py_None); resultobj = Py_None;
1939 static PyObject *_wrap_Atoms_wm_take_focus_get(PyObject *self, PyObject *args) {
1940 PyObject *resultobj;
1941 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1943 PyObject * obj0 = 0 ;
1945 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_take_focus_get",&obj0)) goto fail;
1946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1947 result = (Atom) ((arg1)->wm_take_focus);
1949 resultobj = PyInt_FromLong((long)result);
1956 static PyObject *_wrap_Atoms_wm_change_state_set(PyObject *self, PyObject *args) {
1957 PyObject *resultobj;
1958 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1960 PyObject * obj0 = 0 ;
1961 PyObject * obj1 = 0 ;
1963 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_change_state_set",&obj0,&obj1)) goto fail;
1964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1965 arg2 = (Atom) PyInt_AsLong(obj1);
1966 if (PyErr_Occurred()) SWIG_fail;
1967 if (arg1) (arg1)->wm_change_state = arg2;
1969 Py_INCREF(Py_None); resultobj = Py_None;
1976 static PyObject *_wrap_Atoms_wm_change_state_get(PyObject *self, PyObject *args) {
1977 PyObject *resultobj;
1978 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1980 PyObject * obj0 = 0 ;
1982 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_change_state_get",&obj0)) goto fail;
1983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1984 result = (Atom) ((arg1)->wm_change_state);
1986 resultobj = PyInt_FromLong((long)result);
1993 static PyObject *_wrap_Atoms_wm_name_set(PyObject *self, PyObject *args) {
1994 PyObject *resultobj;
1995 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1997 PyObject * obj0 = 0 ;
1998 PyObject * obj1 = 0 ;
2000 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_name_set",&obj0,&obj1)) goto fail;
2001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2002 arg2 = (Atom) PyInt_AsLong(obj1);
2003 if (PyErr_Occurred()) SWIG_fail;
2004 if (arg1) (arg1)->wm_name = arg2;
2006 Py_INCREF(Py_None); resultobj = Py_None;
2013 static PyObject *_wrap_Atoms_wm_name_get(PyObject *self, PyObject *args) {
2014 PyObject *resultobj;
2015 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2017 PyObject * obj0 = 0 ;
2019 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_name_get",&obj0)) goto fail;
2020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2021 result = (Atom) ((arg1)->wm_name);
2023 resultobj = PyInt_FromLong((long)result);
2030 static PyObject *_wrap_Atoms_wm_icon_name_set(PyObject *self, PyObject *args) {
2031 PyObject *resultobj;
2032 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2034 PyObject * obj0 = 0 ;
2035 PyObject * obj1 = 0 ;
2037 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_icon_name_set",&obj0,&obj1)) goto fail;
2038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2039 arg2 = (Atom) PyInt_AsLong(obj1);
2040 if (PyErr_Occurred()) SWIG_fail;
2041 if (arg1) (arg1)->wm_icon_name = arg2;
2043 Py_INCREF(Py_None); resultobj = Py_None;
2050 static PyObject *_wrap_Atoms_wm_icon_name_get(PyObject *self, PyObject *args) {
2051 PyObject *resultobj;
2052 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2054 PyObject * obj0 = 0 ;
2056 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_icon_name_get",&obj0)) goto fail;
2057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2058 result = (Atom) ((arg1)->wm_icon_name);
2060 resultobj = PyInt_FromLong((long)result);
2067 static PyObject *_wrap_Atoms_wm_class_set(PyObject *self, PyObject *args) {
2068 PyObject *resultobj;
2069 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2071 PyObject * obj0 = 0 ;
2072 PyObject * obj1 = 0 ;
2074 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_class_set",&obj0,&obj1)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2076 arg2 = (Atom) PyInt_AsLong(obj1);
2077 if (PyErr_Occurred()) SWIG_fail;
2078 if (arg1) (arg1)->wm_class = arg2;
2080 Py_INCREF(Py_None); resultobj = Py_None;
2087 static PyObject *_wrap_Atoms_wm_class_get(PyObject *self, PyObject *args) {
2088 PyObject *resultobj;
2089 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2091 PyObject * obj0 = 0 ;
2093 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_class_get",&obj0)) goto fail;
2094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2095 result = (Atom) ((arg1)->wm_class);
2097 resultobj = PyInt_FromLong((long)result);
2104 static PyObject *_wrap_Atoms_wm_window_role_set(PyObject *self, PyObject *args) {
2105 PyObject *resultobj;
2106 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2108 PyObject * obj0 = 0 ;
2109 PyObject * obj1 = 0 ;
2111 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_window_role_set",&obj0,&obj1)) goto fail;
2112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2113 arg2 = (Atom) PyInt_AsLong(obj1);
2114 if (PyErr_Occurred()) SWIG_fail;
2115 if (arg1) (arg1)->wm_window_role = arg2;
2117 Py_INCREF(Py_None); resultobj = Py_None;
2124 static PyObject *_wrap_Atoms_wm_window_role_get(PyObject *self, PyObject *args) {
2125 PyObject *resultobj;
2126 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2128 PyObject * obj0 = 0 ;
2130 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_window_role_get",&obj0)) goto fail;
2131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2132 result = (Atom) ((arg1)->wm_window_role);
2134 resultobj = PyInt_FromLong((long)result);
2141 static PyObject *_wrap_Atoms_motif_wm_hints_set(PyObject *self, PyObject *args) {
2142 PyObject *resultobj;
2143 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2145 PyObject * obj0 = 0 ;
2146 PyObject * obj1 = 0 ;
2148 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_motif_wm_hints_set",&obj0,&obj1)) goto fail;
2149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2150 arg2 = (Atom) PyInt_AsLong(obj1);
2151 if (PyErr_Occurred()) SWIG_fail;
2152 if (arg1) (arg1)->motif_wm_hints = arg2;
2154 Py_INCREF(Py_None); resultobj = Py_None;
2161 static PyObject *_wrap_Atoms_motif_wm_hints_get(PyObject *self, PyObject *args) {
2162 PyObject *resultobj;
2163 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2165 PyObject * obj0 = 0 ;
2167 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_motif_wm_hints_get",&obj0)) goto fail;
2168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2169 result = (Atom) ((arg1)->motif_wm_hints);
2171 resultobj = PyInt_FromLong((long)result);
2178 static PyObject *_wrap_Atoms_openbox_show_root_menu_set(PyObject *self, PyObject *args) {
2179 PyObject *resultobj;
2180 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2182 PyObject * obj0 = 0 ;
2183 PyObject * obj1 = 0 ;
2185 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_root_menu_set",&obj0,&obj1)) goto fail;
2186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2187 arg2 = (Atom) PyInt_AsLong(obj1);
2188 if (PyErr_Occurred()) SWIG_fail;
2189 if (arg1) (arg1)->openbox_show_root_menu = arg2;
2191 Py_INCREF(Py_None); resultobj = Py_None;
2198 static PyObject *_wrap_Atoms_openbox_show_root_menu_get(PyObject *self, PyObject *args) {
2199 PyObject *resultobj;
2200 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2202 PyObject * obj0 = 0 ;
2204 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_root_menu_get",&obj0)) goto fail;
2205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2206 result = (Atom) ((arg1)->openbox_show_root_menu);
2208 resultobj = PyInt_FromLong((long)result);
2215 static PyObject *_wrap_Atoms_openbox_show_workspace_menu_set(PyObject *self, PyObject *args) {
2216 PyObject *resultobj;
2217 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2219 PyObject * obj0 = 0 ;
2220 PyObject * obj1 = 0 ;
2222 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_workspace_menu_set",&obj0,&obj1)) goto fail;
2223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2224 arg2 = (Atom) PyInt_AsLong(obj1);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 if (arg1) (arg1)->openbox_show_workspace_menu = arg2;
2228 Py_INCREF(Py_None); resultobj = Py_None;
2235 static PyObject *_wrap_Atoms_openbox_show_workspace_menu_get(PyObject *self, PyObject *args) {
2236 PyObject *resultobj;
2237 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2239 PyObject * obj0 = 0 ;
2241 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_workspace_menu_get",&obj0)) goto fail;
2242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2243 result = (Atom) ((arg1)->openbox_show_workspace_menu);
2245 resultobj = PyInt_FromLong((long)result);
2252 static PyObject *_wrap_Atoms_net_supported_set(PyObject *self, PyObject *args) {
2253 PyObject *resultobj;
2254 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2256 PyObject * obj0 = 0 ;
2257 PyObject * obj1 = 0 ;
2259 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supported_set",&obj0,&obj1)) goto fail;
2260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2261 arg2 = (Atom) PyInt_AsLong(obj1);
2262 if (PyErr_Occurred()) SWIG_fail;
2263 if (arg1) (arg1)->net_supported = arg2;
2265 Py_INCREF(Py_None); resultobj = Py_None;
2272 static PyObject *_wrap_Atoms_net_supported_get(PyObject *self, PyObject *args) {
2273 PyObject *resultobj;
2274 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2276 PyObject * obj0 = 0 ;
2278 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supported_get",&obj0)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2280 result = (Atom) ((arg1)->net_supported);
2282 resultobj = PyInt_FromLong((long)result);
2289 static PyObject *_wrap_Atoms_net_client_list_set(PyObject *self, PyObject *args) {
2290 PyObject *resultobj;
2291 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2293 PyObject * obj0 = 0 ;
2294 PyObject * obj1 = 0 ;
2296 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_set",&obj0,&obj1)) goto fail;
2297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2298 arg2 = (Atom) PyInt_AsLong(obj1);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 if (arg1) (arg1)->net_client_list = arg2;
2302 Py_INCREF(Py_None); resultobj = Py_None;
2309 static PyObject *_wrap_Atoms_net_client_list_get(PyObject *self, PyObject *args) {
2310 PyObject *resultobj;
2311 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2313 PyObject * obj0 = 0 ;
2315 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_get",&obj0)) goto fail;
2316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2317 result = (Atom) ((arg1)->net_client_list);
2319 resultobj = PyInt_FromLong((long)result);
2326 static PyObject *_wrap_Atoms_net_client_list_stacking_set(PyObject *self, PyObject *args) {
2327 PyObject *resultobj;
2328 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2330 PyObject * obj0 = 0 ;
2331 PyObject * obj1 = 0 ;
2333 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_stacking_set",&obj0,&obj1)) goto fail;
2334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2335 arg2 = (Atom) PyInt_AsLong(obj1);
2336 if (PyErr_Occurred()) SWIG_fail;
2337 if (arg1) (arg1)->net_client_list_stacking = arg2;
2339 Py_INCREF(Py_None); resultobj = Py_None;
2346 static PyObject *_wrap_Atoms_net_client_list_stacking_get(PyObject *self, PyObject *args) {
2347 PyObject *resultobj;
2348 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2350 PyObject * obj0 = 0 ;
2352 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_stacking_get",&obj0)) goto fail;
2353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2354 result = (Atom) ((arg1)->net_client_list_stacking);
2356 resultobj = PyInt_FromLong((long)result);
2363 static PyObject *_wrap_Atoms_net_number_of_desktops_set(PyObject *self, PyObject *args) {
2364 PyObject *resultobj;
2365 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2367 PyObject * obj0 = 0 ;
2368 PyObject * obj1 = 0 ;
2370 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_number_of_desktops_set",&obj0,&obj1)) goto fail;
2371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2372 arg2 = (Atom) PyInt_AsLong(obj1);
2373 if (PyErr_Occurred()) SWIG_fail;
2374 if (arg1) (arg1)->net_number_of_desktops = arg2;
2376 Py_INCREF(Py_None); resultobj = Py_None;
2383 static PyObject *_wrap_Atoms_net_number_of_desktops_get(PyObject *self, PyObject *args) {
2384 PyObject *resultobj;
2385 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2387 PyObject * obj0 = 0 ;
2389 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_number_of_desktops_get",&obj0)) goto fail;
2390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2391 result = (Atom) ((arg1)->net_number_of_desktops);
2393 resultobj = PyInt_FromLong((long)result);
2400 static PyObject *_wrap_Atoms_net_desktop_geometry_set(PyObject *self, PyObject *args) {
2401 PyObject *resultobj;
2402 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2404 PyObject * obj0 = 0 ;
2405 PyObject * obj1 = 0 ;
2407 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_geometry_set",&obj0,&obj1)) goto fail;
2408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2409 arg2 = (Atom) PyInt_AsLong(obj1);
2410 if (PyErr_Occurred()) SWIG_fail;
2411 if (arg1) (arg1)->net_desktop_geometry = arg2;
2413 Py_INCREF(Py_None); resultobj = Py_None;
2420 static PyObject *_wrap_Atoms_net_desktop_geometry_get(PyObject *self, PyObject *args) {
2421 PyObject *resultobj;
2422 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2424 PyObject * obj0 = 0 ;
2426 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_geometry_get",&obj0)) goto fail;
2427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2428 result = (Atom) ((arg1)->net_desktop_geometry);
2430 resultobj = PyInt_FromLong((long)result);
2437 static PyObject *_wrap_Atoms_net_desktop_viewport_set(PyObject *self, PyObject *args) {
2438 PyObject *resultobj;
2439 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2441 PyObject * obj0 = 0 ;
2442 PyObject * obj1 = 0 ;
2444 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_viewport_set",&obj0,&obj1)) goto fail;
2445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2446 arg2 = (Atom) PyInt_AsLong(obj1);
2447 if (PyErr_Occurred()) SWIG_fail;
2448 if (arg1) (arg1)->net_desktop_viewport = arg2;
2450 Py_INCREF(Py_None); resultobj = Py_None;
2457 static PyObject *_wrap_Atoms_net_desktop_viewport_get(PyObject *self, PyObject *args) {
2458 PyObject *resultobj;
2459 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2461 PyObject * obj0 = 0 ;
2463 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_viewport_get",&obj0)) goto fail;
2464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2465 result = (Atom) ((arg1)->net_desktop_viewport);
2467 resultobj = PyInt_FromLong((long)result);
2474 static PyObject *_wrap_Atoms_net_current_desktop_set(PyObject *self, PyObject *args) {
2475 PyObject *resultobj;
2476 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2478 PyObject * obj0 = 0 ;
2479 PyObject * obj1 = 0 ;
2481 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_current_desktop_set",&obj0,&obj1)) goto fail;
2482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2483 arg2 = (Atom) PyInt_AsLong(obj1);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 if (arg1) (arg1)->net_current_desktop = arg2;
2487 Py_INCREF(Py_None); resultobj = Py_None;
2494 static PyObject *_wrap_Atoms_net_current_desktop_get(PyObject *self, PyObject *args) {
2495 PyObject *resultobj;
2496 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2498 PyObject * obj0 = 0 ;
2500 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_current_desktop_get",&obj0)) goto fail;
2501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2502 result = (Atom) ((arg1)->net_current_desktop);
2504 resultobj = PyInt_FromLong((long)result);
2511 static PyObject *_wrap_Atoms_net_desktop_names_set(PyObject *self, PyObject *args) {
2512 PyObject *resultobj;
2513 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2515 PyObject * obj0 = 0 ;
2516 PyObject * obj1 = 0 ;
2518 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_names_set",&obj0,&obj1)) goto fail;
2519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2520 arg2 = (Atom) PyInt_AsLong(obj1);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 if (arg1) (arg1)->net_desktop_names = arg2;
2524 Py_INCREF(Py_None); resultobj = Py_None;
2531 static PyObject *_wrap_Atoms_net_desktop_names_get(PyObject *self, PyObject *args) {
2532 PyObject *resultobj;
2533 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2535 PyObject * obj0 = 0 ;
2537 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_names_get",&obj0)) goto fail;
2538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2539 result = (Atom) ((arg1)->net_desktop_names);
2541 resultobj = PyInt_FromLong((long)result);
2548 static PyObject *_wrap_Atoms_net_active_window_set(PyObject *self, PyObject *args) {
2549 PyObject *resultobj;
2550 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2552 PyObject * obj0 = 0 ;
2553 PyObject * obj1 = 0 ;
2555 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_active_window_set",&obj0,&obj1)) goto fail;
2556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2557 arg2 = (Atom) PyInt_AsLong(obj1);
2558 if (PyErr_Occurred()) SWIG_fail;
2559 if (arg1) (arg1)->net_active_window = arg2;
2561 Py_INCREF(Py_None); resultobj = Py_None;
2568 static PyObject *_wrap_Atoms_net_active_window_get(PyObject *self, PyObject *args) {
2569 PyObject *resultobj;
2570 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2572 PyObject * obj0 = 0 ;
2574 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_active_window_get",&obj0)) goto fail;
2575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2576 result = (Atom) ((arg1)->net_active_window);
2578 resultobj = PyInt_FromLong((long)result);
2585 static PyObject *_wrap_Atoms_net_workarea_set(PyObject *self, PyObject *args) {
2586 PyObject *resultobj;
2587 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2589 PyObject * obj0 = 0 ;
2590 PyObject * obj1 = 0 ;
2592 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_workarea_set",&obj0,&obj1)) goto fail;
2593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2594 arg2 = (Atom) PyInt_AsLong(obj1);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 if (arg1) (arg1)->net_workarea = arg2;
2598 Py_INCREF(Py_None); resultobj = Py_None;
2605 static PyObject *_wrap_Atoms_net_workarea_get(PyObject *self, PyObject *args) {
2606 PyObject *resultobj;
2607 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2609 PyObject * obj0 = 0 ;
2611 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_workarea_get",&obj0)) goto fail;
2612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2613 result = (Atom) ((arg1)->net_workarea);
2615 resultobj = PyInt_FromLong((long)result);
2622 static PyObject *_wrap_Atoms_net_supporting_wm_check_set(PyObject *self, PyObject *args) {
2623 PyObject *resultobj;
2624 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2626 PyObject * obj0 = 0 ;
2627 PyObject * obj1 = 0 ;
2629 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supporting_wm_check_set",&obj0,&obj1)) goto fail;
2630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2631 arg2 = (Atom) PyInt_AsLong(obj1);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 if (arg1) (arg1)->net_supporting_wm_check = arg2;
2635 Py_INCREF(Py_None); resultobj = Py_None;
2642 static PyObject *_wrap_Atoms_net_supporting_wm_check_get(PyObject *self, PyObject *args) {
2643 PyObject *resultobj;
2644 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2646 PyObject * obj0 = 0 ;
2648 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supporting_wm_check_get",&obj0)) goto fail;
2649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2650 result = (Atom) ((arg1)->net_supporting_wm_check);
2652 resultobj = PyInt_FromLong((long)result);
2659 static PyObject *_wrap_Atoms_net_close_window_set(PyObject *self, PyObject *args) {
2660 PyObject *resultobj;
2661 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2663 PyObject * obj0 = 0 ;
2664 PyObject * obj1 = 0 ;
2666 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_close_window_set",&obj0,&obj1)) goto fail;
2667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2668 arg2 = (Atom) PyInt_AsLong(obj1);
2669 if (PyErr_Occurred()) SWIG_fail;
2670 if (arg1) (arg1)->net_close_window = arg2;
2672 Py_INCREF(Py_None); resultobj = Py_None;
2679 static PyObject *_wrap_Atoms_net_close_window_get(PyObject *self, PyObject *args) {
2680 PyObject *resultobj;
2681 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2683 PyObject * obj0 = 0 ;
2685 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_close_window_get",&obj0)) goto fail;
2686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2687 result = (Atom) ((arg1)->net_close_window);
2689 resultobj = PyInt_FromLong((long)result);
2696 static PyObject *_wrap_Atoms_net_wm_moveresize_set(PyObject *self, PyObject *args) {
2697 PyObject *resultobj;
2698 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2700 PyObject * obj0 = 0 ;
2701 PyObject * obj1 = 0 ;
2703 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_set",&obj0,&obj1)) goto fail;
2704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2705 arg2 = (Atom) PyInt_AsLong(obj1);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 if (arg1) (arg1)->net_wm_moveresize = arg2;
2709 Py_INCREF(Py_None); resultobj = Py_None;
2716 static PyObject *_wrap_Atoms_net_wm_moveresize_get(PyObject *self, PyObject *args) {
2717 PyObject *resultobj;
2718 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2720 PyObject * obj0 = 0 ;
2722 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_get",&obj0)) goto fail;
2723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2724 result = (Atom) ((arg1)->net_wm_moveresize);
2726 resultobj = PyInt_FromLong((long)result);
2733 static PyObject *_wrap_Atoms_net_wm_name_set(PyObject *self, PyObject *args) {
2734 PyObject *resultobj;
2735 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2737 PyObject * obj0 = 0 ;
2738 PyObject * obj1 = 0 ;
2740 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_name_set",&obj0,&obj1)) goto fail;
2741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2742 arg2 = (Atom) PyInt_AsLong(obj1);
2743 if (PyErr_Occurred()) SWIG_fail;
2744 if (arg1) (arg1)->net_wm_name = arg2;
2746 Py_INCREF(Py_None); resultobj = Py_None;
2753 static PyObject *_wrap_Atoms_net_wm_name_get(PyObject *self, PyObject *args) {
2754 PyObject *resultobj;
2755 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2757 PyObject * obj0 = 0 ;
2759 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_name_get",&obj0)) goto fail;
2760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2761 result = (Atom) ((arg1)->net_wm_name);
2763 resultobj = PyInt_FromLong((long)result);
2770 static PyObject *_wrap_Atoms_net_wm_visible_name_set(PyObject *self, PyObject *args) {
2771 PyObject *resultobj;
2772 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2774 PyObject * obj0 = 0 ;
2775 PyObject * obj1 = 0 ;
2777 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_name_set",&obj0,&obj1)) goto fail;
2778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2779 arg2 = (Atom) PyInt_AsLong(obj1);
2780 if (PyErr_Occurred()) SWIG_fail;
2781 if (arg1) (arg1)->net_wm_visible_name = arg2;
2783 Py_INCREF(Py_None); resultobj = Py_None;
2790 static PyObject *_wrap_Atoms_net_wm_visible_name_get(PyObject *self, PyObject *args) {
2791 PyObject *resultobj;
2792 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2794 PyObject * obj0 = 0 ;
2796 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_name_get",&obj0)) goto fail;
2797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2798 result = (Atom) ((arg1)->net_wm_visible_name);
2800 resultobj = PyInt_FromLong((long)result);
2807 static PyObject *_wrap_Atoms_net_wm_icon_name_set(PyObject *self, PyObject *args) {
2808 PyObject *resultobj;
2809 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2811 PyObject * obj0 = 0 ;
2812 PyObject * obj1 = 0 ;
2814 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_icon_name_set",&obj0,&obj1)) goto fail;
2815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2816 arg2 = (Atom) PyInt_AsLong(obj1);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 if (arg1) (arg1)->net_wm_icon_name = arg2;
2820 Py_INCREF(Py_None); resultobj = Py_None;
2827 static PyObject *_wrap_Atoms_net_wm_icon_name_get(PyObject *self, PyObject *args) {
2828 PyObject *resultobj;
2829 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2831 PyObject * obj0 = 0 ;
2833 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_icon_name_get",&obj0)) goto fail;
2834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2835 result = (Atom) ((arg1)->net_wm_icon_name);
2837 resultobj = PyInt_FromLong((long)result);
2844 static PyObject *_wrap_Atoms_net_wm_visible_icon_name_set(PyObject *self, PyObject *args) {
2845 PyObject *resultobj;
2846 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2848 PyObject * obj0 = 0 ;
2849 PyObject * obj1 = 0 ;
2851 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_icon_name_set",&obj0,&obj1)) goto fail;
2852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2853 arg2 = (Atom) PyInt_AsLong(obj1);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 if (arg1) (arg1)->net_wm_visible_icon_name = arg2;
2857 Py_INCREF(Py_None); resultobj = Py_None;
2864 static PyObject *_wrap_Atoms_net_wm_visible_icon_name_get(PyObject *self, PyObject *args) {
2865 PyObject *resultobj;
2866 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2868 PyObject * obj0 = 0 ;
2870 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_icon_name_get",&obj0)) goto fail;
2871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2872 result = (Atom) ((arg1)->net_wm_visible_icon_name);
2874 resultobj = PyInt_FromLong((long)result);
2881 static PyObject *_wrap_Atoms_net_wm_desktop_set(PyObject *self, PyObject *args) {
2882 PyObject *resultobj;
2883 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2885 PyObject * obj0 = 0 ;
2886 PyObject * obj1 = 0 ;
2888 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_desktop_set",&obj0,&obj1)) goto fail;
2889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2890 arg2 = (Atom) PyInt_AsLong(obj1);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 if (arg1) (arg1)->net_wm_desktop = arg2;
2894 Py_INCREF(Py_None); resultobj = Py_None;
2901 static PyObject *_wrap_Atoms_net_wm_desktop_get(PyObject *self, PyObject *args) {
2902 PyObject *resultobj;
2903 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2905 PyObject * obj0 = 0 ;
2907 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_desktop_get",&obj0)) goto fail;
2908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2909 result = (Atom) ((arg1)->net_wm_desktop);
2911 resultobj = PyInt_FromLong((long)result);
2918 static PyObject *_wrap_Atoms_net_wm_window_type_set(PyObject *self, PyObject *args) {
2919 PyObject *resultobj;
2920 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2922 PyObject * obj0 = 0 ;
2923 PyObject * obj1 = 0 ;
2925 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_set",&obj0,&obj1)) goto fail;
2926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2927 arg2 = (Atom) PyInt_AsLong(obj1);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 if (arg1) (arg1)->net_wm_window_type = arg2;
2931 Py_INCREF(Py_None); resultobj = Py_None;
2938 static PyObject *_wrap_Atoms_net_wm_window_type_get(PyObject *self, PyObject *args) {
2939 PyObject *resultobj;
2940 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2942 PyObject * obj0 = 0 ;
2944 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_get",&obj0)) goto fail;
2945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2946 result = (Atom) ((arg1)->net_wm_window_type);
2948 resultobj = PyInt_FromLong((long)result);
2955 static PyObject *_wrap_Atoms_net_wm_state_set(PyObject *self, PyObject *args) {
2956 PyObject *resultobj;
2957 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2959 PyObject * obj0 = 0 ;
2960 PyObject * obj1 = 0 ;
2962 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_set",&obj0,&obj1)) goto fail;
2963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2964 arg2 = (Atom) PyInt_AsLong(obj1);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 if (arg1) (arg1)->net_wm_state = arg2;
2968 Py_INCREF(Py_None); resultobj = Py_None;
2975 static PyObject *_wrap_Atoms_net_wm_state_get(PyObject *self, PyObject *args) {
2976 PyObject *resultobj;
2977 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2979 PyObject * obj0 = 0 ;
2981 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_get",&obj0)) goto fail;
2982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2983 result = (Atom) ((arg1)->net_wm_state);
2985 resultobj = PyInt_FromLong((long)result);
2992 static PyObject *_wrap_Atoms_net_wm_strut_set(PyObject *self, PyObject *args) {
2993 PyObject *resultobj;
2994 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2996 PyObject * obj0 = 0 ;
2997 PyObject * obj1 = 0 ;
2999 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_strut_set",&obj0,&obj1)) goto fail;
3000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3001 arg2 = (Atom) PyInt_AsLong(obj1);
3002 if (PyErr_Occurred()) SWIG_fail;
3003 if (arg1) (arg1)->net_wm_strut = arg2;
3005 Py_INCREF(Py_None); resultobj = Py_None;
3012 static PyObject *_wrap_Atoms_net_wm_strut_get(PyObject *self, PyObject *args) {
3013 PyObject *resultobj;
3014 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3016 PyObject * obj0 = 0 ;
3018 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_strut_get",&obj0)) goto fail;
3019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3020 result = (Atom) ((arg1)->net_wm_strut);
3022 resultobj = PyInt_FromLong((long)result);
3029 static PyObject *_wrap_Atoms_net_wm_allowed_actions_set(PyObject *self, PyObject *args) {
3030 PyObject *resultobj;
3031 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3033 PyObject * obj0 = 0 ;
3034 PyObject * obj1 = 0 ;
3036 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_allowed_actions_set",&obj0,&obj1)) goto fail;
3037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3038 arg2 = (Atom) PyInt_AsLong(obj1);
3039 if (PyErr_Occurred()) SWIG_fail;
3040 if (arg1) (arg1)->net_wm_allowed_actions = arg2;
3042 Py_INCREF(Py_None); resultobj = Py_None;
3049 static PyObject *_wrap_Atoms_net_wm_allowed_actions_get(PyObject *self, PyObject *args) {
3050 PyObject *resultobj;
3051 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3053 PyObject * obj0 = 0 ;
3055 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_allowed_actions_get",&obj0)) goto fail;
3056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3057 result = (Atom) ((arg1)->net_wm_allowed_actions);
3059 resultobj = PyInt_FromLong((long)result);
3066 static PyObject *_wrap_Atoms_net_wm_window_type_desktop_set(PyObject *self, PyObject *args) {
3067 PyObject *resultobj;
3068 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3070 PyObject * obj0 = 0 ;
3071 PyObject * obj1 = 0 ;
3073 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_desktop_set",&obj0,&obj1)) goto fail;
3074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3075 arg2 = (Atom) PyInt_AsLong(obj1);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 if (arg1) (arg1)->net_wm_window_type_desktop = arg2;
3079 Py_INCREF(Py_None); resultobj = Py_None;
3086 static PyObject *_wrap_Atoms_net_wm_window_type_desktop_get(PyObject *self, PyObject *args) {
3087 PyObject *resultobj;
3088 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3090 PyObject * obj0 = 0 ;
3092 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_desktop_get",&obj0)) goto fail;
3093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3094 result = (Atom) ((arg1)->net_wm_window_type_desktop);
3096 resultobj = PyInt_FromLong((long)result);
3103 static PyObject *_wrap_Atoms_net_wm_window_type_dock_set(PyObject *self, PyObject *args) {
3104 PyObject *resultobj;
3105 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3107 PyObject * obj0 = 0 ;
3108 PyObject * obj1 = 0 ;
3110 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dock_set",&obj0,&obj1)) goto fail;
3111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3112 arg2 = (Atom) PyInt_AsLong(obj1);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 if (arg1) (arg1)->net_wm_window_type_dock = arg2;
3116 Py_INCREF(Py_None); resultobj = Py_None;
3123 static PyObject *_wrap_Atoms_net_wm_window_type_dock_get(PyObject *self, PyObject *args) {
3124 PyObject *resultobj;
3125 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3127 PyObject * obj0 = 0 ;
3129 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dock_get",&obj0)) goto fail;
3130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3131 result = (Atom) ((arg1)->net_wm_window_type_dock);
3133 resultobj = PyInt_FromLong((long)result);
3140 static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_set(PyObject *self, PyObject *args) {
3141 PyObject *resultobj;
3142 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3144 PyObject * obj0 = 0 ;
3145 PyObject * obj1 = 0 ;
3147 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_toolbar_set",&obj0,&obj1)) goto fail;
3148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3149 arg2 = (Atom) PyInt_AsLong(obj1);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 if (arg1) (arg1)->net_wm_window_type_toolbar = arg2;
3153 Py_INCREF(Py_None); resultobj = Py_None;
3160 static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_get(PyObject *self, PyObject *args) {
3161 PyObject *resultobj;
3162 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3164 PyObject * obj0 = 0 ;
3166 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_toolbar_get",&obj0)) goto fail;
3167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3168 result = (Atom) ((arg1)->net_wm_window_type_toolbar);
3170 resultobj = PyInt_FromLong((long)result);
3177 static PyObject *_wrap_Atoms_net_wm_window_type_menu_set(PyObject *self, PyObject *args) {
3178 PyObject *resultobj;
3179 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3181 PyObject * obj0 = 0 ;
3182 PyObject * obj1 = 0 ;
3184 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_menu_set",&obj0,&obj1)) goto fail;
3185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3186 arg2 = (Atom) PyInt_AsLong(obj1);
3187 if (PyErr_Occurred()) SWIG_fail;
3188 if (arg1) (arg1)->net_wm_window_type_menu = arg2;
3190 Py_INCREF(Py_None); resultobj = Py_None;
3197 static PyObject *_wrap_Atoms_net_wm_window_type_menu_get(PyObject *self, PyObject *args) {
3198 PyObject *resultobj;
3199 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3201 PyObject * obj0 = 0 ;
3203 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_menu_get",&obj0)) goto fail;
3204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3205 result = (Atom) ((arg1)->net_wm_window_type_menu);
3207 resultobj = PyInt_FromLong((long)result);
3214 static PyObject *_wrap_Atoms_net_wm_window_type_utility_set(PyObject *self, PyObject *args) {
3215 PyObject *resultobj;
3216 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3218 PyObject * obj0 = 0 ;
3219 PyObject * obj1 = 0 ;
3221 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_utility_set",&obj0,&obj1)) goto fail;
3222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3223 arg2 = (Atom) PyInt_AsLong(obj1);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 if (arg1) (arg1)->net_wm_window_type_utility = arg2;
3227 Py_INCREF(Py_None); resultobj = Py_None;
3234 static PyObject *_wrap_Atoms_net_wm_window_type_utility_get(PyObject *self, PyObject *args) {
3235 PyObject *resultobj;
3236 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3238 PyObject * obj0 = 0 ;
3240 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_utility_get",&obj0)) goto fail;
3241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3242 result = (Atom) ((arg1)->net_wm_window_type_utility);
3244 resultobj = PyInt_FromLong((long)result);
3251 static PyObject *_wrap_Atoms_net_wm_window_type_splash_set(PyObject *self, PyObject *args) {
3252 PyObject *resultobj;
3253 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3255 PyObject * obj0 = 0 ;
3256 PyObject * obj1 = 0 ;
3258 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_splash_set",&obj0,&obj1)) goto fail;
3259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3260 arg2 = (Atom) PyInt_AsLong(obj1);
3261 if (PyErr_Occurred()) SWIG_fail;
3262 if (arg1) (arg1)->net_wm_window_type_splash = arg2;
3264 Py_INCREF(Py_None); resultobj = Py_None;
3271 static PyObject *_wrap_Atoms_net_wm_window_type_splash_get(PyObject *self, PyObject *args) {
3272 PyObject *resultobj;
3273 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3275 PyObject * obj0 = 0 ;
3277 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_splash_get",&obj0)) goto fail;
3278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3279 result = (Atom) ((arg1)->net_wm_window_type_splash);
3281 resultobj = PyInt_FromLong((long)result);
3288 static PyObject *_wrap_Atoms_net_wm_window_type_dialog_set(PyObject *self, PyObject *args) {
3289 PyObject *resultobj;
3290 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3292 PyObject * obj0 = 0 ;
3293 PyObject * obj1 = 0 ;
3295 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dialog_set",&obj0,&obj1)) goto fail;
3296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3297 arg2 = (Atom) PyInt_AsLong(obj1);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 if (arg1) (arg1)->net_wm_window_type_dialog = arg2;
3301 Py_INCREF(Py_None); resultobj = Py_None;
3308 static PyObject *_wrap_Atoms_net_wm_window_type_dialog_get(PyObject *self, PyObject *args) {
3309 PyObject *resultobj;
3310 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3312 PyObject * obj0 = 0 ;
3314 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dialog_get",&obj0)) goto fail;
3315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3316 result = (Atom) ((arg1)->net_wm_window_type_dialog);
3318 resultobj = PyInt_FromLong((long)result);
3325 static PyObject *_wrap_Atoms_net_wm_window_type_normal_set(PyObject *self, PyObject *args) {
3326 PyObject *resultobj;
3327 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3329 PyObject * obj0 = 0 ;
3330 PyObject * obj1 = 0 ;
3332 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_normal_set",&obj0,&obj1)) goto fail;
3333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3334 arg2 = (Atom) PyInt_AsLong(obj1);
3335 if (PyErr_Occurred()) SWIG_fail;
3336 if (arg1) (arg1)->net_wm_window_type_normal = arg2;
3338 Py_INCREF(Py_None); resultobj = Py_None;
3345 static PyObject *_wrap_Atoms_net_wm_window_type_normal_get(PyObject *self, PyObject *args) {
3346 PyObject *resultobj;
3347 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3349 PyObject * obj0 = 0 ;
3351 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_normal_get",&obj0)) goto fail;
3352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3353 result = (Atom) ((arg1)->net_wm_window_type_normal);
3355 resultobj = PyInt_FromLong((long)result);
3362 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_set(PyObject *self, PyObject *args) {
3363 PyObject *resultobj;
3364 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3369 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topleft_set",&obj0,&obj1)) goto fail;
3370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3371 arg2 = (Atom) PyInt_AsLong(obj1);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 if (arg1) (arg1)->net_wm_moveresize_size_topleft = arg2;
3375 Py_INCREF(Py_None); resultobj = Py_None;
3382 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_get(PyObject *self, PyObject *args) {
3383 PyObject *resultobj;
3384 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3386 PyObject * obj0 = 0 ;
3388 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topleft_get",&obj0)) goto fail;
3389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3390 result = (Atom) ((arg1)->net_wm_moveresize_size_topleft);
3392 resultobj = PyInt_FromLong((long)result);
3399 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_set(PyObject *self, PyObject *args) {
3400 PyObject *resultobj;
3401 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3403 PyObject * obj0 = 0 ;
3404 PyObject * obj1 = 0 ;
3406 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topright_set",&obj0,&obj1)) goto fail;
3407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3408 arg2 = (Atom) PyInt_AsLong(obj1);
3409 if (PyErr_Occurred()) SWIG_fail;
3410 if (arg1) (arg1)->net_wm_moveresize_size_topright = arg2;
3412 Py_INCREF(Py_None); resultobj = Py_None;
3419 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_get(PyObject *self, PyObject *args) {
3420 PyObject *resultobj;
3421 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3423 PyObject * obj0 = 0 ;
3425 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topright_get",&obj0)) goto fail;
3426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3427 result = (Atom) ((arg1)->net_wm_moveresize_size_topright);
3429 resultobj = PyInt_FromLong((long)result);
3436 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_set(PyObject *self, PyObject *args) {
3437 PyObject *resultobj;
3438 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3440 PyObject * obj0 = 0 ;
3441 PyObject * obj1 = 0 ;
3443 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomleft_set",&obj0,&obj1)) goto fail;
3444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3445 arg2 = (Atom) PyInt_AsLong(obj1);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 if (arg1) (arg1)->net_wm_moveresize_size_bottomleft = arg2;
3449 Py_INCREF(Py_None); resultobj = Py_None;
3456 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_get(PyObject *self, PyObject *args) {
3457 PyObject *resultobj;
3458 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3460 PyObject * obj0 = 0 ;
3462 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomleft_get",&obj0)) goto fail;
3463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3464 result = (Atom) ((arg1)->net_wm_moveresize_size_bottomleft);
3466 resultobj = PyInt_FromLong((long)result);
3473 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_set(PyObject *self, PyObject *args) {
3474 PyObject *resultobj;
3475 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3477 PyObject * obj0 = 0 ;
3478 PyObject * obj1 = 0 ;
3480 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomright_set",&obj0,&obj1)) goto fail;
3481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3482 arg2 = (Atom) PyInt_AsLong(obj1);
3483 if (PyErr_Occurred()) SWIG_fail;
3484 if (arg1) (arg1)->net_wm_moveresize_size_bottomright = arg2;
3486 Py_INCREF(Py_None); resultobj = Py_None;
3493 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_get(PyObject *self, PyObject *args) {
3494 PyObject *resultobj;
3495 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3497 PyObject * obj0 = 0 ;
3499 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomright_get",&obj0)) goto fail;
3500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3501 result = (Atom) ((arg1)->net_wm_moveresize_size_bottomright);
3503 resultobj = PyInt_FromLong((long)result);
3510 static PyObject *_wrap_Atoms_net_wm_moveresize_move_set(PyObject *self, PyObject *args) {
3511 PyObject *resultobj;
3512 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3514 PyObject * obj0 = 0 ;
3515 PyObject * obj1 = 0 ;
3517 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_move_set",&obj0,&obj1)) goto fail;
3518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3519 arg2 = (Atom) PyInt_AsLong(obj1);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 if (arg1) (arg1)->net_wm_moveresize_move = arg2;
3523 Py_INCREF(Py_None); resultobj = Py_None;
3530 static PyObject *_wrap_Atoms_net_wm_moveresize_move_get(PyObject *self, PyObject *args) {
3531 PyObject *resultobj;
3532 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3534 PyObject * obj0 = 0 ;
3536 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_move_get",&obj0)) goto fail;
3537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3538 result = (Atom) ((arg1)->net_wm_moveresize_move);
3540 resultobj = PyInt_FromLong((long)result);
3547 static PyObject *_wrap_Atoms_net_wm_action_move_set(PyObject *self, PyObject *args) {
3548 PyObject *resultobj;
3549 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3551 PyObject * obj0 = 0 ;
3552 PyObject * obj1 = 0 ;
3554 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_move_set",&obj0,&obj1)) goto fail;
3555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3556 arg2 = (Atom) PyInt_AsLong(obj1);
3557 if (PyErr_Occurred()) SWIG_fail;
3558 if (arg1) (arg1)->net_wm_action_move = arg2;
3560 Py_INCREF(Py_None); resultobj = Py_None;
3567 static PyObject *_wrap_Atoms_net_wm_action_move_get(PyObject *self, PyObject *args) {
3568 PyObject *resultobj;
3569 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3571 PyObject * obj0 = 0 ;
3573 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_move_get",&obj0)) goto fail;
3574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3575 result = (Atom) ((arg1)->net_wm_action_move);
3577 resultobj = PyInt_FromLong((long)result);
3584 static PyObject *_wrap_Atoms_net_wm_action_resize_set(PyObject *self, PyObject *args) {
3585 PyObject *resultobj;
3586 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3588 PyObject * obj0 = 0 ;
3589 PyObject * obj1 = 0 ;
3591 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_resize_set",&obj0,&obj1)) goto fail;
3592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3593 arg2 = (Atom) PyInt_AsLong(obj1);
3594 if (PyErr_Occurred()) SWIG_fail;
3595 if (arg1) (arg1)->net_wm_action_resize = arg2;
3597 Py_INCREF(Py_None); resultobj = Py_None;
3604 static PyObject *_wrap_Atoms_net_wm_action_resize_get(PyObject *self, PyObject *args) {
3605 PyObject *resultobj;
3606 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3608 PyObject * obj0 = 0 ;
3610 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_resize_get",&obj0)) goto fail;
3611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3612 result = (Atom) ((arg1)->net_wm_action_resize);
3614 resultobj = PyInt_FromLong((long)result);
3621 static PyObject *_wrap_Atoms_net_wm_action_shade_set(PyObject *self, PyObject *args) {
3622 PyObject *resultobj;
3623 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3625 PyObject * obj0 = 0 ;
3626 PyObject * obj1 = 0 ;
3628 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_shade_set",&obj0,&obj1)) goto fail;
3629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3630 arg2 = (Atom) PyInt_AsLong(obj1);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 if (arg1) (arg1)->net_wm_action_shade = arg2;
3634 Py_INCREF(Py_None); resultobj = Py_None;
3641 static PyObject *_wrap_Atoms_net_wm_action_shade_get(PyObject *self, PyObject *args) {
3642 PyObject *resultobj;
3643 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3645 PyObject * obj0 = 0 ;
3647 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_shade_get",&obj0)) goto fail;
3648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3649 result = (Atom) ((arg1)->net_wm_action_shade);
3651 resultobj = PyInt_FromLong((long)result);
3658 static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_set(PyObject *self, PyObject *args) {
3659 PyObject *resultobj;
3660 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3662 PyObject * obj0 = 0 ;
3663 PyObject * obj1 = 0 ;
3665 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_horz_set",&obj0,&obj1)) goto fail;
3666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3667 arg2 = (Atom) PyInt_AsLong(obj1);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 if (arg1) (arg1)->net_wm_action_maximize_horz = arg2;
3671 Py_INCREF(Py_None); resultobj = Py_None;
3678 static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_get(PyObject *self, PyObject *args) {
3679 PyObject *resultobj;
3680 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3682 PyObject * obj0 = 0 ;
3684 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_horz_get",&obj0)) goto fail;
3685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3686 result = (Atom) ((arg1)->net_wm_action_maximize_horz);
3688 resultobj = PyInt_FromLong((long)result);
3695 static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_set(PyObject *self, PyObject *args) {
3696 PyObject *resultobj;
3697 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3699 PyObject * obj0 = 0 ;
3700 PyObject * obj1 = 0 ;
3702 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_vert_set",&obj0,&obj1)) goto fail;
3703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3704 arg2 = (Atom) PyInt_AsLong(obj1);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 if (arg1) (arg1)->net_wm_action_maximize_vert = arg2;
3708 Py_INCREF(Py_None); resultobj = Py_None;
3715 static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_get(PyObject *self, PyObject *args) {
3716 PyObject *resultobj;
3717 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3719 PyObject * obj0 = 0 ;
3721 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_vert_get",&obj0)) goto fail;
3722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3723 result = (Atom) ((arg1)->net_wm_action_maximize_vert);
3725 resultobj = PyInt_FromLong((long)result);
3732 static PyObject *_wrap_Atoms_net_wm_action_change_desktop_set(PyObject *self, PyObject *args) {
3733 PyObject *resultobj;
3734 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3736 PyObject * obj0 = 0 ;
3737 PyObject * obj1 = 0 ;
3739 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_change_desktop_set",&obj0,&obj1)) goto fail;
3740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3741 arg2 = (Atom) PyInt_AsLong(obj1);
3742 if (PyErr_Occurred()) SWIG_fail;
3743 if (arg1) (arg1)->net_wm_action_change_desktop = arg2;
3745 Py_INCREF(Py_None); resultobj = Py_None;
3752 static PyObject *_wrap_Atoms_net_wm_action_change_desktop_get(PyObject *self, PyObject *args) {
3753 PyObject *resultobj;
3754 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3756 PyObject * obj0 = 0 ;
3758 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_change_desktop_get",&obj0)) goto fail;
3759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3760 result = (Atom) ((arg1)->net_wm_action_change_desktop);
3762 resultobj = PyInt_FromLong((long)result);
3769 static PyObject *_wrap_Atoms_net_wm_action_close_set(PyObject *self, PyObject *args) {
3770 PyObject *resultobj;
3771 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3773 PyObject * obj0 = 0 ;
3774 PyObject * obj1 = 0 ;
3776 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_close_set",&obj0,&obj1)) goto fail;
3777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3778 arg2 = (Atom) PyInt_AsLong(obj1);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 if (arg1) (arg1)->net_wm_action_close = arg2;
3782 Py_INCREF(Py_None); resultobj = Py_None;
3789 static PyObject *_wrap_Atoms_net_wm_action_close_get(PyObject *self, PyObject *args) {
3790 PyObject *resultobj;
3791 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3793 PyObject * obj0 = 0 ;
3795 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_close_get",&obj0)) goto fail;
3796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3797 result = (Atom) ((arg1)->net_wm_action_close);
3799 resultobj = PyInt_FromLong((long)result);
3806 static PyObject *_wrap_Atoms_net_wm_state_modal_set(PyObject *self, PyObject *args) {