+++ /dev/null
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.17u-20021128-1508
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#define SWIGPYTHON
-
-#ifdef __cplusplus
-template<class T> class SwigValueWrapper {
- T *tt;
-public:
- inline SwigValueWrapper() : tt(0) { }
- inline ~SwigValueWrapper() { if (tt) delete tt; }
- inline SwigValueWrapper& operator=(const T& t) { tt = new T(t); return *this; }
- inline operator T&() const { return *tt; }
- inline T *operator&() { return tt; }
-};
-#endif
-
-
-#include "Python.h"
-
-/***********************************************************************
- * common.swg
- *
- * This file contains generic SWIG runtime support for pointer
- * type checking as well as a few commonly used macros to control
- * external linkage.
- *
- * Author : David Beazley (beazley@cs.uchicago.edu)
- *
- * Copyright (c) 1999-2000, The University of Chicago
- *
- * This file may be freely redistributed without license or fee provided
- * this copyright message remains intact.
- ************************************************************************/
-
-#include <string.h>
-
-#if defined(_WIN32) || defined(__WIN32__)
-# if defined(_MSC_VER)
-# if defined(STATIC_LINKED)
-# define SWIGEXPORT(a) a
-# define SWIGIMPORT(a) extern a
-# else
-# define SWIGEXPORT(a) __declspec(dllexport) a
-# define SWIGIMPORT(a) extern a
-# endif
-# else
-# if defined(__BORLANDC__)
-# define SWIGEXPORT(a) a _export
-# define SWIGIMPORT(a) a _export
-# else
-# define SWIGEXPORT(a) a
-# define SWIGIMPORT(a) a
-# endif
-# endif
-#else
-# define SWIGEXPORT(a) a
-# define SWIGIMPORT(a) a
-#endif
-
-#ifdef SWIG_GLOBAL
-#define SWIGRUNTIME(a) SWIGEXPORT(a)
-#else
-#define SWIGRUNTIME(a) static a
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef void *(*swig_converter_func)(void *);
-typedef struct swig_type_info *(*swig_dycast_func)(void **);
-
-typedef struct swig_type_info {
- const char *name;
- swig_converter_func converter;
- const char *str;
- void *clientdata;
- swig_dycast_func dcast;
- struct swig_type_info *next;
- struct swig_type_info *prev;
-} swig_type_info;
-
-#ifdef SWIG_NOINCLUDE
-
-SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
-SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
-SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
-SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
-SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
-SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
-
-#else
-
-static swig_type_info *swig_type_list = 0;
-
-/* Register a type mapping with the type-checking */
-SWIGRUNTIME(swig_type_info *)
-SWIG_TypeRegister(swig_type_info *ti)
-{
- swig_type_info *tc, *head, *ret, *next;
- /* Check to see if this type has already been registered */
- tc = swig_type_list;
- while (tc) {
- if (strcmp(tc->name, ti->name) == 0) {
- /* Already exists in the table. Just add additional types to the list */
- if (tc->clientdata) ti->clientdata = tc->clientdata;
- head = tc;
- next = tc->next;
- goto l1;
- }
- tc = tc->prev;
- }
- head = ti;
- next = 0;
-
- /* Place in list */
- ti->prev = swig_type_list;
- swig_type_list = ti;
-
- /* Build linked lists */
- l1:
- ret = head;
- tc = ti + 1;
- /* Patch up the rest of the links */
- while (tc->name) {
- head->next = tc;
- tc->prev = head;
- head = tc;
- tc++;
- }
- head->next = next;
- return ret;
-}
-
-/* Check the typename */
-SWIGRUNTIME(swig_type_info *)
-SWIG_TypeCheck(char *c, swig_type_info *ty)
-{
- swig_type_info *s;
- if (!ty) return 0; /* Void pointer */
- s = ty->next; /* First element always just a name */
- do {
- if (strcmp(s->name,c) == 0) {
- if (s == ty->next) return s;
- /* Move s to the top of the linked list */
- s->prev->next = s->next;
- if (s->next) {
- s->next->prev = s->prev;
- }
- /* Insert s as second element in the list */
- s->next = ty->next;
- if (ty->next) ty->next->prev = s;
- ty->next = s;
- return s;
- }
- s = s->next;
- } while (s && (s != ty->next));
- return 0;
-}
-
-/* Cast a pointer up an inheritance hierarchy */
-SWIGRUNTIME(void *)
-SWIG_TypeCast(swig_type_info *ty, void *ptr)
-{
- if ((!ty) || (!ty->converter)) return ptr;
- return (*ty->converter)(ptr);
-}
-
-/* Dynamic pointer casting. Down an inheritance hierarchy */
-SWIGRUNTIME(swig_type_info *)
-SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
-{
- swig_type_info *lastty = ty;
- if (!ty || !ty->dcast) return ty;
- while (ty && (ty->dcast)) {
- ty = (*ty->dcast)(ptr);
- if (ty) lastty = ty;
- }
- return lastty;
-}
-
-/* Search for a swig_type_info structure */
-SWIGRUNTIME(swig_type_info *)
-SWIG_TypeQuery(const char *name) {
- swig_type_info *ty = swig_type_list;
- while (ty) {
- if (ty->str && (strcmp(name,ty->str) == 0)) return ty;
- if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
- ty = ty->prev;
- }
- return 0;
-}
-
-/* Set the clientdata field for a type */
-SWIGRUNTIME(void)
-SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
- swig_type_info *tc, *equiv;
- if (ti->clientdata == clientdata) return;
- ti->clientdata = clientdata;
- equiv = ti->next;
- while (equiv) {
- if (!equiv->converter) {
- tc = swig_type_list;
- while (tc) {
- if ((strcmp(tc->name, equiv->name) == 0))
- SWIG_TypeClientData(tc,clientdata);
- tc = tc->prev;
- }
- }
- equiv = equiv->next;
- }
-}
-#endif
-
-#ifdef __cplusplus
-}
-
-#endif
-
-/***********************************************************************
- * python.swg
- *
- * This file contains the runtime support for Python modules
- * and includes code for managing global variables and pointer
- * type checking.
- *
- * Author : David Beazley (beazley@cs.uchicago.edu)
- ************************************************************************/
-
-#include "Python.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define SWIG_PY_INT 1
-#define SWIG_PY_FLOAT 2
-#define SWIG_PY_STRING 3
-#define SWIG_PY_POINTER 4
-#define SWIG_PY_BINARY 5
-
-/* Flags for pointer conversion */
-
-#define SWIG_POINTER_EXCEPTION 0x1
-#define SWIG_POINTER_DISOWN 0x2
-
-/* Exception handling in wrappers */
-#define SWIG_fail goto fail
-
-/* Constant information structure */
-typedef struct swig_const_info {
- int type;
- char *name;
- long lvalue;
- double dvalue;
- void *pvalue;
- swig_type_info **ptype;
-} swig_const_info;
-
-#ifdef SWIG_NOINCLUDE
-
-SWIGEXPORT(PyObject *) SWIG_newvarlink();
-SWIGEXPORT(void) SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
-SWIGEXPORT(int) SWIG_ConvertPtr(PyObject *, void **, swig_type_info *, int);
-SWIGEXPORT(int) SWIG_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
-SWIGEXPORT(char *) SWIG_PackData(char *c, void *, int);
-SWIGEXPORT(char *) SWIG_UnpackData(char *c, void *, int);
-SWIGEXPORT(PyObject *) SWIG_NewPointerObj(void *, swig_type_info *,int own);
-SWIGEXPORT(PyObject *) SWIG_NewPackedObj(void *, int sz, swig_type_info *);
-SWIGEXPORT(void) SWIG_InstallConstants(PyObject *d, swig_const_info constants[]);
-#else
-
-/* -----------------------------------------------------------------------------
- * global variable support code.
- * ----------------------------------------------------------------------------- */
-
-typedef struct swig_globalvar {
- char *name; /* Name of global variable */
- PyObject *(*get_attr)(void); /* Return the current value */
- int (*set_attr)(PyObject *); /* Set the value */
- struct swig_globalvar *next;
-} swig_globalvar;
-
-typedef struct swig_varlinkobject {
- PyObject_HEAD
- swig_globalvar *vars;
-} swig_varlinkobject;
-
-static PyObject *
-swig_varlink_repr(swig_varlinkobject *v) {
- v = v;
- return PyString_FromString("<Global variables>");
-}
-
-static int
-swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
- swig_globalvar *var;
- flags = flags;
- fprintf(fp,"Global variables { ");
- for (var = v->vars; var; var=var->next) {
- fprintf(fp,"%s", var->name);
- if (var->next) fprintf(fp,", ");
- }
- fprintf(fp," }\n");
- return 0;
-}
-
-static PyObject *
-swig_varlink_getattr(swig_varlinkobject *v, char *n) {
- swig_globalvar *var = v->vars;
- while (var) {
- if (strcmp(var->name,n) == 0) {
- return (*var->get_attr)();
- }
- var = var->next;
- }
- PyErr_SetString(PyExc_NameError,"Unknown C global variable");
- return NULL;
-}
-
-static int
-swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
- swig_globalvar *var = v->vars;
- while (var) {
- if (strcmp(var->name,n) == 0) {
- return (*var->set_attr)(p);
- }
- var = var->next;
- }
- PyErr_SetString(PyExc_NameError,"Unknown C global variable");
- return 1;
-}
-
-statichere PyTypeObject varlinktype = {
- PyObject_HEAD_INIT(0)
- 0,
- (char *)"swigvarlink", /* Type name */
- sizeof(swig_varlinkobject), /* Basic size */
- 0, /* Itemsize */
- 0, /* Deallocator */
- (printfunc) swig_varlink_print, /* Print */
- (getattrfunc) swig_varlink_getattr, /* get attr */
- (setattrfunc) swig_varlink_setattr, /* Set attr */
- 0, /* tp_compare */
- (reprfunc) swig_varlink_repr, /* tp_repr */
- 0, /* tp_as_number */
- 0, /* tp_as_mapping*/
- 0, /* tp_hash */
-};
-
-/* Create a variable linking object for use later */
-SWIGRUNTIME(PyObject *)
-SWIG_newvarlink(void) {
- swig_varlinkobject *result = 0;
- result = PyMem_NEW(swig_varlinkobject,1);
- varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
- result->ob_type = &varlinktype;
- result->vars = 0;
- result->ob_refcnt = 0;
- Py_XINCREF((PyObject *) result);
- return ((PyObject*) result);
-}
-
-SWIGRUNTIME(void)
-SWIG_addvarlink(PyObject *p, char *name,
- PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
- swig_varlinkobject *v;
- swig_globalvar *gv;
- v= (swig_varlinkobject *) p;
- gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
- gv->name = (char *) malloc(strlen(name)+1);
- strcpy(gv->name,name);
- gv->get_attr = get_attr;
- gv->set_attr = set_attr;
- gv->next = v->vars;
- v->vars = gv;
-}
-
-/* Pack binary data into a string */
-SWIGRUNTIME(char *)
-SWIG_PackData(char *c, void *ptr, int sz) {
- static char hex[17] = "0123456789abcdef";
- int i;
- unsigned char *u = (unsigned char *) ptr;
- register unsigned char uu;
- for (i = 0; i < sz; i++,u++) {
- uu = *u;
- *(c++) = hex[(uu & 0xf0) >> 4];
- *(c++) = hex[uu & 0xf];
- }
- return c;
-}
-
-/* Unpack binary data from a string */
-SWIGRUNTIME(char *)
-SWIG_UnpackData(char *c, void *ptr, int sz) {
- register unsigned char uu = 0;
- register int d;
- unsigned char *u = (unsigned char *) ptr;
- int i;
- for (i = 0; i < sz; i++, u++) {
- d = *(c++);
- if ((d >= '0') && (d <= '9'))
- uu = ((d - '0') << 4);
- else if ((d >= 'a') && (d <= 'f'))
- uu = ((d - ('a'-10)) << 4);
- d = *(c++);
- if ((d >= '0') && (d <= '9'))
- uu |= (d - '0');
- else if ((d >= 'a') && (d <= 'f'))
- uu |= (d - ('a'-10));
- *u = uu;
- }
- return c;
-}
-
-/* Convert a pointer value */
-SWIGRUNTIME(int)
-SWIG_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
- swig_type_info *tc;
- char *c;
- static PyObject *SWIG_this = 0;
- int newref = 0;
- PyObject *pyobj = 0;
-
- if (!obj) return 0;
- if (obj == Py_None) {
- *ptr = 0;
- return 0;
- }
-#ifdef SWIG_COBJECT_TYPES
- if (!(PyCObject_Check(obj))) {
- if (!SWIG_this)
- SWIG_this = PyString_FromString("this");
- pyobj = obj;
- obj = PyObject_GetAttr(obj,SWIG_this);
- newref = 1;
- if (!obj) goto type_error;
- if (!PyCObject_Check(obj)) {
- Py_DECREF(obj);
- goto type_error;
- }
- }
- *ptr = PyCObject_AsVoidPtr(obj);
- c = (char *) PyCObject_GetDesc(obj);
- if (newref) Py_DECREF(obj);
- goto cobject;
-#else
- if (!(PyString_Check(obj))) {
- if (!SWIG_this)
- SWIG_this = PyString_FromString("this");
- pyobj = obj;
- obj = PyObject_GetAttr(obj,SWIG_this);
- newref = 1;
- if (!obj) goto type_error;
- if (!PyString_Check(obj)) {
- Py_DECREF(obj);
- goto type_error;
- }
- }
- c = PyString_AsString(obj);
- /* Pointer values must start with leading underscore */
- if (*c != '_') {
- *ptr = (void *) 0;
- if (strcmp(c,"NULL") == 0) {
- if (newref) { Py_DECREF(obj); }
- return 0;
- } else {
- if (newref) { Py_DECREF(obj); }
- goto type_error;
- }
- }
- c++;
- c = SWIG_UnpackData(c,ptr,sizeof(void *));
- if (newref) { Py_DECREF(obj); }
-#endif
-
-#ifdef SWIG_COBJECT_TYPES
-cobject:
-#endif
-
- if (ty) {
- tc = SWIG_TypeCheck(c,ty);
- if (!tc) goto type_error;
- *ptr = SWIG_TypeCast(tc,(void*) *ptr);
- }
-
- if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
- PyObject *zero = PyInt_FromLong(0);
- PyObject_SetAttrString(pyobj,(char*)"thisown",zero);
- Py_DECREF(zero);
- }
- return 0;
-
-type_error:
- if (flags & SWIG_POINTER_EXCEPTION) {
- if (ty) {
- char *temp = (char *) malloc(64+strlen(ty->name));
- sprintf(temp,"Type error. Expected %s", ty->name);
- PyErr_SetString(PyExc_TypeError, temp);
- free((char *) temp);
- } else {
- PyErr_SetString(PyExc_TypeError,"Expected a pointer");
- }
- }
- return -1;
-}
-
-/* Convert a packed value value */
-SWIGRUNTIME(int)
-SWIG_ConvertPacked(PyObject *obj, void *ptr, int sz, swig_type_info *ty, int flags) {
- swig_type_info *tc;
- char *c;
-
- if ((!obj) || (!PyString_Check(obj))) goto type_error;
- c = PyString_AsString(obj);
- /* Pointer values must start with leading underscore */
- if (*c != '_') goto type_error;
- c++;
- c = SWIG_UnpackData(c,ptr,sz);
- if (ty) {
- tc = SWIG_TypeCheck(c,ty);
- if (!tc) goto type_error;
- }
- return 0;
-
-type_error:
-
- if (flags) {
- if (ty) {
- char *temp = (char *) malloc(64+strlen(ty->name));
- sprintf(temp,"Type error. Expected %s", ty->name);
- PyErr_SetString(PyExc_TypeError, temp);
- free((char *) temp);
- } else {
- PyErr_SetString(PyExc_TypeError,"Expected a pointer");
- }
- }
- return -1;
-}
-
-/* Create a new pointer object */
-SWIGRUNTIME(PyObject *)
-SWIG_NewPointerObj(void *ptr, swig_type_info *type, int own) {
- PyObject *robj;
- if (!ptr) {
- Py_INCREF(Py_None);
- return Py_None;
- }
-#ifdef SWIG_COBJECT_TYPES
- robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) type->name, NULL);
-#else
- {
- char result[1024];
- char *r = result;
- *(r++) = '_';
- r = SWIG_PackData(r,&ptr,sizeof(void *));
- strcpy(r,type->name);
- robj = PyString_FromString(result);
- }
-#endif
- if (!robj || (robj == Py_None)) return robj;
- if (type->clientdata) {
- PyObject *inst;
- PyObject *args = Py_BuildValue((char*)"(O)", robj);
- Py_DECREF(robj);
- inst = PyObject_CallObject((PyObject *) type->clientdata, args);
- Py_DECREF(args);
- if (inst) {
- if (own) {
- PyObject *n = PyInt_FromLong(1);
- PyObject_SetAttrString(inst,(char*)"thisown",n);
- Py_DECREF(n);
- }
- robj = inst;
- }
- }
- return robj;
-}
-
-SWIGRUNTIME(PyObject *)
-SWIG_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
- char result[1024];
- char *r = result;
- if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
- *(r++) = '_';
- r = SWIG_PackData(r,ptr,sz);
- strcpy(r,type->name);
- return PyString_FromString(result);
-}
-
-/* Install Constants */
-SWIGRUNTIME(void)
-SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) {
- int i;
- PyObject *obj;
- for (i = 0; constants[i].type; i++) {
- switch(constants[i].type) {
- case SWIG_PY_INT:
- obj = PyInt_FromLong(constants[i].lvalue);
- break;
- case SWIG_PY_FLOAT:
- obj = PyFloat_FromDouble(constants[i].dvalue);
- break;
- case SWIG_PY_STRING:
- obj = PyString_FromString((char *) constants[i].pvalue);
- break;
- case SWIG_PY_POINTER:
- obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
- break;
- case SWIG_PY_BINARY:
- obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
- break;
- default:
- obj = 0;
- break;
- }
- if (obj) {
- PyDict_SetItemString(d,constants[i].name,obj);
- Py_DECREF(obj);
- }
- }
-}
-
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-
-
-
-
-
-
-
-
-/* -------- TYPES TABLE (BEGIN) -------- */
-
-#define SWIGTYPE_p_otk__Point swig_types[0]
-#define SWIGTYPE_p_ob__Client swig_types[1]
-#define SWIGTYPE_p_XMapEvent swig_types[2]
-#define SWIGTYPE_p_XUnmapEvent swig_types[3]
-#define SWIGTYPE_p_XColormapEvent swig_types[4]
-#define SWIGTYPE_p_XNoExposeEvent swig_types[5]
-#define SWIGTYPE_p_XGraphicsExposeEvent swig_types[6]
-#define SWIGTYPE_p_XExposeEvent swig_types[7]
-#define SWIGTYPE_p_XFocusChangeEvent swig_types[8]
-#define SWIGTYPE_p_XClientMessageEvent swig_types[9]
-#define SWIGTYPE_p_ob__MouseData swig_types[10]
-#define SWIGTYPE_p_XSelectionClearEvent swig_types[11]
-#define SWIGTYPE_p_otk__Rect swig_types[12]
-#define SWIGTYPE_p_Visual swig_types[13]
-#define SWIGTYPE_p_XResizeRequestEvent swig_types[14]
-#define SWIGTYPE_p_XMapRequestEvent swig_types[15]
-#define SWIGTYPE_p_XConfigureRequestEvent swig_types[16]
-#define SWIGTYPE_p_XCirculateRequestEvent swig_types[17]
-#define SWIGTYPE_p_XGravityEvent swig_types[18]
-#define SWIGTYPE_p_XVisibilityEvent swig_types[19]
-#define SWIGTYPE_p_XPropertyEvent swig_types[20]
-#define SWIGTYPE_p_XSelectionRequestEvent swig_types[21]
-#define SWIGTYPE_p_ob__Cursors swig_types[22]
-#define SWIGTYPE_p_otk__RenderControl swig_types[23]
-#define SWIGTYPE_p_ob__MwmHints swig_types[24]
-#define SWIGTYPE_p_ob__Screen swig_types[25]
-#define SWIGTYPE_p_ob__Frame swig_types[26]
-#define SWIGTYPE_p_ob__KeyData swig_types[27]
-#define SWIGTYPE_p_XCirculateEvent swig_types[28]
-#define SWIGTYPE_p_XConfigureEvent swig_types[29]
-#define SWIGTYPE_p_XRectangle swig_types[30]
-#define SWIGTYPE_p_otk__ustring swig_types[31]
-#define SWIGTYPE_p_XCrossingEvent swig_types[32]
-#define SWIGTYPE_p_otk__Display swig_types[33]
-#define SWIGTYPE_p_Display swig_types[34]
-#define SWIGTYPE_p_XMappingEvent swig_types[35]
-#define SWIGTYPE_p_otk__EventHandler swig_types[36]
-#define SWIGTYPE_p_XReparentEvent swig_types[37]
-#define SWIGTYPE_p_otk__EventDispatcher swig_types[38]
-#define SWIGTYPE_p_ob__Bindings swig_types[39]
-#define SWIGTYPE_p_ob__Openbox swig_types[40]
-#define SWIGTYPE_p_ob__Actions swig_types[41]
-#define SWIGTYPE_p_otk__Widget swig_types[42]
-#define SWIGTYPE_p_XEvent swig_types[43]
-#define SWIGTYPE_p_otk__Property swig_types[44]
-#define SWIGTYPE_p_PyObject swig_types[45]
-#define SWIGTYPE_p_otk__ScreenInfo swig_types[46]
-#define SWIGTYPE_p_otk__RenderStyle swig_types[47]
-#define SWIGTYPE_p_ob__EventData swig_types[48]
-#define SWIGTYPE_p_XModifierKeymap swig_types[49]
-#define SWIGTYPE_p_XCreateWindowEvent swig_types[50]
-#define SWIGTYPE_p_XDestroyWindowEvent swig_types[51]
-#define SWIGTYPE_p_otk__Property__StringVect swig_types[52]
-#define SWIGTYPE_p_ob__WidgetBase swig_types[53]
-#define SWIGTYPE_p_otk__Atoms swig_types[54]
-#define SWIGTYPE_p_XKeyEvent swig_types[55]
-#define SWIGTYPE_p_int swig_types[56]
-#define SWIGTYPE_p_otk__Strut swig_types[57]
-#define SWIGTYPE_p_p_unsigned_long swig_types[58]
-#define SWIGTYPE_p_unsigned_long swig_types[59]
-#define SWIGTYPE_p_XMotionEvent swig_types[60]
-#define SWIGTYPE_p_XButtonEvent swig_types[61]
-#define SWIGTYPE_p_XSelectionEvent swig_types[62]
-static swig_type_info *swig_types[64];
-
-/* -------- TYPES TABLE (END) -------- */
-
-
-/*-----------------------------------------------
- @(target):= _openbox.so
- ------------------------------------------------*/
-#define SWIG_init init_openbox
-
-#define SWIG_name "_openbox"
-
-#ifdef HAVE_CONFIG_H
-# include "../config.h"
-#endif
-
-#include "frame.hh"
-#include "openbox.hh"
-#include "screen.hh"
-#include "client.hh"
-#include "bindings.hh"
-#include "actions.hh"
-#include "python.hh"
-#include "otk/otk.hh"
-
-
-#define SWIG_MemoryError 1
-#define SWIG_IOError 2
-#define SWIG_RuntimeError 3
-#define SWIG_IndexError 4
-#define SWIG_TypeError 5
-#define SWIG_DivisionByZero 6
-#define SWIG_OverflowError 7
-#define SWIG_SyntaxError 8
-#define SWIG_ValueError 9
-#define SWIG_SystemError 10
-#define SWIG_UnknownError 99
-
-
-static void _SWIG_exception(int code, const char *msg) {
- switch(code) {
- case SWIG_MemoryError:
- PyErr_SetString(PyExc_MemoryError,msg);
- break;
- case SWIG_IOError:
- PyErr_SetString(PyExc_IOError,msg);
- break;
- case SWIG_RuntimeError:
- PyErr_SetString(PyExc_RuntimeError,msg);
- break;
- case SWIG_IndexError:
- PyErr_SetString(PyExc_IndexError,msg);
- break;
- case SWIG_TypeError:
- PyErr_SetString(PyExc_TypeError,msg);
- break;
- case SWIG_DivisionByZero:
- PyErr_SetString(PyExc_ZeroDivisionError,msg);
- break;
- case SWIG_OverflowError:
- PyErr_SetString(PyExc_OverflowError,msg);
- break;
- case SWIG_SyntaxError:
- PyErr_SetString(PyExc_SyntaxError,msg);
- break;
- case SWIG_ValueError:
- PyErr_SetString(PyExc_ValueError,msg);
- break;
- case SWIG_SystemError:
- PyErr_SetString(PyExc_SystemError,msg);
- break;
- default:
- PyErr_SetString(PyExc_RuntimeError,msg);
- break;
- }
-}
-
-#define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
-
-
-#include <string>
-
-
-#include <string>
-
-PyObject* SwigInt_FromBool(bool b) {
- return PyInt_FromLong(b ? 1L : 0L);
-}
-double SwigNumber_Check(PyObject* o) {
- return PyFloat_Check(o) || PyInt_Check(o);
-}
-double SwigNumber_AsDouble(PyObject* o) {
- return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
-}
-PyObject* SwigString_FromString(const std::string& s) {
- return PyString_FromString(s.c_str());
-}
-std::string SwigString_AsString(PyObject* o) {
- return std::string(PyString_AsString(o));
-}
-
-
-#include <vector>
-#include <algorithm>
-#include <stdexcept>
-
-
- ob::Openbox *Openbox_instance() { return ob::openbox; }
-
-
-namespace ob {
-void python_callback(PyObject *func, MouseData *data)
-{
- PyObject *arglist;
- PyObject *result;
-
- arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
- SWIGTYPE_p_ob__MouseData,
- 0));
-
- // call the callback
- result = PyEval_CallObject(func, arglist);
- if (!result || PyErr_Occurred()) {
- // an exception occured in the script, display it
- PyErr_Print();
- }
-
- Py_XDECREF(result);
- Py_DECREF(arglist);
-}
-
-void python_callback(PyObject *func, EventData *data)
-{
- PyObject *arglist;
- PyObject *result;
-
- arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
- SWIGTYPE_p_ob__EventData,
- 0));
-
- // call the callback
- result = PyEval_CallObject(func, arglist);
- if (!result || PyErr_Occurred()) {
- // an exception occured in the script, display it
- PyErr_Print();
- }
-
- Py_XDECREF(result);
- Py_DECREF(arglist);
-}
-
-void python_callback(PyObject *func, KeyData *data)
-{
- PyObject *arglist;
- PyObject *result;
-
- arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
- SWIGTYPE_p_ob__KeyData,
- 0));
-
- // call the callback
- result = PyEval_CallObject(func, arglist);
- if (!result || PyErr_Occurred()) {
- // an exception occured in the script, display it
- PyErr_Print();
- }
-
- Py_XDECREF(result);
- Py_DECREF(arglist);
-}
-
-}
-
-
- #include <iterator>
-
-
-#include "ustring.hh"
-
-
- otk::Display *Display_instance() { return otk::display; }
-
-
- const otk::Atoms& Property_atoms() { return otk::Property::atoms; }
-
-ob::Client *ob_Screen_client(ob::Screen *self,int i){
- if (i < 0 || i >= (int)self->clients.size())
- return NULL;
- ob::Client::List::iterator it = self->clients.begin();
- std::advance(it,i);
- return *it;
- }
-int ob_Screen_clientCount(ob::Screen const *self){
- return (int) self->clients.size();
- }
-#ifdef __cplusplus
-extern "C" {
-#endif
-static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *result;
-
- if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
- result = (ob::Openbox *)Openbox_instance();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_instance(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *result;
-
- if(!PyArg_ParseTuple(args,(char *)":Display_instance")) goto fail;
- result = (otk::Display *)Display_instance();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_atoms(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *result;
-
- if(!PyArg_ParseTuple(args,(char *)":Property_atoms")) goto fail;
- {
- otk::Atoms const &_result_ref = Property_atoms();
- result = (otk::Atoms *) &_result_ref;
- }
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Atoms, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_Display(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *result;
-
- if(!PyArg_ParseTuple(args,(char *)":new_Display")) goto fail;
- result = (otk::Display *)new otk::Display();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:delete_Display",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- delete arg1;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_screenInfo(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- int arg2 ;
- otk::ScreenInfo *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:Display_screenInfo",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (otk::ScreenInfo *)((otk::Display const *)arg1)->screenInfo(arg2);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_findScreen(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- Window arg2 ;
- otk::ScreenInfo *result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Display_findScreen",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Window) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- result = (otk::ScreenInfo *)((otk::Display const *)arg1)->findScreen(arg2);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_renderControl(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- int arg2 ;
- otk::RenderControl *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:Display_renderControl",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (otk::RenderControl *)((otk::Display const *)arg1)->renderControl(arg2);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__RenderControl, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_xkb(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Display_xkb",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((otk::Display const *)arg1)->xkb();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_xkbEventBase(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Display_xkbEventBase",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Display const *)arg1)->xkbEventBase();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_shape(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Display_shape",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((otk::Display const *)arg1)->shape();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_shapeEventBase(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Display_shapeEventBase",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Display const *)arg1)->shapeEventBase();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_xinerama(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Display_xinerama",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((otk::Display const *)arg1)->xinerama();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_numLockMask(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Display_numLockMask",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int)((otk::Display const *)arg1)->numLockMask();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_scrollLockMask(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Display_scrollLockMask",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int)((otk::Display const *)arg1)->scrollLockMask();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_modifierMap(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- XModifierKeymap *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Display_modifierMap",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (XModifierKeymap *)((otk::Display const *)arg1)->modifierMap();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_XModifierKeymap, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display___mul__(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- Display *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Display___mul__",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Display *)((otk::Display const *)arg1)->operator *();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_grab(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Display_grab",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->grab();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_ungrab(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Display_ungrab",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->ungrab();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_grabButton(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- unsigned int arg2 ;
- unsigned int arg3 ;
- Window arg4 ;
- bool arg5 ;
- unsigned int arg6 ;
- int arg7 ;
- int arg8 ;
- Window arg9 ;
- Cursor arg10 ;
- bool arg11 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- PyObject * obj5 = 0 ;
- PyObject * obj8 = 0 ;
- PyObject * obj9 = 0 ;
- PyObject * obj10 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOOOOOiiOOO:Display_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&arg7,&arg8,&obj8,&obj9,&obj10)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- arg3 = (unsigned int) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- arg4 = (Window) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- arg5 = (bool) PyInt_AsLong(obj4);
- if (PyErr_Occurred()) SWIG_fail;
- arg6 = (unsigned int) PyInt_AsLong(obj5);
- if (PyErr_Occurred()) SWIG_fail;
- arg9 = (Window) PyInt_AsLong(obj8);
- if (PyErr_Occurred()) SWIG_fail;
- arg10 = (Cursor) PyInt_AsLong(obj9);
- if (PyErr_Occurred()) SWIG_fail;
- arg11 = (bool) PyInt_AsLong(obj10);
- if (PyErr_Occurred()) SWIG_fail;
- ((otk::Display const *)arg1)->grabButton(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_ungrabButton(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- unsigned int arg2 ;
- unsigned int arg3 ;
- Window arg4 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabButton",&obj0,&obj1,&obj2,&obj3)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- arg3 = (unsigned int) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- arg4 = (Window) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- ((otk::Display const *)arg1)->ungrabButton(arg2,arg3,arg4);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_grabKey(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- unsigned int arg2 ;
- unsigned int arg3 ;
- Window arg4 ;
- bool arg5 ;
- int arg6 ;
- int arg7 ;
- bool arg8 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- PyObject * obj7 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOOOOiiO:Display_grabKey",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- arg3 = (unsigned int) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- arg4 = (Window) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- arg5 = (bool) PyInt_AsLong(obj4);
- if (PyErr_Occurred()) SWIG_fail;
- arg8 = (bool) PyInt_AsLong(obj7);
- if (PyErr_Occurred()) SWIG_fail;
- ((otk::Display const *)arg1)->grabKey(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Display_ungrabKey(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Display *arg1 = (otk::Display *) 0 ;
- unsigned int arg2 ;
- unsigned int arg3 ;
- Window arg4 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabKey",&obj0,&obj1,&obj2,&obj3)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- arg3 = (unsigned int) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- arg4 = (Window) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- ((otk::Display const *)arg1)->ungrabKey(arg2,arg3,arg4);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_otk__Display, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Point *result;
-
- if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
- result = (otk::Point *)new otk::Point();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- int arg1 ;
- int arg2 ;
- otk::Point *result;
-
- if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
- result = (otk::Point *)new otk::Point(arg1,arg2);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[3];
- int ii;
-
- argc = PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 2); ii++) {
- argv[ii] = PyTuple_GetItem(args,ii);
- }
- if (argc == 0) {
- return _wrap_new_Point__SWIG_0(self,args);
- }
- if (argc == 2) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- return _wrap_new_Point__SWIG_1(self,args);
- }
- }
- }
-
- PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
- return NULL;
-}
-
-
-static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Point *arg1 = (otk::Point *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setX(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Point *arg1 = (otk::Point *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Point const *)arg1)->x();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Point *arg1 = (otk::Point *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setY(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Point *arg1 = (otk::Point *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Point const *)arg1)->y();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Point *arg1 = (otk::Point *) 0 ;
- int arg2 ;
- int arg3 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setPoint(arg2,arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_Atoms_cardinal_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_cardinal_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->cardinal = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_cardinal_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_cardinal_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->cardinal);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_window_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_window_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->window = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_window_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_window_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->window);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_pixmap_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_pixmap_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->pixmap = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_pixmap_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_pixmap_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->pixmap);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_atom_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_atom_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->atom = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_atom_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_atom_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->atom);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_string_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_string_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->string = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_string_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_string_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->string);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_utf8_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_utf8_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->utf8 = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_utf8_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_utf8_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->utf8);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_openbox_pid_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_pid_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->openbox_pid = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_openbox_pid_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_pid_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->openbox_pid);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_colormap_windows_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_colormap_windows_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->wm_colormap_windows = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_colormap_windows_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_colormap_windows_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->wm_colormap_windows);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_protocols_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_protocols_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->wm_protocols = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_protocols_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_protocols_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->wm_protocols);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_state_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_state_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->wm_state = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_state_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_state_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->wm_state);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_delete_window_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_delete_window_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->wm_delete_window = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_delete_window_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_delete_window_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->wm_delete_window);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_take_focus_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_take_focus_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->wm_take_focus = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_take_focus_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_take_focus_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->wm_take_focus);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_change_state_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_change_state_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->wm_change_state = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_change_state_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_change_state_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->wm_change_state);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_name_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_name_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->wm_name = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_name_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_name_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->wm_name);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_icon_name_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_icon_name_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->wm_icon_name = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_icon_name_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_icon_name_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->wm_icon_name);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_class_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_class_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->wm_class = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_class_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_class_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->wm_class);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_window_role_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_window_role_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->wm_window_role = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_wm_window_role_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_window_role_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->wm_window_role);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_motif_wm_hints_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_motif_wm_hints_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->motif_wm_hints = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_motif_wm_hints_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_motif_wm_hints_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->motif_wm_hints);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_openbox_show_root_menu_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_root_menu_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->openbox_show_root_menu = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_openbox_show_root_menu_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_root_menu_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->openbox_show_root_menu);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_openbox_show_workspace_menu_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_workspace_menu_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->openbox_show_workspace_menu = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_openbox_show_workspace_menu_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_workspace_menu_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->openbox_show_workspace_menu);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_supported_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supported_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_supported = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_supported_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supported_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_supported);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_client_list_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_client_list = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_client_list_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_client_list);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_client_list_stacking_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_stacking_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_client_list_stacking = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_client_list_stacking_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_stacking_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_client_list_stacking);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_number_of_desktops_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_number_of_desktops_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_number_of_desktops = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_number_of_desktops_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_number_of_desktops_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_number_of_desktops);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_desktop_geometry_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_geometry_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_desktop_geometry = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_desktop_geometry_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_geometry_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_desktop_geometry);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_desktop_viewport_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_viewport_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_desktop_viewport = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_desktop_viewport_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_viewport_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_desktop_viewport);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_current_desktop_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_current_desktop_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_current_desktop = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_current_desktop_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_current_desktop_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_current_desktop);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_desktop_names_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_names_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_desktop_names = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_desktop_names_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_names_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_desktop_names);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_active_window_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_active_window_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_active_window = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_active_window_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_active_window_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_active_window);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_workarea_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_workarea_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_workarea = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_workarea_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_workarea_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_workarea);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_supporting_wm_check_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supporting_wm_check_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_supporting_wm_check = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_supporting_wm_check_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supporting_wm_check_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_supporting_wm_check);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_close_window_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_close_window_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_close_window = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_close_window_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_close_window_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_close_window);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_moveresize = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_moveresize);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_name_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_name_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_name = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_name_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_name_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_name);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_visible_name_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_name_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_visible_name = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_visible_name_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_name_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_visible_name);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_icon_name_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_icon_name_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_icon_name = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_icon_name_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_icon_name_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_icon_name);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_visible_icon_name_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_icon_name_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_visible_icon_name = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_visible_icon_name_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_icon_name_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_visible_icon_name);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_desktop_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_desktop_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_desktop = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_desktop_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_desktop_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_desktop);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_window_type = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_window_type);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_strut_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_strut_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_strut = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_strut_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_strut_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_strut);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_allowed_actions_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_allowed_actions_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_allowed_actions = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_allowed_actions_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_allowed_actions_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_allowed_actions);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_desktop_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_desktop_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_window_type_desktop = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_desktop_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_desktop_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_window_type_desktop);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_dock_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dock_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_window_type_dock = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_dock_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dock_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_window_type_dock);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_toolbar_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_window_type_toolbar = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_toolbar_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_window_type_toolbar);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_menu_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_menu_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_window_type_menu = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_menu_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_menu_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_window_type_menu);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_utility_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_utility_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_window_type_utility = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_utility_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_utility_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_window_type_utility);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_splash_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_splash_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_window_type_splash = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_splash_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_splash_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_window_type_splash);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_dialog_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dialog_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_window_type_dialog = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_dialog_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dialog_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_window_type_dialog);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_normal_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_normal_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_window_type_normal = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_window_type_normal_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_normal_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_window_type_normal);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topleft_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_moveresize_size_topleft = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topleft_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_moveresize_size_topleft);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topright_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_moveresize_size_topright = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topright_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_moveresize_size_topright);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomleft_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_moveresize_size_bottomleft = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomleft_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_moveresize_size_bottomleft);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomright_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_moveresize_size_bottomright = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomright_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_moveresize_size_bottomright);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_move_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_move_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_moveresize_move = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_moveresize_move_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_move_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_moveresize_move);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_move_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_move_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_action_move = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_move_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_move_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_action_move);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_resize_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_resize_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_action_resize = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_resize_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_resize_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_action_resize);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_minimize_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_minimize_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_action_minimize = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_minimize_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_minimize_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_action_minimize);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_shade_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_shade_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_action_shade = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_shade_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_shade_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_action_shade);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_stick_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_stick_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_action_stick = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_stick_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_stick_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_action_stick);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_horz_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_action_maximize_horz = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_horz_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_action_maximize_horz);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_vert_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_action_maximize_vert = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_vert_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_action_maximize_vert);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_fullscreen_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_fullscreen_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_action_fullscreen = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_fullscreen_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_fullscreen_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_action_fullscreen);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_change_desktop_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_change_desktop_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_action_change_desktop = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_change_desktop_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_change_desktop_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_action_change_desktop);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_close_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_close_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_action_close = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_action_close_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_close_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_action_close);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_modal_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_modal_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state_modal = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_modal_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_modal_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state_modal);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_sticky_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_sticky_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state_sticky = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_sticky_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_sticky_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state_sticky);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_maximized_vert_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_maximized_vert_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state_maximized_vert = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_maximized_vert_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_maximized_vert_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state_maximized_vert);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_maximized_horz_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_maximized_horz_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state_maximized_horz = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_maximized_horz_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_maximized_horz_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state_maximized_horz);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_shaded_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_shaded_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state_shaded = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_shaded_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_shaded_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state_shaded);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_skip_taskbar_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_skip_taskbar_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state_skip_taskbar = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_skip_taskbar_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_skip_taskbar_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state_skip_taskbar);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_skip_pager_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_skip_pager_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state_skip_pager = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_skip_pager_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_skip_pager_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state_skip_pager);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_hidden_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_hidden_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state_hidden = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_hidden_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_hidden_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state_hidden);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_fullscreen_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_fullscreen_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state_fullscreen = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_fullscreen_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_fullscreen_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state_fullscreen);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_above_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_above_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state_above = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_above_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_above_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state_above);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_below_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_below_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->net_wm_state_below = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_net_wm_state_below_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_below_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->net_wm_state_below);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_kde_net_system_tray_windows_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_system_tray_windows_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->kde_net_system_tray_windows = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_kde_net_system_tray_windows_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_system_tray_windows_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->kde_net_system_tray_windows);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_kde_net_wm_system_tray_window_for_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_wm_system_tray_window_for_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->kde_net_wm_system_tray_window_for = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_kde_net_wm_system_tray_window_for_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_wm_system_tray_window_for_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->kde_net_wm_system_tray_window_for);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_kde_net_wm_window_type_override_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_wm_window_type_override_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->kde_net_wm_window_type_override = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Atoms_kde_net_wm_window_type_override_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Atoms *arg1 = (otk::Atoms *) 0 ;
- Atom result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_wm_window_type_override_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Atom) ((arg1)->kde_net_wm_window_type_override);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * Atoms_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_otk__Atoms, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_Property_initialize(PyObject *self, PyObject *args) {
- PyObject *resultobj;
-
- if(!PyArg_ParseTuple(args,(char *)":Property_initialize")) goto fail;
- otk::Property::initialize();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_set__SWIG_0(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- Window arg1 ;
- Atom arg2 ;
- Atom arg3 ;
- unsigned long arg4 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOOO:Property_set",&obj0,&obj1,&obj2,&obj3)) goto fail;
- arg1 = (Window) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- arg3 = (Atom) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- arg4 = (unsigned long) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- otk::Property::set(arg1,arg2,arg3,arg4);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_set__SWIG_1(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- Window arg1 ;
- Atom arg2 ;
- Atom arg3 ;
- unsigned long *arg4 ;
- int arg5 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOOOi:Property_set",&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
- arg1 = (Window) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- arg3 = (Atom) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- otk::Property::set(arg1,arg2,arg3,arg4,arg5);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_set__SWIG_2(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- Window arg1 ;
- Atom arg2 ;
- int arg3 ;
- otk::ustring *arg4 = 0 ;
- otk::ustring temp4 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj3 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_set",&obj0,&obj1,&arg3,&obj3)) goto fail;
- arg1 = (Window) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- {
- if (PyString_Check(obj3)) {
- temp4 = otk::ustring(PyString_AsString(obj3));
- arg4 = &temp4;
- }else {
- SWIG_exception(SWIG_TypeError, "ustring expected");
- }
- }
- otk::Property::set(arg1,arg2,(otk::Property::StringType )arg3,(otk::ustring const &)*arg4);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_set__SWIG_3(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- Window arg1 ;
- Atom arg2 ;
- int arg3 ;
- otk::Property::StringVect *arg4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj3 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_set",&obj0,&obj1,&arg3,&obj3)) goto fail;
- arg1 = (Window) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg4 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- otk::Property::set(arg1,arg2,(otk::Property::StringType )arg3,(otk::Property::StringVect const &)*arg4);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_set(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[6];
- int ii;
-
- argc = PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 5); ii++) {
- argv[ii] = PyTuple_GetItem(args,ii);
- }
- if (argc == 4) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_Property_set__SWIG_3(self,args);
- }
- }
- }
- }
- }
- if (argc == 4) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
- }
- if (_v) {
- return _wrap_Property_set__SWIG_0(self,args);
- }
- }
- }
- }
- }
- if (argc == 4) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = PyString_Check(argv[3]) ? 1 : 0;
- }
- if (_v) {
- return _wrap_Property_set__SWIG_2(self,args);
- }
- }
- }
- }
- }
- if (argc == 5) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
- }
- if (_v) {
- return _wrap_Property_set__SWIG_1(self,args);
- }
- }
- }
- }
- }
- }
-
- PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_set'");
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_get__SWIG_0(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- Window arg1 ;
- Atom arg2 ;
- Atom arg3 ;
- unsigned long *arg4 = (unsigned long *) 0 ;
- unsigned long **arg5 = (unsigned long **) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOOOO:Property_get",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
- arg1 = (Window) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- arg3 = (Atom) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)otk::Property::get(arg1,arg2,arg3,arg4,arg5);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_get__SWIG_1(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- Window arg1 ;
- Atom arg2 ;
- Atom arg3 ;
- unsigned long *arg4 = (unsigned long *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOOO:Property_get",&obj0,&obj1,&obj2,&obj3)) goto fail;
- arg1 = (Window) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- arg3 = (Atom) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)otk::Property::get(arg1,arg2,arg3,arg4);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_get__SWIG_2(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- Window arg1 ;
- Atom arg2 ;
- int arg3 ;
- otk::ustring *arg4 = (otk::ustring *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj3 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_get",&obj0,&obj1,&arg3,&obj3)) goto fail;
- arg1 = (Window) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__ustring,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)otk::Property::get(arg1,arg2,(otk::Property::StringType )arg3,arg4);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_get__SWIG_3(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- Window arg1 ;
- Atom arg2 ;
- int arg3 ;
- unsigned long *arg4 = (unsigned long *) 0 ;
- otk::Property::StringVect *arg5 = (otk::Property::StringVect *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOiOO:Property_get",&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
- arg1 = (Window) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)otk::Property::get(arg1,arg2,(otk::Property::StringType )arg3,arg4,arg5);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_get(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[6];
- int ii;
-
- argc = PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 5); ii++) {
- argv[ii] = PyTuple_GetItem(args,ii);
- }
- if (argc == 4) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_Property_get__SWIG_1(self,args);
- }
- }
- }
- }
- }
- if (argc == 4) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_otk__ustring, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_Property_get__SWIG_2(self,args);
- }
- }
- }
- }
- }
- if (argc == 5) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_Property_get__SWIG_0(self,args);
- }
- }
- }
- }
- }
- }
- if (argc == 5) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_Property_get__SWIG_3(self,args);
- }
- }
- }
- }
- }
- }
-
- PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_get'");
- return NULL;
-}
-
-
-static PyObject *_wrap_Property_erase(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- Window arg1 ;
- Atom arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Property_erase",&obj0,&obj1)) goto fail;
- arg1 = (Window) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- otk::Property::erase(arg1,arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * Property_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_otk__Property, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *result;
-
- if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
- result = (otk::Rect *)new otk::Rect();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- int arg1 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- otk::Rect *result;
-
- if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
- result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Point *arg1 = 0 ;
- otk::Point *arg2 = 0 ;
- otk::Rect *result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = 0 ;
- otk::Rect *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- XRectangle *arg1 = 0 ;
- otk::Rect *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[5];
- int ii;
-
- argc = PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 4); ii++) {
- argv[ii] = PyTuple_GetItem(args,ii);
- }
- if (argc == 0) {
- return _wrap_new_Rect__SWIG_0(self,args);
- }
- if (argc == 1) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_new_Rect__SWIG_3(self,args);
- }
- }
- if (argc == 1) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_new_Rect__SWIG_4(self,args);
- }
- }
- if (argc == 2) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_new_Rect__SWIG_2(self,args);
- }
- }
- }
- if (argc == 4) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
- }
- if (_v) {
- return _wrap_new_Rect__SWIG_1(self,args);
- }
- }
- }
- }
- }
-
- PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Rect const *)arg1)->left();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Rect const *)arg1)->top();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Rect const *)arg1)->right();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Rect const *)arg1)->bottom();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Rect const *)arg1)->x();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Rect const *)arg1)->y();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Point result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = ((otk::Rect const *)arg1)->location();
-
- {
- otk::Point * resultptr;
- resultptr = new otk::Point((otk::Point &) result);
- resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setX(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setY(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int arg2 ;
- int arg3 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setPos(arg2,arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Point *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->setPos((otk::Point const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[4];
- int ii;
-
- argc = PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 3); ii++) {
- argv[ii] = PyTuple_GetItem(args,ii);
- }
- if (argc == 2) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_Rect_setPos__SWIG_1(self,args);
- }
- }
- }
- if (argc == 3) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- return _wrap_Rect_setPos__SWIG_0(self,args);
- }
- }
- }
- }
-
- PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Rect const *)arg1)->width();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::Rect const *)arg1)->height();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Point result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = ((otk::Rect const *)arg1)->size();
-
- {
- otk::Point * resultptr;
- resultptr = new otk::Point((otk::Point &) result);
- resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setWidth(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setHeight(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int arg2 ;
- int arg3 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setSize(arg2,arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Point *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->setSize((otk::Point const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[4];
- int ii;
-
- argc = PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 3); ii++) {
- argv[ii] = PyTuple_GetItem(args,ii);
- }
- if (argc == 2) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_Rect_setSize__SWIG_1(self,args);
- }
- }
- }
- if (argc == 3) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- return _wrap_Rect_setSize__SWIG_0(self,args);
- }
- }
- }
- }
-
- PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int arg5 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setRect(arg2,arg3,arg4,arg5);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Point *arg2 = 0 ;
- otk::Point *arg3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg3 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[6];
- int ii;
-
- argc = PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 5); ii++) {
- argv[ii] = PyTuple_GetItem(args,ii);
- }
- if (argc == 3) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_Rect_setRect__SWIG_1(self,args);
- }
- }
- }
- }
- if (argc == 5) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
- }
- if (_v) {
- return _wrap_Rect_setRect__SWIG_0(self,args);
- }
- }
- }
- }
- }
- }
-
- PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int arg5 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setCoords(arg2,arg3,arg4,arg5);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Point *arg2 = 0 ;
- otk::Point *arg3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg3 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[6];
- int ii;
-
- argc = PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 5); ii++) {
- argv[ii] = PyTuple_GetItem(args,ii);
- }
- if (argc == 3) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_Rect_setCoords__SWIG_1(self,args);
- }
- }
- }
- }
- if (argc == 5) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
- }
- if (_v) {
- return _wrap_Rect_setCoords__SWIG_0(self,args);
- }
- }
- }
- }
- }
- }
-
- PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Rect *arg2 = 0 ;
- bool result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Rect___eq__",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Rect *arg2 = 0 ;
- bool result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ne__",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- result = (bool)(arg1)->operator !=((otk::Rect const &)*arg2);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect___or__(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Rect *arg2 = 0 ;
- otk::Rect result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Rect___or__",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- result = ((otk::Rect const *)arg1)->operator |((otk::Rect const &)*arg2);
-
- {
- otk::Rect * resultptr;
- resultptr = new otk::Rect((otk::Rect &) result);
- resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect___and__(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Rect *arg2 = 0 ;
- otk::Rect result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Rect___and__",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- result = ((otk::Rect const *)arg1)->operator &((otk::Rect const &)*arg2);
-
- {
- otk::Rect * resultptr;
- resultptr = new otk::Rect((otk::Rect &) result);
- resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect___ior__(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Rect *arg2 = 0 ;
- otk::Rect *result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ior__",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- {
- otk::Rect &_result_ref = (arg1)->operator |=((otk::Rect const &)*arg2);
- result = (otk::Rect *) &_result_ref;
- }
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect___iand__(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Rect *arg2 = 0 ;
- otk::Rect *result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Rect___iand__",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- {
- otk::Rect &_result_ref = (arg1)->operator &=((otk::Rect const &)*arg2);
- result = (otk::Rect *) &_result_ref;
- }
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((otk::Rect const *)arg1)->valid();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Rect *arg2 = 0 ;
- bool result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- int arg2 ;
- int arg3 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Point *arg2 = 0 ;
- bool result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Rect *arg1 = (otk::Rect *) 0 ;
- otk::Rect *arg2 = 0 ;
- bool result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[4];
- int ii;
-
- argc = PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 3); ii++) {
- argv[ii] = PyTuple_GetItem(args,ii);
- }
- if (argc == 2) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_Rect_contains__SWIG_1(self,args);
- }
- }
- }
- if (argc == 2) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_Rect_contains__SWIG_2(self,args);
- }
- }
- }
- if (argc == 3) {
- int _v;
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- return _wrap_Rect_contains__SWIG_0(self,args);
- }
- }
- }
- }
-
- PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
- return NULL;
-}
-
-
-static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- unsigned int arg1 ;
- otk::ScreenInfo *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
- arg1 = (unsigned int) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
- Visual *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((otk::ScreenInfo const *)arg1)->rootWindow();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
- Colormap result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Colormap)((otk::ScreenInfo const *)arg1)->colormap();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((otk::ScreenInfo const *)arg1)->depth();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
- otk::Rect *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
- result = (otk::Rect *) &_result_ref;
- }
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
- std::string *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
- result = (std::string *) &_result_ref;
- }
-
- {
- resultobj = PyString_FromString(result->c_str());
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Strut *arg1 = (otk::Strut *) 0 ;
- unsigned int arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->top = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Strut *arg1 = (otk::Strut *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int) ((arg1)->top);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Strut *arg1 = (otk::Strut *) 0 ;
- unsigned int arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->bottom = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Strut *arg1 = (otk::Strut *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int) ((arg1)->bottom);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Strut *arg1 = (otk::Strut *) 0 ;
- unsigned int arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->left = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Strut *arg1 = (otk::Strut *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int) ((arg1)->left);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Strut *arg1 = (otk::Strut *) 0 ;
- unsigned int arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->right = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Strut *arg1 = (otk::Strut *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int) ((arg1)->right);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::Strut *result;
-
- if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
- result = (otk::Strut *)new otk::Strut();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- int arg1 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- otk::Strut *result;
-
- if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
- result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[5];
- int ii;
-
- argc = PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 4); ii++) {
- argv[ii] = PyTuple_GetItem(args,ii);
- }
- if (argc == 0) {
- return _wrap_new_Strut__SWIG_0(self,args);
- }
- if (argc == 4) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
- }
- if (_v) {
- return _wrap_new_Strut__SWIG_1(self,args);
- }
- }
- }
- }
- }
-
- PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
- return NULL;
-}
-
-
-static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_EventHandler_handle(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_handle",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->handle((XEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_keyPressHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XKeyEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XKeyEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XButtonEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XButtonEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_motionHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XMotionEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_motionHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->motionHandler((XMotionEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_enterHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XCrossingEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_enterHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->enterHandler((XCrossingEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_leaveHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XCrossingEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_leaveHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_focusHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XFocusChangeEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_focusHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_unfocusHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XFocusChangeEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_exposeHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XExposeEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_exposeHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->exposeHandler((XExposeEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XGraphicsExposeEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XNoExposeEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XCirculateRequestEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XConfigureRequestEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XMapRequestEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XResizeRequestEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_circulateHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XCirculateEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_configureHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XConfigureEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->configureHandler((XConfigureEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_createHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XCreateWindowEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_createHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_destroyHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XDestroyWindowEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_destroyHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_gravityHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XGravityEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_gravityHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->gravityHandler((XGravityEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_mapHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XMapEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->mapHandler((XMapEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_mappingHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XMappingEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mappingHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->mappingHandler((XMappingEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_reparentHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XReparentEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_reparentHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->reparentHandler((XReparentEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_unmapHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XUnmapEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unmapHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_visibilityHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XVisibilityEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_colorMapHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XColormapEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_propertyHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XPropertyEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_propertyHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XSelectionClearEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_selectionHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XSelectionEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XSelectionRequestEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- XClientMessageEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_delete_EventHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:delete_EventHandler",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- delete arg1;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * EventHandler_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_otk__EventHandler, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_new_EventDispatcher(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *result;
-
- if(!PyArg_ParseTuple(args,(char *)":new_EventDispatcher")) goto fail;
- result = (otk::EventDispatcher *)new otk::EventDispatcher();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventDispatcher, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_delete_EventDispatcher(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:delete_EventDispatcher",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- delete arg1;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_clearAllHandlers",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->clearAllHandlers();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventDispatcher_registerHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
- Window arg2 ;
- otk::EventHandler *arg3 = (otk::EventHandler *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOO:EventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Window) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->registerHandler(arg2,arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventDispatcher_clearHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
- Window arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Window) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- (arg1)->clearHandler(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_dispatchEvents",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->dispatchEvents();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
- otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setFallbackHandler(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
- otk::EventHandler *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getFallbackHandler",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getFallbackHandler();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventDispatcher_setMasterHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
- otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setMasterHandler(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
- otk::EventHandler *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getMasterHandler",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getMasterHandler();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventDispatcher_findHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
- Window arg2 ;
- otk::EventHandler *result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_findHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Window) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- result = (otk::EventHandler *)(arg1)->findHandler(arg2);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventDispatcher_lastTime(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
- Time result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_lastTime",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Time)((otk::EventDispatcher const *)arg1)->lastTime();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * EventDispatcher_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_otk__EventDispatcher, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_Cursors_session_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_session_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Cursor) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->session = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Cursors_session_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Cursors_session_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Cursor) ((arg1)->session);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Cursors_move_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_move_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Cursor) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->move = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Cursors_move_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Cursors_move_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Cursor) ((arg1)->move);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Cursors_ll_angle_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ll_angle_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Cursor) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->ll_angle = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Cursors_ll_angle_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ll_angle_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Cursor) ((arg1)->ll_angle);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Cursors_lr_angle_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_lr_angle_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Cursor) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->lr_angle = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Cursors_lr_angle_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Cursors_lr_angle_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Cursor) ((arg1)->lr_angle);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Cursors_ul_angle_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ul_angle_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Cursor) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->ul_angle = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Cursors_ul_angle_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ul_angle_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Cursor) ((arg1)->ul_angle);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Cursors_ur_angle_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ur_angle_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Cursor) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->ur_angle = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Cursors_ur_angle_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Cursors *arg1 = (ob::Cursors *) 0 ;
- Cursor result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ur_angle_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Cursor) ((arg1)->ur_angle);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * Cursors_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_Openbox_state(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Openbox_state",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((ob::Openbox const *)arg1)->state();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_actions(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- ob::Actions *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Openbox_actions",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Actions *)((ob::Openbox const *)arg1)->actions();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Actions, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_bindings(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- ob::Bindings *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Openbox_bindings",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Bindings *)((ob::Openbox const *)arg1)->bindings();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Bindings, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_screen(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- int arg2 ;
- ob::Screen *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:Openbox_screen",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Screen *)(arg1)->screen(arg2);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_screenCount(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Openbox_screenCount",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((ob::Openbox const *)arg1)->screenCount();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_cursors(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- ob::Cursors *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Openbox_cursors",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- ob::Cursors const &_result_ref = ((ob::Openbox const *)arg1)->cursors();
- result = (ob::Cursors *) &_result_ref;
- }
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Cursors, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_addClient(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- Window arg2 ;
- ob::Client *arg3 = (ob::Client *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOO:Openbox_addClient",&obj0,&obj1,&obj2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Window) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->addClient(arg2,arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_removeClient(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- Window arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_removeClient",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Window) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- (arg1)->removeClient(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_findClient(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- Window arg2 ;
- ob::Client *result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_findClient",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Window) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- result = (ob::Client *)(arg1)->findClient(arg2);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_focusedClient(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- ob::Client *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedClient",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Client *)(arg1)->focusedClient();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_setFocusedClient(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- ob::Client *arg2 = (ob::Client *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_setFocusedClient",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setFocusedClient(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_focusedScreen(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- ob::Screen *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedScreen",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Screen *)(arg1)->focusedScreen();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_shutdown(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Openbox_shutdown",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->shutdown();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_restart(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- std::string const &arg2_defvalue = "" ;
- std::string *arg2 = (std::string *) &arg2_defvalue ;
- std::string temp2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O|O:Openbox_restart",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (obj1) {
- {
- if (PyString_Check(obj1)) {
- temp2 = std::string(PyString_AsString(obj1));
- arg2 = &temp2;
- }else {
- SWIG_exception(SWIG_TypeError, "string expected");
- }
- }
- }
- (arg1)->restart((std::string const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Openbox_execute(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Openbox *arg1 = (ob::Openbox *) 0 ;
- int arg2 ;
- std::string *arg3 = 0 ;
- std::string temp3 ;
- PyObject * obj0 = 0 ;
- PyObject * obj2 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OiO:Openbox_execute",&obj0,&arg2,&obj2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- if (PyString_Check(obj2)) {
- temp3 = std::string(PyString_AsString(obj2));
- arg3 = &temp3;
- }else {
- SWIG_exception(SWIG_TypeError, "string expected");
- }
- }
- (arg1)->execute(arg2,(std::string const &)*arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * Openbox_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_Screen_client(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- int arg2 ;
- ob::Client *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:Screen_client",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Client *)ob_Screen_client(arg1,arg2);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_clientCount(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Screen_clientCount",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)ob_Screen_clientCount((ob::Screen const *)arg1);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_number(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Screen_number",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((ob::Screen const *)arg1)->number();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_managed(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Screen_managed",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Screen const *)arg1)->managed();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_area(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- otk::Rect *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Screen_area",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- otk::Rect const &_result_ref = ((ob::Screen const *)arg1)->area();
- result = (otk::Rect *) &_result_ref;
- }
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_style(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- otk::RenderStyle *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Screen_style",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (otk::RenderStyle *)((ob::Screen const *)arg1)->style();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__RenderStyle, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_focuswindow(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Screen_focuswindow",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Screen const *)arg1)->focuswindow();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_desktop(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- long result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Screen_desktop",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (long)((ob::Screen const *)arg1)->desktop();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_numDesktops(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- long result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Screen_numDesktops",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (long)((ob::Screen const *)arg1)->numDesktops();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_updateStrut(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Screen_updateStrut",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->updateStrut();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_manageExisting(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Screen_manageExisting",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->manageExisting();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_manageWindow(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- Window arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Screen_manageWindow",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Window) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- (arg1)->manageWindow(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_unmanageWindow(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- ob::Client *arg2 = (ob::Client *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Screen_unmanageWindow",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->unmanageWindow(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_raiseWindow(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- ob::Client *arg2 = (ob::Client *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Screen_raiseWindow",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->raiseWindow(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_lowerWindow(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- ob::Client *arg2 = (ob::Client *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Screen_lowerWindow",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->lowerWindow(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_setDesktopName(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- long arg2 ;
- otk::ustring *arg3 = 0 ;
- otk::ustring temp3 ;
- PyObject * obj0 = 0 ;
- PyObject * obj2 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OlO:Screen_setDesktopName",&obj0,&arg2,&obj2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- if (PyString_Check(obj2)) {
- temp3 = otk::ustring(PyString_AsString(obj2));
- arg3 = &temp3;
- }else {
- SWIG_exception(SWIG_TypeError, "ustring expected");
- }
- }
- (arg1)->setDesktopName(arg2,(otk::ustring const &)*arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_propertyHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- XPropertyEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Screen_propertyHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_clientMessageHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- XClientMessageEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Screen_clientMessageHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Screen_mapRequestHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Screen *arg1 = (ob::Screen *) 0 ;
- XMapRequestEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Screen_mapRequestHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * Screen_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_ob__Screen, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_MwmHints_flags_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
- unsigned long arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_flags_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned long) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->flags = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MwmHints_flags_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
- unsigned long result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_flags_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned long) ((arg1)->flags);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MwmHints_functions_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
- unsigned long arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_functions_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned long) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->functions = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MwmHints_functions_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
- unsigned long result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_functions_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned long) ((arg1)->functions);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MwmHints_decorations_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
- unsigned long arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_decorations_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned long) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->decorations = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MwmHints_decorations_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
- unsigned long result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_decorations_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned long) ((arg1)->decorations);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * MwmHints_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_Client_frame_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- ob::Frame *arg2 = (ob::Frame *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Client_frame_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
- if (arg1) (arg1)->frame = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_frame_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- ob::Frame *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_frame_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Frame *) ((arg1)->frame);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Frame, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_ignore_unmaps_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:Client_ignore_unmaps_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->ignore_unmaps = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_ignore_unmaps_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_ignore_unmaps_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->ignore_unmaps);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_screen(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_screen",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((ob::Client const *)arg1)->screen();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_window(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_window",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Client const *)arg1)->window();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_type(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_type",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((ob::Client const *)arg1)->type();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_normal(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_normal",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->normal();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_desktop(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- long result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_desktop",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (long)((ob::Client const *)arg1)->desktop();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_title(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- otk::ustring *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_title",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- otk::ustring const &_result_ref = ((ob::Client const *)arg1)->title();
- result = (otk::ustring *) &_result_ref;
- }
-
- {
- resultobj = PyString_FromString(result->c_str());
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_iconTitle(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- otk::ustring *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_iconTitle",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- otk::ustring const &_result_ref = ((ob::Client const *)arg1)->iconTitle();
- result = (otk::ustring *) &_result_ref;
- }
-
- {
- resultobj = PyString_FromString(result->c_str());
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_appName(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- std::string *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_appName",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- std::string const &_result_ref = ((ob::Client const *)arg1)->appName();
- result = (std::string *) &_result_ref;
- }
-
- {
- resultobj = PyString_FromString(result->c_str());
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_appClass(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- std::string *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_appClass",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- std::string const &_result_ref = ((ob::Client const *)arg1)->appClass();
- result = (std::string *) &_result_ref;
- }
-
- {
- resultobj = PyString_FromString(result->c_str());
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_role(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- std::string *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_role",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- std::string const &_result_ref = ((ob::Client const *)arg1)->role();
- result = (std::string *) &_result_ref;
- }
-
- {
- resultobj = PyString_FromString(result->c_str());
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_canFocus(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_canFocus",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->canFocus();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_urgent(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_urgent",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->urgent();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_focusNotify(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_focusNotify",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->focusNotify();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_shaped(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_shaped",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->shaped();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_gravity(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_gravity",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((ob::Client const *)arg1)->gravity();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_positionRequested(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_positionRequested",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->positionRequested();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_decorations(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- ob::Client::DecorationFlags result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_decorations",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Client::DecorationFlags)((ob::Client const *)arg1)->decorations();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_funtions(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- ob::Client::FunctionFlags result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_funtions",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Client::FunctionFlags)((ob::Client const *)arg1)->funtions();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_transientFor(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- ob::Client *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_transientFor",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Client *)((ob::Client const *)arg1)->transientFor();
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_modal(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_modal",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->modal();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_shaded(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_shaded",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->shaded();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_fullscreen(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_fullscreen",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->fullscreen();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_iconic(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_iconic",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->iconic();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_maxVert(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_maxVert",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->maxVert();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_maxHorz(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_maxHorz",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)((ob::Client const *)arg1)->maxHorz();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_layer(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_layer",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int)((ob::Client const *)arg1)->layer();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_applyStartupState(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_applyStartupState",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->applyStartupState();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_toggleClientBorder(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Client_toggleClientBorder",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (bool) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- (arg1)->toggleClientBorder(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_area(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- otk::Rect *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_area",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- otk::Rect const &_result_ref = ((ob::Client const *)arg1)->area();
- result = (otk::Rect *) &_result_ref;
- }
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_strut(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- otk::Strut *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_strut",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- otk::Strut const &_result_ref = ((ob::Client const *)arg1)->strut();
- result = (otk::Strut *) &_result_ref;
- }
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_move(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- int arg2 ;
- int arg3 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oii:Client_move",&obj0,&arg2,&arg3)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->move(arg2,arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_resize(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oiii:Client_resize",&obj0,&arg2,&arg3,&arg4)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->resize((ob::Client::Corner )arg2,arg3,arg4);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_focus(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_focus",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (bool)(arg1)->focus();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_unfocus(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Client_unfocus",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- ((ob::Client const *)arg1)->unfocus();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_focusHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- XFocusChangeEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Client_focusHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_unfocusHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- XFocusChangeEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Client_unfocusHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_propertyHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- XPropertyEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Client_propertyHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_clientMessageHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- XClientMessageEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Client_clientMessageHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_configureRequestHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- XConfigureRequestEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Client_configureRequestHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_unmapHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- XUnmapEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Client_unmapHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_destroyHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- XDestroyWindowEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Client_destroyHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_reparentHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- XReparentEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Client_reparentHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->reparentHandler((XReparentEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Client_mapRequestHandler(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- XMapRequestEvent *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Client_mapRequestHandler",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * Client_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_ob__Client, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Client *arg1 = (ob::Client *) 0 ;
- otk::RenderStyle *arg2 = (otk::RenderStyle *) 0 ;
- ob::Frame *result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:new_Frame",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__RenderStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Frame *)new ob::Frame(arg1,arg2);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Frame, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_delete_Frame(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:delete_Frame",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- delete arg1;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_size(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- otk::Strut *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_size",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- otk::Strut const &_result_ref = ((ob::Frame const *)arg1)->size();
- result = (otk::Strut *) &_result_ref;
- }
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_setStyle(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- otk::RenderStyle *arg2 = (otk::RenderStyle *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Frame_setStyle",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__RenderStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->setStyle(arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_adjust(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjust",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->adjust();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_focus(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_focus",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->focus();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_unfocus(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_unfocus",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->unfocus();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_setTitle(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- otk::ustring *arg2 = 0 ;
- otk::ustring temp2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:Frame_setTitle",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- if (PyString_Check(obj1)) {
- temp2 = otk::ustring(PyString_AsString(obj1));
- arg2 = &temp2;
- }else {
- SWIG_exception(SWIG_TypeError, "ustring expected");
- }
- }
- (arg1)->setTitle((otk::ustring const &)*arg2);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_grabClient(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_grabClient",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->grabClient();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_releaseClient(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_releaseClient",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->releaseClient();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_adjustSize(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjustSize",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->adjustSize();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_adjustPosition(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjustPosition",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->adjustPosition();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_adjustShape(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjustShape",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->adjustShape();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_adjustState(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjustState",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- (arg1)->adjustState();
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_clientGravity(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- int *arg2 = 0 ;
- int *arg3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOO:Frame_clientGravity",&obj0,&obj1,&obj2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg3 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->clientGravity(*arg2,*arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_frameGravity(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- int *arg2 = 0 ;
- int *arg3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOO:Frame_frameGravity",&obj0,&obj1,&obj2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg2 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg3 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- (arg1)->frameGravity(*arg2,*arg3);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_plate(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_plate",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Frame const *)arg1)->plate();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_titlebar(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_titlebar",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Frame const *)arg1)->titlebar();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_label(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_label",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Frame const *)arg1)->label();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_button_close(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_close",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Frame const *)arg1)->button_close();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_button_iconify(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_iconify",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Frame const *)arg1)->button_iconify();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_button_max(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_max",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Frame const *)arg1)->button_max();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_button_alldesk(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_alldesk",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Frame const *)arg1)->button_alldesk();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_handle(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_handle",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Frame const *)arg1)->handle();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_grip_left(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_grip_left",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Frame const *)arg1)->grip_left();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Frame_grip_right(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::Frame *arg1 = (ob::Frame *) 0 ;
- Window result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:Frame_grip_right",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Window)((ob::Frame const *)arg1)->grip_right();
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_ob__Frame, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_MouseData_screen_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_screen_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->screen = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_screen_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_screen_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->screen);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_client_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- ob::Client *arg2 = (ob::Client *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_client_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
- if (arg1) (arg1)->client = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_client_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- ob::Client *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_client_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Client *) ((arg1)->client);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_time_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- Time arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_time_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Time) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->time = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_time_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- Time result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_time_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Time) ((arg1)->time);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_state_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- unsigned int arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_state_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->state = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_state_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_state_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int) ((arg1)->state);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_button_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- unsigned int arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_button_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->button = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_button_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_button_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int) ((arg1)->button);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_context_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_context_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->context = (ob::MouseContext )arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_context_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_context_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->context);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_action_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_action_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->action = (ob::MouseAction )arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_action_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_action_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->action);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_xroot_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_xroot_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->xroot = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_xroot_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_xroot_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->xroot);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_yroot_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_yroot_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->yroot = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_yroot_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_yroot_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->yroot);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_pressx_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressx_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->pressx = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_pressx_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressx_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->pressx);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_pressy_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressy_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->pressy = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_pressy_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressy_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->pressy);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_press_clientx_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientx_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->press_clientx = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_press_clientx_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientx_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->press_clientx);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_press_clienty_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clienty_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->press_clienty = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_press_clienty_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clienty_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->press_clienty);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_press_clientwidth_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientwidth_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->press_clientwidth = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_press_clientwidth_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientwidth_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->press_clientwidth);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_press_clientheight_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientheight_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->press_clientheight = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MouseData_press_clientheight_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::MouseData *arg1 = (ob::MouseData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientheight_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->press_clientheight);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_MouseData__SWIG_0(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- int arg1 ;
- ob::Client *arg2 = (ob::Client *) 0 ;
- Time arg3 ;
- unsigned int arg4 ;
- unsigned int arg5 ;
- int arg6 ;
- int arg7 ;
- int arg8 ;
- int arg9 ;
- otk::Point *arg10 = 0 ;
- otk::Rect *arg11 = 0 ;
- ob::MouseData *result;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- PyObject * obj9 = 0 ;
- PyObject * obj10 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg3 = (Time) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- arg4 = (unsigned int) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- arg5 = (unsigned int) PyInt_AsLong(obj4);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg10 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- if ((SWIG_ConvertPtr(obj10,(void **) &arg11, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg11 == NULL) {
- PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
- }
- result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7,arg8,arg9,(otk::Point const &)*arg10,(otk::Rect const &)*arg11);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_MouseData__SWIG_1(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- int arg1 ;
- ob::Client *arg2 = (ob::Client *) 0 ;
- Time arg3 ;
- unsigned int arg4 ;
- unsigned int arg5 ;
- int arg6 ;
- int arg7 ;
- ob::MouseData *result;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg3 = (Time) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- arg4 = (unsigned int) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- arg5 = (unsigned int) PyInt_AsLong(obj4);
- if (PyErr_Occurred()) SWIG_fail;
- result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_MouseData(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[12];
- int ii;
-
- argc = PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 11); ii++) {
- argv[ii] = PyTuple_GetItem(args,ii);
- }
- if (argc == 7) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
- }
- if (_v) {
- return _wrap_new_MouseData__SWIG_1(self,args);
- }
- }
- }
- }
- }
- }
- }
- }
- if (argc == 11) {
- int _v;
- {
- _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[7]) || PyLong_Check(argv[7])) ? 1 : 0;
- }
- if (_v) {
- {
- _v = (PyInt_Check(argv[8]) || PyLong_Check(argv[8])) ? 1 : 0;
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[9], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- {
- void *ptr;
- if (SWIG_ConvertPtr(argv[10], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
- _v = 0;
- PyErr_Clear();
- }else {
- _v = 1;
- }
- }
- if (_v) {
- return _wrap_new_MouseData__SWIG_0(self,args);
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
-
- PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_MouseData'");
- return NULL;
-}
-
-
-static PyObject * MouseData_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_EventData_screen_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::EventData *arg1 = (ob::EventData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_screen_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->screen = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventData_screen_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::EventData *arg1 = (ob::EventData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:EventData_screen_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->screen);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventData_client_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::EventData *arg1 = (ob::EventData *) 0 ;
- ob::Client *arg2 = (ob::Client *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventData_client_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
- if (arg1) (arg1)->client = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventData_client_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::EventData *arg1 = (ob::EventData *) 0 ;
- ob::Client *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:EventData_client_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Client *) ((arg1)->client);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventData_state_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::EventData *arg1 = (ob::EventData *) 0 ;
- unsigned int arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:EventData_state_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->state = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventData_state_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::EventData *arg1 = (ob::EventData *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:EventData_state_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int) ((arg1)->state);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventData_action_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::EventData *arg1 = (ob::EventData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_action_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->action = (ob::EventAction )arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_EventData_action_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::EventData *arg1 = (ob::EventData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:EventData_action_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->action);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_EventData(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- int arg1 ;
- ob::Client *arg2 = (ob::Client *) 0 ;
- int arg3 ;
- unsigned int arg4 ;
- ob::EventData *result;
- PyObject * obj1 = 0 ;
- PyObject * obj3 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"iOiO:new_EventData",&arg1,&obj1,&arg3,&obj3)) goto fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg4 = (unsigned int) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- result = (ob::EventData *)new ob::EventData(arg1,arg2,(ob::EventAction )arg3,arg4);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__EventData, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * EventData_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_ob__EventData, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_KeyData_screen_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_screen_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->screen = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_KeyData_screen_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:KeyData_screen_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->screen);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_KeyData_client_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- ob::Client *arg2 = (ob::Client *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_client_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
- if (arg1) (arg1)->client = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_KeyData_client_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- ob::Client *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:KeyData_client_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (ob::Client *) ((arg1)->client);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_KeyData_time_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- Time arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_time_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (Time) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->time = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_KeyData_time_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- Time result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:KeyData_time_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (Time) ((arg1)->time);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_KeyData_state_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- unsigned int arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_state_set",&obj0,&obj1)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (unsigned int) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (arg1) (arg1)->state = arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_KeyData_state_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- unsigned int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:KeyData_state_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (unsigned int) ((arg1)->state);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_KeyData_key_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- char *arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Os:KeyData_key_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- if (arg1->key) delete [] arg1->key;
- arg1->key = (char *) (new char[strlen(arg2)+1]);
- strcpy((char *) arg1->key,arg2);
- }
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_KeyData_key_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- char *result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:KeyData_key_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (char *) ((arg1)->key);
-
- resultobj = result ? PyString_FromString(result) : Py_BuildValue((char*)"");
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_KeyData_action_set(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- int arg2 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_action_set",&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if (arg1) (arg1)->action = (ob::KeyAction )arg2;
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_KeyData_action_get(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- ob::KeyData *arg1 = (ob::KeyData *) 0 ;
- int result;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:KeyData_action_get",&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- result = (int) ((arg1)->action);
-
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_new_KeyData(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- int arg1 ;
- ob::Client *arg2 = (ob::Client *) 0 ;
- Time arg3 ;
- unsigned int arg4 ;
- unsigned int arg5 ;
- int arg6 ;
- ob::KeyData *result;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"iOOOOi:new_KeyData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg3 = (Time) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- arg4 = (unsigned int) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- arg5 = (unsigned int) PyInt_AsLong(obj4);
- if (PyErr_Occurred()) SWIG_fail;
- result = (ob::KeyData *)new ob::KeyData(arg1,arg2,arg3,arg4,arg5,(ob::KeyAction )arg6);
-
- resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__KeyData, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * KeyData_swigregister(PyObject *self, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_mbind(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- std::string *arg1 = 0 ;
- int arg2 ;
- int arg3 ;
- PyObject *arg4 = (PyObject *) 0 ;
- PyObject *result;
- std::string temp1 ;
- PyObject * obj0 = 0 ;
- PyObject * obj3 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OiiO:mbind",&obj0,&arg2,&arg3,&obj3)) goto fail;
- {
- if (PyString_Check(obj0)) {
- temp1 = std::string(PyString_AsString(obj0));
- arg1 = &temp1;
- }else {
- SWIG_exception(SWIG_TypeError, "string expected");
- }
- }
- arg4 = obj3;
- result = (PyObject *)ob::mbind((std::string const &)*arg1,(ob::MouseContext )arg2,(ob::MouseAction )arg3,arg4);
-
- resultobj = result;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_kbind(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- PyObject *arg1 = (PyObject *) 0 ;
- int arg2 ;
- PyObject *arg3 = (PyObject *) 0 ;
- PyObject *result;
- PyObject * obj0 = 0 ;
- PyObject * obj2 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OiO:kbind",&obj0,&arg2,&obj2)) goto fail;
- arg1 = obj0;
- arg3 = obj2;
- result = (PyObject *)ob::kbind(arg1,(ob::KeyContext )arg2,arg3);
-
- resultobj = result;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_kgrab(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- int arg1 ;
- PyObject *arg2 = (PyObject *) 0 ;
- PyObject *result;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"iO:kgrab",&arg1,&obj1)) goto fail;
- arg2 = obj1;
- result = (PyObject *)ob::kgrab(arg1,arg2);
-
- resultobj = result;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_kungrab(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- PyObject *result;
-
- if(!PyArg_ParseTuple(args,(char *)":kungrab")) goto fail;
- result = (PyObject *)ob::kungrab();
-
- resultobj = result;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_ebind(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- int arg1 ;
- PyObject *arg2 = (PyObject *) 0 ;
- PyObject *result;
- PyObject * obj1 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"iO:ebind",&arg1,&obj1)) goto fail;
- arg2 = obj1;
- result = (PyObject *)ob::ebind((ob::EventAction )arg1,arg2);
-
- resultobj = result;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_set_reset_key(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- std::string *arg1 = 0 ;
- std::string temp1 ;
- PyObject * obj0 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"O:set_reset_key",&obj0)) goto fail;
- {
- if (PyString_Check(obj0)) {
- temp1 = std::string(PyString_AsString(obj0));
- arg1 = &temp1;
- }else {
- SWIG_exception(SWIG_TypeError, "string expected");
- }
- }
- ob::set_reset_key((std::string const &)*arg1);
-
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_send_client_msg(PyObject *self, PyObject *args) {
- PyObject *resultobj;
- Window arg1 ;
- Atom arg2 ;
- Window arg3 ;
- long arg4 ;
- long arg5 = (long) 0 ;
- long arg6 = (long) 0 ;
- long arg7 = (long) 0 ;
- long arg8 = (long) 0 ;
- PyObject *result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
-
- if(!PyArg_ParseTuple(args,(char *)"OOOl|llll:send_client_msg",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
- arg1 = (Window) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = (Atom) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- arg3 = (Window) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- result = (PyObject *)ob::send_client_msg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
-
- resultobj = result;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyMethodDef SwigMethods[] = {
- { (char *)"Openbox_instance", _wrap_Openbox_instance, METH_VARARGS },
- { (char *)"Display_instance", _wrap_Display_instance, METH_VARARGS },
- { (char *)"Property_atoms", _wrap_Property_atoms, METH_VARARGS },
- { (char *)"new_Display", _wrap_new_Display, METH_VARARGS },
- { (char *)"delete_Display", _wrap_delete_Display, METH_VARARGS },
- { (char *)"Display_screenInfo", _wrap_Display_screenInfo, METH_VARARGS },
- { (char *)"Display_findScreen", _wrap_Display_findScreen, METH_VARARGS },
- { (char *)"Display_renderControl", _wrap_Display_renderControl, METH_VARARGS },
- { (char *)"Display_xkb", _wrap_Display_xkb, METH_VARARGS },
- { (char *)"Display_xkbEventBase", _wrap_Display_xkbEventBase, METH_VARARGS },
- { (char *)"Display_shape", _wrap_Display_shape, METH_VARARGS },
- { (char *)"Display_shapeEventBase", _wrap_Display_shapeEventBase, METH_VARARGS },
- { (char *)"Display_xinerama", _wrap_Display_xinerama, METH_VARARGS },
- { (char *)"Display_numLockMask", _wrap_Display_numLockMask, METH_VARARGS },
- { (char *)"Display_scrollLockMask", _wrap_Display_scrollLockMask, METH_VARARGS },
- { (char *)"Display_modifierMap", _wrap_Display_modifierMap, METH_VARARGS },
- { (char *)"Display___mul__", _wrap_Display___mul__, METH_VARARGS },
- { (char *)"Display_grab", _wrap_Display_grab, METH_VARARGS },
- { (char *)"Display_ungrab", _wrap_Display_ungrab, METH_VARARGS },
- { (char *)"Display_grabButton", _wrap_Display_grabButton, METH_VARARGS },
- { (char *)"Display_ungrabButton", _wrap_Display_ungrabButton, METH_VARARGS },
- { (char *)"Display_grabKey", _wrap_Display_grabKey, METH_VARARGS },
- { (char *)"Display_ungrabKey", _wrap_Display_ungrabKey, METH_VARARGS },
- { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
- { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
- { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
- { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
- { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
- { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
- { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
- { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
- { (char *)"Atoms_cardinal_set", _wrap_Atoms_cardinal_set, METH_VARARGS },
- { (char *)"Atoms_cardinal_get", _wrap_Atoms_cardinal_get, METH_VARARGS },
- { (char *)"Atoms_window_set", _wrap_Atoms_window_set, METH_VARARGS },
- { (char *)"Atoms_window_get", _wrap_Atoms_window_get, METH_VARARGS },
- { (char *)"Atoms_pixmap_set", _wrap_Atoms_pixmap_set, METH_VARARGS },
- { (char *)"Atoms_pixmap_get", _wrap_Atoms_pixmap_get, METH_VARARGS },
- { (char *)"Atoms_atom_set", _wrap_Atoms_atom_set, METH_VARARGS },
- { (char *)"Atoms_atom_get", _wrap_Atoms_atom_get, METH_VARARGS },
- { (char *)"Atoms_string_set", _wrap_Atoms_string_set, METH_VARARGS },
- { (char *)"Atoms_string_get", _wrap_Atoms_string_get, METH_VARARGS },
- { (char *)"Atoms_utf8_set", _wrap_Atoms_utf8_set, METH_VARARGS },
- { (char *)"Atoms_utf8_get", _wrap_Atoms_utf8_get, METH_VARARGS },
- { (char *)"Atoms_openbox_pid_set", _wrap_Atoms_openbox_pid_set, METH_VARARGS },
- { (char *)"Atoms_openbox_pid_get", _wrap_Atoms_openbox_pid_get, METH_VARARGS },
- { (char *)"Atoms_wm_colormap_windows_set", _wrap_Atoms_wm_colormap_windows_set, METH_VARARGS },
- { (char *)"Atoms_wm_colormap_windows_get", _wrap_Atoms_wm_colormap_windows_get, METH_VARARGS },
- { (char *)"Atoms_wm_protocols_set", _wrap_Atoms_wm_protocols_set, METH_VARARGS },
- { (char *)"Atoms_wm_protocols_get", _wrap_Atoms_wm_protocols_get, METH_VARARGS },
- { (char *)"Atoms_wm_state_set", _wrap_Atoms_wm_state_set, METH_VARARGS },
- { (char *)"Atoms_wm_state_get", _wrap_Atoms_wm_state_get, METH_VARARGS },
- { (char *)"Atoms_wm_delete_window_set", _wrap_Atoms_wm_delete_window_set, METH_VARARGS },
- { (char *)"Atoms_wm_delete_window_get", _wrap_Atoms_wm_delete_window_get, METH_VARARGS },
- { (char *)"Atoms_wm_take_focus_set", _wrap_Atoms_wm_take_focus_set, METH_VARARGS },
- { (char *)"Atoms_wm_take_focus_get", _wrap_Atoms_wm_take_focus_get, METH_VARARGS },
- { (char *)"Atoms_wm_change_state_set", _wrap_Atoms_wm_change_state_set, METH_VARARGS },
- { (char *)"Atoms_wm_change_state_get", _wrap_Atoms_wm_change_state_get, METH_VARARGS },
- { (char *)"Atoms_wm_name_set", _wrap_Atoms_wm_name_set, METH_VARARGS },
- { (char *)"Atoms_wm_name_get", _wrap_Atoms_wm_name_get, METH_VARARGS },
- { (char *)"Atoms_wm_icon_name_set", _wrap_Atoms_wm_icon_name_set, METH_VARARGS },
- { (char *)"Atoms_wm_icon_name_get", _wrap_Atoms_wm_icon_name_get, METH_VARARGS },
- { (char *)"Atoms_wm_class_set", _wrap_Atoms_wm_class_set, METH_VARARGS },
- { (char *)"Atoms_wm_class_get", _wrap_Atoms_wm_class_get, METH_VARARGS },
- { (char *)"Atoms_wm_window_role_set", _wrap_Atoms_wm_window_role_set, METH_VARARGS },
- { (char *)"Atoms_wm_window_role_get", _wrap_Atoms_wm_window_role_get, METH_VARARGS },
- { (char *)"Atoms_motif_wm_hints_set", _wrap_Atoms_motif_wm_hints_set, METH_VARARGS },
- { (char *)"Atoms_motif_wm_hints_get", _wrap_Atoms_motif_wm_hints_get, METH_VARARGS },
- { (char *)"Atoms_openbox_show_root_menu_set", _wrap_Atoms_openbox_show_root_menu_set, METH_VARARGS },
- { (char *)"Atoms_openbox_show_root_menu_get", _wrap_Atoms_openbox_show_root_menu_get, METH_VARARGS },
- { (char *)"Atoms_openbox_show_workspace_menu_set", _wrap_Atoms_openbox_show_workspace_menu_set, METH_VARARGS },
- { (char *)"Atoms_openbox_show_workspace_menu_get", _wrap_Atoms_openbox_show_workspace_menu_get, METH_VARARGS },
- { (char *)"Atoms_net_supported_set", _wrap_Atoms_net_supported_set, METH_VARARGS },
- { (char *)"Atoms_net_supported_get", _wrap_Atoms_net_supported_get, METH_VARARGS },
- { (char *)"Atoms_net_client_list_set", _wrap_Atoms_net_client_list_set, METH_VARARGS },
- { (char *)"Atoms_net_client_list_get", _wrap_Atoms_net_client_list_get, METH_VARARGS },
- { (char *)"Atoms_net_client_list_stacking_set", _wrap_Atoms_net_client_list_stacking_set, METH_VARARGS },
- { (char *)"Atoms_net_client_list_stacking_get", _wrap_Atoms_net_client_list_stacking_get, METH_VARARGS },
- { (char *)"Atoms_net_number_of_desktops_set", _wrap_Atoms_net_number_of_desktops_set, METH_VARARGS },
- { (char *)"Atoms_net_number_of_desktops_get", _wrap_Atoms_net_number_of_desktops_get, METH_VARARGS },
- { (char *)"Atoms_net_desktop_geometry_set", _wrap_Atoms_net_desktop_geometry_set, METH_VARARGS },
- { (char *)"Atoms_net_desktop_geometry_get", _wrap_Atoms_net_desktop_geometry_get, METH_VARARGS },
- { (char *)"Atoms_net_desktop_viewport_set", _wrap_Atoms_net_desktop_viewport_set, METH_VARARGS },
- { (char *)"Atoms_net_desktop_viewport_get", _wrap_Atoms_net_desktop_viewport_get, METH_VARARGS },
- { (char *)"Atoms_net_current_desktop_set", _wrap_Atoms_net_current_desktop_set, METH_VARARGS },
- { (char *)"Atoms_net_current_desktop_get", _wrap_Atoms_net_current_desktop_get, METH_VARARGS },
- { (char *)"Atoms_net_desktop_names_set", _wrap_Atoms_net_desktop_names_set, METH_VARARGS },
- { (char *)"Atoms_net_desktop_names_get", _wrap_Atoms_net_desktop_names_get, METH_VARARGS },
- { (char *)"Atoms_net_active_window_set", _wrap_Atoms_net_active_window_set, METH_VARARGS },
- { (char *)"Atoms_net_active_window_get", _wrap_Atoms_net_active_window_get, METH_VARARGS },
- { (char *)"Atoms_net_workarea_set", _wrap_Atoms_net_workarea_set, METH_VARARGS },
- { (char *)"Atoms_net_workarea_get", _wrap_Atoms_net_workarea_get, METH_VARARGS },
- { (char *)"Atoms_net_supporting_wm_check_set", _wrap_Atoms_net_supporting_wm_check_set, METH_VARARGS },
- { (char *)"Atoms_net_supporting_wm_check_get", _wrap_Atoms_net_supporting_wm_check_get, METH_VARARGS },
- { (char *)"Atoms_net_close_window_set", _wrap_Atoms_net_close_window_set, METH_VARARGS },
- { (char *)"Atoms_net_close_window_get", _wrap_Atoms_net_close_window_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_set", _wrap_Atoms_net_wm_moveresize_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_get", _wrap_Atoms_net_wm_moveresize_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_name_set", _wrap_Atoms_net_wm_name_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_name_get", _wrap_Atoms_net_wm_name_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_visible_name_set", _wrap_Atoms_net_wm_visible_name_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_visible_name_get", _wrap_Atoms_net_wm_visible_name_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_icon_name_set", _wrap_Atoms_net_wm_icon_name_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_icon_name_get", _wrap_Atoms_net_wm_icon_name_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_visible_icon_name_set", _wrap_Atoms_net_wm_visible_icon_name_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_visible_icon_name_get", _wrap_Atoms_net_wm_visible_icon_name_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_desktop_set", _wrap_Atoms_net_wm_desktop_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_desktop_get", _wrap_Atoms_net_wm_desktop_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_set", _wrap_Atoms_net_wm_window_type_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_get", _wrap_Atoms_net_wm_window_type_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_set", _wrap_Atoms_net_wm_state_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_get", _wrap_Atoms_net_wm_state_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_strut_set", _wrap_Atoms_net_wm_strut_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_strut_get", _wrap_Atoms_net_wm_strut_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_allowed_actions_set", _wrap_Atoms_net_wm_allowed_actions_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_allowed_actions_get", _wrap_Atoms_net_wm_allowed_actions_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_desktop_set", _wrap_Atoms_net_wm_window_type_desktop_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_desktop_get", _wrap_Atoms_net_wm_window_type_desktop_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_dock_set", _wrap_Atoms_net_wm_window_type_dock_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_dock_get", _wrap_Atoms_net_wm_window_type_dock_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_toolbar_set", _wrap_Atoms_net_wm_window_type_toolbar_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_toolbar_get", _wrap_Atoms_net_wm_window_type_toolbar_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_menu_set", _wrap_Atoms_net_wm_window_type_menu_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_menu_get", _wrap_Atoms_net_wm_window_type_menu_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_utility_set", _wrap_Atoms_net_wm_window_type_utility_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_utility_get", _wrap_Atoms_net_wm_window_type_utility_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_splash_set", _wrap_Atoms_net_wm_window_type_splash_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_splash_get", _wrap_Atoms_net_wm_window_type_splash_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_dialog_set", _wrap_Atoms_net_wm_window_type_dialog_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_dialog_get", _wrap_Atoms_net_wm_window_type_dialog_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_normal_set", _wrap_Atoms_net_wm_window_type_normal_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_window_type_normal_get", _wrap_Atoms_net_wm_window_type_normal_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_size_topleft_set", _wrap_Atoms_net_wm_moveresize_size_topleft_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_size_topleft_get", _wrap_Atoms_net_wm_moveresize_size_topleft_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_size_topright_set", _wrap_Atoms_net_wm_moveresize_size_topright_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_size_topright_get", _wrap_Atoms_net_wm_moveresize_size_topright_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_size_bottomleft_set", _wrap_Atoms_net_wm_moveresize_size_bottomleft_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_size_bottomleft_get", _wrap_Atoms_net_wm_moveresize_size_bottomleft_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_size_bottomright_set", _wrap_Atoms_net_wm_moveresize_size_bottomright_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_size_bottomright_get", _wrap_Atoms_net_wm_moveresize_size_bottomright_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_move_set", _wrap_Atoms_net_wm_moveresize_move_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_moveresize_move_get", _wrap_Atoms_net_wm_moveresize_move_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_move_set", _wrap_Atoms_net_wm_action_move_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_move_get", _wrap_Atoms_net_wm_action_move_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_resize_set", _wrap_Atoms_net_wm_action_resize_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_resize_get", _wrap_Atoms_net_wm_action_resize_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_minimize_set", _wrap_Atoms_net_wm_action_minimize_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_minimize_get", _wrap_Atoms_net_wm_action_minimize_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_shade_set", _wrap_Atoms_net_wm_action_shade_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_shade_get", _wrap_Atoms_net_wm_action_shade_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_stick_set", _wrap_Atoms_net_wm_action_stick_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_stick_get", _wrap_Atoms_net_wm_action_stick_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_maximize_horz_set", _wrap_Atoms_net_wm_action_maximize_horz_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_maximize_horz_get", _wrap_Atoms_net_wm_action_maximize_horz_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_maximize_vert_set", _wrap_Atoms_net_wm_action_maximize_vert_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_maximize_vert_get", _wrap_Atoms_net_wm_action_maximize_vert_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_fullscreen_set", _wrap_Atoms_net_wm_action_fullscreen_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_fullscreen_get", _wrap_Atoms_net_wm_action_fullscreen_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_change_desktop_set", _wrap_Atoms_net_wm_action_change_desktop_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_change_desktop_get", _wrap_Atoms_net_wm_action_change_desktop_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_close_set", _wrap_Atoms_net_wm_action_close_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_action_close_get", _wrap_Atoms_net_wm_action_close_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_modal_set", _wrap_Atoms_net_wm_state_modal_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_modal_get", _wrap_Atoms_net_wm_state_modal_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_sticky_set", _wrap_Atoms_net_wm_state_sticky_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_sticky_get", _wrap_Atoms_net_wm_state_sticky_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_maximized_vert_set", _wrap_Atoms_net_wm_state_maximized_vert_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_maximized_vert_get", _wrap_Atoms_net_wm_state_maximized_vert_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_maximized_horz_set", _wrap_Atoms_net_wm_state_maximized_horz_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_maximized_horz_get", _wrap_Atoms_net_wm_state_maximized_horz_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_shaded_set", _wrap_Atoms_net_wm_state_shaded_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_shaded_get", _wrap_Atoms_net_wm_state_shaded_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_skip_taskbar_set", _wrap_Atoms_net_wm_state_skip_taskbar_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_skip_taskbar_get", _wrap_Atoms_net_wm_state_skip_taskbar_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_skip_pager_set", _wrap_Atoms_net_wm_state_skip_pager_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_skip_pager_get", _wrap_Atoms_net_wm_state_skip_pager_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_hidden_set", _wrap_Atoms_net_wm_state_hidden_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_hidden_get", _wrap_Atoms_net_wm_state_hidden_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_fullscreen_set", _wrap_Atoms_net_wm_state_fullscreen_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_fullscreen_get", _wrap_Atoms_net_wm_state_fullscreen_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_above_set", _wrap_Atoms_net_wm_state_above_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_above_get", _wrap_Atoms_net_wm_state_above_get, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_below_set", _wrap_Atoms_net_wm_state_below_set, METH_VARARGS },
- { (char *)"Atoms_net_wm_state_below_get", _wrap_Atoms_net_wm_state_below_get, METH_VARARGS },
- { (char *)"Atoms_kde_net_system_tray_windows_set", _wrap_Atoms_kde_net_system_tray_windows_set, METH_VARARGS },
- { (char *)"Atoms_kde_net_system_tray_windows_get", _wrap_Atoms_kde_net_system_tray_windows_get, METH_VARARGS },
- { (char *)"Atoms_kde_net_wm_system_tray_window_for_set", _wrap_Atoms_kde_net_wm_system_tray_window_for_set, METH_VARARGS },
- { (char *)"Atoms_kde_net_wm_system_tray_window_for_get", _wrap_Atoms_kde_net_wm_system_tray_window_for_get, METH_VARARGS },
- { (char *)"Atoms_kde_net_wm_window_type_override_set", _wrap_Atoms_kde_net_wm_window_type_override_set, METH_VARARGS },
- { (char *)"Atoms_kde_net_wm_window_type_override_get", _wrap_Atoms_kde_net_wm_window_type_override_get, METH_VARARGS },
- { (char *)"Atoms_swigregister", Atoms_swigregister, METH_VARARGS },
- { (char *)"Property_initialize", _wrap_Property_initialize, METH_VARARGS },
- { (char *)"Property_set", _wrap_Property_set, METH_VARARGS },
- { (char *)"Property_get", _wrap_Property_get, METH_VARARGS },
- { (char *)"Property_erase", _wrap_Property_erase, METH_VARARGS },
- { (char *)"Property_swigregister", Property_swigregister, METH_VARARGS },
- { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
- { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
- { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
- { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
- { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
- { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
- { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
- { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
- { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
- { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
- { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
- { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
- { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
- { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
- { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
- { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
- { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
- { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
- { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
- { (char *)"Rect___eq__", _wrap_Rect___eq__, METH_VARARGS },
- { (char *)"Rect___ne__", _wrap_Rect___ne__, METH_VARARGS },
- { (char *)"Rect___or__", _wrap_Rect___or__, METH_VARARGS },
- { (char *)"Rect___and__", _wrap_Rect___and__, METH_VARARGS },
- { (char *)"Rect___ior__", _wrap_Rect___ior__, METH_VARARGS },
- { (char *)"Rect___iand__", _wrap_Rect___iand__, METH_VARARGS },
- { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
- { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
- { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
- { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
- { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
- { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
- { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
- { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
- { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
- { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
- { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
- { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
- { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
- { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
- { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
- { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
- { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
- { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
- { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
- { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
- { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
- { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
- { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
- { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
- { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
- { (char *)"EventHandler_handle", _wrap_EventHandler_handle, METH_VARARGS },
- { (char *)"EventHandler_keyPressHandler", _wrap_EventHandler_keyPressHandler, METH_VARARGS },
- { (char *)"EventHandler_keyReleaseHandler", _wrap_EventHandler_keyReleaseHandler, METH_VARARGS },
- { (char *)"EventHandler_buttonPressHandler", _wrap_EventHandler_buttonPressHandler, METH_VARARGS },
- { (char *)"EventHandler_buttonReleaseHandler", _wrap_EventHandler_buttonReleaseHandler, METH_VARARGS },
- { (char *)"EventHandler_motionHandler", _wrap_EventHandler_motionHandler, METH_VARARGS },
- { (char *)"EventHandler_enterHandler", _wrap_EventHandler_enterHandler, METH_VARARGS },
- { (char *)"EventHandler_leaveHandler", _wrap_EventHandler_leaveHandler, METH_VARARGS },
- { (char *)"EventHandler_focusHandler", _wrap_EventHandler_focusHandler, METH_VARARGS },
- { (char *)"EventHandler_unfocusHandler", _wrap_EventHandler_unfocusHandler, METH_VARARGS },
- { (char *)"EventHandler_exposeHandler", _wrap_EventHandler_exposeHandler, METH_VARARGS },
- { (char *)"EventHandler_graphicsExposeHandler", _wrap_EventHandler_graphicsExposeHandler, METH_VARARGS },
- { (char *)"EventHandler_noExposeEventHandler", _wrap_EventHandler_noExposeEventHandler, METH_VARARGS },
- { (char *)"EventHandler_circulateRequestHandler", _wrap_EventHandler_circulateRequestHandler, METH_VARARGS },
- { (char *)"EventHandler_configureRequestHandler", _wrap_EventHandler_configureRequestHandler, METH_VARARGS },
- { (char *)"EventHandler_mapRequestHandler", _wrap_EventHandler_mapRequestHandler, METH_VARARGS },
- { (char *)"EventHandler_resizeRequestHandler", _wrap_EventHandler_resizeRequestHandler, METH_VARARGS },
- { (char *)"EventHandler_circulateHandler", _wrap_EventHandler_circulateHandler, METH_VARARGS },
- { (char *)"EventHandler_configureHandler", _wrap_EventHandler_configureHandler, METH_VARARGS },
- { (char *)"EventHandler_createHandler", _wrap_EventHandler_createHandler, METH_VARARGS },
- { (char *)"EventHandler_destroyHandler", _wrap_EventHandler_destroyHandler, METH_VARARGS },
- { (char *)"EventHandler_gravityHandler", _wrap_EventHandler_gravityHandler, METH_VARARGS },
- { (char *)"EventHandler_mapHandler", _wrap_EventHandler_mapHandler, METH_VARARGS },
- { (char *)"EventHandler_mappingHandler", _wrap_EventHandler_mappingHandler, METH_VARARGS },
- { (char *)"EventHandler_reparentHandler", _wrap_EventHandler_reparentHandler, METH_VARARGS },
- { (char *)"EventHandler_unmapHandler", _wrap_EventHandler_unmapHandler, METH_VARARGS },
- { (char *)"EventHandler_visibilityHandler", _wrap_EventHandler_visibilityHandler, METH_VARARGS },
- { (char *)"EventHandler_colorMapHandler", _wrap_EventHandler_colorMapHandler, METH_VARARGS },
- { (char *)"EventHandler_propertyHandler", _wrap_EventHandler_propertyHandler, METH_VARARGS },
- { (char *)"EventHandler_selectionClearHandler", _wrap_EventHandler_selectionClearHandler, METH_VARARGS },
- { (char *)"EventHandler_selectionHandler", _wrap_EventHandler_selectionHandler, METH_VARARGS },
- { (char *)"EventHandler_selectionRequestHandler", _wrap_EventHandler_selectionRequestHandler, METH_VARARGS },
- { (char *)"EventHandler_clientMessageHandler", _wrap_EventHandler_clientMessageHandler, METH_VARARGS },
- { (char *)"delete_EventHandler", _wrap_delete_EventHandler, METH_VARARGS },
- { (char *)"EventHandler_swigregister", EventHandler_swigregister, METH_VARARGS },
- { (char *)"new_EventDispatcher", _wrap_new_EventDispatcher, METH_VARARGS },
- { (char *)"delete_EventDispatcher", _wrap_delete_EventDispatcher, METH_VARARGS },
- { (char *)"EventDispatcher_clearAllHandlers", _wrap_EventDispatcher_clearAllHandlers, METH_VARARGS },
- { (char *)"EventDispatcher_registerHandler", _wrap_EventDispatcher_registerHandler, METH_VARARGS },
- { (char *)"EventDispatcher_clearHandler", _wrap_EventDispatcher_clearHandler, METH_VARARGS },
- { (char *)"EventDispatcher_dispatchEvents", _wrap_EventDispatcher_dispatchEvents, METH_VARARGS },
- { (char *)"EventDispatcher_setFallbackHandler", _wrap_EventDispatcher_setFallbackHandler, METH_VARARGS },
- { (char *)"EventDispatcher_getFallbackHandler", _wrap_EventDispatcher_getFallbackHandler, METH_VARARGS },
- { (char *)"EventDispatcher_setMasterHandler", _wrap_EventDispatcher_setMasterHandler, METH_VARARGS },
- { (char *)"EventDispatcher_getMasterHandler", _wrap_EventDispatcher_getMasterHandler, METH_VARARGS },
- { (char *)"EventDispatcher_findHandler", _wrap_EventDispatcher_findHandler, METH_VARARGS },
- { (char *)"EventDispatcher_lastTime", _wrap_EventDispatcher_lastTime, METH_VARARGS },
- { (char *)"EventDispatcher_swigregister", EventDispatcher_swigregister, METH_VARARGS },
- { (char *)"Cursors_session_set", _wrap_Cursors_session_set, METH_VARARGS },
- { (char *)"Cursors_session_get", _wrap_Cursors_session_get, METH_VARARGS },
- { (char *)"Cursors_move_set", _wrap_Cursors_move_set, METH_VARARGS },
- { (char *)"Cursors_move_get", _wrap_Cursors_move_get, METH_VARARGS },
- { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set, METH_VARARGS },
- { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get, METH_VARARGS },
- { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set, METH_VARARGS },
- { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get, METH_VARARGS },
- { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set, METH_VARARGS },
- { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get, METH_VARARGS },
- { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set, METH_VARARGS },
- { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get, METH_VARARGS },
- { (char *)"Cursors_swigregister", Cursors_swigregister, METH_VARARGS },
- { (char *)"Openbox_state", _wrap_Openbox_state, METH_VARARGS },
- { (char *)"Openbox_actions", _wrap_Openbox_actions, METH_VARARGS },
- { (char *)"Openbox_bindings", _wrap_Openbox_bindings, METH_VARARGS },
- { (char *)"Openbox_screen", _wrap_Openbox_screen, METH_VARARGS },
- { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount, METH_VARARGS },
- { (char *)"Openbox_cursors", _wrap_Openbox_cursors, METH_VARARGS },
- { (char *)"Openbox_addClient", _wrap_Openbox_addClient, METH_VARARGS },
- { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient, METH_VARARGS },
- { (char *)"Openbox_findClient", _wrap_Openbox_findClient, METH_VARARGS },
- { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient, METH_VARARGS },
- { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient, METH_VARARGS },
- { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen, METH_VARARGS },
- { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown, METH_VARARGS },
- { (char *)"Openbox_restart", _wrap_Openbox_restart, METH_VARARGS },
- { (char *)"Openbox_execute", _wrap_Openbox_execute, METH_VARARGS },
- { (char *)"Openbox_swigregister", Openbox_swigregister, METH_VARARGS },
- { (char *)"Screen_client", _wrap_Screen_client, METH_VARARGS },
- { (char *)"Screen_clientCount", _wrap_Screen_clientCount, METH_VARARGS },
- { (char *)"Screen_number", _wrap_Screen_number, METH_VARARGS },
- { (char *)"Screen_managed", _wrap_Screen_managed, METH_VARARGS },
- { (char *)"Screen_area", _wrap_Screen_area, METH_VARARGS },
- { (char *)"Screen_style", _wrap_Screen_style, METH_VARARGS },
- { (char *)"Screen_focuswindow", _wrap_Screen_focuswindow, METH_VARARGS },
- { (char *)"Screen_desktop", _wrap_Screen_desktop, METH_VARARGS },
- { (char *)"Screen_numDesktops", _wrap_Screen_numDesktops, METH_VARARGS },
- { (char *)"Screen_updateStrut", _wrap_Screen_updateStrut, METH_VARARGS },
- { (char *)"Screen_manageExisting", _wrap_Screen_manageExisting, METH_VARARGS },
- { (char *)"Screen_manageWindow", _wrap_Screen_manageWindow, METH_VARARGS },
- { (char *)"Screen_unmanageWindow", _wrap_Screen_unmanageWindow, METH_VARARGS },
- { (char *)"Screen_raiseWindow", _wrap_Screen_raiseWindow, METH_VARARGS },
- { (char *)"Screen_lowerWindow", _wrap_Screen_lowerWindow, METH_VARARGS },
- { (char *)"Screen_setDesktopName", _wrap_Screen_setDesktopName, METH_VARARGS },
- { (char *)"Screen_propertyHandler", _wrap_Screen_propertyHandler, METH_VARARGS },
- { (char *)"Screen_clientMessageHandler", _wrap_Screen_clientMessageHandler, METH_VARARGS },
- { (char *)"Screen_mapRequestHandler", _wrap_Screen_mapRequestHandler, METH_VARARGS },
- { (char *)"Screen_swigregister", Screen_swigregister, METH_VARARGS },
- { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set, METH_VARARGS },
- { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get, METH_VARARGS },
- { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set, METH_VARARGS },
- { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get, METH_VARARGS },
- { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set, METH_VARARGS },
- { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get, METH_VARARGS },
- { (char *)"MwmHints_swigregister", MwmHints_swigregister, METH_VARARGS },
- { (char *)"Client_frame_set", _wrap_Client_frame_set, METH_VARARGS },
- { (char *)"Client_frame_get", _wrap_Client_frame_get, METH_VARARGS },
- { (char *)"Client_ignore_unmaps_set", _wrap_Client_ignore_unmaps_set, METH_VARARGS },
- { (char *)"Client_ignore_unmaps_get", _wrap_Client_ignore_unmaps_get, METH_VARARGS },
- { (char *)"Client_screen", _wrap_Client_screen, METH_VARARGS },
- { (char *)"Client_window", _wrap_Client_window, METH_VARARGS },
- { (char *)"Client_type", _wrap_Client_type, METH_VARARGS },
- { (char *)"Client_normal", _wrap_Client_normal, METH_VARARGS },
- { (char *)"Client_desktop", _wrap_Client_desktop, METH_VARARGS },
- { (char *)"Client_title", _wrap_Client_title, METH_VARARGS },
- { (char *)"Client_iconTitle", _wrap_Client_iconTitle, METH_VARARGS },
- { (char *)"Client_appName", _wrap_Client_appName, METH_VARARGS },
- { (char *)"Client_appClass", _wrap_Client_appClass, METH_VARARGS },
- { (char *)"Client_role", _wrap_Client_role, METH_VARARGS },
- { (char *)"Client_canFocus", _wrap_Client_canFocus, METH_VARARGS },
- { (char *)"Client_urgent", _wrap_Client_urgent, METH_VARARGS },
- { (char *)"Client_focusNotify", _wrap_Client_focusNotify, METH_VARARGS },
- { (char *)"Client_shaped", _wrap_Client_shaped, METH_VARARGS },
- { (char *)"Client_gravity", _wrap_Client_gravity, METH_VARARGS },
- { (char *)"Client_positionRequested", _wrap_Client_positionRequested, METH_VARARGS },
- { (char *)"Client_decorations", _wrap_Client_decorations, METH_VARARGS },
- { (char *)"Client_funtions", _wrap_Client_funtions, METH_VARARGS },
- { (char *)"Client_transientFor", _wrap_Client_transientFor, METH_VARARGS },
- { (char *)"Client_modal", _wrap_Client_modal, METH_VARARGS },
- { (char *)"Client_shaded", _wrap_Client_shaded, METH_VARARGS },
- { (char *)"Client_fullscreen", _wrap_Client_fullscreen, METH_VARARGS },
- { (char *)"Client_iconic", _wrap_Client_iconic, METH_VARARGS },
- { (char *)"Client_maxVert", _wrap_Client_maxVert, METH_VARARGS },
- { (char *)"Client_maxHorz", _wrap_Client_maxHorz, METH_VARARGS },
- { (char *)"Client_layer", _wrap_Client_layer, METH_VARARGS },
- { (char *)"Client_applyStartupState", _wrap_Client_applyStartupState, METH_VARARGS },
- { (char *)"Client_toggleClientBorder", _wrap_Client_toggleClientBorder, METH_VARARGS },
- { (char *)"Client_area", _wrap_Client_area, METH_VARARGS },
- { (char *)"Client_strut", _wrap_Client_strut, METH_VARARGS },
- { (char *)"Client_move", _wrap_Client_move, METH_VARARGS },
- { (char *)"Client_resize", _wrap_Client_resize, METH_VARARGS },
- { (char *)"Client_focus", _wrap_Client_focus, METH_VARARGS },
- { (char *)"Client_unfocus", _wrap_Client_unfocus, METH_VARARGS },
- { (char *)"Client_focusHandler", _wrap_Client_focusHandler, METH_VARARGS },
- { (char *)"Client_unfocusHandler", _wrap_Client_unfocusHandler, METH_VARARGS },
- { (char *)"Client_propertyHandler", _wrap_Client_propertyHandler, METH_VARARGS },
- { (char *)"Client_clientMessageHandler", _wrap_Client_clientMessageHandler, METH_VARARGS },
- { (char *)"Client_configureRequestHandler", _wrap_Client_configureRequestHandler, METH_VARARGS },
- { (char *)"Client_unmapHandler", _wrap_Client_unmapHandler, METH_VARARGS },
- { (char *)"Client_destroyHandler", _wrap_Client_destroyHandler, METH_VARARGS },
- { (char *)"Client_reparentHandler", _wrap_Client_reparentHandler, METH_VARARGS },
- { (char *)"Client_mapRequestHandler", _wrap_Client_mapRequestHandler, METH_VARARGS },
- { (char *)"Client_swigregister", Client_swigregister, METH_VARARGS },
- { (char *)"new_Frame", _wrap_new_Frame, METH_VARARGS },
- { (char *)"delete_Frame", _wrap_delete_Frame, METH_VARARGS },
- { (char *)"Frame_size", _wrap_Frame_size, METH_VARARGS },
- { (char *)"Frame_setStyle", _wrap_Frame_setStyle, METH_VARARGS },
- { (char *)"Frame_adjust", _wrap_Frame_adjust, METH_VARARGS },
- { (char *)"Frame_focus", _wrap_Frame_focus, METH_VARARGS },
- { (char *)"Frame_unfocus", _wrap_Frame_unfocus, METH_VARARGS },
- { (char *)"Frame_setTitle", _wrap_Frame_setTitle, METH_VARARGS },
- { (char *)"Frame_grabClient", _wrap_Frame_grabClient, METH_VARARGS },
- { (char *)"Frame_releaseClient", _wrap_Frame_releaseClient, METH_VARARGS },
- { (char *)"Frame_adjustSize", _wrap_Frame_adjustSize, METH_VARARGS },
- { (char *)"Frame_adjustPosition", _wrap_Frame_adjustPosition, METH_VARARGS },
- { (char *)"Frame_adjustShape", _wrap_Frame_adjustShape, METH_VARARGS },
- { (char *)"Frame_adjustState", _wrap_Frame_adjustState, METH_VARARGS },
- { (char *)"Frame_clientGravity", _wrap_Frame_clientGravity, METH_VARARGS },
- { (char *)"Frame_frameGravity", _wrap_Frame_frameGravity, METH_VARARGS },
- { (char *)"Frame_plate", _wrap_Frame_plate, METH_VARARGS },
- { (char *)"Frame_titlebar", _wrap_Frame_titlebar, METH_VARARGS },
- { (char *)"Frame_label", _wrap_Frame_label, METH_VARARGS },
- { (char *)"Frame_button_close", _wrap_Frame_button_close, METH_VARARGS },
- { (char *)"Frame_button_iconify", _wrap_Frame_button_iconify, METH_VARARGS },
- { (char *)"Frame_button_max", _wrap_Frame_button_max, METH_VARARGS },
- { (char *)"Frame_button_alldesk", _wrap_Frame_button_alldesk, METH_VARARGS },
- { (char *)"Frame_handle", _wrap_Frame_handle, METH_VARARGS },
- { (char *)"Frame_grip_left", _wrap_Frame_grip_left, METH_VARARGS },
- { (char *)"Frame_grip_right", _wrap_Frame_grip_right, METH_VARARGS },
- { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
- { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set, METH_VARARGS },
- { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get, METH_VARARGS },
- { (char *)"MouseData_client_set", _wrap_MouseData_client_set, METH_VARARGS },
- { (char *)"MouseData_client_get", _wrap_MouseData_client_get, METH_VARARGS },
- { (char *)"MouseData_time_set", _wrap_MouseData_time_set, METH_VARARGS },
- { (char *)"MouseData_time_get", _wrap_MouseData_time_get, METH_VARARGS },
- { (char *)"MouseData_state_set", _wrap_MouseData_state_set, METH_VARARGS },
- { (char *)"MouseData_state_get", _wrap_MouseData_state_get, METH_VARARGS },
- { (char *)"MouseData_button_set", _wrap_MouseData_button_set, METH_VARARGS },
- { (char *)"MouseData_button_get", _wrap_MouseData_button_get, METH_VARARGS },
- { (char *)"MouseData_context_set", _wrap_MouseData_context_set, METH_VARARGS },
- { (char *)"MouseData_context_get", _wrap_MouseData_context_get, METH_VARARGS },
- { (char *)"MouseData_action_set", _wrap_MouseData_action_set, METH_VARARGS },
- { (char *)"MouseData_action_get", _wrap_MouseData_action_get, METH_VARARGS },
- { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set, METH_VARARGS },
- { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get, METH_VARARGS },
- { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set, METH_VARARGS },
- { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get, METH_VARARGS },
- { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set, METH_VARARGS },
- { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get, METH_VARARGS },
- { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set, METH_VARARGS },
- { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get, METH_VARARGS },
- { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set, METH_VARARGS },
- { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get, METH_VARARGS },
- { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set, METH_VARARGS },
- { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get, METH_VARARGS },
- { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set, METH_VARARGS },
- { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get, METH_VARARGS },
- { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set, METH_VARARGS },
- { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get, METH_VARARGS },
- { (char *)"new_MouseData", _wrap_new_MouseData, METH_VARARGS },
- { (char *)"MouseData_swigregister", MouseData_swigregister, METH_VARARGS },
- { (char *)"EventData_screen_set", _wrap_EventData_screen_set, METH_VARARGS },
- { (char *)"EventData_screen_get", _wrap_EventData_screen_get, METH_VARARGS },
- { (char *)"EventData_client_set", _wrap_EventData_client_set, METH_VARARGS },
- { (char *)"EventData_client_get", _wrap_EventData_client_get, METH_VARARGS },
- { (char *)"EventData_state_set", _wrap_EventData_state_set, METH_VARARGS },
- { (char *)"EventData_state_get", _wrap_EventData_state_get, METH_VARARGS },
- { (char *)"EventData_action_set", _wrap_EventData_action_set, METH_VARARGS },
- { (char *)"EventData_action_get", _wrap_EventData_action_get, METH_VARARGS },
- { (char *)"new_EventData", _wrap_new_EventData, METH_VARARGS },
- { (char *)"EventData_swigregister", EventData_swigregister, METH_VARARGS },
- { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set, METH_VARARGS },
- { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get, METH_VARARGS },
- { (char *)"KeyData_client_set", _wrap_KeyData_client_set, METH_VARARGS },
- { (char *)"KeyData_client_get", _wrap_KeyData_client_get, METH_VARARGS },
- { (char *)"KeyData_time_set", _wrap_KeyData_time_set, METH_VARARGS },
- { (char *)"KeyData_time_get", _wrap_KeyData_time_get, METH_VARARGS },
- { (char *)"KeyData_state_set", _wrap_KeyData_state_set, METH_VARARGS },
- { (char *)"KeyData_state_get", _wrap_KeyData_state_get, METH_VARARGS },
- { (char *)"KeyData_key_set", _wrap_KeyData_key_set, METH_VARARGS },
- { (char *)"KeyData_key_get", _wrap_KeyData_key_get, METH_VARARGS },
- { (char *)"KeyData_action_set", _wrap_KeyData_action_set, METH_VARARGS },
- { (char *)"KeyData_action_get", _wrap_KeyData_action_get, METH_VARARGS },
- { (char *)"new_KeyData", _wrap_new_KeyData, METH_VARARGS },
- { (char *)"KeyData_swigregister", KeyData_swigregister, METH_VARARGS },
- { (char *)"mbind", _wrap_mbind, METH_VARARGS },
- { (char *)"kbind", _wrap_kbind, METH_VARARGS },
- { (char *)"kgrab", _wrap_kgrab, METH_VARARGS },
- { (char *)"kungrab", _wrap_kungrab, METH_VARARGS },
- { (char *)"ebind", _wrap_ebind, METH_VARARGS },
- { (char *)"set_reset_key", _wrap_set_reset_key, METH_VARARGS },
- { (char *)"send_client_msg", _wrap_send_client_msg, METH_VARARGS },
- { NULL, NULL }
-};
-
-
-/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
-
-static void *_p_ob__FrameTo_p_otk__Widget(void *x) {
- return (void *)((otk::Widget *) ((ob::Frame *) x));
-}
-static void *_p_ob__ActionsTo_p_otk__EventHandler(void *x) {
- return (void *)((otk::EventHandler *) ((ob::Actions *) x));
-}
-static void *_p_ob__FrameTo_p_otk__EventHandler(void *x) {
- return (void *)((otk::EventHandler *) (otk::Widget *) ((ob::Frame *) x));
-}
-static void *_p_otk__WidgetTo_p_otk__EventHandler(void *x) {
- return (void *)((otk::EventHandler *) ((otk::Widget *) x));
-}
-static void *_p_ob__OpenboxTo_p_otk__EventHandler(void *x) {
- return (void *)((otk::EventHandler *) ((ob::Openbox *) x));
-}
-static void *_p_ob__ScreenTo_p_otk__EventHandler(void *x) {
- return (void *)((otk::EventHandler *) ((ob::Screen *) x));
-}
-static void *_p_ob__ClientTo_p_otk__EventHandler(void *x) {
- return (void *)((otk::EventHandler *) ((ob::Client *) x));
-}
-static void *_p_ob__OpenboxTo_p_otk__EventDispatcher(void *x) {
- return (void *)((otk::EventDispatcher *) ((ob::Openbox *) x));
-}
-static void *_p_ob__FrameTo_p_ob__WidgetBase(void *x) {
- return (void *)((ob::WidgetBase *) ((ob::Frame *) x));
-}
-static void *_p_ob__ScreenTo_p_ob__WidgetBase(void *x) {
- return (void *)((ob::WidgetBase *) ((ob::Screen *) x));
-}
-static void *_p_ob__ClientTo_p_ob__WidgetBase(void *x) {
- return (void *)((ob::WidgetBase *) ((ob::Client *) x));
-}
-static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
-static swig_type_info _swigt__p_ob__Client[] = {{"_p_ob__Client", 0, "ob::Client *", 0},{"_p_ob__Client"},{0}};
-static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
-static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
-static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
-static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
-static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
-static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
-static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
-static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
-static swig_type_info _swigt__p_ob__MouseData[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
-static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
-static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
-static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
-static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
-static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
-static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
-static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
-static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
-static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
-static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
-static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
-static swig_type_info _swigt__p_ob__Cursors[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
-static swig_type_info _swigt__p_otk__RenderControl[] = {{"_p_otk__RenderControl", 0, "otk::RenderControl *", 0},{"_p_otk__RenderControl"},{0}};
-static swig_type_info _swigt__p_ob__MwmHints[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
-static swig_type_info _swigt__p_ob__Screen[] = {{"_p_ob__Screen", 0, "ob::Screen *", 0},{"_p_ob__Screen"},{0}};
-static swig_type_info _swigt__p_ob__Frame[] = {{"_p_ob__Frame", 0, "ob::Frame *", 0},{"_p_ob__Frame"},{0}};
-static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
-static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
-static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
-static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
-static swig_type_info _swigt__p_otk__ustring[] = {{"_p_otk__ustring", 0, "otk::ustring *", 0},{"_p_otk__ustring"},{0}};
-static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
-static swig_type_info _swigt__p_otk__Display[] = {{"_p_otk__Display", 0, "otk::Display *", 0},{"_p_otk__Display"},{0}};
-static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
-static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
-static swig_type_info _swigt__p_otk__EventHandler[] = {{"_p_otk__EventHandler", 0, "otk::EventHandler *", 0},{"_p_ob__Client", _p_ob__ClientTo_p_otk__EventHandler},{"_p_ob__Actions", _p_ob__ActionsTo_p_otk__EventHandler},{"_p_otk__EventHandler"},{"_p_ob__Frame", _p_ob__FrameTo_p_otk__EventHandler},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__EventHandler},{"_p_otk__Widget", _p_otk__WidgetTo_p_otk__EventHandler},{"_p_ob__Screen", _p_ob__ScreenTo_p_otk__EventHandler},{0}};
-static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
-static swig_type_info _swigt__p_otk__EventDispatcher[] = {{"_p_otk__EventDispatcher", 0, "otk::EventDispatcher *", 0},{"_p_otk__EventDispatcher"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__EventDispatcher},{0}};
-static swig_type_info _swigt__p_ob__Bindings[] = {{"_p_ob__Bindings", 0, "ob::Bindings *", 0},{"_p_ob__Bindings"},{0}};
-static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
-static swig_type_info _swigt__p_ob__Actions[] = {{"_p_ob__Actions", 0, "ob::Actions *", 0},{"_p_ob__Actions"},{0}};
-static swig_type_info _swigt__p_otk__Widget[] = {{"_p_otk__Widget", 0, "otk::Widget *", 0},{"_p_ob__Frame", _p_ob__FrameTo_p_otk__Widget},{"_p_otk__Widget"},{0}};
-static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
-static swig_type_info _swigt__p_otk__Property[] = {{"_p_otk__Property", 0, "otk::Property *", 0},{"_p_otk__Property"},{0}};
-static swig_type_info _swigt__p_PyObject[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
-static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
-static swig_type_info _swigt__p_otk__RenderStyle[] = {{"_p_otk__RenderStyle", 0, "otk::RenderStyle *", 0},{"_p_otk__RenderStyle"},{0}};
-static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
-static swig_type_info _swigt__p_XModifierKeymap[] = {{"_p_XModifierKeymap", 0, "XModifierKeymap *", 0},{"_p_XModifierKeymap"},{0}};
-static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
-static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
-static swig_type_info _swigt__p_otk__Property__StringVect[] = {{"_p_otk__Property__StringVect", 0, "otk::Property::StringVect *", 0},{"_p_otk__Property__StringVect"},{0}};
-static swig_type_info _swigt__p_ob__WidgetBase[] = {{"_p_ob__WidgetBase", 0, "ob::WidgetBase *", 0},{"_p_ob__WidgetBase"},{"_p_ob__Client", _p_ob__ClientTo_p_ob__WidgetBase},{"_p_ob__Frame", _p_ob__FrameTo_p_ob__WidgetBase},{"_p_ob__Screen", _p_ob__ScreenTo_p_ob__WidgetBase},{0}};
-static swig_type_info _swigt__p_otk__Atoms[] = {{"_p_otk__Atoms", 0, "otk::Atoms *", 0},{"_p_otk__Atoms"},{0}};
-static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
-static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
-static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
-static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
-static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
-static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
-static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
-static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
-
-static swig_type_info *swig_types_initial[] = {
-_swigt__p_otk__Point,
-_swigt__p_ob__Client,
-_swigt__p_XMapEvent,
-_swigt__p_XUnmapEvent,
-_swigt__p_XColormapEvent,
-_swigt__p_XNoExposeEvent,
-_swigt__p_XGraphicsExposeEvent,
-_swigt__p_XExposeEvent,
-_swigt__p_XFocusChangeEvent,
-_swigt__p_XClientMessageEvent,
-_swigt__p_ob__MouseData,
-_swigt__p_XSelectionClearEvent,
-_swigt__p_otk__Rect,
-_swigt__p_Visual,
-_swigt__p_XResizeRequestEvent,
-_swigt__p_XMapRequestEvent,
-_swigt__p_XConfigureRequestEvent,
-_swigt__p_XCirculateRequestEvent,
-_swigt__p_XGravityEvent,
-_swigt__p_XVisibilityEvent,
-_swigt__p_XPropertyEvent,
-_swigt__p_XSelectionRequestEvent,
-_swigt__p_ob__Cursors,
-_swigt__p_otk__RenderControl,
-_swigt__p_ob__MwmHints,
-_swigt__p_ob__Screen,
-_swigt__p_ob__Frame,
-_swigt__p_ob__KeyData,
-_swigt__p_XCirculateEvent,
-_swigt__p_XConfigureEvent,
-_swigt__p_XRectangle,
-_swigt__p_otk__ustring,
-_swigt__p_XCrossingEvent,
-_swigt__p_otk__Display,
-_swigt__p_Display,
-_swigt__p_XMappingEvent,
-_swigt__p_otk__EventHandler,
-_swigt__p_XReparentEvent,
-_swigt__p_otk__EventDispatcher,
-_swigt__p_ob__Bindings,
-_swigt__p_ob__Openbox,
-_swigt__p_ob__Actions,
-_swigt__p_otk__Widget,
-_swigt__p_XEvent,
-_swigt__p_otk__Property,
-_swigt__p_PyObject,
-_swigt__p_otk__ScreenInfo,
-_swigt__p_otk__RenderStyle,
-_swigt__p_ob__EventData,
-_swigt__p_XModifierKeymap,
-_swigt__p_XCreateWindowEvent,
-_swigt__p_XDestroyWindowEvent,
-_swigt__p_otk__Property__StringVect,
-_swigt__p_ob__WidgetBase,
-_swigt__p_otk__Atoms,
-_swigt__p_XKeyEvent,
-_swigt__p_int,
-_swigt__p_otk__Strut,
-_swigt__p_p_unsigned_long,
-_swigt__p_unsigned_long,
-_swigt__p_XMotionEvent,
-_swigt__p_XButtonEvent,
-_swigt__p_XSelectionEvent,
-0
-};
-
-
-/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
-
-static swig_const_info swig_const_table[] = {
-{ SWIG_PY_INT, (char *)"Property_ascii", (long) otk::Property::ascii, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Property_utf8", (long) otk::Property::utf8, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Property_NUM_STRING_TYPE", (long) otk::Property::NUM_STRING_TYPE, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Screen_event_mask", (long) ob::Screen::event_mask, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MwmHints_elements", (long) ob::MwmHints::elements, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Layer_Icon", (long) ob::Client::Layer_Icon, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Layer_Desktop", (long) ob::Client::Layer_Desktop, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Layer_Below", (long) ob::Client::Layer_Below, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Layer_Normal", (long) ob::Client::Layer_Normal, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Layer_Above", (long) ob::Client::Layer_Above, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Layer_Top", (long) ob::Client::Layer_Top, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Layer_Fullscreen", (long) ob::Client::Layer_Fullscreen, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Layer_Internal", (long) ob::Client::Layer_Internal, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_NUM_LAYERS", (long) ob::Client::NUM_LAYERS, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_TopLeft", (long) ob::Client::TopLeft, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_TopRight", (long) ob::Client::TopRight, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_BottomLeft", (long) ob::Client::BottomLeft, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_BottomRight", (long) ob::Client::BottomRight, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Type_Desktop", (long) ob::Client::Type_Desktop, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Type_Dock", (long) ob::Client::Type_Dock, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Type_Toolbar", (long) ob::Client::Type_Toolbar, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Type_Menu", (long) ob::Client::Type_Menu, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Type_Utility", (long) ob::Client::Type_Utility, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Type_Splash", (long) ob::Client::Type_Splash, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Type_Dialog", (long) ob::Client::Type_Dialog, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Type_Normal", (long) ob::Client::Type_Normal, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmFlag_Functions", (long) ob::Client::MwmFlag_Functions, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmFlag_Decorations", (long) ob::Client::MwmFlag_Decorations, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmFunc_All", (long) ob::Client::MwmFunc_All, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmFunc_Resize", (long) ob::Client::MwmFunc_Resize, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmFunc_Move", (long) ob::Client::MwmFunc_Move, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmFunc_Iconify", (long) ob::Client::MwmFunc_Iconify, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmFunc_Maximize", (long) ob::Client::MwmFunc_Maximize, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmDecor_All", (long) ob::Client::MwmDecor_All, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmDecor_Border", (long) ob::Client::MwmDecor_Border, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmDecor_Handle", (long) ob::Client::MwmDecor_Handle, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmDecor_Title", (long) ob::Client::MwmDecor_Title, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmDecor_Iconify", (long) ob::Client::MwmDecor_Iconify, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_MwmDecor_Maximize", (long) ob::Client::MwmDecor_Maximize, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Func_Resize", (long) ob::Client::Func_Resize, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Func_Move", (long) ob::Client::Func_Move, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Func_Iconify", (long) ob::Client::Func_Iconify, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Func_Maximize", (long) ob::Client::Func_Maximize, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Func_Shade", (long) ob::Client::Func_Shade, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Func_Fullscreen", (long) ob::Client::Func_Fullscreen, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Func_Close", (long) ob::Client::Func_Close, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Decor_Titlebar", (long) ob::Client::Decor_Titlebar, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Decor_Handle", (long) ob::Client::Decor_Handle, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Decor_Border", (long) ob::Client::Decor_Border, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Decor_Iconify", (long) ob::Client::Decor_Iconify, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Decor_Maximize", (long) ob::Client::Decor_Maximize, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Decor_AllDesktops", (long) ob::Client::Decor_AllDesktops, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_Decor_Close", (long) ob::Client::Decor_Close, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_State_Remove", (long) ob::Client::State_Remove, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_State_Add", (long) ob::Client::State_Add, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_State_Toggle", (long) ob::Client::State_Toggle, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_event_mask", (long) ob::Client::event_mask, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_no_propagate_mask", (long) ob::Client::no_propagate_mask, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Client_ICONIC_DESKTOP", (long) ob::Client::ICONIC_DESKTOP, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Frame_event_mask", (long) ob::Frame::event_mask, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MC_Frame", (long) ob::MC_Frame, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MC_Titlebar", (long) ob::MC_Titlebar, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MC_Handle", (long) ob::MC_Handle, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MC_Window", (long) ob::MC_Window, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MC_CloseButton", (long) ob::MC_CloseButton, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MC_AllDesktopsButton", (long) ob::MC_AllDesktopsButton, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MC_Grip", (long) ob::MC_Grip, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MC_Root", (long) ob::MC_Root, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MC_MenuItem", (long) ob::MC_MenuItem, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MousePress", (long) ob::MousePress, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MouseClick", (long) ob::MouseClick, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MouseMotion", (long) ob::MouseMotion, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KC_Menu", (long) ob::KC_Menu, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KC_All", (long) ob::KC_All, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventKeyPress", (long) ob::EventKeyPress, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventKeyRelease", (long) ob::EventKeyRelease, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NUM_KEY_ACTION", (long) ob::NUM_KEY_ACTION, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventEnterWindow", (long) ob::EventEnterWindow, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventNewWindow", (long) ob::EventNewWindow, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventCloseWindow", (long) ob::EventCloseWindow, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventStartup", (long) ob::EventStartup, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventShutdown", (long) ob::EventShutdown, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventBell", (long) ob::EventBell, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EventUrgentWindow", (long) ob::EventUrgentWindow, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"None", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"InputFocus", (long) 1L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AnyKey", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AnyButton", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KeyPress", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KeyRelease", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ButtonPress", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MotionNotify", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EnterNotify", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FocusIn", (long) 9, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FocusOut", (long) 10, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Expose", (long) 12, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NoExpose", (long) 14, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CreateNotify", (long) 16, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MapNotify", (long) 19, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MapRequest", (long) 20, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GravityNotify", (long) 24, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SelectionClear", (long) 29, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ClientMessage", (long) 33, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MappingNotify", (long) 34, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LASTEvent", (long) 35, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button1", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button2", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button3", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button4", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Button5", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyHint", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SyncPointer", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SyncBoth", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"RevertToParent", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Success", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadRequest", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadValue", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadWindow", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadPixmap", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadAtom", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadCursor", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadFont", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadMatch", (long) 8, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadDrawable", (long) 9, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadAccess", (long) 10, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadAlloc", (long) 11, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadColor", (long) 12, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadGC", (long) 13, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadName", (long) 15, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadLength", (long) 16, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BadImplementation", (long) 17, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"InputOutput", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"InputOnly", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWX", (long) (1<<0), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWY", (long) (1<<1), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NorthGravity", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"WestGravity", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CenterGravity", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EastGravity", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SouthGravity", (long) 8, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"StaticGravity", (long) 10, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"NotUseful", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"WhenMapped", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Always", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"IsViewable", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DestroyAll", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Above", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Below", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"TopIf", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"BottomIf", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Opposite", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LowerHighest", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXclear", (long) 0x0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXand", (long) 0x1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXxor", (long) 0x6, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXor", (long) 0x7, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXnor", (long) 0x8, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXnand", (long) 0xe, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GXset", (long) 0xf, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LineSolid", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CapNotLast", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CapButt", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CapRound", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CapProjecting", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"JoinMiter", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"JoinRound", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"JoinBevel", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FillSolid", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FillTiled", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FillStippled", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"WindingRule", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Unsorted", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"YSorted", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"YXSorted", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"YXBanded", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Complex", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Nonconvex", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"Convex", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ArcChord", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GCLastBit", (long) 22, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"FontChange", (long) 255, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"XYBitmap", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"XYPixmap", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ZPixmap", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AllocNone", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AllocAll", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"CursorShape", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"TileShape", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"StippleShape", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LedModeOff", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LedModeOn", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MappingBusy", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MappingFailed", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MappingModifier", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MappingPointer", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"AllowExposures", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"HostInsert", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"HostDelete", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"EnableAccess", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DisableAccess", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"StaticGray", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"GrayScale", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"StaticColor", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"PseudoColor", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"TrueColor", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"DirectColor", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"LSBFirst", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT, (char *)"MSBFirst", (long) 1, 0, 0, 0},
-{0}};
-
-#ifdef __cplusplus
-}
-#endif
-
-#ifdef __cplusplus
-extern "C"
-#endif
-SWIGEXPORT(void) SWIG_init(void) {
- static PyObject *SWIG_globals = 0;
- static int typeinit = 0;
- PyObject *m, *d;
- int i;
- if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
- m = Py_InitModule((char *) SWIG_name, SwigMethods);
- d = PyModule_GetDict(m);
-
- if (!typeinit) {
- for (i = 0; swig_types_initial[i]; i++) {
- swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
- }
- typeinit = 1;
- }
- SWIG_InstallConstants(d,swig_const_table);
-
-}
-