1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021128-1508
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T> class SwigValueWrapper {
17 inline SwigValueWrapper() : tt(0) { }
18 inline ~SwigValueWrapper() { if (tt) delete tt; }
19 inline SwigValueWrapper& operator=(const T& t) { tt = new T(t); return *this; }
20 inline operator T&() const { return *tt; }
21 inline T *operator&() { return tt; }
28 /***********************************************************************
31 * This file contains generic SWIG runtime support for pointer
32 * type checking as well as a few commonly used macros to control
35 * Author : David Beazley (beazley@cs.uchicago.edu)
37 * Copyright (c) 1999-2000, The University of Chicago
39 * This file may be freely redistributed without license or fee provided
40 * this copyright message remains intact.
41 ************************************************************************/
45 #if defined(_WIN32) || defined(__WIN32__)
46 # if defined(_MSC_VER)
47 # if defined(STATIC_LINKED)
48 # define SWIGEXPORT(a) a
49 # define SWIGIMPORT(a) extern a
51 # define SWIGEXPORT(a) __declspec(dllexport) a
52 # define SWIGIMPORT(a) extern a
55 # if defined(__BORLANDC__)
56 # define SWIGEXPORT(a) a _export
57 # define SWIGIMPORT(a) a _export
59 # define SWIGEXPORT(a) a
60 # define SWIGIMPORT(a) a
64 # define SWIGEXPORT(a) a
65 # define SWIGIMPORT(a) a
69 #define SWIGRUNTIME(a) SWIGEXPORT(a)
71 #define SWIGRUNTIME(a) static a
78 typedef void *(*swig_converter_func)(void *);
79 typedef struct swig_type_info *(*swig_dycast_func)(void **);
81 typedef struct swig_type_info {
83 swig_converter_func converter;
86 swig_dycast_func dcast;
87 struct swig_type_info *next;
88 struct swig_type_info *prev;
93 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
94 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
95 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
96 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
97 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
98 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
102 static swig_type_info *swig_type_list = 0;
104 /* Register a type mapping with the type-checking */
105 SWIGRUNTIME(swig_type_info *)
106 SWIG_TypeRegister(swig_type_info *ti)
108 swig_type_info *tc, *head, *ret, *next;
109 /* Check to see if this type has already been registered */
112 if (strcmp(tc->name, ti->name) == 0) {
113 /* Already exists in the table. Just add additional types to the list */
114 if (tc->clientdata) ti->clientdata = tc->clientdata;
125 ti->prev = swig_type_list;
128 /* Build linked lists */
132 /* Patch up the rest of the links */
143 /* Check the typename */
144 SWIGRUNTIME(swig_type_info *)
145 SWIG_TypeCheck(char *c, swig_type_info *ty)
148 if (!ty) return 0; /* Void pointer */
149 s = ty->next; /* First element always just a name */
151 if (strcmp(s->name,c) == 0) {
152 if (s == ty->next) return s;
153 /* Move s to the top of the linked list */
154 s->prev->next = s->next;
156 s->next->prev = s->prev;
158 /* Insert s as second element in the list */
160 if (ty->next) ty->next->prev = s;
165 } while (s && (s != ty->next));
169 /* Cast a pointer up an inheritance hierarchy */
171 SWIG_TypeCast(swig_type_info *ty, void *ptr)
173 if ((!ty) || (!ty->converter)) return ptr;
174 return (*ty->converter)(ptr);
177 /* Dynamic pointer casting. Down an inheritance hierarchy */
178 SWIGRUNTIME(swig_type_info *)
179 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
181 swig_type_info *lastty = ty;
182 if (!ty || !ty->dcast) return ty;
183 while (ty && (ty->dcast)) {
184 ty = (*ty->dcast)(ptr);
190 /* Search for a swig_type_info structure */
191 SWIGRUNTIME(swig_type_info *)
192 SWIG_TypeQuery(const char *name) {
193 swig_type_info *ty = swig_type_list;
195 if (ty->str && (strcmp(name,ty->str) == 0)) return ty;
196 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
202 /* Set the clientdata field for a type */
204 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
205 swig_type_info *tc, *equiv;
206 if (ti->clientdata == clientdata) return;
207 ti->clientdata = clientdata;
210 if (!equiv->converter) {
213 if ((strcmp(tc->name, equiv->name) == 0))
214 SWIG_TypeClientData(tc,clientdata);
228 /***********************************************************************
231 * This file contains the runtime support for Python modules
232 * and includes code for managing global variables and pointer
235 * Author : David Beazley (beazley@cs.uchicago.edu)
236 ************************************************************************/
244 #define SWIG_PY_INT 1
245 #define SWIG_PY_FLOAT 2
246 #define SWIG_PY_STRING 3
247 #define SWIG_PY_POINTER 4
248 #define SWIG_PY_BINARY 5
250 /* Flags for pointer conversion */
252 #define SWIG_POINTER_EXCEPTION 0x1
253 #define SWIG_POINTER_DISOWN 0x2
255 /* Exception handling in wrappers */
256 #define SWIG_fail goto fail
258 /* Constant information structure */
259 typedef struct swig_const_info {
265 swig_type_info **ptype;
268 #ifdef SWIG_NOINCLUDE
270 SWIGEXPORT(PyObject *) SWIG_newvarlink();
271 SWIGEXPORT(void) SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
272 SWIGEXPORT(int) SWIG_ConvertPtr(PyObject *, void **, swig_type_info *, int);
273 SWIGEXPORT(int) SWIG_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
274 SWIGEXPORT(char *) SWIG_PackData(char *c, void *, int);
275 SWIGEXPORT(char *) SWIG_UnpackData(char *c, void *, int);
276 SWIGEXPORT(PyObject *) SWIG_NewPointerObj(void *, swig_type_info *,int own);
277 SWIGEXPORT(PyObject *) SWIG_NewPackedObj(void *, int sz, swig_type_info *);
278 SWIGEXPORT(void) SWIG_InstallConstants(PyObject *d, swig_const_info constants[]);
281 /* -----------------------------------------------------------------------------
282 * global variable support code.
283 * ----------------------------------------------------------------------------- */
285 typedef struct swig_globalvar {
286 char *name; /* Name of global variable */
287 PyObject *(*get_attr)(void); /* Return the current value */
288 int (*set_attr)(PyObject *); /* Set the value */
289 struct swig_globalvar *next;
292 typedef struct swig_varlinkobject {
294 swig_globalvar *vars;
295 } swig_varlinkobject;
298 swig_varlink_repr(swig_varlinkobject *v) {
300 return PyString_FromString("<Global variables>");
304 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
307 fprintf(fp,"Global variables { ");
308 for (var = v->vars; var; var=var->next) {
309 fprintf(fp,"%s", var->name);
310 if (var->next) fprintf(fp,", ");
317 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
318 swig_globalvar *var = v->vars;
320 if (strcmp(var->name,n) == 0) {
321 return (*var->get_attr)();
325 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
330 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
331 swig_globalvar *var = v->vars;
333 if (strcmp(var->name,n) == 0) {
334 return (*var->set_attr)(p);
338 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
342 statichere PyTypeObject varlinktype = {
343 PyObject_HEAD_INIT(0)
345 (char *)"swigvarlink", /* Type name */
346 sizeof(swig_varlinkobject), /* Basic size */
349 (printfunc) swig_varlink_print, /* Print */
350 (getattrfunc) swig_varlink_getattr, /* get attr */
351 (setattrfunc) swig_varlink_setattr, /* Set attr */
353 (reprfunc) swig_varlink_repr, /* tp_repr */
354 0, /* tp_as_number */
355 0, /* tp_as_mapping*/
359 /* Create a variable linking object for use later */
360 SWIGRUNTIME(PyObject *)
361 SWIG_newvarlink(void) {
362 swig_varlinkobject *result = 0;
363 result = PyMem_NEW(swig_varlinkobject,1);
364 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
365 result->ob_type = &varlinktype;
367 result->ob_refcnt = 0;
368 Py_XINCREF((PyObject *) result);
369 return ((PyObject*) result);
373 SWIG_addvarlink(PyObject *p, char *name,
374 PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
375 swig_varlinkobject *v;
377 v= (swig_varlinkobject *) p;
378 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
379 gv->name = (char *) malloc(strlen(name)+1);
380 strcpy(gv->name,name);
381 gv->get_attr = get_attr;
382 gv->set_attr = set_attr;
387 /* Pack binary data into a string */
389 SWIG_PackData(char *c, void *ptr, int sz) {
390 static char hex[17] = "0123456789abcdef";
392 unsigned char *u = (unsigned char *) ptr;
393 register unsigned char uu;
394 for (i = 0; i < sz; i++,u++) {
396 *(c++) = hex[(uu & 0xf0) >> 4];
397 *(c++) = hex[uu & 0xf];
402 /* Unpack binary data from a string */
404 SWIG_UnpackData(char *c, void *ptr, int sz) {
405 register unsigned char uu = 0;
407 unsigned char *u = (unsigned char *) ptr;
409 for (i = 0; i < sz; i++, u++) {
411 if ((d >= '0') && (d <= '9'))
412 uu = ((d - '0') << 4);
413 else if ((d >= 'a') && (d <= 'f'))
414 uu = ((d - ('a'-10)) << 4);
416 if ((d >= '0') && (d <= '9'))
418 else if ((d >= 'a') && (d <= 'f'))
419 uu |= (d - ('a'-10));
425 /* Convert a pointer value */
427 SWIG_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
430 static PyObject *SWIG_this = 0;
435 if (obj == Py_None) {
439 #ifdef SWIG_COBJECT_TYPES
440 if (!(PyCObject_Check(obj))) {
442 SWIG_this = PyString_FromString("this");
444 obj = PyObject_GetAttr(obj,SWIG_this);
446 if (!obj) goto type_error;
447 if (!PyCObject_Check(obj)) {
452 *ptr = PyCObject_AsVoidPtr(obj);
453 c = (char *) PyCObject_GetDesc(obj);
454 if (newref) Py_DECREF(obj);
457 if (!(PyString_Check(obj))) {
459 SWIG_this = PyString_FromString("this");
461 obj = PyObject_GetAttr(obj,SWIG_this);
463 if (!obj) goto type_error;
464 if (!PyString_Check(obj)) {
469 c = PyString_AsString(obj);
470 /* Pointer values must start with leading underscore */
473 if (strcmp(c,"NULL") == 0) {
474 if (newref) { Py_DECREF(obj); }
477 if (newref) { Py_DECREF(obj); }
482 c = SWIG_UnpackData(c,ptr,sizeof(void *));
483 if (newref) { Py_DECREF(obj); }
486 #ifdef SWIG_COBJECT_TYPES
491 tc = SWIG_TypeCheck(c,ty);
492 if (!tc) goto type_error;
493 *ptr = SWIG_TypeCast(tc,(void*) *ptr);
496 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
497 PyObject *zero = PyInt_FromLong(0);
498 PyObject_SetAttrString(pyobj,(char*)"thisown",zero);
504 if (flags & SWIG_POINTER_EXCEPTION) {
506 char *temp = (char *) malloc(64+strlen(ty->name));
507 sprintf(temp,"Type error. Expected %s", ty->name);
508 PyErr_SetString(PyExc_TypeError, temp);
511 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
517 /* Convert a packed value value */
519 SWIG_ConvertPacked(PyObject *obj, void *ptr, int sz, swig_type_info *ty, int flags) {
523 if ((!obj) || (!PyString_Check(obj))) goto type_error;
524 c = PyString_AsString(obj);
525 /* Pointer values must start with leading underscore */
526 if (*c != '_') goto type_error;
528 c = SWIG_UnpackData(c,ptr,sz);
530 tc = SWIG_TypeCheck(c,ty);
531 if (!tc) goto type_error;
539 char *temp = (char *) malloc(64+strlen(ty->name));
540 sprintf(temp,"Type error. Expected %s", ty->name);
541 PyErr_SetString(PyExc_TypeError, temp);
544 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
550 /* Create a new pointer object */
551 SWIGRUNTIME(PyObject *)
552 SWIG_NewPointerObj(void *ptr, swig_type_info *type, int own) {
558 #ifdef SWIG_COBJECT_TYPES
559 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) type->name, NULL);
565 r = SWIG_PackData(r,&ptr,sizeof(void *));
566 strcpy(r,type->name);
567 robj = PyString_FromString(result);
570 if (!robj || (robj == Py_None)) return robj;
571 if (type->clientdata) {
573 PyObject *args = Py_BuildValue((char*)"(O)", robj);
575 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
579 PyObject *n = PyInt_FromLong(1);
580 PyObject_SetAttrString(inst,(char*)"thisown",n);
589 SWIGRUNTIME(PyObject *)
590 SWIG_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
593 if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
595 r = SWIG_PackData(r,ptr,sz);
596 strcpy(r,type->name);
597 return PyString_FromString(result);
600 /* Install Constants */
602 SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) {
605 for (i = 0; constants[i].type; i++) {
606 switch(constants[i].type) {
608 obj = PyInt_FromLong(constants[i].lvalue);
611 obj = PyFloat_FromDouble(constants[i].dvalue);
614 obj = PyString_FromString((char *) constants[i].pvalue);
616 case SWIG_PY_POINTER:
617 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
620 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
627 PyDict_SetItemString(d,constants[i].name,obj);
646 /* -------- TYPES TABLE (BEGIN) -------- */
648 #define SWIGTYPE_p_otk__Point swig_types[0]
649 #define SWIGTYPE_p_ob__Client swig_types[1]
650 #define SWIGTYPE_p_XMapEvent swig_types[2]
651 #define SWIGTYPE_p_XUnmapEvent swig_types[3]
652 #define SWIGTYPE_p_XColormapEvent swig_types[4]
653 #define SWIGTYPE_p_XNoExposeEvent swig_types[5]
654 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[6]
655 #define SWIGTYPE_p_XExposeEvent swig_types[7]
656 #define SWIGTYPE_p_XFocusChangeEvent swig_types[8]
657 #define SWIGTYPE_p_XClientMessageEvent swig_types[9]
658 #define SWIGTYPE_p_ob__MouseData swig_types[10]
659 #define SWIGTYPE_p_XSelectionClearEvent swig_types[11]
660 #define SWIGTYPE_p_otk__Rect swig_types[12]
661 #define SWIGTYPE_p_Visual swig_types[13]
662 #define SWIGTYPE_p_XResizeRequestEvent swig_types[14]
663 #define SWIGTYPE_p_XMapRequestEvent swig_types[15]
664 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[16]
665 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[17]
666 #define SWIGTYPE_p_XGravityEvent swig_types[18]
667 #define SWIGTYPE_p_XVisibilityEvent swig_types[19]
668 #define SWIGTYPE_p_XPropertyEvent swig_types[20]
669 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[21]
670 #define SWIGTYPE_p_ob__Cursors swig_types[22]
671 #define SWIGTYPE_p_otk__ImageControl swig_types[23]
672 #define SWIGTYPE_p_ob__MwmHints swig_types[24]
673 #define SWIGTYPE_p_ob__Screen swig_types[25]
674 #define SWIGTYPE_p_ob__Frame swig_types[26]
675 #define SWIGTYPE_p_ob__KeyData swig_types[27]
676 #define SWIGTYPE_p_XCirculateEvent swig_types[28]
677 #define SWIGTYPE_p_XConfigureEvent swig_types[29]
678 #define SWIGTYPE_p_XRectangle swig_types[30]
679 #define SWIGTYPE_p_otk__ustring swig_types[31]
680 #define SWIGTYPE_p_std__string swig_types[32]
681 #define SWIGTYPE_p_XCrossingEvent swig_types[33]
682 #define SWIGTYPE_p_otk__Display swig_types[34]
683 #define SWIGTYPE_p_Display swig_types[35]
684 #define SWIGTYPE_p_XMappingEvent swig_types[36]
685 #define SWIGTYPE_p_otk__Style swig_types[37]
686 #define SWIGTYPE_p_otk__EventHandler swig_types[38]
687 #define SWIGTYPE_p_XReparentEvent swig_types[39]
688 #define SWIGTYPE_p_otk__EventDispatcher swig_types[40]
689 #define SWIGTYPE_p_otk__GCCache swig_types[41]
690 #define SWIGTYPE_p_ob__Bindings swig_types[42]
691 #define SWIGTYPE_p_ob__Openbox swig_types[43]
692 #define SWIGTYPE_p_ob__Actions swig_types[44]
693 #define SWIGTYPE_p_otk__Widget swig_types[45]
694 #define SWIGTYPE_p_XEvent swig_types[46]
695 #define SWIGTYPE_p_otk__Property swig_types[47]
696 #define SWIGTYPE_p_PyObject swig_types[48]
697 #define SWIGTYPE_p_otk__ScreenInfo swig_types[49]
698 #define SWIGTYPE_p_ob__EventData swig_types[50]
699 #define SWIGTYPE_p_XCreateWindowEvent swig_types[51]
700 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[52]
701 #define SWIGTYPE_p_otk__Property__StringVect swig_types[53]
702 #define SWIGTYPE_p_ob__WidgetBase swig_types[54]
703 #define SWIGTYPE_p_otk__Atoms swig_types[55]
704 #define SWIGTYPE_p_XKeyEvent swig_types[56]
705 #define SWIGTYPE_p_int swig_types[57]
706 #define SWIGTYPE_p_otk__Strut swig_types[58]
707 #define SWIGTYPE_p_unsigned_long swig_types[59]
708 #define SWIGTYPE_p_p_unsigned_long swig_types[60]
709 #define SWIGTYPE_p_XMotionEvent swig_types[61]
710 #define SWIGTYPE_p_XButtonEvent swig_types[62]
711 #define SWIGTYPE_p_XSelectionEvent swig_types[63]
712 static swig_type_info *swig_types[65];
714 /* -------- TYPES TABLE (END) -------- */
717 /*-----------------------------------------------
718 @(target):= _openbox.so
719 ------------------------------------------------*/
720 #define SWIG_init init_openbox
722 #define SWIG_name "_openbox"
725 # include "../config.h"
729 #include "openbox.hh"
732 #include "bindings.hh"
733 #include "actions.hh"
735 #include "otk/otk.hh"
738 #define SWIG_MemoryError 1
739 #define SWIG_IOError 2
740 #define SWIG_RuntimeError 3
741 #define SWIG_IndexError 4
742 #define SWIG_TypeError 5
743 #define SWIG_DivisionByZero 6
744 #define SWIG_OverflowError 7
745 #define SWIG_SyntaxError 8
746 #define SWIG_ValueError 9
747 #define SWIG_SystemError 10
748 #define SWIG_UnknownError 99
751 static void _SWIG_exception(int code, const char *msg) {
753 case SWIG_MemoryError:
754 PyErr_SetString(PyExc_MemoryError,msg);
757 PyErr_SetString(PyExc_IOError,msg);
759 case SWIG_RuntimeError:
760 PyErr_SetString(PyExc_RuntimeError,msg);
762 case SWIG_IndexError:
763 PyErr_SetString(PyExc_IndexError,msg);
766 PyErr_SetString(PyExc_TypeError,msg);
768 case SWIG_DivisionByZero:
769 PyErr_SetString(PyExc_ZeroDivisionError,msg);
771 case SWIG_OverflowError:
772 PyErr_SetString(PyExc_OverflowError,msg);
774 case SWIG_SyntaxError:
775 PyErr_SetString(PyExc_SyntaxError,msg);
777 case SWIG_ValueError:
778 PyErr_SetString(PyExc_ValueError,msg);
780 case SWIG_SystemError:
781 PyErr_SetString(PyExc_SystemError,msg);
784 PyErr_SetString(PyExc_RuntimeError,msg);
789 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
797 PyObject* SwigInt_FromBool(bool b) {
798 return PyInt_FromLong(b ? 1L : 0L);
800 double SwigNumber_Check(PyObject* o) {
801 return PyFloat_Check(o) || PyInt_Check(o);
803 double SwigNumber_AsDouble(PyObject* o) {
804 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
806 PyObject* SwigString_FromString(const std::string& s) {
807 return PyString_FromString(s.c_str());
809 std::string SwigString_AsString(PyObject* o) {
810 return std::string(PyString_AsString(o));
819 ob::Openbox *Openbox_instance() { return ob::openbox; }
823 void python_callback(PyObject *func, MouseData *data)
828 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
829 SWIGTYPE_p_ob__MouseData,
833 result = PyEval_CallObject(func, arglist);
834 if (!result || PyErr_Occurred()) {
835 // an exception occured in the script, display it
843 void python_callback(PyObject *func, EventData *data)
848 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
849 SWIGTYPE_p_ob__EventData,
853 result = PyEval_CallObject(func, arglist);
854 if (!result || PyErr_Occurred()) {
855 // an exception occured in the script, display it
863 void python_callback(PyObject *func, KeyData *data)
868 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
869 SWIGTYPE_p_ob__KeyData,
873 result = PyEval_CallObject(func, arglist);
874 if (!result || PyErr_Occurred()) {
875 // an exception occured in the script, display it
889 #include "ustring.hh"
892 otk::Display *Display_instance() { return otk::display; }
895 const otk::Atoms& Property_atoms() { return otk::Property::atoms; }
897 ob::Client *ob_Screen_client(ob::Screen *self,int i){
898 if (i < 0 || i >= (int)self->clients.size())
900 ob::Client::List::iterator it = self->clients.begin();
904 int ob_Screen_clientCount(ob::Screen const *self){
905 return (int) self->clients.size();
910 static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
914 if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
915 result = (ob::Openbox *)Openbox_instance();
917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
924 static PyObject *_wrap_Display_instance(PyObject *self, PyObject *args) {
926 otk::Display *result;
928 if(!PyArg_ParseTuple(args,(char *)":Display_instance")) goto fail;
929 result = (otk::Display *)Display_instance();
931 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 0);
938 static PyObject *_wrap_Property_atoms(PyObject *self, PyObject *args) {
942 if(!PyArg_ParseTuple(args,(char *)":Property_atoms")) goto fail;
944 otk::Atoms const &_result_ref = Property_atoms();
945 result = (otk::Atoms *) &_result_ref;
948 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Atoms, 0);
955 static PyObject *_wrap_new_Display(PyObject *self, PyObject *args) {
957 otk::Display *result;
959 if(!PyArg_ParseTuple(args,(char *)":new_Display")) goto fail;
960 result = (otk::Display *)new otk::Display();
962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 1);
969 static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args) {
971 otk::Display *arg1 = (otk::Display *) 0 ;
972 PyObject * obj0 = 0 ;
974 if(!PyArg_ParseTuple(args,(char *)"O:delete_Display",&obj0)) goto fail;
975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
978 Py_INCREF(Py_None); resultobj = Py_None;
985 static PyObject *_wrap_Display_gcCache(PyObject *self, PyObject *args) {
987 otk::Display *arg1 = (otk::Display *) 0 ;
988 otk::GCCache *result;
989 PyObject * obj0 = 0 ;
991 if(!PyArg_ParseTuple(args,(char *)"O:Display_gcCache",&obj0)) goto fail;
992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
993 result = (otk::GCCache *)((otk::Display const *)arg1)->gcCache();
995 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__GCCache, 0);
1002 static PyObject *_wrap_Display_screenInfo(PyObject *self, PyObject *args) {
1003 PyObject *resultobj;
1004 otk::Display *arg1 = (otk::Display *) 0 ;
1006 otk::ScreenInfo *result;
1007 PyObject * obj0 = 0 ;
1009 if(!PyArg_ParseTuple(args,(char *)"Oi:Display_screenInfo",&obj0,&arg2)) goto fail;
1010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1011 result = (otk::ScreenInfo *)(arg1)->screenInfo(arg2);
1013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
1020 static PyObject *_wrap_Display_findScreen(PyObject *self, PyObject *args) {
1021 PyObject *resultobj;
1022 otk::Display *arg1 = (otk::Display *) 0 ;
1024 otk::ScreenInfo *result;
1025 PyObject * obj0 = 0 ;
1026 PyObject * obj1 = 0 ;
1028 if(!PyArg_ParseTuple(args,(char *)"OO:Display_findScreen",&obj0,&obj1)) goto fail;
1029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1030 arg2 = (Window) PyInt_AsLong(obj1);
1031 if (PyErr_Occurred()) SWIG_fail;
1032 result = (otk::ScreenInfo *)(arg1)->findScreen(arg2);
1034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
1041 static PyObject *_wrap_Display_xkb(PyObject *self, PyObject *args) {
1042 PyObject *resultobj;
1043 otk::Display *arg1 = (otk::Display *) 0 ;
1045 PyObject * obj0 = 0 ;
1047 if(!PyArg_ParseTuple(args,(char *)"O:Display_xkb",&obj0)) goto fail;
1048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1049 result = (bool)((otk::Display const *)arg1)->xkb();
1051 resultobj = PyInt_FromLong((long)result);
1058 static PyObject *_wrap_Display_xkbEventBase(PyObject *self, PyObject *args) {
1059 PyObject *resultobj;
1060 otk::Display *arg1 = (otk::Display *) 0 ;
1062 PyObject * obj0 = 0 ;
1064 if(!PyArg_ParseTuple(args,(char *)"O:Display_xkbEventBase",&obj0)) goto fail;
1065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1066 result = (int)((otk::Display const *)arg1)->xkbEventBase();
1068 resultobj = PyInt_FromLong((long)result);
1075 static PyObject *_wrap_Display_shape(PyObject *self, PyObject *args) {
1076 PyObject *resultobj;
1077 otk::Display *arg1 = (otk::Display *) 0 ;
1079 PyObject * obj0 = 0 ;
1081 if(!PyArg_ParseTuple(args,(char *)"O:Display_shape",&obj0)) goto fail;
1082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1083 result = (bool)((otk::Display const *)arg1)->shape();
1085 resultobj = PyInt_FromLong((long)result);
1092 static PyObject *_wrap_Display_shapeEventBase(PyObject *self, PyObject *args) {
1093 PyObject *resultobj;
1094 otk::Display *arg1 = (otk::Display *) 0 ;
1096 PyObject * obj0 = 0 ;
1098 if(!PyArg_ParseTuple(args,(char *)"O:Display_shapeEventBase",&obj0)) goto fail;
1099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1100 result = (int)((otk::Display const *)arg1)->shapeEventBase();
1102 resultobj = PyInt_FromLong((long)result);
1109 static PyObject *_wrap_Display_xinerama(PyObject *self, PyObject *args) {
1110 PyObject *resultobj;
1111 otk::Display *arg1 = (otk::Display *) 0 ;
1113 PyObject * obj0 = 0 ;
1115 if(!PyArg_ParseTuple(args,(char *)"O:Display_xinerama",&obj0)) goto fail;
1116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1117 result = (bool)((otk::Display const *)arg1)->xinerama();
1119 resultobj = PyInt_FromLong((long)result);
1126 static PyObject *_wrap_Display_numLockMask(PyObject *self, PyObject *args) {
1127 PyObject *resultobj;
1128 otk::Display *arg1 = (otk::Display *) 0 ;
1129 unsigned int result;
1130 PyObject * obj0 = 0 ;
1132 if(!PyArg_ParseTuple(args,(char *)"O:Display_numLockMask",&obj0)) goto fail;
1133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1134 result = (unsigned int)((otk::Display const *)arg1)->numLockMask();
1136 resultobj = PyInt_FromLong((long)result);
1143 static PyObject *_wrap_Display_scrollLockMask(PyObject *self, PyObject *args) {
1144 PyObject *resultobj;
1145 otk::Display *arg1 = (otk::Display *) 0 ;
1146 unsigned int result;
1147 PyObject * obj0 = 0 ;
1149 if(!PyArg_ParseTuple(args,(char *)"O:Display_scrollLockMask",&obj0)) goto fail;
1150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1151 result = (unsigned int)((otk::Display const *)arg1)->scrollLockMask();
1153 resultobj = PyInt_FromLong((long)result);
1160 static PyObject *_wrap_Display___mul__(PyObject *self, PyObject *args) {
1161 PyObject *resultobj;
1162 otk::Display *arg1 = (otk::Display *) 0 ;
1164 PyObject * obj0 = 0 ;
1166 if(!PyArg_ParseTuple(args,(char *)"O:Display___mul__",&obj0)) goto fail;
1167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1168 result = (Display *)((otk::Display const *)arg1)->operator *();
1170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
1177 static PyObject *_wrap_Display_grab(PyObject *self, PyObject *args) {
1178 PyObject *resultobj;
1179 otk::Display *arg1 = (otk::Display *) 0 ;
1180 PyObject * obj0 = 0 ;
1182 if(!PyArg_ParseTuple(args,(char *)"O:Display_grab",&obj0)) goto fail;
1183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1186 Py_INCREF(Py_None); resultobj = Py_None;
1193 static PyObject *_wrap_Display_ungrab(PyObject *self, PyObject *args) {
1194 PyObject *resultobj;
1195 otk::Display *arg1 = (otk::Display *) 0 ;
1196 PyObject * obj0 = 0 ;
1198 if(!PyArg_ParseTuple(args,(char *)"O:Display_ungrab",&obj0)) goto fail;
1199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1202 Py_INCREF(Py_None); resultobj = Py_None;
1209 static PyObject *_wrap_Display_grabButton(PyObject *self, PyObject *args) {
1210 PyObject *resultobj;
1211 otk::Display *arg1 = (otk::Display *) 0 ;
1222 PyObject * obj0 = 0 ;
1223 PyObject * obj1 = 0 ;
1224 PyObject * obj2 = 0 ;
1225 PyObject * obj3 = 0 ;
1226 PyObject * obj4 = 0 ;
1227 PyObject * obj5 = 0 ;
1228 PyObject * obj8 = 0 ;
1229 PyObject * obj9 = 0 ;
1230 PyObject * obj10 = 0 ;
1232 if(!PyArg_ParseTuple(args,(char *)"OOOOOOiiOOO:Display_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&arg7,&arg8,&obj8,&obj9,&obj10)) goto fail;
1233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1234 arg2 = (unsigned int) PyInt_AsLong(obj1);
1235 if (PyErr_Occurred()) SWIG_fail;
1236 arg3 = (unsigned int) PyInt_AsLong(obj2);
1237 if (PyErr_Occurred()) SWIG_fail;
1238 arg4 = (Window) PyInt_AsLong(obj3);
1239 if (PyErr_Occurred()) SWIG_fail;
1240 arg5 = (bool) PyInt_AsLong(obj4);
1241 if (PyErr_Occurred()) SWIG_fail;
1242 arg6 = (unsigned int) PyInt_AsLong(obj5);
1243 if (PyErr_Occurred()) SWIG_fail;
1244 arg9 = (Window) PyInt_AsLong(obj8);
1245 if (PyErr_Occurred()) SWIG_fail;
1246 arg10 = (Cursor) PyInt_AsLong(obj9);
1247 if (PyErr_Occurred()) SWIG_fail;
1248 arg11 = (bool) PyInt_AsLong(obj10);
1249 if (PyErr_Occurred()) SWIG_fail;
1250 ((otk::Display const *)arg1)->grabButton(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
1252 Py_INCREF(Py_None); resultobj = Py_None;
1259 static PyObject *_wrap_Display_ungrabButton(PyObject *self, PyObject *args) {
1260 PyObject *resultobj;
1261 otk::Display *arg1 = (otk::Display *) 0 ;
1265 PyObject * obj0 = 0 ;
1266 PyObject * obj1 = 0 ;
1267 PyObject * obj2 = 0 ;
1268 PyObject * obj3 = 0 ;
1270 if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabButton",&obj0,&obj1,&obj2,&obj3)) goto fail;
1271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1272 arg2 = (unsigned int) PyInt_AsLong(obj1);
1273 if (PyErr_Occurred()) SWIG_fail;
1274 arg3 = (unsigned int) PyInt_AsLong(obj2);
1275 if (PyErr_Occurred()) SWIG_fail;
1276 arg4 = (Window) PyInt_AsLong(obj3);
1277 if (PyErr_Occurred()) SWIG_fail;
1278 ((otk::Display const *)arg1)->ungrabButton(arg2,arg3,arg4);
1280 Py_INCREF(Py_None); resultobj = Py_None;
1287 static PyObject *_wrap_Display_grabKey(PyObject *self, PyObject *args) {
1288 PyObject *resultobj;
1289 otk::Display *arg1 = (otk::Display *) 0 ;
1297 PyObject * obj0 = 0 ;
1298 PyObject * obj1 = 0 ;
1299 PyObject * obj2 = 0 ;
1300 PyObject * obj3 = 0 ;
1301 PyObject * obj4 = 0 ;
1302 PyObject * obj7 = 0 ;
1304 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiO:Display_grabKey",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7)) goto fail;
1305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1306 arg2 = (unsigned int) PyInt_AsLong(obj1);
1307 if (PyErr_Occurred()) SWIG_fail;
1308 arg3 = (unsigned int) PyInt_AsLong(obj2);
1309 if (PyErr_Occurred()) SWIG_fail;
1310 arg4 = (Window) PyInt_AsLong(obj3);
1311 if (PyErr_Occurred()) SWIG_fail;
1312 arg5 = (bool) PyInt_AsLong(obj4);
1313 if (PyErr_Occurred()) SWIG_fail;
1314 arg8 = (bool) PyInt_AsLong(obj7);
1315 if (PyErr_Occurred()) SWIG_fail;
1316 ((otk::Display const *)arg1)->grabKey(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1318 Py_INCREF(Py_None); resultobj = Py_None;
1325 static PyObject *_wrap_Display_ungrabKey(PyObject *self, PyObject *args) {
1326 PyObject *resultobj;
1327 otk::Display *arg1 = (otk::Display *) 0 ;
1331 PyObject * obj0 = 0 ;
1332 PyObject * obj1 = 0 ;
1333 PyObject * obj2 = 0 ;
1334 PyObject * obj3 = 0 ;
1336 if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabKey",&obj0,&obj1,&obj2,&obj3)) goto fail;
1337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1338 arg2 = (unsigned int) PyInt_AsLong(obj1);
1339 if (PyErr_Occurred()) SWIG_fail;
1340 arg3 = (unsigned int) PyInt_AsLong(obj2);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 arg4 = (Window) PyInt_AsLong(obj3);
1343 if (PyErr_Occurred()) SWIG_fail;
1344 ((otk::Display const *)arg1)->ungrabKey(arg2,arg3,arg4);
1346 Py_INCREF(Py_None); resultobj = Py_None;
1353 static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
1355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1356 SWIG_TypeClientData(SWIGTYPE_p_otk__Display, obj);
1358 return Py_BuildValue((char *)"");
1360 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
1361 PyObject *resultobj;
1364 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
1365 result = (otk::Point *)new otk::Point();
1367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1374 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
1375 PyObject *resultobj;
1380 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
1381 result = (otk::Point *)new otk::Point(arg1,arg2);
1383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1390 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
1395 argc = PyObject_Length(args);
1396 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
1397 argv[ii] = PyTuple_GetItem(args,ii);
1400 return _wrap_new_Point__SWIG_0(self,args);
1405 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
1409 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1412 return _wrap_new_Point__SWIG_1(self,args);
1417 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
1422 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
1423 PyObject *resultobj;
1424 otk::Point *arg1 = (otk::Point *) 0 ;
1426 PyObject * obj0 = 0 ;
1428 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
1429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1432 Py_INCREF(Py_None); resultobj = Py_None;
1439 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
1440 PyObject *resultobj;
1441 otk::Point *arg1 = (otk::Point *) 0 ;
1443 PyObject * obj0 = 0 ;
1445 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
1446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1447 result = (int)((otk::Point const *)arg1)->x();
1449 resultobj = PyInt_FromLong((long)result);
1456 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
1457 PyObject *resultobj;
1458 otk::Point *arg1 = (otk::Point *) 0 ;
1460 PyObject * obj0 = 0 ;
1462 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
1463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1466 Py_INCREF(Py_None); resultobj = Py_None;
1473 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
1474 PyObject *resultobj;
1475 otk::Point *arg1 = (otk::Point *) 0 ;
1477 PyObject * obj0 = 0 ;
1479 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
1480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1481 result = (int)((otk::Point const *)arg1)->y();
1483 resultobj = PyInt_FromLong((long)result);
1490 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
1491 PyObject *resultobj;
1492 otk::Point *arg1 = (otk::Point *) 0 ;
1495 PyObject * obj0 = 0 ;
1497 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
1498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1499 (arg1)->setPoint(arg2,arg3);
1501 Py_INCREF(Py_None); resultobj = Py_None;
1508 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
1510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1511 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
1513 return Py_BuildValue((char *)"");
1515 static PyObject *_wrap_Atoms_cardinal_set(PyObject *self, PyObject *args) {
1516 PyObject *resultobj;
1517 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1519 PyObject * obj0 = 0 ;
1520 PyObject * obj1 = 0 ;
1522 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_cardinal_set",&obj0,&obj1)) goto fail;
1523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1524 arg2 = (Atom) PyInt_AsLong(obj1);
1525 if (PyErr_Occurred()) SWIG_fail;
1526 if (arg1) (arg1)->cardinal = arg2;
1528 Py_INCREF(Py_None); resultobj = Py_None;
1535 static PyObject *_wrap_Atoms_cardinal_get(PyObject *self, PyObject *args) {
1536 PyObject *resultobj;
1537 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1539 PyObject * obj0 = 0 ;
1541 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_cardinal_get",&obj0)) goto fail;
1542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1543 result = (Atom) ((arg1)->cardinal);
1545 resultobj = PyInt_FromLong((long)result);
1552 static PyObject *_wrap_Atoms_window_set(PyObject *self, PyObject *args) {
1553 PyObject *resultobj;
1554 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1556 PyObject * obj0 = 0 ;
1557 PyObject * obj1 = 0 ;
1559 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_window_set",&obj0,&obj1)) goto fail;
1560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1561 arg2 = (Atom) PyInt_AsLong(obj1);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 if (arg1) (arg1)->window = arg2;
1565 Py_INCREF(Py_None); resultobj = Py_None;
1572 static PyObject *_wrap_Atoms_window_get(PyObject *self, PyObject *args) {
1573 PyObject *resultobj;
1574 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1576 PyObject * obj0 = 0 ;
1578 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_window_get",&obj0)) goto fail;
1579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1580 result = (Atom) ((arg1)->window);
1582 resultobj = PyInt_FromLong((long)result);
1589 static PyObject *_wrap_Atoms_pixmap_set(PyObject *self, PyObject *args) {
1590 PyObject *resultobj;
1591 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1593 PyObject * obj0 = 0 ;
1594 PyObject * obj1 = 0 ;
1596 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_pixmap_set",&obj0,&obj1)) goto fail;
1597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1598 arg2 = (Atom) PyInt_AsLong(obj1);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 if (arg1) (arg1)->pixmap = arg2;
1602 Py_INCREF(Py_None); resultobj = Py_None;
1609 static PyObject *_wrap_Atoms_pixmap_get(PyObject *self, PyObject *args) {
1610 PyObject *resultobj;
1611 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1613 PyObject * obj0 = 0 ;
1615 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_pixmap_get",&obj0)) goto fail;
1616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1617 result = (Atom) ((arg1)->pixmap);
1619 resultobj = PyInt_FromLong((long)result);
1626 static PyObject *_wrap_Atoms_atom_set(PyObject *self, PyObject *args) {
1627 PyObject *resultobj;
1628 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1630 PyObject * obj0 = 0 ;
1631 PyObject * obj1 = 0 ;
1633 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_atom_set",&obj0,&obj1)) goto fail;
1634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1635 arg2 = (Atom) PyInt_AsLong(obj1);
1636 if (PyErr_Occurred()) SWIG_fail;
1637 if (arg1) (arg1)->atom = arg2;
1639 Py_INCREF(Py_None); resultobj = Py_None;
1646 static PyObject *_wrap_Atoms_atom_get(PyObject *self, PyObject *args) {
1647 PyObject *resultobj;
1648 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1650 PyObject * obj0 = 0 ;
1652 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_atom_get",&obj0)) goto fail;
1653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1654 result = (Atom) ((arg1)->atom);
1656 resultobj = PyInt_FromLong((long)result);
1663 static PyObject *_wrap_Atoms_string_set(PyObject *self, PyObject *args) {
1664 PyObject *resultobj;
1665 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1667 PyObject * obj0 = 0 ;
1668 PyObject * obj1 = 0 ;
1670 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_string_set",&obj0,&obj1)) goto fail;
1671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1672 arg2 = (Atom) PyInt_AsLong(obj1);
1673 if (PyErr_Occurred()) SWIG_fail;
1674 if (arg1) (arg1)->string = arg2;
1676 Py_INCREF(Py_None); resultobj = Py_None;
1683 static PyObject *_wrap_Atoms_string_get(PyObject *self, PyObject *args) {
1684 PyObject *resultobj;
1685 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1687 PyObject * obj0 = 0 ;
1689 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_string_get",&obj0)) goto fail;
1690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1691 result = (Atom) ((arg1)->string);
1693 resultobj = PyInt_FromLong((long)result);
1700 static PyObject *_wrap_Atoms_utf8_set(PyObject *self, PyObject *args) {
1701 PyObject *resultobj;
1702 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1704 PyObject * obj0 = 0 ;
1705 PyObject * obj1 = 0 ;
1707 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_utf8_set",&obj0,&obj1)) goto fail;
1708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1709 arg2 = (Atom) PyInt_AsLong(obj1);
1710 if (PyErr_Occurred()) SWIG_fail;
1711 if (arg1) (arg1)->utf8 = arg2;
1713 Py_INCREF(Py_None); resultobj = Py_None;
1720 static PyObject *_wrap_Atoms_utf8_get(PyObject *self, PyObject *args) {
1721 PyObject *resultobj;
1722 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1724 PyObject * obj0 = 0 ;
1726 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_utf8_get",&obj0)) goto fail;
1727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1728 result = (Atom) ((arg1)->utf8);
1730 resultobj = PyInt_FromLong((long)result);
1737 static PyObject *_wrap_Atoms_openbox_pid_set(PyObject *self, PyObject *args) {
1738 PyObject *resultobj;
1739 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1741 PyObject * obj0 = 0 ;
1742 PyObject * obj1 = 0 ;
1744 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_pid_set",&obj0,&obj1)) goto fail;
1745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1746 arg2 = (Atom) PyInt_AsLong(obj1);
1747 if (PyErr_Occurred()) SWIG_fail;
1748 if (arg1) (arg1)->openbox_pid = arg2;
1750 Py_INCREF(Py_None); resultobj = Py_None;
1757 static PyObject *_wrap_Atoms_openbox_pid_get(PyObject *self, PyObject *args) {
1758 PyObject *resultobj;
1759 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1761 PyObject * obj0 = 0 ;
1763 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_pid_get",&obj0)) goto fail;
1764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1765 result = (Atom) ((arg1)->openbox_pid);
1767 resultobj = PyInt_FromLong((long)result);
1774 static PyObject *_wrap_Atoms_wm_colormap_windows_set(PyObject *self, PyObject *args) {
1775 PyObject *resultobj;
1776 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1778 PyObject * obj0 = 0 ;
1779 PyObject * obj1 = 0 ;
1781 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_colormap_windows_set",&obj0,&obj1)) goto fail;
1782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1783 arg2 = (Atom) PyInt_AsLong(obj1);
1784 if (PyErr_Occurred()) SWIG_fail;
1785 if (arg1) (arg1)->wm_colormap_windows = arg2;
1787 Py_INCREF(Py_None); resultobj = Py_None;
1794 static PyObject *_wrap_Atoms_wm_colormap_windows_get(PyObject *self, PyObject *args) {
1795 PyObject *resultobj;
1796 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1798 PyObject * obj0 = 0 ;
1800 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_colormap_windows_get",&obj0)) goto fail;
1801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1802 result = (Atom) ((arg1)->wm_colormap_windows);
1804 resultobj = PyInt_FromLong((long)result);
1811 static PyObject *_wrap_Atoms_wm_protocols_set(PyObject *self, PyObject *args) {
1812 PyObject *resultobj;
1813 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1815 PyObject * obj0 = 0 ;
1816 PyObject * obj1 = 0 ;
1818 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_protocols_set",&obj0,&obj1)) goto fail;
1819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1820 arg2 = (Atom) PyInt_AsLong(obj1);
1821 if (PyErr_Occurred()) SWIG_fail;
1822 if (arg1) (arg1)->wm_protocols = arg2;
1824 Py_INCREF(Py_None); resultobj = Py_None;
1831 static PyObject *_wrap_Atoms_wm_protocols_get(PyObject *self, PyObject *args) {
1832 PyObject *resultobj;
1833 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1835 PyObject * obj0 = 0 ;
1837 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_protocols_get",&obj0)) goto fail;
1838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1839 result = (Atom) ((arg1)->wm_protocols);
1841 resultobj = PyInt_FromLong((long)result);
1848 static PyObject *_wrap_Atoms_wm_state_set(PyObject *self, PyObject *args) {
1849 PyObject *resultobj;
1850 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1852 PyObject * obj0 = 0 ;
1853 PyObject * obj1 = 0 ;
1855 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_state_set",&obj0,&obj1)) goto fail;
1856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1857 arg2 = (Atom) PyInt_AsLong(obj1);
1858 if (PyErr_Occurred()) SWIG_fail;
1859 if (arg1) (arg1)->wm_state = arg2;
1861 Py_INCREF(Py_None); resultobj = Py_None;
1868 static PyObject *_wrap_Atoms_wm_state_get(PyObject *self, PyObject *args) {
1869 PyObject *resultobj;
1870 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1872 PyObject * obj0 = 0 ;
1874 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_state_get",&obj0)) goto fail;
1875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1876 result = (Atom) ((arg1)->wm_state);
1878 resultobj = PyInt_FromLong((long)result);
1885 static PyObject *_wrap_Atoms_wm_delete_window_set(PyObject *self, PyObject *args) {
1886 PyObject *resultobj;
1887 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1889 PyObject * obj0 = 0 ;
1890 PyObject * obj1 = 0 ;
1892 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_delete_window_set",&obj0,&obj1)) goto fail;
1893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1894 arg2 = (Atom) PyInt_AsLong(obj1);
1895 if (PyErr_Occurred()) SWIG_fail;
1896 if (arg1) (arg1)->wm_delete_window = arg2;
1898 Py_INCREF(Py_None); resultobj = Py_None;
1905 static PyObject *_wrap_Atoms_wm_delete_window_get(PyObject *self, PyObject *args) {
1906 PyObject *resultobj;
1907 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1909 PyObject * obj0 = 0 ;
1911 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_delete_window_get",&obj0)) goto fail;
1912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1913 result = (Atom) ((arg1)->wm_delete_window);
1915 resultobj = PyInt_FromLong((long)result);
1922 static PyObject *_wrap_Atoms_wm_take_focus_set(PyObject *self, PyObject *args) {
1923 PyObject *resultobj;
1924 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1926 PyObject * obj0 = 0 ;
1927 PyObject * obj1 = 0 ;
1929 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_take_focus_set",&obj0,&obj1)) goto fail;
1930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1931 arg2 = (Atom) PyInt_AsLong(obj1);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 if (arg1) (arg1)->wm_take_focus = arg2;
1935 Py_INCREF(Py_None); resultobj = Py_None;
1942 static PyObject *_wrap_Atoms_wm_take_focus_get(PyObject *self, PyObject *args) {
1943 PyObject *resultobj;
1944 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1946 PyObject * obj0 = 0 ;
1948 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_take_focus_get",&obj0)) goto fail;
1949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1950 result = (Atom) ((arg1)->wm_take_focus);
1952 resultobj = PyInt_FromLong((long)result);
1959 static PyObject *_wrap_Atoms_wm_change_state_set(PyObject *self, PyObject *args) {
1960 PyObject *resultobj;
1961 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1963 PyObject * obj0 = 0 ;
1964 PyObject * obj1 = 0 ;
1966 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_change_state_set",&obj0,&obj1)) goto fail;
1967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1968 arg2 = (Atom) PyInt_AsLong(obj1);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 if (arg1) (arg1)->wm_change_state = arg2;
1972 Py_INCREF(Py_None); resultobj = Py_None;
1979 static PyObject *_wrap_Atoms_wm_change_state_get(PyObject *self, PyObject *args) {
1980 PyObject *resultobj;
1981 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1983 PyObject * obj0 = 0 ;
1985 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_change_state_get",&obj0)) goto fail;
1986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1987 result = (Atom) ((arg1)->wm_change_state);
1989 resultobj = PyInt_FromLong((long)result);
1996 static PyObject *_wrap_Atoms_wm_name_set(PyObject *self, PyObject *args) {
1997 PyObject *resultobj;
1998 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2000 PyObject * obj0 = 0 ;
2001 PyObject * obj1 = 0 ;
2003 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_name_set",&obj0,&obj1)) goto fail;
2004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2005 arg2 = (Atom) PyInt_AsLong(obj1);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 if (arg1) (arg1)->wm_name = arg2;
2009 Py_INCREF(Py_None); resultobj = Py_None;
2016 static PyObject *_wrap_Atoms_wm_name_get(PyObject *self, PyObject *args) {
2017 PyObject *resultobj;
2018 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2020 PyObject * obj0 = 0 ;
2022 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_name_get",&obj0)) goto fail;
2023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2024 result = (Atom) ((arg1)->wm_name);
2026 resultobj = PyInt_FromLong((long)result);
2033 static PyObject *_wrap_Atoms_wm_icon_name_set(PyObject *self, PyObject *args) {
2034 PyObject *resultobj;
2035 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2037 PyObject * obj0 = 0 ;
2038 PyObject * obj1 = 0 ;
2040 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_icon_name_set",&obj0,&obj1)) goto fail;
2041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2042 arg2 = (Atom) PyInt_AsLong(obj1);
2043 if (PyErr_Occurred()) SWIG_fail;
2044 if (arg1) (arg1)->wm_icon_name = arg2;
2046 Py_INCREF(Py_None); resultobj = Py_None;
2053 static PyObject *_wrap_Atoms_wm_icon_name_get(PyObject *self, PyObject *args) {
2054 PyObject *resultobj;
2055 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2057 PyObject * obj0 = 0 ;
2059 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_icon_name_get",&obj0)) goto fail;
2060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2061 result = (Atom) ((arg1)->wm_icon_name);
2063 resultobj = PyInt_FromLong((long)result);
2070 static PyObject *_wrap_Atoms_wm_class_set(PyObject *self, PyObject *args) {
2071 PyObject *resultobj;
2072 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2074 PyObject * obj0 = 0 ;
2075 PyObject * obj1 = 0 ;
2077 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_class_set",&obj0,&obj1)) goto fail;
2078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2079 arg2 = (Atom) PyInt_AsLong(obj1);
2080 if (PyErr_Occurred()) SWIG_fail;
2081 if (arg1) (arg1)->wm_class = arg2;
2083 Py_INCREF(Py_None); resultobj = Py_None;
2090 static PyObject *_wrap_Atoms_wm_class_get(PyObject *self, PyObject *args) {
2091 PyObject *resultobj;
2092 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2094 PyObject * obj0 = 0 ;
2096 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_class_get",&obj0)) goto fail;
2097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2098 result = (Atom) ((arg1)->wm_class);
2100 resultobj = PyInt_FromLong((long)result);
2107 static PyObject *_wrap_Atoms_wm_window_role_set(PyObject *self, PyObject *args) {
2108 PyObject *resultobj;
2109 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2111 PyObject * obj0 = 0 ;
2112 PyObject * obj1 = 0 ;
2114 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_window_role_set",&obj0,&obj1)) goto fail;
2115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2116 arg2 = (Atom) PyInt_AsLong(obj1);
2117 if (PyErr_Occurred()) SWIG_fail;
2118 if (arg1) (arg1)->wm_window_role = arg2;
2120 Py_INCREF(Py_None); resultobj = Py_None;
2127 static PyObject *_wrap_Atoms_wm_window_role_get(PyObject *self, PyObject *args) {
2128 PyObject *resultobj;
2129 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2131 PyObject * obj0 = 0 ;
2133 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_window_role_get",&obj0)) goto fail;
2134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2135 result = (Atom) ((arg1)->wm_window_role);
2137 resultobj = PyInt_FromLong((long)result);
2144 static PyObject *_wrap_Atoms_motif_wm_hints_set(PyObject *self, PyObject *args) {
2145 PyObject *resultobj;
2146 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2148 PyObject * obj0 = 0 ;
2149 PyObject * obj1 = 0 ;
2151 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_motif_wm_hints_set",&obj0,&obj1)) goto fail;
2152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2153 arg2 = (Atom) PyInt_AsLong(obj1);
2154 if (PyErr_Occurred()) SWIG_fail;
2155 if (arg1) (arg1)->motif_wm_hints = arg2;
2157 Py_INCREF(Py_None); resultobj = Py_None;
2164 static PyObject *_wrap_Atoms_motif_wm_hints_get(PyObject *self, PyObject *args) {
2165 PyObject *resultobj;
2166 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2168 PyObject * obj0 = 0 ;
2170 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_motif_wm_hints_get",&obj0)) goto fail;
2171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2172 result = (Atom) ((arg1)->motif_wm_hints);
2174 resultobj = PyInt_FromLong((long)result);
2181 static PyObject *_wrap_Atoms_openbox_show_root_menu_set(PyObject *self, PyObject *args) {
2182 PyObject *resultobj;
2183 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2185 PyObject * obj0 = 0 ;
2186 PyObject * obj1 = 0 ;
2188 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_root_menu_set",&obj0,&obj1)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2190 arg2 = (Atom) PyInt_AsLong(obj1);
2191 if (PyErr_Occurred()) SWIG_fail;
2192 if (arg1) (arg1)->openbox_show_root_menu = arg2;
2194 Py_INCREF(Py_None); resultobj = Py_None;
2201 static PyObject *_wrap_Atoms_openbox_show_root_menu_get(PyObject *self, PyObject *args) {
2202 PyObject *resultobj;
2203 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2205 PyObject * obj0 = 0 ;
2207 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_root_menu_get",&obj0)) goto fail;
2208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2209 result = (Atom) ((arg1)->openbox_show_root_menu);
2211 resultobj = PyInt_FromLong((long)result);
2218 static PyObject *_wrap_Atoms_openbox_show_workspace_menu_set(PyObject *self, PyObject *args) {
2219 PyObject *resultobj;
2220 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2222 PyObject * obj0 = 0 ;
2223 PyObject * obj1 = 0 ;
2225 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_workspace_menu_set",&obj0,&obj1)) goto fail;
2226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2227 arg2 = (Atom) PyInt_AsLong(obj1);
2228 if (PyErr_Occurred()) SWIG_fail;
2229 if (arg1) (arg1)->openbox_show_workspace_menu = arg2;
2231 Py_INCREF(Py_None); resultobj = Py_None;
2238 static PyObject *_wrap_Atoms_openbox_show_workspace_menu_get(PyObject *self, PyObject *args) {
2239 PyObject *resultobj;
2240 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2242 PyObject * obj0 = 0 ;
2244 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_workspace_menu_get",&obj0)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2246 result = (Atom) ((arg1)->openbox_show_workspace_menu);
2248 resultobj = PyInt_FromLong((long)result);
2255 static PyObject *_wrap_Atoms_net_supported_set(PyObject *self, PyObject *args) {
2256 PyObject *resultobj;
2257 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2259 PyObject * obj0 = 0 ;
2260 PyObject * obj1 = 0 ;
2262 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supported_set",&obj0,&obj1)) goto fail;
2263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2264 arg2 = (Atom) PyInt_AsLong(obj1);
2265 if (PyErr_Occurred()) SWIG_fail;
2266 if (arg1) (arg1)->net_supported = arg2;
2268 Py_INCREF(Py_None); resultobj = Py_None;
2275 static PyObject *_wrap_Atoms_net_supported_get(PyObject *self, PyObject *args) {
2276 PyObject *resultobj;
2277 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2279 PyObject * obj0 = 0 ;
2281 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supported_get",&obj0)) goto fail;
2282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2283 result = (Atom) ((arg1)->net_supported);
2285 resultobj = PyInt_FromLong((long)result);
2292 static PyObject *_wrap_Atoms_net_client_list_set(PyObject *self, PyObject *args) {
2293 PyObject *resultobj;
2294 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2296 PyObject * obj0 = 0 ;
2297 PyObject * obj1 = 0 ;
2299 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_set",&obj0,&obj1)) goto fail;
2300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2301 arg2 = (Atom) PyInt_AsLong(obj1);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 if (arg1) (arg1)->net_client_list = arg2;
2305 Py_INCREF(Py_None); resultobj = Py_None;
2312 static PyObject *_wrap_Atoms_net_client_list_get(PyObject *self, PyObject *args) {
2313 PyObject *resultobj;
2314 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2316 PyObject * obj0 = 0 ;
2318 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_get",&obj0)) goto fail;
2319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2320 result = (Atom) ((arg1)->net_client_list);
2322 resultobj = PyInt_FromLong((long)result);
2329 static PyObject *_wrap_Atoms_net_client_list_stacking_set(PyObject *self, PyObject *args) {
2330 PyObject *resultobj;
2331 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2333 PyObject * obj0 = 0 ;
2334 PyObject * obj1 = 0 ;
2336 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_stacking_set",&obj0,&obj1)) goto fail;
2337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2338 arg2 = (Atom) PyInt_AsLong(obj1);
2339 if (PyErr_Occurred()) SWIG_fail;
2340 if (arg1) (arg1)->net_client_list_stacking = arg2;
2342 Py_INCREF(Py_None); resultobj = Py_None;
2349 static PyObject *_wrap_Atoms_net_client_list_stacking_get(PyObject *self, PyObject *args) {
2350 PyObject *resultobj;
2351 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2353 PyObject * obj0 = 0 ;
2355 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_stacking_get",&obj0)) goto fail;
2356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2357 result = (Atom) ((arg1)->net_client_list_stacking);
2359 resultobj = PyInt_FromLong((long)result);
2366 static PyObject *_wrap_Atoms_net_number_of_desktops_set(PyObject *self, PyObject *args) {
2367 PyObject *resultobj;
2368 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2370 PyObject * obj0 = 0 ;
2371 PyObject * obj1 = 0 ;
2373 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_number_of_desktops_set",&obj0,&obj1)) goto fail;
2374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2375 arg2 = (Atom) PyInt_AsLong(obj1);
2376 if (PyErr_Occurred()) SWIG_fail;
2377 if (arg1) (arg1)->net_number_of_desktops = arg2;
2379 Py_INCREF(Py_None); resultobj = Py_None;
2386 static PyObject *_wrap_Atoms_net_number_of_desktops_get(PyObject *self, PyObject *args) {
2387 PyObject *resultobj;
2388 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2390 PyObject * obj0 = 0 ;
2392 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_number_of_desktops_get",&obj0)) goto fail;
2393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2394 result = (Atom) ((arg1)->net_number_of_desktops);
2396 resultobj = PyInt_FromLong((long)result);
2403 static PyObject *_wrap_Atoms_net_desktop_geometry_set(PyObject *self, PyObject *args) {
2404 PyObject *resultobj;
2405 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2407 PyObject * obj0 = 0 ;
2408 PyObject * obj1 = 0 ;
2410 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_geometry_set",&obj0,&obj1)) goto fail;
2411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2412 arg2 = (Atom) PyInt_AsLong(obj1);
2413 if (PyErr_Occurred()) SWIG_fail;
2414 if (arg1) (arg1)->net_desktop_geometry = arg2;
2416 Py_INCREF(Py_None); resultobj = Py_None;
2423 static PyObject *_wrap_Atoms_net_desktop_geometry_get(PyObject *self, PyObject *args) {
2424 PyObject *resultobj;
2425 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2427 PyObject * obj0 = 0 ;
2429 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_geometry_get",&obj0)) goto fail;
2430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2431 result = (Atom) ((arg1)->net_desktop_geometry);
2433 resultobj = PyInt_FromLong((long)result);
2440 static PyObject *_wrap_Atoms_net_desktop_viewport_set(PyObject *self, PyObject *args) {
2441 PyObject *resultobj;
2442 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2444 PyObject * obj0 = 0 ;
2445 PyObject * obj1 = 0 ;
2447 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_viewport_set",&obj0,&obj1)) goto fail;
2448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2449 arg2 = (Atom) PyInt_AsLong(obj1);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 if (arg1) (arg1)->net_desktop_viewport = arg2;
2453 Py_INCREF(Py_None); resultobj = Py_None;
2460 static PyObject *_wrap_Atoms_net_desktop_viewport_get(PyObject *self, PyObject *args) {
2461 PyObject *resultobj;
2462 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2464 PyObject * obj0 = 0 ;
2466 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_viewport_get",&obj0)) goto fail;
2467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2468 result = (Atom) ((arg1)->net_desktop_viewport);
2470 resultobj = PyInt_FromLong((long)result);
2477 static PyObject *_wrap_Atoms_net_current_desktop_set(PyObject *self, PyObject *args) {
2478 PyObject *resultobj;
2479 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2481 PyObject * obj0 = 0 ;
2482 PyObject * obj1 = 0 ;
2484 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_current_desktop_set",&obj0,&obj1)) goto fail;
2485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2486 arg2 = (Atom) PyInt_AsLong(obj1);
2487 if (PyErr_Occurred()) SWIG_fail;
2488 if (arg1) (arg1)->net_current_desktop = arg2;
2490 Py_INCREF(Py_None); resultobj = Py_None;
2497 static PyObject *_wrap_Atoms_net_current_desktop_get(PyObject *self, PyObject *args) {
2498 PyObject *resultobj;
2499 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2501 PyObject * obj0 = 0 ;
2503 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_current_desktop_get",&obj0)) goto fail;
2504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2505 result = (Atom) ((arg1)->net_current_desktop);
2507 resultobj = PyInt_FromLong((long)result);
2514 static PyObject *_wrap_Atoms_net_desktop_names_set(PyObject *self, PyObject *args) {
2515 PyObject *resultobj;
2516 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2518 PyObject * obj0 = 0 ;
2519 PyObject * obj1 = 0 ;
2521 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_names_set",&obj0,&obj1)) goto fail;
2522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2523 arg2 = (Atom) PyInt_AsLong(obj1);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 if (arg1) (arg1)->net_desktop_names = arg2;
2527 Py_INCREF(Py_None); resultobj = Py_None;
2534 static PyObject *_wrap_Atoms_net_desktop_names_get(PyObject *self, PyObject *args) {
2535 PyObject *resultobj;
2536 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2538 PyObject * obj0 = 0 ;
2540 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_names_get",&obj0)) goto fail;
2541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2542 result = (Atom) ((arg1)->net_desktop_names);
2544 resultobj = PyInt_FromLong((long)result);
2551 static PyObject *_wrap_Atoms_net_active_window_set(PyObject *self, PyObject *args) {
2552 PyObject *resultobj;
2553 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2555 PyObject * obj0 = 0 ;
2556 PyObject * obj1 = 0 ;
2558 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_active_window_set",&obj0,&obj1)) goto fail;
2559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2560 arg2 = (Atom) PyInt_AsLong(obj1);
2561 if (PyErr_Occurred()) SWIG_fail;
2562 if (arg1) (arg1)->net_active_window = arg2;
2564 Py_INCREF(Py_None); resultobj = Py_None;
2571 static PyObject *_wrap_Atoms_net_active_window_get(PyObject *self, PyObject *args) {
2572 PyObject *resultobj;
2573 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2575 PyObject * obj0 = 0 ;
2577 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_active_window_get",&obj0)) goto fail;
2578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2579 result = (Atom) ((arg1)->net_active_window);
2581 resultobj = PyInt_FromLong((long)result);
2588 static PyObject *_wrap_Atoms_net_workarea_set(PyObject *self, PyObject *args) {
2589 PyObject *resultobj;
2590 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2592 PyObject * obj0 = 0 ;
2593 PyObject * obj1 = 0 ;
2595 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_workarea_set",&obj0,&obj1)) goto fail;
2596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2597 arg2 = (Atom) PyInt_AsLong(obj1);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 if (arg1) (arg1)->net_workarea = arg2;
2601 Py_INCREF(Py_None); resultobj = Py_None;
2608 static PyObject *_wrap_Atoms_net_workarea_get(PyObject *self, PyObject *args) {
2609 PyObject *resultobj;
2610 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2612 PyObject * obj0 = 0 ;
2614 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_workarea_get",&obj0)) goto fail;
2615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2616 result = (Atom) ((arg1)->net_workarea);
2618 resultobj = PyInt_FromLong((long)result);
2625 static PyObject *_wrap_Atoms_net_supporting_wm_check_set(PyObject *self, PyObject *args) {
2626 PyObject *resultobj;
2627 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2629 PyObject * obj0 = 0 ;
2630 PyObject * obj1 = 0 ;
2632 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supporting_wm_check_set",&obj0,&obj1)) goto fail;
2633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2634 arg2 = (Atom) PyInt_AsLong(obj1);
2635 if (PyErr_Occurred()) SWIG_fail;
2636 if (arg1) (arg1)->net_supporting_wm_check = arg2;
2638 Py_INCREF(Py_None); resultobj = Py_None;
2645 static PyObject *_wrap_Atoms_net_supporting_wm_check_get(PyObject *self, PyObject *args) {
2646 PyObject *resultobj;
2647 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2649 PyObject * obj0 = 0 ;
2651 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supporting_wm_check_get",&obj0)) goto fail;
2652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2653 result = (Atom) ((arg1)->net_supporting_wm_check);
2655 resultobj = PyInt_FromLong((long)result);
2662 static PyObject *_wrap_Atoms_net_close_window_set(PyObject *self, PyObject *args) {
2663 PyObject *resultobj;
2664 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2666 PyObject * obj0 = 0 ;
2667 PyObject * obj1 = 0 ;
2669 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_close_window_set",&obj0,&obj1)) goto fail;
2670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2671 arg2 = (Atom) PyInt_AsLong(obj1);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 if (arg1) (arg1)->net_close_window = arg2;
2675 Py_INCREF(Py_None); resultobj = Py_None;
2682 static PyObject *_wrap_Atoms_net_close_window_get(PyObject *self, PyObject *args) {
2683 PyObject *resultobj;
2684 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2686 PyObject * obj0 = 0 ;
2688 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_close_window_get",&obj0)) goto fail;
2689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2690 result = (Atom) ((arg1)->net_close_window);
2692 resultobj = PyInt_FromLong((long)result);
2699 static PyObject *_wrap_Atoms_net_wm_moveresize_set(PyObject *self, PyObject *args) {
2700 PyObject *resultobj;
2701 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2703 PyObject * obj0 = 0 ;
2704 PyObject * obj1 = 0 ;
2706 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_set",&obj0,&obj1)) goto fail;
2707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2708 arg2 = (Atom) PyInt_AsLong(obj1);
2709 if (PyErr_Occurred()) SWIG_fail;
2710 if (arg1) (arg1)->net_wm_moveresize = arg2;
2712 Py_INCREF(Py_None); resultobj = Py_None;
2719 static PyObject *_wrap_Atoms_net_wm_moveresize_get(PyObject *self, PyObject *args) {
2720 PyObject *resultobj;
2721 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2723 PyObject * obj0 = 0 ;
2725 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_get",&obj0)) goto fail;
2726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2727 result = (Atom) ((arg1)->net_wm_moveresize);
2729 resultobj = PyInt_FromLong((long)result);
2736 static PyObject *_wrap_Atoms_net_wm_name_set(PyObject *self, PyObject *args) {
2737 PyObject *resultobj;
2738 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2740 PyObject * obj0 = 0 ;
2741 PyObject * obj1 = 0 ;
2743 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_name_set",&obj0,&obj1)) goto fail;
2744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2745 arg2 = (Atom) PyInt_AsLong(obj1);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 if (arg1) (arg1)->net_wm_name = arg2;
2749 Py_INCREF(Py_None); resultobj = Py_None;
2756 static PyObject *_wrap_Atoms_net_wm_name_get(PyObject *self, PyObject *args) {
2757 PyObject *resultobj;
2758 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2760 PyObject * obj0 = 0 ;
2762 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_name_get",&obj0)) goto fail;
2763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2764 result = (Atom) ((arg1)->net_wm_name);
2766 resultobj = PyInt_FromLong((long)result);
2773 static PyObject *_wrap_Atoms_net_wm_visible_name_set(PyObject *self, PyObject *args) {
2774 PyObject *resultobj;
2775 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2777 PyObject * obj0 = 0 ;
2778 PyObject * obj1 = 0 ;
2780 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_name_set",&obj0,&obj1)) goto fail;
2781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2782 arg2 = (Atom) PyInt_AsLong(obj1);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 if (arg1) (arg1)->net_wm_visible_name = arg2;
2786 Py_INCREF(Py_None); resultobj = Py_None;
2793 static PyObject *_wrap_Atoms_net_wm_visible_name_get(PyObject *self, PyObject *args) {
2794 PyObject *resultobj;
2795 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2797 PyObject * obj0 = 0 ;
2799 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_name_get",&obj0)) goto fail;
2800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2801 result = (Atom) ((arg1)->net_wm_visible_name);
2803 resultobj = PyInt_FromLong((long)result);
2810 static PyObject *_wrap_Atoms_net_wm_icon_name_set(PyObject *self, PyObject *args) {
2811 PyObject *resultobj;
2812 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2814 PyObject * obj0 = 0 ;
2815 PyObject * obj1 = 0 ;
2817 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_icon_name_set",&obj0,&obj1)) goto fail;
2818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2819 arg2 = (Atom) PyInt_AsLong(obj1);
2820 if (PyErr_Occurred()) SWIG_fail;
2821 if (arg1) (arg1)->net_wm_icon_name = arg2;
2823 Py_INCREF(Py_None); resultobj = Py_None;
2830 static PyObject *_wrap_Atoms_net_wm_icon_name_get(PyObject *self, PyObject *args) {
2831 PyObject *resultobj;
2832 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2834 PyObject * obj0 = 0 ;
2836 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_icon_name_get",&obj0)) goto fail;
2837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2838 result = (Atom) ((arg1)->net_wm_icon_name);
2840 resultobj = PyInt_FromLong((long)result);
2847 static PyObject *_wrap_Atoms_net_wm_visible_icon_name_set(PyObject *self, PyObject *args) {
2848 PyObject *resultobj;
2849 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2851 PyObject * obj0 = 0 ;
2852 PyObject * obj1 = 0 ;
2854 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_icon_name_set",&obj0,&obj1)) goto fail;
2855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2856 arg2 = (Atom) PyInt_AsLong(obj1);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 if (arg1) (arg1)->net_wm_visible_icon_name = arg2;
2860 Py_INCREF(Py_None); resultobj = Py_None;
2867 static PyObject *_wrap_Atoms_net_wm_visible_icon_name_get(PyObject *self, PyObject *args) {
2868 PyObject *resultobj;
2869 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2871 PyObject * obj0 = 0 ;
2873 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_icon_name_get",&obj0)) goto fail;
2874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2875 result = (Atom) ((arg1)->net_wm_visible_icon_name);
2877 resultobj = PyInt_FromLong((long)result);
2884 static PyObject *_wrap_Atoms_net_wm_desktop_set(PyObject *self, PyObject *args) {
2885 PyObject *resultobj;
2886 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2888 PyObject * obj0 = 0 ;
2889 PyObject * obj1 = 0 ;
2891 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_desktop_set",&obj0,&obj1)) goto fail;
2892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2893 arg2 = (Atom) PyInt_AsLong(obj1);
2894 if (PyErr_Occurred()) SWIG_fail;
2895 if (arg1) (arg1)->net_wm_desktop = arg2;
2897 Py_INCREF(Py_None); resultobj = Py_None;
2904 static PyObject *_wrap_Atoms_net_wm_desktop_get(PyObject *self, PyObject *args) {
2905 PyObject *resultobj;
2906 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2908 PyObject * obj0 = 0 ;
2910 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_desktop_get",&obj0)) goto fail;
2911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2912 result = (Atom) ((arg1)->net_wm_desktop);
2914 resultobj = PyInt_FromLong((long)result);
2921 static PyObject *_wrap_Atoms_net_wm_window_type_set(PyObject *self, PyObject *args) {
2922 PyObject *resultobj;
2923 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2925 PyObject * obj0 = 0 ;
2926 PyObject * obj1 = 0 ;
2928 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_set",&obj0,&obj1)) goto fail;
2929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2930 arg2 = (Atom) PyInt_AsLong(obj1);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 if (arg1) (arg1)->net_wm_window_type = arg2;
2934 Py_INCREF(Py_None); resultobj = Py_None;
2941 static PyObject *_wrap_Atoms_net_wm_window_type_get(PyObject *self, PyObject *args) {
2942 PyObject *resultobj;
2943 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2945 PyObject * obj0 = 0 ;
2947 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_get",&obj0)) goto fail;
2948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2949 result = (Atom) ((arg1)->net_wm_window_type);
2951 resultobj = PyInt_FromLong((long)result);
2958 static PyObject *_wrap_Atoms_net_wm_state_set(PyObject *self, PyObject *args) {
2959 PyObject *resultobj;
2960 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2962 PyObject * obj0 = 0 ;
2963 PyObject * obj1 = 0 ;
2965 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_set",&obj0,&obj1)) goto fail;
2966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2967 arg2 = (Atom) PyInt_AsLong(obj1);
2968 if (PyErr_Occurred()) SWIG_fail;
2969 if (arg1) (arg1)->net_wm_state = arg2;
2971 Py_INCREF(Py_None); resultobj = Py_None;
2978 static PyObject *_wrap_Atoms_net_wm_state_get(PyObject *self, PyObject *args) {
2979 PyObject *resultobj;
2980 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2982 PyObject * obj0 = 0 ;
2984 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_get",&obj0)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2986 result = (Atom) ((arg1)->net_wm_state);
2988 resultobj = PyInt_FromLong((long)result);
2995 static PyObject *_wrap_Atoms_net_wm_strut_set(PyObject *self, PyObject *args) {
2996 PyObject *resultobj;
2997 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2999 PyObject * obj0 = 0 ;
3000 PyObject * obj1 = 0 ;
3002 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_strut_set",&obj0,&obj1)) goto fail;
3003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3004 arg2 = (Atom) PyInt_AsLong(obj1);
3005 if (PyErr_Occurred()) SWIG_fail;
3006 if (arg1) (arg1)->net_wm_strut = arg2;
3008 Py_INCREF(Py_None); resultobj = Py_None;
3015 static PyObject *_wrap_Atoms_net_wm_strut_get(PyObject *self, PyObject *args) {
3016 PyObject *resultobj;
3017 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3019 PyObject * obj0 = 0 ;
3021 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_strut_get",&obj0)) goto fail;
3022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3023 result = (Atom) ((arg1)->net_wm_strut);
3025 resultobj = PyInt_FromLong((long)result);
3032 static PyObject *_wrap_Atoms_net_wm_allowed_actions_set(PyObject *self, PyObject *args) {
3033 PyObject *resultobj;
3034 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3036 PyObject * obj0 = 0 ;
3037 PyObject * obj1 = 0 ;
3039 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_allowed_actions_set",&obj0,&obj1)) goto fail;
3040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3041 arg2 = (Atom) PyInt_AsLong(obj1);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 if (arg1) (arg1)->net_wm_allowed_actions = arg2;
3045 Py_INCREF(Py_None); resultobj = Py_None;
3052 static PyObject *_wrap_Atoms_net_wm_allowed_actions_get(PyObject *self, PyObject *args) {
3053 PyObject *resultobj;
3054 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3056 PyObject * obj0 = 0 ;
3058 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_allowed_actions_get",&obj0)) goto fail;
3059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3060 result = (Atom) ((arg1)->net_wm_allowed_actions);
3062 resultobj = PyInt_FromLong((long)result);
3069 static PyObject *_wrap_Atoms_net_wm_window_type_desktop_set(PyObject *self, PyObject *args) {
3070 PyObject *resultobj;
3071 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3073 PyObject * obj0 = 0 ;
3074 PyObject * obj1 = 0 ;
3076 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_desktop_set",&obj0,&obj1)) goto fail;
3077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3078 arg2 = (Atom) PyInt_AsLong(obj1);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 if (arg1) (arg1)->net_wm_window_type_desktop = arg2;
3082 Py_INCREF(Py_None); resultobj = Py_None;
3089 static PyObject *_wrap_Atoms_net_wm_window_type_desktop_get(PyObject *self, PyObject *args) {
3090 PyObject *resultobj;
3091 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3093 PyObject * obj0 = 0 ;
3095 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_desktop_get",&obj0)) goto fail;
3096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3097 result = (Atom) ((arg1)->net_wm_window_type_desktop);
3099 resultobj = PyInt_FromLong((long)result);
3106 static PyObject *_wrap_Atoms_net_wm_window_type_dock_set(PyObject *self, PyObject *args) {
3107 PyObject *resultobj;
3108 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3110 PyObject * obj0 = 0 ;
3111 PyObject * obj1 = 0 ;
3113 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dock_set",&obj0,&obj1)) goto fail;
3114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3115 arg2 = (Atom) PyInt_AsLong(obj1);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 if (arg1) (arg1)->net_wm_window_type_dock = arg2;
3119 Py_INCREF(Py_None); resultobj = Py_None;
3126 static PyObject *_wrap_Atoms_net_wm_window_type_dock_get(PyObject *self, PyObject *args) {
3127 PyObject *resultobj;
3128 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3130 PyObject * obj0 = 0 ;
3132 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dock_get",&obj0)) goto fail;
3133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3134 result = (Atom) ((arg1)->net_wm_window_type_dock);
3136 resultobj = PyInt_FromLong((long)result);
3143 static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_set(PyObject *self, PyObject *args) {
3144 PyObject *resultobj;
3145 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3147 PyObject * obj0 = 0 ;
3148 PyObject * obj1 = 0 ;
3150 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_toolbar_set",&obj0,&obj1)) goto fail;
3151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3152 arg2 = (Atom) PyInt_AsLong(obj1);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 if (arg1) (arg1)->net_wm_window_type_toolbar = arg2;
3156 Py_INCREF(Py_None); resultobj = Py_None;
3163 static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_get(PyObject *self, PyObject *args) {
3164 PyObject *resultobj;
3165 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3167 PyObject * obj0 = 0 ;
3169 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_toolbar_get",&obj0)) goto fail;
3170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3171 result = (Atom) ((arg1)->net_wm_window_type_toolbar);
3173 resultobj = PyInt_FromLong((long)result);
3180 static PyObject *_wrap_Atoms_net_wm_window_type_menu_set(PyObject *self, PyObject *args) {
3181 PyObject *resultobj;
3182 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3184 PyObject * obj0 = 0 ;
3185 PyObject * obj1 = 0 ;
3187 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_menu_set",&obj0,&obj1)) goto fail;
3188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3189 arg2 = (Atom) PyInt_AsLong(obj1);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 if (arg1) (arg1)->net_wm_window_type_menu = arg2;
3193 Py_INCREF(Py_None); resultobj = Py_None;
3200 static PyObject *_wrap_Atoms_net_wm_window_type_menu_get(PyObject *self, PyObject *args) {
3201 PyObject *resultobj;
3202 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3204 PyObject * obj0 = 0 ;
3206 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_menu_get",&obj0)) goto fail;
3207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3208 result = (Atom) ((arg1)->net_wm_window_type_menu);
3210 resultobj = PyInt_FromLong((long)result);
3217 static PyObject *_wrap_Atoms_net_wm_window_type_utility_set(PyObject *self, PyObject *args) {
3218 PyObject *resultobj;
3219 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3221 PyObject * obj0 = 0 ;
3222 PyObject * obj1 = 0 ;
3224 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_utility_set",&obj0,&obj1)) goto fail;
3225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3226 arg2 = (Atom) PyInt_AsLong(obj1);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 if (arg1) (arg1)->net_wm_window_type_utility = arg2;
3230 Py_INCREF(Py_None); resultobj = Py_None;
3237 static PyObject *_wrap_Atoms_net_wm_window_type_utility_get(PyObject *self, PyObject *args) {
3238 PyObject *resultobj;
3239 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3241 PyObject * obj0 = 0 ;
3243 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_utility_get",&obj0)) goto fail;
3244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3245 result = (Atom) ((arg1)->net_wm_window_type_utility);
3247 resultobj = PyInt_FromLong((long)result);
3254 static PyObject *_wrap_Atoms_net_wm_window_type_splash_set(PyObject *self, PyObject *args) {
3255 PyObject *resultobj;
3256 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3258 PyObject * obj0 = 0 ;
3259 PyObject * obj1 = 0 ;
3261 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_splash_set",&obj0,&obj1)) goto fail;
3262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3263 arg2 = (Atom) PyInt_AsLong(obj1);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 if (arg1) (arg1)->net_wm_window_type_splash = arg2;
3267 Py_INCREF(Py_None); resultobj = Py_None;
3274 static PyObject *_wrap_Atoms_net_wm_window_type_splash_get(PyObject *self, PyObject *args) {
3275 PyObject *resultobj;
3276 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3278 PyObject * obj0 = 0 ;
3280 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_splash_get",&obj0)) goto fail;
3281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3282 result = (Atom) ((arg1)->net_wm_window_type_splash);
3284 resultobj = PyInt_FromLong((long)result);
3291 static PyObject *_wrap_Atoms_net_wm_window_type_dialog_set(PyObject *self, PyObject *args) {
3292 PyObject *resultobj;
3293 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3295 PyObject * obj0 = 0 ;
3296 PyObject * obj1 = 0 ;
3298 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dialog_set",&obj0,&obj1)) goto fail;
3299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3300 arg2 = (Atom) PyInt_AsLong(obj1);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 if (arg1) (arg1)->net_wm_window_type_dialog = arg2;
3304 Py_INCREF(Py_None); resultobj = Py_None;
3311 static PyObject *_wrap_Atoms_net_wm_window_type_dialog_get(PyObject *self, PyObject *args) {
3312 PyObject *resultobj;
3313 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3315 PyObject * obj0 = 0 ;
3317 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dialog_get",&obj0)) goto fail;
3318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3319 result = (Atom) ((arg1)->net_wm_window_type_dialog);
3321 resultobj = PyInt_FromLong((long)result);
3328 static PyObject *_wrap_Atoms_net_wm_window_type_normal_set(PyObject *self, PyObject *args) {
3329 PyObject *resultobj;
3330 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3332 PyObject * obj0 = 0 ;
3333 PyObject * obj1 = 0 ;
3335 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_normal_set",&obj0,&obj1)) goto fail;
3336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3337 arg2 = (Atom) PyInt_AsLong(obj1);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 if (arg1) (arg1)->net_wm_window_type_normal = arg2;
3341 Py_INCREF(Py_None); resultobj = Py_None;
3348 static PyObject *_wrap_Atoms_net_wm_window_type_normal_get(PyObject *self, PyObject *args) {
3349 PyObject *resultobj;
3350 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3352 PyObject * obj0 = 0 ;
3354 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_normal_get",&obj0)) goto fail;
3355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3356 result = (Atom) ((arg1)->net_wm_window_type_normal);
3358 resultobj = PyInt_FromLong((long)result);
3365 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_set(PyObject *self, PyObject *args) {
3366 PyObject *resultobj;
3367 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3369 PyObject * obj0 = 0 ;
3370 PyObject * obj1 = 0 ;
3372 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topleft_set",&obj0,&obj1)) goto fail;
3373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3374 arg2 = (Atom) PyInt_AsLong(obj1);
3375 if (PyErr_Occurred()) SWIG_fail;
3376 if (arg1) (arg1)->net_wm_moveresize_size_topleft = arg2;
3378 Py_INCREF(Py_None); resultobj = Py_None;
3385 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_get(PyObject *self, PyObject *args) {
3386 PyObject *resultobj;
3387 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3389 PyObject * obj0 = 0 ;
3391 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topleft_get",&obj0)) goto fail;
3392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3393 result = (Atom) ((arg1)->net_wm_moveresize_size_topleft);
3395 resultobj = PyInt_FromLong((long)result);
3402 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_set(PyObject *self, PyObject *args) {
3403 PyObject *resultobj;
3404 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3406 PyObject * obj0 = 0 ;
3407 PyObject * obj1 = 0 ;
3409 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topright_set",&obj0,&obj1)) goto fail;
3410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3411 arg2 = (Atom) PyInt_AsLong(obj1);
3412 if (PyErr_Occurred()) SWIG_fail;
3413 if (arg1) (arg1)->net_wm_moveresize_size_topright = arg2;
3415 Py_INCREF(Py_None); resultobj = Py_None;
3422 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_get(PyObject *self, PyObject *args) {
3423 PyObject *resultobj;
3424 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3426 PyObject * obj0 = 0 ;
3428 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topright_get",&obj0)) goto fail;
3429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3430 result = (Atom) ((arg1)->net_wm_moveresize_size_topright);
3432 resultobj = PyInt_FromLong((long)result);
3439 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_set(PyObject *self, PyObject *args) {
3440 PyObject *resultobj;
3441 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3443 PyObject * obj0 = 0 ;
3444 PyObject * obj1 = 0 ;
3446 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomleft_set",&obj0,&obj1)) goto fail;
3447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3448 arg2 = (Atom) PyInt_AsLong(obj1);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 if (arg1) (arg1)->net_wm_moveresize_size_bottomleft = arg2;
3452 Py_INCREF(Py_None); resultobj = Py_None;
3459 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_get(PyObject *self, PyObject *args) {
3460 PyObject *resultobj;
3461 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3463 PyObject * obj0 = 0 ;
3465 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomleft_get",&obj0)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3467 result = (Atom) ((arg1)->net_wm_moveresize_size_bottomleft);
3469 resultobj = PyInt_FromLong((long)result);
3476 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_set(PyObject *self, PyObject *args) {
3477 PyObject *resultobj;
3478 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3480 PyObject * obj0 = 0 ;
3481 PyObject * obj1 = 0 ;
3483 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomright_set",&obj0,&obj1)) goto fail;
3484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3485 arg2 = (Atom) PyInt_AsLong(obj1);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 if (arg1) (arg1)->net_wm_moveresize_size_bottomright = arg2;
3489 Py_INCREF(Py_None); resultobj = Py_None;
3496 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_get(PyObject *self, PyObject *args) {
3497 PyObject *resultobj;
3498 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3500 PyObject * obj0 = 0 ;
3502 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomright_get",&obj0)) goto fail;
3503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3504 result = (Atom) ((arg1)->net_wm_moveresize_size_bottomright);
3506 resultobj = PyInt_FromLong((long)result);
3513 static PyObject *_wrap_Atoms_net_wm_moveresize_move_set(PyObject *self, PyObject *args) {
3514 PyObject *resultobj;
3515 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3517 PyObject * obj0 = 0 ;
3518 PyObject * obj1 = 0 ;
3520 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_move_set",&obj0,&obj1)) goto fail;
3521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3522 arg2 = (Atom) PyInt_AsLong(obj1);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 if (arg1) (arg1)->net_wm_moveresize_move = arg2;
3526 Py_INCREF(Py_None); resultobj = Py_None;
3533 static PyObject *_wrap_Atoms_net_wm_moveresize_move_get(PyObject *self, PyObject *args) {
3534 PyObject *resultobj;
3535 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3537 PyObject * obj0 = 0 ;
3539 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_move_get",&obj0)) goto fail;
3540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3541 result = (Atom) ((arg1)->net_wm_moveresize_move);
3543 resultobj = PyInt_FromLong((long)result);
3550 static PyObject *_wrap_Atoms_net_wm_action_move_set(PyObject *self, PyObject *args) {
3551 PyObject *resultobj;
3552 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3554 PyObject * obj0 = 0 ;
3555 PyObject * obj1 = 0 ;
3557 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_move_set",&obj0,&obj1)) goto fail;
3558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3559 arg2 = (Atom) PyInt_AsLong(obj1);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 if (arg1) (arg1)->net_wm_action_move = arg2;
3563 Py_INCREF(Py_None); resultobj = Py_None;
3570 static PyObject *_wrap_Atoms_net_wm_action_move_get(PyObject *self, PyObject *args) {
3571 PyObject *resultobj;
3572 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3574 PyObject * obj0 = 0 ;
3576 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_move_get",&obj0)) goto fail;
3577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3578 result = (Atom) ((arg1)->net_wm_action_move);
3580 resultobj = PyInt_FromLong((long)result);
3587 static PyObject *_wrap_Atoms_net_wm_action_resize_set(PyObject *self, PyObject *args) {
3588 PyObject *resultobj;
3589 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3591 PyObject * obj0 = 0 ;
3592 PyObject * obj1 = 0 ;
3594 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_resize_set",&obj0,&obj1)) goto fail;
3595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3596 arg2 = (Atom) PyInt_AsLong(obj1);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 if (arg1) (arg1)->net_wm_action_resize = arg2;
3600 Py_INCREF(Py_None); resultobj = Py_None;
3607 static PyObject *_wrap_Atoms_net_wm_action_resize_get(PyObject *self, PyObject *args) {
3608 PyObject *resultobj;
3609 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3611 PyObject * obj0 = 0 ;
3613 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_resize_get",&obj0)) goto fail;
3614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3615 result = (Atom) ((arg1)->net_wm_action_resize);
3617 resultobj = PyInt_FromLong((long)result);
3624 static PyObject *_wrap_Atoms_net_wm_action_minimize_set(PyObject *self, PyObject *args) {
3625 PyObject *resultobj;
3626 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3628 PyObject * obj0 = 0 ;
3629 PyObject * obj1 = 0 ;
3631 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_minimize_set",&obj0,&obj1)) goto fail;
3632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3633 arg2 = (Atom) PyInt_AsLong(obj1);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 if (arg1) (arg1)->net_wm_action_minimize = arg2;
3637 Py_INCREF(Py_None); resultobj = Py_None;
3644 static PyObject *_wrap_Atoms_net_wm_action_minimize_get(PyObject *self, PyObject *args) {
3645 PyObject *resultobj;
3646 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3648 PyObject * obj0 = 0 ;
3650 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_minimize_get",&obj0)) goto fail;
3651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3652 result = (Atom) ((arg1)->net_wm_action_minimize);
3654 resultobj = PyInt_FromLong((long)result);
3661 static PyObject *_wrap_Atoms_net_wm_action_shade_set(PyObject *self, PyObject *args) {
3662 PyObject *resultobj;
3663 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3665 PyObject * obj0 = 0 ;
3666 PyObject * obj1 = 0 ;
3668 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_shade_set",&obj0,&obj1)) goto fail;
3669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3670 arg2 = (Atom) PyInt_AsLong(obj1);
3671 if (PyErr_Occurred()) SWIG_fail;
3672 if (arg1) (arg1)->net_wm_action_shade = arg2;
3674 Py_INCREF(Py_None); resultobj = Py_None;
3681 static PyObject *_wrap_Atoms_net_wm_action_shade_get(PyObject *self, PyObject *args) {
3682 PyObject *resultobj;
3683 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3685 PyObject * obj0 = 0 ;
3687 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_shade_get",&obj0)) goto fail;
3688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3689 result = (Atom) ((arg1)->net_wm_action_shade);
3691 resultobj = PyInt_FromLong((long)result);
3698 static PyObject *_wrap_Atoms_net_wm_action_stick_set(PyObject *self, PyObject *args) {
3699 PyObject *resultobj;
3700 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3702 PyObject * obj0 = 0 ;
3703 PyObject * obj1 = 0 ;
3705 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_stick_set",&obj0,&obj1)) goto fail;
3706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3707 arg2 = (Atom) PyInt_AsLong(obj1);
3708 if (PyErr_Occurred()) SWIG_fail;
3709 if (arg1) (arg1)->net_wm_action_stick = arg2;
3711 Py_INCREF(Py_None); resultobj = Py_None;
3718 static PyObject *_wrap_Atoms_net_wm_action_stick_get(PyObject *self, PyObject *args) {
3719 PyObject *resultobj;
3720 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3722 PyObject * obj0 = 0 ;
3724 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_stick_get",&obj0)) goto fail;
3725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3726 result = (Atom) ((arg1)->net_wm_action_stick);
3728 resultobj = PyInt_FromLong((long)result);
3735 static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_set(PyObject *self, PyObject *args) {
3736 PyObject *resultobj;
3737 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3739 PyObject * obj0 = 0 ;
3740 PyObject * obj1 = 0 ;
3742 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_horz_set",&obj0,&obj1)) goto fail;
3743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3744 arg2 = (Atom) PyInt_AsLong(obj1);
3745 if (PyErr_Occurred()) SWIG_fail;
3746 if (arg1) (arg1)->net_wm_action_maximize_horz = arg2;
3748 Py_INCREF(Py_None); resultobj = Py_None;
3755 static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_get(PyObject *self, PyObject *args) {
3756 PyObject *resultobj;
3757 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3759 PyObject * obj0 = 0 ;
3761 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_horz_get",&obj0)) goto fail;
3762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3763 result = (Atom) ((arg1)->net_wm_action_maximize_horz);
3765 resultobj = PyInt_FromLong((long)result);
3772 static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_set(PyObject *self, PyObject *args) {
3773 PyObject *resultobj;
3774 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3776 PyObject * obj0 = 0 ;
3777 PyObject * obj1 = 0 ;
3779 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_vert_set",&obj0,&obj1)) goto fail;
3780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3781 arg2 = (Atom) PyInt_AsLong(obj1);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 if (arg1) (arg1)->net_wm_action_maximize_vert = arg2;
3785 Py_INCREF(Py_None); resultobj = Py_None;
3792 static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_get(PyObject *self, PyObject *args) {
3793 PyObject *resultobj;
3794 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3796 PyObject * obj0 = 0 ;
3798 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_vert_get",&obj0)) goto fail;
3799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3800 result = (Atom) ((arg1)->net_wm_action_maximize_vert);
3802 resultobj = PyInt_FromLong((long)result);