]> Dogcows Code - chaz/openbox/blob - src/openbox_wrap.cc
some intermediate stage. stacked focus cycling is very broken. dont try it. going...
[chaz/openbox] / src / openbox_wrap.cc
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021128-1508
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 inline SwigValueWrapper() : tt(0) { }
18 inline ~SwigValueWrapper() { if (tt) delete tt; }
19 inline SwigValueWrapper& operator=(const T& t) { tt = new T(t); return *this; }
20 inline operator T&() const { return *tt; }
21 inline T *operator&() { return tt; }
22 };
23 #endif
24
25
26 #include "Python.h"
27
28 /***********************************************************************
29 * common.swg
30 *
31 * This file contains generic SWIG runtime support for pointer
32 * type checking as well as a few commonly used macros to control
33 * external linkage.
34 *
35 * Author : David Beazley (beazley@cs.uchicago.edu)
36 *
37 * Copyright (c) 1999-2000, The University of Chicago
38 *
39 * This file may be freely redistributed without license or fee provided
40 * this copyright message remains intact.
41 ************************************************************************/
42
43 #include <string.h>
44
45 #if defined(_WIN32) || defined(__WIN32__)
46 # if defined(_MSC_VER)
47 # if defined(STATIC_LINKED)
48 # define SWIGEXPORT(a) a
49 # define SWIGIMPORT(a) extern a
50 # else
51 # define SWIGEXPORT(a) __declspec(dllexport) a
52 # define SWIGIMPORT(a) extern a
53 # endif
54 # else
55 # if defined(__BORLANDC__)
56 # define SWIGEXPORT(a) a _export
57 # define SWIGIMPORT(a) a _export
58 # else
59 # define SWIGEXPORT(a) a
60 # define SWIGIMPORT(a) a
61 # endif
62 # endif
63 #else
64 # define SWIGEXPORT(a) a
65 # define SWIGIMPORT(a) a
66 #endif
67
68 #ifdef SWIG_GLOBAL
69 #define SWIGRUNTIME(a) SWIGEXPORT(a)
70 #else
71 #define SWIGRUNTIME(a) static a
72 #endif
73
74 #ifdef __cplusplus
75 extern "C" {
76 #endif
77
78 typedef void *(*swig_converter_func)(void *);
79 typedef struct swig_type_info *(*swig_dycast_func)(void **);
80
81 typedef struct swig_type_info {
82 const char *name;
83 swig_converter_func converter;
84 const char *str;
85 void *clientdata;
86 swig_dycast_func dcast;
87 struct swig_type_info *next;
88 struct swig_type_info *prev;
89 } swig_type_info;
90
91 #ifdef SWIG_NOINCLUDE
92
93 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
94 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
95 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
96 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
97 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
98 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
99
100 #else
101
102 static swig_type_info *swig_type_list = 0;
103
104 /* Register a type mapping with the type-checking */
105 SWIGRUNTIME(swig_type_info *)
106 SWIG_TypeRegister(swig_type_info *ti)
107 {
108 swig_type_info *tc, *head, *ret, *next;
109 /* Check to see if this type has already been registered */
110 tc = swig_type_list;
111 while (tc) {
112 if (strcmp(tc->name, ti->name) == 0) {
113 /* Already exists in the table. Just add additional types to the list */
114 if (tc->clientdata) ti->clientdata = tc->clientdata;
115 head = tc;
116 next = tc->next;
117 goto l1;
118 }
119 tc = tc->prev;
120 }
121 head = ti;
122 next = 0;
123
124 /* Place in list */
125 ti->prev = swig_type_list;
126 swig_type_list = ti;
127
128 /* Build linked lists */
129 l1:
130 ret = head;
131 tc = ti + 1;
132 /* Patch up the rest of the links */
133 while (tc->name) {
134 head->next = tc;
135 tc->prev = head;
136 head = tc;
137 tc++;
138 }
139 head->next = next;
140 return ret;
141 }
142
143 /* Check the typename */
144 SWIGRUNTIME(swig_type_info *)
145 SWIG_TypeCheck(char *c, swig_type_info *ty)
146 {
147 swig_type_info *s;
148 if (!ty) return 0; /* Void pointer */
149 s = ty->next; /* First element always just a name */
150 do {
151 if (strcmp(s->name,c) == 0) {
152 if (s == ty->next) return s;
153 /* Move s to the top of the linked list */
154 s->prev->next = s->next;
155 if (s->next) {
156 s->next->prev = s->prev;
157 }
158 /* Insert s as second element in the list */
159 s->next = ty->next;
160 if (ty->next) ty->next->prev = s;
161 ty->next = s;
162 return s;
163 }
164 s = s->next;
165 } while (s && (s != ty->next));
166 return 0;
167 }
168
169 /* Cast a pointer up an inheritance hierarchy */
170 SWIGRUNTIME(void *)
171 SWIG_TypeCast(swig_type_info *ty, void *ptr)
172 {
173 if ((!ty) || (!ty->converter)) return ptr;
174 return (*ty->converter)(ptr);
175 }
176
177 /* Dynamic pointer casting. Down an inheritance hierarchy */
178 SWIGRUNTIME(swig_type_info *)
179 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
180 {
181 swig_type_info *lastty = ty;
182 if (!ty || !ty->dcast) return ty;
183 while (ty && (ty->dcast)) {
184 ty = (*ty->dcast)(ptr);
185 if (ty) lastty = ty;
186 }
187 return lastty;
188 }
189
190 /* Search for a swig_type_info structure */
191 SWIGRUNTIME(swig_type_info *)
192 SWIG_TypeQuery(const char *name) {
193 swig_type_info *ty = swig_type_list;
194 while (ty) {
195 if (ty->str && (strcmp(name,ty->str) == 0)) return ty;
196 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
197 ty = ty->prev;
198 }
199 return 0;
200 }
201
202 /* Set the clientdata field for a type */
203 SWIGRUNTIME(void)
204 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
205 swig_type_info *tc, *equiv;
206 if (ti->clientdata == clientdata) return;
207 ti->clientdata = clientdata;
208 equiv = ti->next;
209 while (equiv) {
210 if (!equiv->converter) {
211 tc = swig_type_list;
212 while (tc) {
213 if ((strcmp(tc->name, equiv->name) == 0))
214 SWIG_TypeClientData(tc,clientdata);
215 tc = tc->prev;
216 }
217 }
218 equiv = equiv->next;
219 }
220 }
221 #endif
222
223 #ifdef __cplusplus
224 }
225
226 #endif
227
228 /***********************************************************************
229 * python.swg
230 *
231 * This file contains the runtime support for Python modules
232 * and includes code for managing global variables and pointer
233 * type checking.
234 *
235 * Author : David Beazley (beazley@cs.uchicago.edu)
236 ************************************************************************/
237
238 #include "Python.h"
239
240 #ifdef __cplusplus
241 extern "C" {
242 #endif
243
244 #define SWIG_PY_INT 1
245 #define SWIG_PY_FLOAT 2
246 #define SWIG_PY_STRING 3
247 #define SWIG_PY_POINTER 4
248 #define SWIG_PY_BINARY 5
249
250 /* Flags for pointer conversion */
251
252 #define SWIG_POINTER_EXCEPTION 0x1
253 #define SWIG_POINTER_DISOWN 0x2
254
255 /* Exception handling in wrappers */
256 #define SWIG_fail goto fail
257
258 /* Constant information structure */
259 typedef struct swig_const_info {
260 int type;
261 char *name;
262 long lvalue;
263 double dvalue;
264 void *pvalue;
265 swig_type_info **ptype;
266 } swig_const_info;
267
268 #ifdef SWIG_NOINCLUDE
269
270 SWIGEXPORT(PyObject *) SWIG_newvarlink();
271 SWIGEXPORT(void) SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
272 SWIGEXPORT(int) SWIG_ConvertPtr(PyObject *, void **, swig_type_info *, int);
273 SWIGEXPORT(int) SWIG_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
274 SWIGEXPORT(char *) SWIG_PackData(char *c, void *, int);
275 SWIGEXPORT(char *) SWIG_UnpackData(char *c, void *, int);
276 SWIGEXPORT(PyObject *) SWIG_NewPointerObj(void *, swig_type_info *,int own);
277 SWIGEXPORT(PyObject *) SWIG_NewPackedObj(void *, int sz, swig_type_info *);
278 SWIGEXPORT(void) SWIG_InstallConstants(PyObject *d, swig_const_info constants[]);
279 #else
280
281 /* -----------------------------------------------------------------------------
282 * global variable support code.
283 * ----------------------------------------------------------------------------- */
284
285 typedef struct swig_globalvar {
286 char *name; /* Name of global variable */
287 PyObject *(*get_attr)(void); /* Return the current value */
288 int (*set_attr)(PyObject *); /* Set the value */
289 struct swig_globalvar *next;
290 } swig_globalvar;
291
292 typedef struct swig_varlinkobject {
293 PyObject_HEAD
294 swig_globalvar *vars;
295 } swig_varlinkobject;
296
297 static PyObject *
298 swig_varlink_repr(swig_varlinkobject *v) {
299 v = v;
300 return PyString_FromString("<Global variables>");
301 }
302
303 static int
304 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
305 swig_globalvar *var;
306 flags = flags;
307 fprintf(fp,"Global variables { ");
308 for (var = v->vars; var; var=var->next) {
309 fprintf(fp,"%s", var->name);
310 if (var->next) fprintf(fp,", ");
311 }
312 fprintf(fp," }\n");
313 return 0;
314 }
315
316 static PyObject *
317 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
318 swig_globalvar *var = v->vars;
319 while (var) {
320 if (strcmp(var->name,n) == 0) {
321 return (*var->get_attr)();
322 }
323 var = var->next;
324 }
325 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
326 return NULL;
327 }
328
329 static int
330 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
331 swig_globalvar *var = v->vars;
332 while (var) {
333 if (strcmp(var->name,n) == 0) {
334 return (*var->set_attr)(p);
335 }
336 var = var->next;
337 }
338 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
339 return 1;
340 }
341
342 statichere PyTypeObject varlinktype = {
343 PyObject_HEAD_INIT(0)
344 0,
345 (char *)"swigvarlink", /* Type name */
346 sizeof(swig_varlinkobject), /* Basic size */
347 0, /* Itemsize */
348 0, /* Deallocator */
349 (printfunc) swig_varlink_print, /* Print */
350 (getattrfunc) swig_varlink_getattr, /* get attr */
351 (setattrfunc) swig_varlink_setattr, /* Set attr */
352 0, /* tp_compare */
353 (reprfunc) swig_varlink_repr, /* tp_repr */
354 0, /* tp_as_number */
355 0, /* tp_as_mapping*/
356 0, /* tp_hash */
357 };
358
359 /* Create a variable linking object for use later */
360 SWIGRUNTIME(PyObject *)
361 SWIG_newvarlink(void) {
362 swig_varlinkobject *result = 0;
363 result = PyMem_NEW(swig_varlinkobject,1);
364 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
365 result->ob_type = &varlinktype;
366 result->vars = 0;
367 result->ob_refcnt = 0;
368 Py_XINCREF((PyObject *) result);
369 return ((PyObject*) result);
370 }
371
372 SWIGRUNTIME(void)
373 SWIG_addvarlink(PyObject *p, char *name,
374 PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
375 swig_varlinkobject *v;
376 swig_globalvar *gv;
377 v= (swig_varlinkobject *) p;
378 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
379 gv->name = (char *) malloc(strlen(name)+1);
380 strcpy(gv->name,name);
381 gv->get_attr = get_attr;
382 gv->set_attr = set_attr;
383 gv->next = v->vars;
384 v->vars = gv;
385 }
386
387 /* Pack binary data into a string */
388 SWIGRUNTIME(char *)
389 SWIG_PackData(char *c, void *ptr, int sz) {
390 static char hex[17] = "0123456789abcdef";
391 int i;
392 unsigned char *u = (unsigned char *) ptr;
393 register unsigned char uu;
394 for (i = 0; i < sz; i++,u++) {
395 uu = *u;
396 *(c++) = hex[(uu & 0xf0) >> 4];
397 *(c++) = hex[uu & 0xf];
398 }
399 return c;
400 }
401
402 /* Unpack binary data from a string */
403 SWIGRUNTIME(char *)
404 SWIG_UnpackData(char *c, void *ptr, int sz) {
405 register unsigned char uu = 0;
406 register int d;
407 unsigned char *u = (unsigned char *) ptr;
408 int i;
409 for (i = 0; i < sz; i++, u++) {
410 d = *(c++);
411 if ((d >= '0') && (d <= '9'))
412 uu = ((d - '0') << 4);
413 else if ((d >= 'a') && (d <= 'f'))
414 uu = ((d - ('a'-10)) << 4);
415 d = *(c++);
416 if ((d >= '0') && (d <= '9'))
417 uu |= (d - '0');
418 else if ((d >= 'a') && (d <= 'f'))
419 uu |= (d - ('a'-10));
420 *u = uu;
421 }
422 return c;
423 }
424
425 /* Convert a pointer value */
426 SWIGRUNTIME(int)
427 SWIG_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
428 swig_type_info *tc;
429 char *c;
430 static PyObject *SWIG_this = 0;
431 int newref = 0;
432 PyObject *pyobj = 0;
433
434 if (!obj) return 0;
435 if (obj == Py_None) {
436 *ptr = 0;
437 return 0;
438 }
439 #ifdef SWIG_COBJECT_TYPES
440 if (!(PyCObject_Check(obj))) {
441 if (!SWIG_this)
442 SWIG_this = PyString_FromString("this");
443 pyobj = obj;
444 obj = PyObject_GetAttr(obj,SWIG_this);
445 newref = 1;
446 if (!obj) goto type_error;
447 if (!PyCObject_Check(obj)) {
448 Py_DECREF(obj);
449 goto type_error;
450 }
451 }
452 *ptr = PyCObject_AsVoidPtr(obj);
453 c = (char *) PyCObject_GetDesc(obj);
454 if (newref) Py_DECREF(obj);
455 goto cobject;
456 #else
457 if (!(PyString_Check(obj))) {
458 if (!SWIG_this)
459 SWIG_this = PyString_FromString("this");
460 pyobj = obj;
461 obj = PyObject_GetAttr(obj,SWIG_this);
462 newref = 1;
463 if (!obj) goto type_error;
464 if (!PyString_Check(obj)) {
465 Py_DECREF(obj);
466 goto type_error;
467 }
468 }
469 c = PyString_AsString(obj);
470 /* Pointer values must start with leading underscore */
471 if (*c != '_') {
472 *ptr = (void *) 0;
473 if (strcmp(c,"NULL") == 0) {
474 if (newref) { Py_DECREF(obj); }
475 return 0;
476 } else {
477 if (newref) { Py_DECREF(obj); }
478 goto type_error;
479 }
480 }
481 c++;
482 c = SWIG_UnpackData(c,ptr,sizeof(void *));
483 if (newref) { Py_DECREF(obj); }
484 #endif
485
486 #ifdef SWIG_COBJECT_TYPES
487 cobject:
488 #endif
489
490 if (ty) {
491 tc = SWIG_TypeCheck(c,ty);
492 if (!tc) goto type_error;
493 *ptr = SWIG_TypeCast(tc,(void*) *ptr);
494 }
495
496 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
497 PyObject *zero = PyInt_FromLong(0);
498 PyObject_SetAttrString(pyobj,(char*)"thisown",zero);
499 Py_DECREF(zero);
500 }
501 return 0;
502
503 type_error:
504 if (flags & SWIG_POINTER_EXCEPTION) {
505 if (ty) {
506 char *temp = (char *) malloc(64+strlen(ty->name));
507 sprintf(temp,"Type error. Expected %s", ty->name);
508 PyErr_SetString(PyExc_TypeError, temp);
509 free((char *) temp);
510 } else {
511 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
512 }
513 }
514 return -1;
515 }
516
517 /* Convert a packed value value */
518 SWIGRUNTIME(int)
519 SWIG_ConvertPacked(PyObject *obj, void *ptr, int sz, swig_type_info *ty, int flags) {
520 swig_type_info *tc;
521 char *c;
522
523 if ((!obj) || (!PyString_Check(obj))) goto type_error;
524 c = PyString_AsString(obj);
525 /* Pointer values must start with leading underscore */
526 if (*c != '_') goto type_error;
527 c++;
528 c = SWIG_UnpackData(c,ptr,sz);
529 if (ty) {
530 tc = SWIG_TypeCheck(c,ty);
531 if (!tc) goto type_error;
532 }
533 return 0;
534
535 type_error:
536
537 if (flags) {
538 if (ty) {
539 char *temp = (char *) malloc(64+strlen(ty->name));
540 sprintf(temp,"Type error. Expected %s", ty->name);
541 PyErr_SetString(PyExc_TypeError, temp);
542 free((char *) temp);
543 } else {
544 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
545 }
546 }
547 return -1;
548 }
549
550 /* Create a new pointer object */
551 SWIGRUNTIME(PyObject *)
552 SWIG_NewPointerObj(void *ptr, swig_type_info *type, int own) {
553 PyObject *robj;
554 if (!ptr) {
555 Py_INCREF(Py_None);
556 return Py_None;
557 }
558 #ifdef SWIG_COBJECT_TYPES
559 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) type->name, NULL);
560 #else
561 {
562 char result[1024];
563 char *r = result;
564 *(r++) = '_';
565 r = SWIG_PackData(r,&ptr,sizeof(void *));
566 strcpy(r,type->name);
567 robj = PyString_FromString(result);
568 }
569 #endif
570 if (!robj || (robj == Py_None)) return robj;
571 if (type->clientdata) {
572 PyObject *inst;
573 PyObject *args = Py_BuildValue((char*)"(O)", robj);
574 Py_DECREF(robj);
575 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
576 Py_DECREF(args);
577 if (inst) {
578 if (own) {
579 PyObject *n = PyInt_FromLong(1);
580 PyObject_SetAttrString(inst,(char*)"thisown",n);
581 Py_DECREF(n);
582 }
583 robj = inst;
584 }
585 }
586 return robj;
587 }
588
589 SWIGRUNTIME(PyObject *)
590 SWIG_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
591 char result[1024];
592 char *r = result;
593 if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
594 *(r++) = '_';
595 r = SWIG_PackData(r,ptr,sz);
596 strcpy(r,type->name);
597 return PyString_FromString(result);
598 }
599
600 /* Install Constants */
601 SWIGRUNTIME(void)
602 SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) {
603 int i;
604 PyObject *obj;
605 for (i = 0; constants[i].type; i++) {
606 switch(constants[i].type) {
607 case SWIG_PY_INT:
608 obj = PyInt_FromLong(constants[i].lvalue);
609 break;
610 case SWIG_PY_FLOAT:
611 obj = PyFloat_FromDouble(constants[i].dvalue);
612 break;
613 case SWIG_PY_STRING:
614 obj = PyString_FromString((char *) constants[i].pvalue);
615 break;
616 case SWIG_PY_POINTER:
617 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
618 break;
619 case SWIG_PY_BINARY:
620 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
621 break;
622 default:
623 obj = 0;
624 break;
625 }
626 if (obj) {
627 PyDict_SetItemString(d,constants[i].name,obj);
628 Py_DECREF(obj);
629 }
630 }
631 }
632
633 #endif
634
635 #ifdef __cplusplus
636 }
637 #endif
638
639
640
641
642
643
644
645
646 /* -------- TYPES TABLE (BEGIN) -------- */
647
648 #define SWIGTYPE_p_otk__Point swig_types[0]
649 #define SWIGTYPE_p_ob__Client swig_types[1]
650 #define SWIGTYPE_p_XMapEvent swig_types[2]
651 #define SWIGTYPE_p_XUnmapEvent swig_types[3]
652 #define SWIGTYPE_p_XColormapEvent swig_types[4]
653 #define SWIGTYPE_p_XNoExposeEvent swig_types[5]
654 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[6]
655 #define SWIGTYPE_p_XExposeEvent swig_types[7]
656 #define SWIGTYPE_p_XFocusChangeEvent swig_types[8]
657 #define SWIGTYPE_p_XClientMessageEvent swig_types[9]
658 #define SWIGTYPE_p_ob__MouseData swig_types[10]
659 #define SWIGTYPE_p_XSelectionClearEvent swig_types[11]
660 #define SWIGTYPE_p_otk__Rect swig_types[12]
661 #define SWIGTYPE_p_Visual swig_types[13]
662 #define SWIGTYPE_p_XResizeRequestEvent swig_types[14]
663 #define SWIGTYPE_p_XMapRequestEvent swig_types[15]
664 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[16]
665 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[17]
666 #define SWIGTYPE_p_XGravityEvent swig_types[18]
667 #define SWIGTYPE_p_XVisibilityEvent swig_types[19]
668 #define SWIGTYPE_p_XPropertyEvent swig_types[20]
669 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[21]
670 #define SWIGTYPE_p_ob__Cursors swig_types[22]
671 #define SWIGTYPE_p_otk__RenderControl swig_types[23]
672 #define SWIGTYPE_p_ob__MwmHints swig_types[24]
673 #define SWIGTYPE_p_ob__Screen swig_types[25]
674 #define SWIGTYPE_p_ob__Frame swig_types[26]
675 #define SWIGTYPE_p_ob__KeyData swig_types[27]
676 #define SWIGTYPE_p_XCirculateEvent swig_types[28]
677 #define SWIGTYPE_p_XConfigureEvent swig_types[29]
678 #define SWIGTYPE_p_XRectangle swig_types[30]
679 #define SWIGTYPE_p_otk__ustring swig_types[31]
680 #define SWIGTYPE_p_XCrossingEvent swig_types[32]
681 #define SWIGTYPE_p_otk__Display swig_types[33]
682 #define SWIGTYPE_p_Display swig_types[34]
683 #define SWIGTYPE_p_XMappingEvent swig_types[35]
684 #define SWIGTYPE_p_otk__EventHandler swig_types[36]
685 #define SWIGTYPE_p_XReparentEvent swig_types[37]
686 #define SWIGTYPE_p_otk__EventDispatcher swig_types[38]
687 #define SWIGTYPE_p_ob__Bindings swig_types[39]
688 #define SWIGTYPE_p_ob__Openbox swig_types[40]
689 #define SWIGTYPE_p_ob__Actions swig_types[41]
690 #define SWIGTYPE_p_otk__Widget swig_types[42]
691 #define SWIGTYPE_p_XEvent swig_types[43]
692 #define SWIGTYPE_p_otk__Property swig_types[44]
693 #define SWIGTYPE_p_PyObject swig_types[45]
694 #define SWIGTYPE_p_otk__ScreenInfo swig_types[46]
695 #define SWIGTYPE_p_otk__RenderStyle swig_types[47]
696 #define SWIGTYPE_p_ob__EventData swig_types[48]
697 #define SWIGTYPE_p_XModifierKeymap swig_types[49]
698 #define SWIGTYPE_p_XCreateWindowEvent swig_types[50]
699 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[51]
700 #define SWIGTYPE_p_otk__Property__StringVect swig_types[52]
701 #define SWIGTYPE_p_ob__WidgetBase swig_types[53]
702 #define SWIGTYPE_p_otk__Atoms swig_types[54]
703 #define SWIGTYPE_p_XKeyEvent swig_types[55]
704 #define SWIGTYPE_p_int swig_types[56]
705 #define SWIGTYPE_p_otk__Strut swig_types[57]
706 #define SWIGTYPE_p_p_unsigned_long swig_types[58]
707 #define SWIGTYPE_p_unsigned_long swig_types[59]
708 #define SWIGTYPE_p_XMotionEvent swig_types[60]
709 #define SWIGTYPE_p_XButtonEvent swig_types[61]
710 #define SWIGTYPE_p_XSelectionEvent swig_types[62]
711 static swig_type_info *swig_types[64];
712
713 /* -------- TYPES TABLE (END) -------- */
714
715
716 /*-----------------------------------------------
717 @(target):= _openbox.so
718 ------------------------------------------------*/
719 #define SWIG_init init_openbox
720
721 #define SWIG_name "_openbox"
722
723 #ifdef HAVE_CONFIG_H
724 # include "../config.h"
725 #endif
726
727 #include "frame.hh"
728 #include "openbox.hh"
729 #include "screen.hh"
730 #include "client.hh"
731 #include "bindings.hh"
732 #include "actions.hh"
733 #include "python.hh"
734 #include "otk/otk.hh"
735
736
737 #define SWIG_MemoryError 1
738 #define SWIG_IOError 2
739 #define SWIG_RuntimeError 3
740 #define SWIG_IndexError 4
741 #define SWIG_TypeError 5
742 #define SWIG_DivisionByZero 6
743 #define SWIG_OverflowError 7
744 #define SWIG_SyntaxError 8
745 #define SWIG_ValueError 9
746 #define SWIG_SystemError 10
747 #define SWIG_UnknownError 99
748
749
750 static void _SWIG_exception(int code, const char *msg) {
751 switch(code) {
752 case SWIG_MemoryError:
753 PyErr_SetString(PyExc_MemoryError,msg);
754 break;
755 case SWIG_IOError:
756 PyErr_SetString(PyExc_IOError,msg);
757 break;
758 case SWIG_RuntimeError:
759 PyErr_SetString(PyExc_RuntimeError,msg);
760 break;
761 case SWIG_IndexError:
762 PyErr_SetString(PyExc_IndexError,msg);
763 break;
764 case SWIG_TypeError:
765 PyErr_SetString(PyExc_TypeError,msg);
766 break;
767 case SWIG_DivisionByZero:
768 PyErr_SetString(PyExc_ZeroDivisionError,msg);
769 break;
770 case SWIG_OverflowError:
771 PyErr_SetString(PyExc_OverflowError,msg);
772 break;
773 case SWIG_SyntaxError:
774 PyErr_SetString(PyExc_SyntaxError,msg);
775 break;
776 case SWIG_ValueError:
777 PyErr_SetString(PyExc_ValueError,msg);
778 break;
779 case SWIG_SystemError:
780 PyErr_SetString(PyExc_SystemError,msg);
781 break;
782 default:
783 PyErr_SetString(PyExc_RuntimeError,msg);
784 break;
785 }
786 }
787
788 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
789
790
791 #include <string>
792
793
794 #include <string>
795
796 PyObject* SwigInt_FromBool(bool b) {
797 return PyInt_FromLong(b ? 1L : 0L);
798 }
799 double SwigNumber_Check(PyObject* o) {
800 return PyFloat_Check(o) || PyInt_Check(o);
801 }
802 double SwigNumber_AsDouble(PyObject* o) {
803 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
804 }
805 PyObject* SwigString_FromString(const std::string& s) {
806 return PyString_FromString(s.c_str());
807 }
808 std::string SwigString_AsString(PyObject* o) {
809 return std::string(PyString_AsString(o));
810 }
811
812
813 #include <vector>
814 #include <algorithm>
815 #include <stdexcept>
816
817
818 ob::Openbox *Openbox_instance() { return ob::openbox; }
819
820
821 namespace ob {
822 void python_callback(PyObject *func, MouseData *data)
823 {
824 PyObject *arglist;
825 PyObject *result;
826
827 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
828 SWIGTYPE_p_ob__MouseData,
829 0));
830
831 // call the callback
832 result = PyEval_CallObject(func, arglist);
833 if (!result || PyErr_Occurred()) {
834 // an exception occured in the script, display it
835 PyErr_Print();
836 }
837
838 Py_XDECREF(result);
839 Py_DECREF(arglist);
840 }
841
842 void python_callback(PyObject *func, EventData *data)
843 {
844 PyObject *arglist;
845 PyObject *result;
846
847 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
848 SWIGTYPE_p_ob__EventData,
849 0));
850
851 // call the callback
852 result = PyEval_CallObject(func, arglist);
853 if (!result || PyErr_Occurred()) {
854 // an exception occured in the script, display it
855 PyErr_Print();
856 }
857
858 Py_XDECREF(result);
859 Py_DECREF(arglist);
860 }
861
862 void python_callback(PyObject *func, KeyData *data)
863 {
864 PyObject *arglist;
865 PyObject *result;
866
867 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
868 SWIGTYPE_p_ob__KeyData,
869 0));
870
871 // call the callback
872 result = PyEval_CallObject(func, arglist);
873 if (!result || PyErr_Occurred()) {
874 // an exception occured in the script, display it
875 PyErr_Print();
876 }
877
878 Py_XDECREF(result);
879 Py_DECREF(arglist);
880 }
881
882 }
883
884
885 #include <iterator>
886
887
888 #include "ustring.hh"
889
890
891 otk::Display *Display_instance() { return otk::display; }
892
893
894 const otk::Atoms& Property_atoms() { return otk::Property::atoms; }
895
896 ob::Client *ob_Screen_client(ob::Screen *self,int i){
897 if (i < 0 || i >= (int)self->clients.size())
898 return NULL;
899 ob::Client::List::iterator it = self->clients.begin();
900 std::advance(it,i);
901 return *it;
902 }
903 int ob_Screen_clientCount(ob::Screen const *self){
904 return (int) self->clients.size();
905 }
906 #ifdef __cplusplus
907 extern "C" {
908 #endif
909 static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
910 PyObject *resultobj;
911 ob::Openbox *result;
912
913 if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
914 result = (ob::Openbox *)Openbox_instance();
915
916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
917 return resultobj;
918 fail:
919 return NULL;
920 }
921
922
923 static PyObject *_wrap_Display_instance(PyObject *self, PyObject *args) {
924 PyObject *resultobj;
925 otk::Display *result;
926
927 if(!PyArg_ParseTuple(args,(char *)":Display_instance")) goto fail;
928 result = (otk::Display *)Display_instance();
929
930 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 0);
931 return resultobj;
932 fail:
933 return NULL;
934 }
935
936
937 static PyObject *_wrap_Property_atoms(PyObject *self, PyObject *args) {
938 PyObject *resultobj;
939 otk::Atoms *result;
940
941 if(!PyArg_ParseTuple(args,(char *)":Property_atoms")) goto fail;
942 {
943 otk::Atoms const &_result_ref = Property_atoms();
944 result = (otk::Atoms *) &_result_ref;
945 }
946
947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Atoms, 0);
948 return resultobj;
949 fail:
950 return NULL;
951 }
952
953
954 static PyObject *_wrap_new_Display(PyObject *self, PyObject *args) {
955 PyObject *resultobj;
956 otk::Display *result;
957
958 if(!PyArg_ParseTuple(args,(char *)":new_Display")) goto fail;
959 result = (otk::Display *)new otk::Display();
960
961 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 1);
962 return resultobj;
963 fail:
964 return NULL;
965 }
966
967
968 static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args) {
969 PyObject *resultobj;
970 otk::Display *arg1 = (otk::Display *) 0 ;
971 PyObject * obj0 = 0 ;
972
973 if(!PyArg_ParseTuple(args,(char *)"O:delete_Display",&obj0)) goto fail;
974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
975 delete arg1;
976
977 Py_INCREF(Py_None); resultobj = Py_None;
978 return resultobj;
979 fail:
980 return NULL;
981 }
982
983
984 static PyObject *_wrap_Display_screenInfo(PyObject *self, PyObject *args) {
985 PyObject *resultobj;
986 otk::Display *arg1 = (otk::Display *) 0 ;
987 int arg2 ;
988 otk::ScreenInfo *result;
989 PyObject * obj0 = 0 ;
990
991 if(!PyArg_ParseTuple(args,(char *)"Oi:Display_screenInfo",&obj0,&arg2)) goto fail;
992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
993 result = (otk::ScreenInfo *)((otk::Display const *)arg1)->screenInfo(arg2);
994
995 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
996 return resultobj;
997 fail:
998 return NULL;
999 }
1000
1001
1002 static PyObject *_wrap_Display_findScreen(PyObject *self, PyObject *args) {
1003 PyObject *resultobj;
1004 otk::Display *arg1 = (otk::Display *) 0 ;
1005 Window arg2 ;
1006 otk::ScreenInfo *result;
1007 PyObject * obj0 = 0 ;
1008 PyObject * obj1 = 0 ;
1009
1010 if(!PyArg_ParseTuple(args,(char *)"OO:Display_findScreen",&obj0,&obj1)) goto fail;
1011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1012 arg2 = (Window) PyInt_AsLong(obj1);
1013 if (PyErr_Occurred()) SWIG_fail;
1014 result = (otk::ScreenInfo *)((otk::Display const *)arg1)->findScreen(arg2);
1015
1016 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
1017 return resultobj;
1018 fail:
1019 return NULL;
1020 }
1021
1022
1023 static PyObject *_wrap_Display_renderControl(PyObject *self, PyObject *args) {
1024 PyObject *resultobj;
1025 otk::Display *arg1 = (otk::Display *) 0 ;
1026 int arg2 ;
1027 otk::RenderControl *result;
1028 PyObject * obj0 = 0 ;
1029
1030 if(!PyArg_ParseTuple(args,(char *)"Oi:Display_renderControl",&obj0,&arg2)) goto fail;
1031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1032 result = (otk::RenderControl *)((otk::Display const *)arg1)->renderControl(arg2);
1033
1034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__RenderControl, 0);
1035 return resultobj;
1036 fail:
1037 return NULL;
1038 }
1039
1040
1041 static PyObject *_wrap_Display_xkb(PyObject *self, PyObject *args) {
1042 PyObject *resultobj;
1043 otk::Display *arg1 = (otk::Display *) 0 ;
1044 bool result;
1045 PyObject * obj0 = 0 ;
1046
1047 if(!PyArg_ParseTuple(args,(char *)"O:Display_xkb",&obj0)) goto fail;
1048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1049 result = (bool)((otk::Display const *)arg1)->xkb();
1050
1051 resultobj = PyInt_FromLong((long)result);
1052 return resultobj;
1053 fail:
1054 return NULL;
1055 }
1056
1057
1058 static PyObject *_wrap_Display_xkbEventBase(PyObject *self, PyObject *args) {
1059 PyObject *resultobj;
1060 otk::Display *arg1 = (otk::Display *) 0 ;
1061 int result;
1062 PyObject * obj0 = 0 ;
1063
1064 if(!PyArg_ParseTuple(args,(char *)"O:Display_xkbEventBase",&obj0)) goto fail;
1065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1066 result = (int)((otk::Display const *)arg1)->xkbEventBase();
1067
1068 resultobj = PyInt_FromLong((long)result);
1069 return resultobj;
1070 fail:
1071 return NULL;
1072 }
1073
1074
1075 static PyObject *_wrap_Display_shape(PyObject *self, PyObject *args) {
1076 PyObject *resultobj;
1077 otk::Display *arg1 = (otk::Display *) 0 ;
1078 bool result;
1079 PyObject * obj0 = 0 ;
1080
1081 if(!PyArg_ParseTuple(args,(char *)"O:Display_shape",&obj0)) goto fail;
1082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1083 result = (bool)((otk::Display const *)arg1)->shape();
1084
1085 resultobj = PyInt_FromLong((long)result);
1086 return resultobj;
1087 fail:
1088 return NULL;
1089 }
1090
1091
1092 static PyObject *_wrap_Display_shapeEventBase(PyObject *self, PyObject *args) {
1093 PyObject *resultobj;
1094 otk::Display *arg1 = (otk::Display *) 0 ;
1095 int result;
1096 PyObject * obj0 = 0 ;
1097
1098 if(!PyArg_ParseTuple(args,(char *)"O:Display_shapeEventBase",&obj0)) goto fail;
1099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1100 result = (int)((otk::Display const *)arg1)->shapeEventBase();
1101
1102 resultobj = PyInt_FromLong((long)result);
1103 return resultobj;
1104 fail:
1105 return NULL;
1106 }
1107
1108
1109 static PyObject *_wrap_Display_xinerama(PyObject *self, PyObject *args) {
1110 PyObject *resultobj;
1111 otk::Display *arg1 = (otk::Display *) 0 ;
1112 bool result;
1113 PyObject * obj0 = 0 ;
1114
1115 if(!PyArg_ParseTuple(args,(char *)"O:Display_xinerama",&obj0)) goto fail;
1116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1117 result = (bool)((otk::Display const *)arg1)->xinerama();
1118
1119 resultobj = PyInt_FromLong((long)result);
1120 return resultobj;
1121 fail:
1122 return NULL;
1123 }
1124
1125
1126 static PyObject *_wrap_Display_numLockMask(PyObject *self, PyObject *args) {
1127 PyObject *resultobj;
1128 otk::Display *arg1 = (otk::Display *) 0 ;
1129 unsigned int result;
1130 PyObject * obj0 = 0 ;
1131
1132 if(!PyArg_ParseTuple(args,(char *)"O:Display_numLockMask",&obj0)) goto fail;
1133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1134 result = (unsigned int)((otk::Display const *)arg1)->numLockMask();
1135
1136 resultobj = PyInt_FromLong((long)result);
1137 return resultobj;
1138 fail:
1139 return NULL;
1140 }
1141
1142
1143 static PyObject *_wrap_Display_scrollLockMask(PyObject *self, PyObject *args) {
1144 PyObject *resultobj;
1145 otk::Display *arg1 = (otk::Display *) 0 ;
1146 unsigned int result;
1147 PyObject * obj0 = 0 ;
1148
1149 if(!PyArg_ParseTuple(args,(char *)"O:Display_scrollLockMask",&obj0)) goto fail;
1150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1151 result = (unsigned int)((otk::Display const *)arg1)->scrollLockMask();
1152
1153 resultobj = PyInt_FromLong((long)result);
1154 return resultobj;
1155 fail:
1156 return NULL;
1157 }
1158
1159
1160 static PyObject *_wrap_Display_modifierMap(PyObject *self, PyObject *args) {
1161 PyObject *resultobj;
1162 otk::Display *arg1 = (otk::Display *) 0 ;
1163 XModifierKeymap *result;
1164 PyObject * obj0 = 0 ;
1165
1166 if(!PyArg_ParseTuple(args,(char *)"O:Display_modifierMap",&obj0)) goto fail;
1167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1168 result = (XModifierKeymap *)((otk::Display const *)arg1)->modifierMap();
1169
1170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_XModifierKeymap, 0);
1171 return resultobj;
1172 fail:
1173 return NULL;
1174 }
1175
1176
1177 static PyObject *_wrap_Display___mul__(PyObject *self, PyObject *args) {
1178 PyObject *resultobj;
1179 otk::Display *arg1 = (otk::Display *) 0 ;
1180 Display *result;
1181 PyObject * obj0 = 0 ;
1182
1183 if(!PyArg_ParseTuple(args,(char *)"O:Display___mul__",&obj0)) goto fail;
1184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1185 result = (Display *)((otk::Display const *)arg1)->operator *();
1186
1187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
1188 return resultobj;
1189 fail:
1190 return NULL;
1191 }
1192
1193
1194 static PyObject *_wrap_Display_grab(PyObject *self, PyObject *args) {
1195 PyObject *resultobj;
1196 otk::Display *arg1 = (otk::Display *) 0 ;
1197 PyObject * obj0 = 0 ;
1198
1199 if(!PyArg_ParseTuple(args,(char *)"O:Display_grab",&obj0)) goto fail;
1200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1201 (arg1)->grab();
1202
1203 Py_INCREF(Py_None); resultobj = Py_None;
1204 return resultobj;
1205 fail:
1206 return NULL;
1207 }
1208
1209
1210 static PyObject *_wrap_Display_ungrab(PyObject *self, PyObject *args) {
1211 PyObject *resultobj;
1212 otk::Display *arg1 = (otk::Display *) 0 ;
1213 PyObject * obj0 = 0 ;
1214
1215 if(!PyArg_ParseTuple(args,(char *)"O:Display_ungrab",&obj0)) goto fail;
1216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1217 (arg1)->ungrab();
1218
1219 Py_INCREF(Py_None); resultobj = Py_None;
1220 return resultobj;
1221 fail:
1222 return NULL;
1223 }
1224
1225
1226 static PyObject *_wrap_Display_grabButton(PyObject *self, PyObject *args) {
1227 PyObject *resultobj;
1228 otk::Display *arg1 = (otk::Display *) 0 ;
1229 unsigned int arg2 ;
1230 unsigned int arg3 ;
1231 Window arg4 ;
1232 bool arg5 ;
1233 unsigned int arg6 ;
1234 int arg7 ;
1235 int arg8 ;
1236 Window arg9 ;
1237 Cursor arg10 ;
1238 bool arg11 ;
1239 PyObject * obj0 = 0 ;
1240 PyObject * obj1 = 0 ;
1241 PyObject * obj2 = 0 ;
1242 PyObject * obj3 = 0 ;
1243 PyObject * obj4 = 0 ;
1244 PyObject * obj5 = 0 ;
1245 PyObject * obj8 = 0 ;
1246 PyObject * obj9 = 0 ;
1247 PyObject * obj10 = 0 ;
1248
1249 if(!PyArg_ParseTuple(args,(char *)"OOOOOOiiOOO:Display_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&arg7,&arg8,&obj8,&obj9,&obj10)) goto fail;
1250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1251 arg2 = (unsigned int) PyInt_AsLong(obj1);
1252 if (PyErr_Occurred()) SWIG_fail;
1253 arg3 = (unsigned int) PyInt_AsLong(obj2);
1254 if (PyErr_Occurred()) SWIG_fail;
1255 arg4 = (Window) PyInt_AsLong(obj3);
1256 if (PyErr_Occurred()) SWIG_fail;
1257 arg5 = (bool) PyInt_AsLong(obj4);
1258 if (PyErr_Occurred()) SWIG_fail;
1259 arg6 = (unsigned int) PyInt_AsLong(obj5);
1260 if (PyErr_Occurred()) SWIG_fail;
1261 arg9 = (Window) PyInt_AsLong(obj8);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 arg10 = (Cursor) PyInt_AsLong(obj9);
1264 if (PyErr_Occurred()) SWIG_fail;
1265 arg11 = (bool) PyInt_AsLong(obj10);
1266 if (PyErr_Occurred()) SWIG_fail;
1267 ((otk::Display const *)arg1)->grabButton(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
1268
1269 Py_INCREF(Py_None); resultobj = Py_None;
1270 return resultobj;
1271 fail:
1272 return NULL;
1273 }
1274
1275
1276 static PyObject *_wrap_Display_ungrabButton(PyObject *self, PyObject *args) {
1277 PyObject *resultobj;
1278 otk::Display *arg1 = (otk::Display *) 0 ;
1279 unsigned int arg2 ;
1280 unsigned int arg3 ;
1281 Window arg4 ;
1282 PyObject * obj0 = 0 ;
1283 PyObject * obj1 = 0 ;
1284 PyObject * obj2 = 0 ;
1285 PyObject * obj3 = 0 ;
1286
1287 if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabButton",&obj0,&obj1,&obj2,&obj3)) goto fail;
1288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1289 arg2 = (unsigned int) PyInt_AsLong(obj1);
1290 if (PyErr_Occurred()) SWIG_fail;
1291 arg3 = (unsigned int) PyInt_AsLong(obj2);
1292 if (PyErr_Occurred()) SWIG_fail;
1293 arg4 = (Window) PyInt_AsLong(obj3);
1294 if (PyErr_Occurred()) SWIG_fail;
1295 ((otk::Display const *)arg1)->ungrabButton(arg2,arg3,arg4);
1296
1297 Py_INCREF(Py_None); resultobj = Py_None;
1298 return resultobj;
1299 fail:
1300 return NULL;
1301 }
1302
1303
1304 static PyObject *_wrap_Display_grabKey(PyObject *self, PyObject *args) {
1305 PyObject *resultobj;
1306 otk::Display *arg1 = (otk::Display *) 0 ;
1307 unsigned int arg2 ;
1308 unsigned int arg3 ;
1309 Window arg4 ;
1310 bool arg5 ;
1311 int arg6 ;
1312 int arg7 ;
1313 bool arg8 ;
1314 PyObject * obj0 = 0 ;
1315 PyObject * obj1 = 0 ;
1316 PyObject * obj2 = 0 ;
1317 PyObject * obj3 = 0 ;
1318 PyObject * obj4 = 0 ;
1319 PyObject * obj7 = 0 ;
1320
1321 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiO:Display_grabKey",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7)) goto fail;
1322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1323 arg2 = (unsigned int) PyInt_AsLong(obj1);
1324 if (PyErr_Occurred()) SWIG_fail;
1325 arg3 = (unsigned int) PyInt_AsLong(obj2);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 arg4 = (Window) PyInt_AsLong(obj3);
1328 if (PyErr_Occurred()) SWIG_fail;
1329 arg5 = (bool) PyInt_AsLong(obj4);
1330 if (PyErr_Occurred()) SWIG_fail;
1331 arg8 = (bool) PyInt_AsLong(obj7);
1332 if (PyErr_Occurred()) SWIG_fail;
1333 ((otk::Display const *)arg1)->grabKey(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1334
1335 Py_INCREF(Py_None); resultobj = Py_None;
1336 return resultobj;
1337 fail:
1338 return NULL;
1339 }
1340
1341
1342 static PyObject *_wrap_Display_ungrabKey(PyObject *self, PyObject *args) {
1343 PyObject *resultobj;
1344 otk::Display *arg1 = (otk::Display *) 0 ;
1345 unsigned int arg2 ;
1346 unsigned int arg3 ;
1347 Window arg4 ;
1348 PyObject * obj0 = 0 ;
1349 PyObject * obj1 = 0 ;
1350 PyObject * obj2 = 0 ;
1351 PyObject * obj3 = 0 ;
1352
1353 if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabKey",&obj0,&obj1,&obj2,&obj3)) goto fail;
1354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1355 arg2 = (unsigned int) PyInt_AsLong(obj1);
1356 if (PyErr_Occurred()) SWIG_fail;
1357 arg3 = (unsigned int) PyInt_AsLong(obj2);
1358 if (PyErr_Occurred()) SWIG_fail;
1359 arg4 = (Window) PyInt_AsLong(obj3);
1360 if (PyErr_Occurred()) SWIG_fail;
1361 ((otk::Display const *)arg1)->ungrabKey(arg2,arg3,arg4);
1362
1363 Py_INCREF(Py_None); resultobj = Py_None;
1364 return resultobj;
1365 fail:
1366 return NULL;
1367 }
1368
1369
1370 static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
1371 PyObject *obj;
1372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1373 SWIG_TypeClientData(SWIGTYPE_p_otk__Display, obj);
1374 Py_INCREF(obj);
1375 return Py_BuildValue((char *)"");
1376 }
1377 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
1378 PyObject *resultobj;
1379 otk::Point *result;
1380
1381 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
1382 result = (otk::Point *)new otk::Point();
1383
1384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1385 return resultobj;
1386 fail:
1387 return NULL;
1388 }
1389
1390
1391 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
1392 PyObject *resultobj;
1393 int arg1 ;
1394 int arg2 ;
1395 otk::Point *result;
1396
1397 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
1398 result = (otk::Point *)new otk::Point(arg1,arg2);
1399
1400 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1401 return resultobj;
1402 fail:
1403 return NULL;
1404 }
1405
1406
1407 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
1408 int argc;
1409 PyObject *argv[3];
1410 int ii;
1411
1412 argc = PyObject_Length(args);
1413 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
1414 argv[ii] = PyTuple_GetItem(args,ii);
1415 }
1416 if (argc == 0) {
1417 return _wrap_new_Point__SWIG_0(self,args);
1418 }
1419 if (argc == 2) {
1420 int _v;
1421 {
1422 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
1423 }
1424 if (_v) {
1425 {
1426 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1427 }
1428 if (_v) {
1429 return _wrap_new_Point__SWIG_1(self,args);
1430 }
1431 }
1432 }
1433
1434 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
1435 return NULL;
1436 }
1437
1438
1439 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
1440 PyObject *resultobj;
1441 otk::Point *arg1 = (otk::Point *) 0 ;
1442 int arg2 ;
1443 PyObject * obj0 = 0 ;
1444
1445 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
1446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1447 (arg1)->setX(arg2);
1448
1449 Py_INCREF(Py_None); resultobj = Py_None;
1450 return resultobj;
1451 fail:
1452 return NULL;
1453 }
1454
1455
1456 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
1457 PyObject *resultobj;
1458 otk::Point *arg1 = (otk::Point *) 0 ;
1459 int result;
1460 PyObject * obj0 = 0 ;
1461
1462 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
1463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1464 result = (int)((otk::Point const *)arg1)->x();
1465
1466 resultobj = PyInt_FromLong((long)result);
1467 return resultobj;
1468 fail:
1469 return NULL;
1470 }
1471
1472
1473 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
1474 PyObject *resultobj;
1475 otk::Point *arg1 = (otk::Point *) 0 ;
1476 int arg2 ;
1477 PyObject * obj0 = 0 ;
1478
1479 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
1480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1481 (arg1)->setY(arg2);
1482
1483 Py_INCREF(Py_None); resultobj = Py_None;
1484 return resultobj;
1485 fail:
1486 return NULL;
1487 }
1488
1489
1490 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
1491 PyObject *resultobj;
1492 otk::Point *arg1 = (otk::Point *) 0 ;
1493 int result;
1494 PyObject * obj0 = 0 ;
1495
1496 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
1497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1498 result = (int)((otk::Point const *)arg1)->y();
1499
1500 resultobj = PyInt_FromLong((long)result);
1501 return resultobj;
1502 fail:
1503 return NULL;
1504 }
1505
1506
1507 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
1508 PyObject *resultobj;
1509 otk::Point *arg1 = (otk::Point *) 0 ;
1510 int arg2 ;
1511 int arg3 ;
1512 PyObject * obj0 = 0 ;
1513
1514 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
1515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1516 (arg1)->setPoint(arg2,arg3);
1517
1518 Py_INCREF(Py_None); resultobj = Py_None;
1519 return resultobj;
1520 fail:
1521 return NULL;
1522 }
1523
1524
1525 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
1526 PyObject *obj;
1527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1528 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
1529 Py_INCREF(obj);
1530 return Py_BuildValue((char *)"");
1531 }
1532 static PyObject *_wrap_Atoms_cardinal_set(PyObject *self, PyObject *args) {
1533 PyObject *resultobj;
1534 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1535 Atom arg2 ;
1536 PyObject * obj0 = 0 ;
1537 PyObject * obj1 = 0 ;
1538
1539 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_cardinal_set",&obj0,&obj1)) goto fail;
1540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1541 arg2 = (Atom) PyInt_AsLong(obj1);
1542 if (PyErr_Occurred()) SWIG_fail;
1543 if (arg1) (arg1)->cardinal = arg2;
1544
1545 Py_INCREF(Py_None); resultobj = Py_None;
1546 return resultobj;
1547 fail:
1548 return NULL;
1549 }
1550
1551
1552 static PyObject *_wrap_Atoms_cardinal_get(PyObject *self, PyObject *args) {
1553 PyObject *resultobj;
1554 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1555 Atom result;
1556 PyObject * obj0 = 0 ;
1557
1558 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_cardinal_get",&obj0)) goto fail;
1559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1560 result = (Atom) ((arg1)->cardinal);
1561
1562 resultobj = PyInt_FromLong((long)result);
1563 return resultobj;
1564 fail:
1565 return NULL;
1566 }
1567
1568
1569 static PyObject *_wrap_Atoms_window_set(PyObject *self, PyObject *args) {
1570 PyObject *resultobj;
1571 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1572 Atom arg2 ;
1573 PyObject * obj0 = 0 ;
1574 PyObject * obj1 = 0 ;
1575
1576 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_window_set",&obj0,&obj1)) goto fail;
1577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1578 arg2 = (Atom) PyInt_AsLong(obj1);
1579 if (PyErr_Occurred()) SWIG_fail;
1580 if (arg1) (arg1)->window = arg2;
1581
1582 Py_INCREF(Py_None); resultobj = Py_None;
1583 return resultobj;
1584 fail:
1585 return NULL;
1586 }
1587
1588
1589 static PyObject *_wrap_Atoms_window_get(PyObject *self, PyObject *args) {
1590 PyObject *resultobj;
1591 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1592 Atom result;
1593 PyObject * obj0 = 0 ;
1594
1595 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_window_get",&obj0)) goto fail;
1596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1597 result = (Atom) ((arg1)->window);
1598
1599 resultobj = PyInt_FromLong((long)result);
1600 return resultobj;
1601 fail:
1602 return NULL;
1603 }
1604
1605
1606 static PyObject *_wrap_Atoms_pixmap_set(PyObject *self, PyObject *args) {
1607 PyObject *resultobj;
1608 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1609 Atom arg2 ;
1610 PyObject * obj0 = 0 ;
1611 PyObject * obj1 = 0 ;
1612
1613 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_pixmap_set",&obj0,&obj1)) goto fail;
1614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1615 arg2 = (Atom) PyInt_AsLong(obj1);
1616 if (PyErr_Occurred()) SWIG_fail;
1617 if (arg1) (arg1)->pixmap = arg2;
1618
1619 Py_INCREF(Py_None); resultobj = Py_None;
1620 return resultobj;
1621 fail:
1622 return NULL;
1623 }
1624
1625
1626 static PyObject *_wrap_Atoms_pixmap_get(PyObject *self, PyObject *args) {
1627 PyObject *resultobj;
1628 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1629 Atom result;
1630 PyObject * obj0 = 0 ;
1631
1632 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_pixmap_get",&obj0)) goto fail;
1633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1634 result = (Atom) ((arg1)->pixmap);
1635
1636 resultobj = PyInt_FromLong((long)result);
1637 return resultobj;
1638 fail:
1639 return NULL;
1640 }
1641
1642
1643 static PyObject *_wrap_Atoms_atom_set(PyObject *self, PyObject *args) {
1644 PyObject *resultobj;
1645 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1646 Atom arg2 ;
1647 PyObject * obj0 = 0 ;
1648 PyObject * obj1 = 0 ;
1649
1650 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_atom_set",&obj0,&obj1)) goto fail;
1651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1652 arg2 = (Atom) PyInt_AsLong(obj1);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 if (arg1) (arg1)->atom = arg2;
1655
1656 Py_INCREF(Py_None); resultobj = Py_None;
1657 return resultobj;
1658 fail:
1659 return NULL;
1660 }
1661
1662
1663 static PyObject *_wrap_Atoms_atom_get(PyObject *self, PyObject *args) {
1664 PyObject *resultobj;
1665 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1666 Atom result;
1667 PyObject * obj0 = 0 ;
1668
1669 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_atom_get",&obj0)) goto fail;
1670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1671 result = (Atom) ((arg1)->atom);
1672
1673 resultobj = PyInt_FromLong((long)result);
1674 return resultobj;
1675 fail:
1676 return NULL;
1677 }
1678
1679
1680 static PyObject *_wrap_Atoms_string_set(PyObject *self, PyObject *args) {
1681 PyObject *resultobj;
1682 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1683 Atom arg2 ;
1684 PyObject * obj0 = 0 ;
1685 PyObject * obj1 = 0 ;
1686
1687 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_string_set",&obj0,&obj1)) goto fail;
1688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1689 arg2 = (Atom) PyInt_AsLong(obj1);
1690 if (PyErr_Occurred()) SWIG_fail;
1691 if (arg1) (arg1)->string = arg2;
1692
1693 Py_INCREF(Py_None); resultobj = Py_None;
1694 return resultobj;
1695 fail:
1696 return NULL;
1697 }
1698
1699
1700 static PyObject *_wrap_Atoms_string_get(PyObject *self, PyObject *args) {
1701 PyObject *resultobj;
1702 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1703 Atom result;
1704 PyObject * obj0 = 0 ;
1705
1706 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_string_get",&obj0)) goto fail;
1707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1708 result = (Atom) ((arg1)->string);
1709
1710 resultobj = PyInt_FromLong((long)result);
1711 return resultobj;
1712 fail:
1713 return NULL;
1714 }
1715
1716
1717 static PyObject *_wrap_Atoms_utf8_set(PyObject *self, PyObject *args) {
1718 PyObject *resultobj;
1719 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1720 Atom arg2 ;
1721 PyObject * obj0 = 0 ;
1722 PyObject * obj1 = 0 ;
1723
1724 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_utf8_set",&obj0,&obj1)) goto fail;
1725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1726 arg2 = (Atom) PyInt_AsLong(obj1);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 if (arg1) (arg1)->utf8 = arg2;
1729
1730 Py_INCREF(Py_None); resultobj = Py_None;
1731 return resultobj;
1732 fail:
1733 return NULL;
1734 }
1735
1736
1737 static PyObject *_wrap_Atoms_utf8_get(PyObject *self, PyObject *args) {
1738 PyObject *resultobj;
1739 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1740 Atom result;
1741 PyObject * obj0 = 0 ;
1742
1743 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_utf8_get",&obj0)) goto fail;
1744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1745 result = (Atom) ((arg1)->utf8);
1746
1747 resultobj = PyInt_FromLong((long)result);
1748 return resultobj;
1749 fail:
1750 return NULL;
1751 }
1752
1753
1754 static PyObject *_wrap_Atoms_openbox_pid_set(PyObject *self, PyObject *args) {
1755 PyObject *resultobj;
1756 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1757 Atom arg2 ;
1758 PyObject * obj0 = 0 ;
1759 PyObject * obj1 = 0 ;
1760
1761 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_pid_set",&obj0,&obj1)) goto fail;
1762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1763 arg2 = (Atom) PyInt_AsLong(obj1);
1764 if (PyErr_Occurred()) SWIG_fail;
1765 if (arg1) (arg1)->openbox_pid = arg2;
1766
1767 Py_INCREF(Py_None); resultobj = Py_None;
1768 return resultobj;
1769 fail:
1770 return NULL;
1771 }
1772
1773
1774 static PyObject *_wrap_Atoms_openbox_pid_get(PyObject *self, PyObject *args) {
1775 PyObject *resultobj;
1776 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1777 Atom result;
1778 PyObject * obj0 = 0 ;
1779
1780 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_pid_get",&obj0)) goto fail;
1781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1782 result = (Atom) ((arg1)->openbox_pid);
1783
1784 resultobj = PyInt_FromLong((long)result);
1785 return resultobj;
1786 fail:
1787 return NULL;
1788 }
1789
1790
1791 static PyObject *_wrap_Atoms_wm_colormap_windows_set(PyObject *self, PyObject *args) {
1792 PyObject *resultobj;
1793 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1794 Atom arg2 ;
1795 PyObject * obj0 = 0 ;
1796 PyObject * obj1 = 0 ;
1797
1798 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_colormap_windows_set",&obj0,&obj1)) goto fail;
1799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1800 arg2 = (Atom) PyInt_AsLong(obj1);
1801 if (PyErr_Occurred()) SWIG_fail;
1802 if (arg1) (arg1)->wm_colormap_windows = arg2;
1803
1804 Py_INCREF(Py_None); resultobj = Py_None;
1805 return resultobj;
1806 fail:
1807 return NULL;
1808 }
1809
1810
1811 static PyObject *_wrap_Atoms_wm_colormap_windows_get(PyObject *self, PyObject *args) {
1812 PyObject *resultobj;
1813 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1814 Atom result;
1815 PyObject * obj0 = 0 ;
1816
1817 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_colormap_windows_get",&obj0)) goto fail;
1818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1819 result = (Atom) ((arg1)->wm_colormap_windows);
1820
1821 resultobj = PyInt_FromLong((long)result);
1822 return resultobj;
1823 fail:
1824 return NULL;
1825 }
1826
1827
1828 static PyObject *_wrap_Atoms_wm_protocols_set(PyObject *self, PyObject *args) {
1829 PyObject *resultobj;
1830 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1831 Atom arg2 ;
1832 PyObject * obj0 = 0 ;
1833 PyObject * obj1 = 0 ;
1834
1835 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_protocols_set",&obj0,&obj1)) goto fail;
1836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1837 arg2 = (Atom) PyInt_AsLong(obj1);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 if (arg1) (arg1)->wm_protocols = arg2;
1840
1841 Py_INCREF(Py_None); resultobj = Py_None;
1842 return resultobj;
1843 fail:
1844 return NULL;
1845 }
1846
1847
1848 static PyObject *_wrap_Atoms_wm_protocols_get(PyObject *self, PyObject *args) {
1849 PyObject *resultobj;
1850 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1851 Atom result;
1852 PyObject * obj0 = 0 ;
1853
1854 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_protocols_get",&obj0)) goto fail;
1855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1856 result = (Atom) ((arg1)->wm_protocols);
1857
1858 resultobj = PyInt_FromLong((long)result);
1859 return resultobj;
1860 fail:
1861 return NULL;
1862 }
1863
1864
1865 static PyObject *_wrap_Atoms_wm_state_set(PyObject *self, PyObject *args) {
1866 PyObject *resultobj;
1867 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1868 Atom arg2 ;
1869 PyObject * obj0 = 0 ;
1870 PyObject * obj1 = 0 ;
1871
1872 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_state_set",&obj0,&obj1)) goto fail;
1873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1874 arg2 = (Atom) PyInt_AsLong(obj1);
1875 if (PyErr_Occurred()) SWIG_fail;
1876 if (arg1) (arg1)->wm_state = arg2;
1877
1878 Py_INCREF(Py_None); resultobj = Py_None;
1879 return resultobj;
1880 fail:
1881 return NULL;
1882 }
1883
1884
1885 static PyObject *_wrap_Atoms_wm_state_get(PyObject *self, PyObject *args) {
1886 PyObject *resultobj;
1887 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1888 Atom result;
1889 PyObject * obj0 = 0 ;
1890
1891 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_state_get",&obj0)) goto fail;
1892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1893 result = (Atom) ((arg1)->wm_state);
1894
1895 resultobj = PyInt_FromLong((long)result);
1896 return resultobj;
1897 fail:
1898 return NULL;
1899 }
1900
1901
1902 static PyObject *_wrap_Atoms_wm_delete_window_set(PyObject *self, PyObject *args) {
1903 PyObject *resultobj;
1904 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1905 Atom arg2 ;
1906 PyObject * obj0 = 0 ;
1907 PyObject * obj1 = 0 ;
1908
1909 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_delete_window_set",&obj0,&obj1)) goto fail;
1910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1911 arg2 = (Atom) PyInt_AsLong(obj1);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 if (arg1) (arg1)->wm_delete_window = arg2;
1914
1915 Py_INCREF(Py_None); resultobj = Py_None;
1916 return resultobj;
1917 fail:
1918 return NULL;
1919 }
1920
1921
1922 static PyObject *_wrap_Atoms_wm_delete_window_get(PyObject *self, PyObject *args) {
1923 PyObject *resultobj;
1924 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1925 Atom result;
1926 PyObject * obj0 = 0 ;
1927
1928 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_delete_window_get",&obj0)) goto fail;
1929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1930 result = (Atom) ((arg1)->wm_delete_window);
1931
1932 resultobj = PyInt_FromLong((long)result);
1933 return resultobj;
1934 fail:
1935 return NULL;
1936 }
1937
1938
1939 static PyObject *_wrap_Atoms_wm_take_focus_set(PyObject *self, PyObject *args) {
1940 PyObject *resultobj;
1941 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1942 Atom arg2 ;
1943 PyObject * obj0 = 0 ;
1944 PyObject * obj1 = 0 ;
1945
1946 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_take_focus_set",&obj0,&obj1)) goto fail;
1947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1948 arg2 = (Atom) PyInt_AsLong(obj1);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 if (arg1) (arg1)->wm_take_focus = arg2;
1951
1952 Py_INCREF(Py_None); resultobj = Py_None;
1953 return resultobj;
1954 fail:
1955 return NULL;
1956 }
1957
1958
1959 static PyObject *_wrap_Atoms_wm_take_focus_get(PyObject *self, PyObject *args) {
1960 PyObject *resultobj;
1961 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1962 Atom result;
1963 PyObject * obj0 = 0 ;
1964
1965 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_take_focus_get",&obj0)) goto fail;
1966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1967 result = (Atom) ((arg1)->wm_take_focus);
1968
1969 resultobj = PyInt_FromLong((long)result);
1970 return resultobj;
1971 fail:
1972 return NULL;
1973 }
1974
1975
1976 static PyObject *_wrap_Atoms_wm_change_state_set(PyObject *self, PyObject *args) {
1977 PyObject *resultobj;
1978 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1979 Atom arg2 ;
1980 PyObject * obj0 = 0 ;
1981 PyObject * obj1 = 0 ;
1982
1983 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_change_state_set",&obj0,&obj1)) goto fail;
1984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1985 arg2 = (Atom) PyInt_AsLong(obj1);
1986 if (PyErr_Occurred()) SWIG_fail;
1987 if (arg1) (arg1)->wm_change_state = arg2;
1988
1989 Py_INCREF(Py_None); resultobj = Py_None;
1990 return resultobj;
1991 fail:
1992 return NULL;
1993 }
1994
1995
1996 static PyObject *_wrap_Atoms_wm_change_state_get(PyObject *self, PyObject *args) {
1997 PyObject *resultobj;
1998 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1999 Atom result;
2000 PyObject * obj0 = 0 ;
2001
2002 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_change_state_get",&obj0)) goto fail;
2003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2004 result = (Atom) ((arg1)->wm_change_state);
2005
2006 resultobj = PyInt_FromLong((long)result);
2007 return resultobj;
2008 fail:
2009 return NULL;
2010 }
2011
2012
2013 static PyObject *_wrap_Atoms_wm_name_set(PyObject *self, PyObject *args) {
2014 PyObject *resultobj;
2015 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2016 Atom arg2 ;
2017 PyObject * obj0 = 0 ;
2018 PyObject * obj1 = 0 ;
2019
2020 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_name_set",&obj0,&obj1)) goto fail;
2021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2022 arg2 = (Atom) PyInt_AsLong(obj1);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 if (arg1) (arg1)->wm_name = arg2;
2025
2026 Py_INCREF(Py_None); resultobj = Py_None;
2027 return resultobj;
2028 fail:
2029 return NULL;
2030 }
2031
2032
2033 static PyObject *_wrap_Atoms_wm_name_get(PyObject *self, PyObject *args) {
2034 PyObject *resultobj;
2035 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2036 Atom result;
2037 PyObject * obj0 = 0 ;
2038
2039 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_name_get",&obj0)) goto fail;
2040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2041 result = (Atom) ((arg1)->wm_name);
2042
2043 resultobj = PyInt_FromLong((long)result);
2044 return resultobj;
2045 fail:
2046 return NULL;
2047 }
2048
2049
2050 static PyObject *_wrap_Atoms_wm_icon_name_set(PyObject *self, PyObject *args) {
2051 PyObject *resultobj;
2052 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2053 Atom arg2 ;
2054 PyObject * obj0 = 0 ;
2055 PyObject * obj1 = 0 ;
2056
2057 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_icon_name_set",&obj0,&obj1)) goto fail;
2058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2059 arg2 = (Atom) PyInt_AsLong(obj1);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 if (arg1) (arg1)->wm_icon_name = arg2;
2062
2063 Py_INCREF(Py_None); resultobj = Py_None;
2064 return resultobj;
2065 fail:
2066 return NULL;
2067 }
2068
2069
2070 static PyObject *_wrap_Atoms_wm_icon_name_get(PyObject *self, PyObject *args) {
2071 PyObject *resultobj;
2072 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2073 Atom result;
2074 PyObject * obj0 = 0 ;
2075
2076 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_icon_name_get",&obj0)) goto fail;
2077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2078 result = (Atom) ((arg1)->wm_icon_name);
2079
2080 resultobj = PyInt_FromLong((long)result);
2081 return resultobj;
2082 fail:
2083 return NULL;
2084 }
2085
2086
2087 static PyObject *_wrap_Atoms_wm_class_set(PyObject *self, PyObject *args) {
2088 PyObject *resultobj;
2089 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2090 Atom arg2 ;
2091 PyObject * obj0 = 0 ;
2092 PyObject * obj1 = 0 ;
2093
2094 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_class_set",&obj0,&obj1)) goto fail;
2095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2096 arg2 = (Atom) PyInt_AsLong(obj1);
2097 if (PyErr_Occurred()) SWIG_fail;
2098 if (arg1) (arg1)->wm_class = arg2;
2099
2100 Py_INCREF(Py_None); resultobj = Py_None;
2101 return resultobj;
2102 fail:
2103 return NULL;
2104 }
2105
2106
2107 static PyObject *_wrap_Atoms_wm_class_get(PyObject *self, PyObject *args) {
2108 PyObject *resultobj;
2109 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2110 Atom result;
2111 PyObject * obj0 = 0 ;
2112
2113 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_class_get",&obj0)) goto fail;
2114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2115 result = (Atom) ((arg1)->wm_class);
2116
2117 resultobj = PyInt_FromLong((long)result);
2118 return resultobj;
2119 fail:
2120 return NULL;
2121 }
2122
2123
2124 static PyObject *_wrap_Atoms_wm_window_role_set(PyObject *self, PyObject *args) {
2125 PyObject *resultobj;
2126 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2127 Atom arg2 ;
2128 PyObject * obj0 = 0 ;
2129 PyObject * obj1 = 0 ;
2130
2131 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_window_role_set",&obj0,&obj1)) goto fail;
2132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2133 arg2 = (Atom) PyInt_AsLong(obj1);
2134 if (PyErr_Occurred()) SWIG_fail;
2135 if (arg1) (arg1)->wm_window_role = arg2;
2136
2137 Py_INCREF(Py_None); resultobj = Py_None;
2138 return resultobj;
2139 fail:
2140 return NULL;
2141 }
2142
2143
2144 static PyObject *_wrap_Atoms_wm_window_role_get(PyObject *self, PyObject *args) {
2145 PyObject *resultobj;
2146 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2147 Atom result;
2148 PyObject * obj0 = 0 ;
2149
2150 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_window_role_get",&obj0)) goto fail;
2151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2152 result = (Atom) ((arg1)->wm_window_role);
2153
2154 resultobj = PyInt_FromLong((long)result);
2155 return resultobj;
2156 fail:
2157 return NULL;
2158 }
2159
2160
2161 static PyObject *_wrap_Atoms_motif_wm_hints_set(PyObject *self, PyObject *args) {
2162 PyObject *resultobj;
2163 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2164 Atom arg2 ;
2165 PyObject * obj0 = 0 ;
2166 PyObject * obj1 = 0 ;
2167
2168 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_motif_wm_hints_set",&obj0,&obj1)) goto fail;
2169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2170 arg2 = (Atom) PyInt_AsLong(obj1);
2171 if (PyErr_Occurred()) SWIG_fail;
2172 if (arg1) (arg1)->motif_wm_hints = arg2;
2173
2174 Py_INCREF(Py_None); resultobj = Py_None;
2175 return resultobj;
2176 fail:
2177 return NULL;
2178 }
2179
2180
2181 static PyObject *_wrap_Atoms_motif_wm_hints_get(PyObject *self, PyObject *args) {
2182 PyObject *resultobj;
2183 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2184 Atom result;
2185 PyObject * obj0 = 0 ;
2186
2187 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_motif_wm_hints_get",&obj0)) goto fail;
2188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2189 result = (Atom) ((arg1)->motif_wm_hints);
2190
2191 resultobj = PyInt_FromLong((long)result);
2192 return resultobj;
2193 fail:
2194 return NULL;
2195 }
2196
2197
2198 static PyObject *_wrap_Atoms_openbox_show_root_menu_set(PyObject *self, PyObject *args) {
2199 PyObject *resultobj;
2200 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2201 Atom arg2 ;
2202 PyObject * obj0 = 0 ;
2203 PyObject * obj1 = 0 ;
2204
2205 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_root_menu_set",&obj0,&obj1)) goto fail;
2206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2207 arg2 = (Atom) PyInt_AsLong(obj1);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 if (arg1) (arg1)->openbox_show_root_menu = arg2;
2210
2211 Py_INCREF(Py_None); resultobj = Py_None;
2212 return resultobj;
2213 fail:
2214 return NULL;
2215 }
2216
2217
2218 static PyObject *_wrap_Atoms_openbox_show_root_menu_get(PyObject *self, PyObject *args) {
2219 PyObject *resultobj;
2220 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2221 Atom result;
2222 PyObject * obj0 = 0 ;
2223
2224 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_root_menu_get",&obj0)) goto fail;
2225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2226 result = (Atom) ((arg1)->openbox_show_root_menu);
2227
2228 resultobj = PyInt_FromLong((long)result);
2229 return resultobj;
2230 fail:
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_Atoms_openbox_show_workspace_menu_set(PyObject *self, PyObject *args) {
2236 PyObject *resultobj;
2237 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2238 Atom arg2 ;
2239 PyObject * obj0 = 0 ;
2240 PyObject * obj1 = 0 ;
2241
2242 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_workspace_menu_set",&obj0,&obj1)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2244 arg2 = (Atom) PyInt_AsLong(obj1);
2245 if (PyErr_Occurred()) SWIG_fail;
2246 if (arg1) (arg1)->openbox_show_workspace_menu = arg2;
2247
2248 Py_INCREF(Py_None); resultobj = Py_None;
2249 return resultobj;
2250 fail:
2251 return NULL;
2252 }
2253
2254
2255 static PyObject *_wrap_Atoms_openbox_show_workspace_menu_get(PyObject *self, PyObject *args) {
2256 PyObject *resultobj;
2257 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2258 Atom result;
2259 PyObject * obj0 = 0 ;
2260
2261 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_workspace_menu_get",&obj0)) goto fail;
2262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2263 result = (Atom) ((arg1)->openbox_show_workspace_menu);
2264
2265 resultobj = PyInt_FromLong((long)result);
2266 return resultobj;
2267 fail:
2268 return NULL;
2269 }
2270
2271
2272 static PyObject *_wrap_Atoms_net_supported_set(PyObject *self, PyObject *args) {
2273 PyObject *resultobj;
2274 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2275 Atom arg2 ;
2276 PyObject * obj0 = 0 ;
2277 PyObject * obj1 = 0 ;
2278
2279 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supported_set",&obj0,&obj1)) goto fail;
2280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2281 arg2 = (Atom) PyInt_AsLong(obj1);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 if (arg1) (arg1)->net_supported = arg2;
2284
2285 Py_INCREF(Py_None); resultobj = Py_None;
2286 return resultobj;
2287 fail:
2288 return NULL;
2289 }
2290
2291
2292 static PyObject *_wrap_Atoms_net_supported_get(PyObject *self, PyObject *args) {
2293 PyObject *resultobj;
2294 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2295 Atom result;
2296 PyObject * obj0 = 0 ;
2297
2298 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supported_get",&obj0)) goto fail;
2299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2300 result = (Atom) ((arg1)->net_supported);
2301
2302 resultobj = PyInt_FromLong((long)result);
2303 return resultobj;
2304 fail:
2305 return NULL;
2306 }
2307
2308
2309 static PyObject *_wrap_Atoms_net_client_list_set(PyObject *self, PyObject *args) {
2310 PyObject *resultobj;
2311 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2312 Atom arg2 ;
2313 PyObject * obj0 = 0 ;
2314 PyObject * obj1 = 0 ;
2315
2316 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_set",&obj0,&obj1)) goto fail;
2317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2318 arg2 = (Atom) PyInt_AsLong(obj1);
2319 if (PyErr_Occurred()) SWIG_fail;
2320 if (arg1) (arg1)->net_client_list = arg2;
2321
2322 Py_INCREF(Py_None); resultobj = Py_None;
2323 return resultobj;
2324 fail:
2325 return NULL;
2326 }
2327
2328
2329 static PyObject *_wrap_Atoms_net_client_list_get(PyObject *self, PyObject *args) {
2330 PyObject *resultobj;
2331 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2332 Atom result;
2333 PyObject * obj0 = 0 ;
2334
2335 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_get",&obj0)) goto fail;
2336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2337 result = (Atom) ((arg1)->net_client_list);
2338
2339 resultobj = PyInt_FromLong((long)result);
2340 return resultobj;
2341 fail:
2342 return NULL;
2343 }
2344
2345
2346 static PyObject *_wrap_Atoms_net_client_list_stacking_set(PyObject *self, PyObject *args) {
2347 PyObject *resultobj;
2348 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2349 Atom arg2 ;
2350 PyObject * obj0 = 0 ;
2351 PyObject * obj1 = 0 ;
2352
2353 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_stacking_set",&obj0,&obj1)) goto fail;
2354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2355 arg2 = (Atom) PyInt_AsLong(obj1);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 if (arg1) (arg1)->net_client_list_stacking = arg2;
2358
2359 Py_INCREF(Py_None); resultobj = Py_None;
2360 return resultobj;
2361 fail:
2362 return NULL;
2363 }
2364
2365
2366 static PyObject *_wrap_Atoms_net_client_list_stacking_get(PyObject *self, PyObject *args) {
2367 PyObject *resultobj;
2368 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2369 Atom result;
2370 PyObject * obj0 = 0 ;
2371
2372 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_stacking_get",&obj0)) goto fail;
2373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2374 result = (Atom) ((arg1)->net_client_list_stacking);
2375
2376 resultobj = PyInt_FromLong((long)result);
2377 return resultobj;
2378 fail:
2379 return NULL;
2380 }
2381
2382
2383 static PyObject *_wrap_Atoms_net_number_of_desktops_set(PyObject *self, PyObject *args) {
2384 PyObject *resultobj;
2385 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2386 Atom arg2 ;
2387 PyObject * obj0 = 0 ;
2388 PyObject * obj1 = 0 ;
2389
2390 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_number_of_desktops_set",&obj0,&obj1)) goto fail;
2391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2392 arg2 = (Atom) PyInt_AsLong(obj1);
2393 if (PyErr_Occurred()) SWIG_fail;
2394 if (arg1) (arg1)->net_number_of_desktops = arg2;
2395
2396 Py_INCREF(Py_None); resultobj = Py_None;
2397 return resultobj;
2398 fail:
2399 return NULL;
2400 }
2401
2402
2403 static PyObject *_wrap_Atoms_net_number_of_desktops_get(PyObject *self, PyObject *args) {
2404 PyObject *resultobj;
2405 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2406 Atom result;
2407 PyObject * obj0 = 0 ;
2408
2409 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_number_of_desktops_get",&obj0)) goto fail;
2410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2411 result = (Atom) ((arg1)->net_number_of_desktops);
2412
2413 resultobj = PyInt_FromLong((long)result);
2414 return resultobj;
2415 fail:
2416 return NULL;
2417 }
2418
2419
2420 static PyObject *_wrap_Atoms_net_desktop_geometry_set(PyObject *self, PyObject *args) {
2421 PyObject *resultobj;
2422 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2423 Atom arg2 ;
2424 PyObject * obj0 = 0 ;
2425 PyObject * obj1 = 0 ;
2426
2427 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_geometry_set",&obj0,&obj1)) goto fail;
2428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2429 arg2 = (Atom) PyInt_AsLong(obj1);
2430 if (PyErr_Occurred()) SWIG_fail;
2431 if (arg1) (arg1)->net_desktop_geometry = arg2;
2432
2433 Py_INCREF(Py_None); resultobj = Py_None;
2434 return resultobj;
2435 fail:
2436 return NULL;
2437 }
2438
2439
2440 static PyObject *_wrap_Atoms_net_desktop_geometry_get(PyObject *self, PyObject *args) {
2441 PyObject *resultobj;
2442 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2443 Atom result;
2444 PyObject * obj0 = 0 ;
2445
2446 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_geometry_get",&obj0)) goto fail;
2447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2448 result = (Atom) ((arg1)->net_desktop_geometry);
2449
2450 resultobj = PyInt_FromLong((long)result);
2451 return resultobj;
2452 fail:
2453 return NULL;
2454 }
2455
2456
2457 static PyObject *_wrap_Atoms_net_desktop_viewport_set(PyObject *self, PyObject *args) {
2458 PyObject *resultobj;
2459 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2460 Atom arg2 ;
2461 PyObject * obj0 = 0 ;
2462 PyObject * obj1 = 0 ;
2463
2464 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_viewport_set",&obj0,&obj1)) goto fail;
2465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2466 arg2 = (Atom) PyInt_AsLong(obj1);
2467 if (PyErr_Occurred()) SWIG_fail;
2468 if (arg1) (arg1)->net_desktop_viewport = arg2;
2469
2470 Py_INCREF(Py_None); resultobj = Py_None;
2471 return resultobj;
2472 fail:
2473 return NULL;
2474 }
2475
2476
2477 static PyObject *_wrap_Atoms_net_desktop_viewport_get(PyObject *self, PyObject *args) {
2478 PyObject *resultobj;
2479 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2480 Atom result;
2481 PyObject * obj0 = 0 ;
2482
2483 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_viewport_get",&obj0)) goto fail;
2484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2485 result = (Atom) ((arg1)->net_desktop_viewport);
2486
2487 resultobj = PyInt_FromLong((long)result);
2488 return resultobj;
2489 fail:
2490 return NULL;
2491 }
2492
2493
2494 static PyObject *_wrap_Atoms_net_current_desktop_set(PyObject *self, PyObject *args) {
2495 PyObject *resultobj;
2496 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2497 Atom arg2 ;
2498 PyObject * obj0 = 0 ;
2499 PyObject * obj1 = 0 ;
2500
2501 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_current_desktop_set",&obj0,&obj1)) goto fail;
2502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2503 arg2 = (Atom) PyInt_AsLong(obj1);
2504 if (PyErr_Occurred()) SWIG_fail;
2505 if (arg1) (arg1)->net_current_desktop = arg2;
2506
2507 Py_INCREF(Py_None); resultobj = Py_None;
2508 return resultobj;
2509 fail:
2510 return NULL;
2511 }
2512
2513
2514 static PyObject *_wrap_Atoms_net_current_desktop_get(PyObject *self, PyObject *args) {
2515 PyObject *resultobj;
2516 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2517 Atom result;
2518 PyObject * obj0 = 0 ;
2519
2520 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_current_desktop_get",&obj0)) goto fail;
2521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2522 result = (Atom) ((arg1)->net_current_desktop);
2523
2524 resultobj = PyInt_FromLong((long)result);
2525 return resultobj;
2526 fail:
2527 return NULL;
2528 }
2529
2530
2531 static PyObject *_wrap_Atoms_net_desktop_names_set(PyObject *self, PyObject *args) {
2532 PyObject *resultobj;
2533 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2534 Atom arg2 ;
2535 PyObject * obj0 = 0 ;
2536 PyObject * obj1 = 0 ;
2537
2538 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_names_set",&obj0,&obj1)) goto fail;
2539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2540 arg2 = (Atom) PyInt_AsLong(obj1);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 if (arg1) (arg1)->net_desktop_names = arg2;
2543
2544 Py_INCREF(Py_None); resultobj = Py_None;
2545 return resultobj;
2546 fail:
2547 return NULL;
2548 }
2549
2550
2551 static PyObject *_wrap_Atoms_net_desktop_names_get(PyObject *self, PyObject *args) {
2552 PyObject *resultobj;
2553 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2554 Atom result;
2555 PyObject * obj0 = 0 ;
2556
2557 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_names_get",&obj0)) goto fail;
2558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2559 result = (Atom) ((arg1)->net_desktop_names);
2560
2561 resultobj = PyInt_FromLong((long)result);
2562 return resultobj;
2563 fail:
2564 return NULL;
2565 }
2566
2567
2568 static PyObject *_wrap_Atoms_net_active_window_set(PyObject *self, PyObject *args) {
2569 PyObject *resultobj;
2570 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2571 Atom arg2 ;
2572 PyObject * obj0 = 0 ;
2573 PyObject * obj1 = 0 ;
2574
2575 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_active_window_set",&obj0,&obj1)) goto fail;
2576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2577 arg2 = (Atom) PyInt_AsLong(obj1);
2578 if (PyErr_Occurred()) SWIG_fail;
2579 if (arg1) (arg1)->net_active_window = arg2;
2580
2581 Py_INCREF(Py_None); resultobj = Py_None;
2582 return resultobj;
2583 fail:
2584 return NULL;
2585 }
2586
2587
2588 static PyObject *_wrap_Atoms_net_active_window_get(PyObject *self, PyObject *args) {
2589 PyObject *resultobj;
2590 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2591 Atom result;
2592 PyObject * obj0 = 0 ;
2593
2594 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_active_window_get",&obj0)) goto fail;
2595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2596 result = (Atom) ((arg1)->net_active_window);
2597
2598 resultobj = PyInt_FromLong((long)result);
2599 return resultobj;
2600 fail:
2601 return NULL;
2602 }
2603
2604
2605 static PyObject *_wrap_Atoms_net_workarea_set(PyObject *self, PyObject *args) {
2606 PyObject *resultobj;
2607 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2608 Atom arg2 ;
2609 PyObject * obj0 = 0 ;
2610 PyObject * obj1 = 0 ;
2611
2612 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_workarea_set",&obj0,&obj1)) goto fail;
2613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2614 arg2 = (Atom) PyInt_AsLong(obj1);
2615 if (PyErr_Occurred()) SWIG_fail;
2616 if (arg1) (arg1)->net_workarea = arg2;
2617
2618 Py_INCREF(Py_None); resultobj = Py_None;
2619 return resultobj;
2620 fail:
2621 return NULL;
2622 }
2623
2624
2625 static PyObject *_wrap_Atoms_net_workarea_get(PyObject *self, PyObject *args) {
2626 PyObject *resultobj;
2627 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2628 Atom result;
2629 PyObject * obj0 = 0 ;
2630
2631 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_workarea_get",&obj0)) goto fail;
2632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2633 result = (Atom) ((arg1)->net_workarea);
2634
2635 resultobj = PyInt_FromLong((long)result);
2636 return resultobj;
2637 fail:
2638 return NULL;
2639 }
2640
2641
2642 static PyObject *_wrap_Atoms_net_supporting_wm_check_set(PyObject *self, PyObject *args) {
2643 PyObject *resultobj;
2644 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2645 Atom arg2 ;
2646 PyObject * obj0 = 0 ;
2647 PyObject * obj1 = 0 ;
2648
2649 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supporting_wm_check_set",&obj0,&obj1)) goto fail;
2650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2651 arg2 = (Atom) PyInt_AsLong(obj1);
2652 if (PyErr_Occurred()) SWIG_fail;
2653 if (arg1) (arg1)->net_supporting_wm_check = arg2;
2654
2655 Py_INCREF(Py_None); resultobj = Py_None;
2656 return resultobj;
2657 fail:
2658 return NULL;
2659 }
2660
2661
2662 static PyObject *_wrap_Atoms_net_supporting_wm_check_get(PyObject *self, PyObject *args) {
2663 PyObject *resultobj;
2664 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2665 Atom result;
2666 PyObject * obj0 = 0 ;
2667
2668 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supporting_wm_check_get",&obj0)) goto fail;
2669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2670 result = (Atom) ((arg1)->net_supporting_wm_check);
2671
2672 resultobj = PyInt_FromLong((long)result);
2673 return resultobj;
2674 fail:
2675 return NULL;
2676 }
2677
2678
2679 static PyObject *_wrap_Atoms_net_close_window_set(PyObject *self, PyObject *args) {
2680 PyObject *resultobj;
2681 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2682 Atom arg2 ;
2683 PyObject * obj0 = 0 ;
2684 PyObject * obj1 = 0 ;
2685
2686 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_close_window_set",&obj0,&obj1)) goto fail;
2687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2688 arg2 = (Atom) PyInt_AsLong(obj1);
2689 if (PyErr_Occurred()) SWIG_fail;
2690 if (arg1) (arg1)->net_close_window = arg2;
2691
2692 Py_INCREF(Py_None); resultobj = Py_None;
2693 return resultobj;
2694 fail:
2695 return NULL;
2696 }
2697
2698
2699 static PyObject *_wrap_Atoms_net_close_window_get(PyObject *self, PyObject *args) {
2700 PyObject *resultobj;
2701 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2702 Atom result;
2703 PyObject * obj0 = 0 ;
2704
2705 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_close_window_get",&obj0)) goto fail;
2706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2707 result = (Atom) ((arg1)->net_close_window);
2708
2709 resultobj = PyInt_FromLong((long)result);
2710 return resultobj;
2711 fail:
2712 return NULL;
2713 }
2714
2715
2716 static PyObject *_wrap_Atoms_net_wm_moveresize_set(PyObject *self, PyObject *args) {
2717 PyObject *resultobj;
2718 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2719 Atom arg2 ;
2720 PyObject * obj0 = 0 ;
2721 PyObject * obj1 = 0 ;
2722
2723 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_set",&obj0,&obj1)) goto fail;
2724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2725 arg2 = (Atom) PyInt_AsLong(obj1);
2726 if (PyErr_Occurred()) SWIG_fail;
2727 if (arg1) (arg1)->net_wm_moveresize = arg2;
2728
2729 Py_INCREF(Py_None); resultobj = Py_None;
2730 return resultobj;
2731 fail:
2732 return NULL;
2733 }
2734
2735
2736 static PyObject *_wrap_Atoms_net_wm_moveresize_get(PyObject *self, PyObject *args) {
2737 PyObject *resultobj;
2738 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2739 Atom result;
2740 PyObject * obj0 = 0 ;
2741
2742 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_get",&obj0)) goto fail;
2743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2744 result = (Atom) ((arg1)->net_wm_moveresize);
2745
2746 resultobj = PyInt_FromLong((long)result);
2747 return resultobj;
2748 fail:
2749 return NULL;
2750 }
2751
2752
2753 static PyObject *_wrap_Atoms_net_wm_name_set(PyObject *self, PyObject *args) {
2754 PyObject *resultobj;
2755 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2756 Atom arg2 ;
2757 PyObject * obj0 = 0 ;
2758 PyObject * obj1 = 0 ;
2759
2760 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_name_set",&obj0,&obj1)) goto fail;
2761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2762 arg2 = (Atom) PyInt_AsLong(obj1);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 if (arg1) (arg1)->net_wm_name = arg2;
2765
2766 Py_INCREF(Py_None); resultobj = Py_None;
2767 return resultobj;
2768 fail:
2769 return NULL;
2770 }
2771
2772
2773 static PyObject *_wrap_Atoms_net_wm_name_get(PyObject *self, PyObject *args) {
2774 PyObject *resultobj;
2775 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2776 Atom result;
2777 PyObject * obj0 = 0 ;
2778
2779 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_name_get",&obj0)) goto fail;
2780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2781 result = (Atom) ((arg1)->net_wm_name);
2782
2783 resultobj = PyInt_FromLong((long)result);
2784 return resultobj;
2785 fail:
2786 return NULL;
2787 }
2788
2789
2790 static PyObject *_wrap_Atoms_net_wm_visible_name_set(PyObject *self, PyObject *args) {
2791 PyObject *resultobj;
2792 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2793 Atom arg2 ;
2794 PyObject * obj0 = 0 ;
2795 PyObject * obj1 = 0 ;
2796
2797 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_name_set",&obj0,&obj1)) goto fail;
2798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2799 arg2 = (Atom) PyInt_AsLong(obj1);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 if (arg1) (arg1)->net_wm_visible_name = arg2;
2802
2803 Py_INCREF(Py_None); resultobj = Py_None;
2804 return resultobj;
2805 fail:
2806 return NULL;
2807 }
2808
2809
2810 static PyObject *_wrap_Atoms_net_wm_visible_name_get(PyObject *self, PyObject *args) {
2811 PyObject *resultobj;
2812 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2813 Atom result;
2814 PyObject * obj0 = 0 ;
2815
2816 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_name_get",&obj0)) goto fail;
2817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2818 result = (Atom) ((arg1)->net_wm_visible_name);
2819
2820 resultobj = PyInt_FromLong((long)result);
2821 return resultobj;
2822 fail:
2823 return NULL;
2824 }
2825
2826
2827 static PyObject *_wrap_Atoms_net_wm_icon_name_set(PyObject *self, PyObject *args) {
2828 PyObject *resultobj;
2829 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2830 Atom arg2 ;
2831 PyObject * obj0 = 0 ;
2832 PyObject * obj1 = 0 ;
2833
2834 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_icon_name_set",&obj0,&obj1)) goto fail;
2835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2836 arg2 = (Atom) PyInt_AsLong(obj1);
2837 if (PyErr_Occurred()) SWIG_fail;
2838 if (arg1) (arg1)->net_wm_icon_name = arg2;
2839
2840 Py_INCREF(Py_None); resultobj = Py_None;
2841 return resultobj;
2842 fail:
2843 return NULL;
2844 }
2845
2846
2847 static PyObject *_wrap_Atoms_net_wm_icon_name_get(PyObject *self, PyObject *args) {
2848 PyObject *resultobj;
2849 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2850 Atom result;
2851 PyObject * obj0 = 0 ;
2852
2853 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_icon_name_get",&obj0)) goto fail;
2854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2855 result = (Atom) ((arg1)->net_wm_icon_name);
2856
2857 resultobj = PyInt_FromLong((long)result);
2858 return resultobj;
2859 fail:
2860 return NULL;
2861 }
2862
2863
2864 static PyObject *_wrap_Atoms_net_wm_visible_icon_name_set(PyObject *self, PyObject *args) {
2865 PyObject *resultobj;
2866 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2867 Atom arg2 ;
2868 PyObject * obj0 = 0 ;
2869 PyObject * obj1 = 0 ;
2870
2871 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_icon_name_set",&obj0,&obj1)) goto fail;
2872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2873 arg2 = (Atom) PyInt_AsLong(obj1);
2874 if (PyErr_Occurred()) SWIG_fail;
2875 if (arg1) (arg1)->net_wm_visible_icon_name = arg2;
2876
2877 Py_INCREF(Py_None); resultobj = Py_None;
2878 return resultobj;
2879 fail:
2880 return NULL;
2881 }
2882
2883
2884 static PyObject *_wrap_Atoms_net_wm_visible_icon_name_get(PyObject *self, PyObject *args) {
2885 PyObject *resultobj;
2886 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2887 Atom result;
2888 PyObject * obj0 = 0 ;
2889
2890 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_icon_name_get",&obj0)) goto fail;
2891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2892 result = (Atom) ((arg1)->net_wm_visible_icon_name);
2893
2894 resultobj = PyInt_FromLong((long)result);
2895 return resultobj;
2896 fail:
2897 return NULL;
2898 }
2899
2900
2901 static PyObject *_wrap_Atoms_net_wm_desktop_set(PyObject *self, PyObject *args) {
2902 PyObject *resultobj;
2903 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2904 Atom arg2 ;
2905 PyObject * obj0 = 0 ;
2906 PyObject * obj1 = 0 ;
2907
2908 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_desktop_set",&obj0,&obj1)) goto fail;
2909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2910 arg2 = (Atom) PyInt_AsLong(obj1);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 if (arg1) (arg1)->net_wm_desktop = arg2;
2913
2914 Py_INCREF(Py_None); resultobj = Py_None;
2915 return resultobj;
2916 fail:
2917 return NULL;
2918 }
2919
2920
2921 static PyObject *_wrap_Atoms_net_wm_desktop_get(PyObject *self, PyObject *args) {
2922 PyObject *resultobj;
2923 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2924 Atom result;
2925 PyObject * obj0 = 0 ;
2926
2927 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_desktop_get",&obj0)) goto fail;
2928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2929 result = (Atom) ((arg1)->net_wm_desktop);
2930
2931 resultobj = PyInt_FromLong((long)result);
2932 return resultobj;
2933 fail:
2934 return NULL;
2935 }
2936
2937
2938 static PyObject *_wrap_Atoms_net_wm_window_type_set(PyObject *self, PyObject *args) {
2939 PyObject *resultobj;
2940 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2941 Atom arg2 ;
2942 PyObject * obj0 = 0 ;
2943 PyObject * obj1 = 0 ;
2944
2945 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_set",&obj0,&obj1)) goto fail;
2946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2947 arg2 = (Atom) PyInt_AsLong(obj1);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 if (arg1) (arg1)->net_wm_window_type = arg2;
2950
2951 Py_INCREF(Py_None); resultobj = Py_None;
2952 return resultobj;
2953 fail:
2954 return NULL;
2955 }
2956
2957
2958 static PyObject *_wrap_Atoms_net_wm_window_type_get(PyObject *self, PyObject *args) {
2959 PyObject *resultobj;
2960 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2961 Atom result;
2962 PyObject * obj0 = 0 ;
2963
2964 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_get",&obj0)) goto fail;
2965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2966 result = (Atom) ((arg1)->net_wm_window_type);
2967
2968 resultobj = PyInt_FromLong((long)result);
2969 return resultobj;
2970 fail:
2971 return NULL;
2972 }
2973
2974
2975 static PyObject *_wrap_Atoms_net_wm_state_set(PyObject *self, PyObject *args) {
2976 PyObject *resultobj;
2977 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2978 Atom arg2 ;
2979 PyObject * obj0 = 0 ;
2980 PyObject * obj1 = 0 ;
2981
2982 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_set",&obj0,&obj1)) goto fail;
2983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2984 arg2 = (Atom) PyInt_AsLong(obj1);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 if (arg1) (arg1)->net_wm_state = arg2;
2987
2988 Py_INCREF(Py_None); resultobj = Py_None;
2989 return resultobj;
2990 fail:
2991 return NULL;
2992 }
2993
2994
2995 static PyObject *_wrap_Atoms_net_wm_state_get(PyObject *self, PyObject *args) {
2996 PyObject *resultobj;
2997 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2998 Atom result;
2999 PyObject * obj0 = 0 ;
3000
3001 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_get",&obj0)) goto fail;
3002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3003 result = (Atom) ((arg1)->net_wm_state);
3004
3005 resultobj = PyInt_FromLong((long)result);
3006 return resultobj;
3007 fail:
3008 return NULL;
3009 }
3010
3011
3012 static PyObject *_wrap_Atoms_net_wm_strut_set(PyObject *self, PyObject *args) {
3013 PyObject *resultobj;
3014 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3015 Atom arg2 ;
3016 PyObject * obj0 = 0 ;
3017 PyObject * obj1 = 0 ;
3018
3019 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_strut_set",&obj0,&obj1)) goto fail;
3020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3021 arg2 = (Atom) PyInt_AsLong(obj1);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 if (arg1) (arg1)->net_wm_strut = arg2;
3024
3025 Py_INCREF(Py_None); resultobj = Py_None;
3026 return resultobj;
3027 fail:
3028 return NULL;
3029 }
3030
3031
3032 static PyObject *_wrap_Atoms_net_wm_strut_get(PyObject *self, PyObject *args) {
3033 PyObject *resultobj;
3034 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3035 Atom result;
3036 PyObject * obj0 = 0 ;
3037
3038 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_strut_get",&obj0)) goto fail;
3039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3040 result = (Atom) ((arg1)->net_wm_strut);
3041
3042 resultobj = PyInt_FromLong((long)result);
3043 return resultobj;
3044 fail:
3045 return NULL;
3046 }
3047
3048
3049 static PyObject *_wrap_Atoms_net_wm_allowed_actions_set(PyObject *self, PyObject *args) {
3050 PyObject *resultobj;
3051 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3052 Atom arg2 ;
3053 PyObject * obj0 = 0 ;
3054 PyObject * obj1 = 0 ;
3055
3056 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_allowed_actions_set",&obj0,&obj1)) goto fail;
3057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3058 arg2 = (Atom) PyInt_AsLong(obj1);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 if (arg1) (arg1)->net_wm_allowed_actions = arg2;
3061
3062 Py_INCREF(Py_None); resultobj = Py_None;
3063 return resultobj;
3064 fail:
3065 return NULL;
3066 }
3067
3068
3069 static PyObject *_wrap_Atoms_net_wm_allowed_actions_get(PyObject *self, PyObject *args) {
3070 PyObject *resultobj;
3071 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3072 Atom result;
3073 PyObject * obj0 = 0 ;
3074
3075 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_allowed_actions_get",&obj0)) goto fail;
3076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3077 result = (Atom) ((arg1)->net_wm_allowed_actions);
3078
3079 resultobj = PyInt_FromLong((long)result);
3080 return resultobj;
3081 fail:
3082 return NULL;
3083 }
3084
3085
3086 static PyObject *_wrap_Atoms_net_wm_window_type_desktop_set(PyObject *self, PyObject *args) {
3087 PyObject *resultobj;
3088 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3089 Atom arg2 ;
3090 PyObject * obj0 = 0 ;
3091 PyObject * obj1 = 0 ;
3092
3093 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_desktop_set",&obj0,&obj1)) goto fail;
3094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3095 arg2 = (Atom) PyInt_AsLong(obj1);
3096 if (PyErr_Occurred()) SWIG_fail;
3097 if (arg1) (arg1)->net_wm_window_type_desktop = arg2;
3098
3099 Py_INCREF(Py_None); resultobj = Py_None;
3100 return resultobj;
3101 fail:
3102 return NULL;
3103 }
3104
3105
3106 static PyObject *_wrap_Atoms_net_wm_window_type_desktop_get(PyObject *self, PyObject *args) {
3107 PyObject *resultobj;
3108 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3109 Atom result;
3110 PyObject * obj0 = 0 ;
3111
3112 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_desktop_get",&obj0)) goto fail;
3113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3114 result = (Atom) ((arg1)->net_wm_window_type_desktop);
3115
3116 resultobj = PyInt_FromLong((long)result);
3117 return resultobj;
3118 fail:
3119 return NULL;
3120 }
3121
3122
3123 static PyObject *_wrap_Atoms_net_wm_window_type_dock_set(PyObject *self, PyObject *args) {
3124 PyObject *resultobj;
3125 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3126 Atom arg2 ;
3127 PyObject * obj0 = 0 ;
3128 PyObject * obj1 = 0 ;
3129
3130 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dock_set",&obj0,&obj1)) goto fail;
3131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 arg2 = (Atom) PyInt_AsLong(obj1);
3133 if (PyErr_Occurred()) SWIG_fail;
3134 if (arg1) (arg1)->net_wm_window_type_dock = arg2;
3135
3136 Py_INCREF(Py_None); resultobj = Py_None;
3137 return resultobj;
3138 fail:
3139 return NULL;
3140 }
3141
3142
3143 static PyObject *_wrap_Atoms_net_wm_window_type_dock_get(PyObject *self, PyObject *args) {
3144 PyObject *resultobj;
3145 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3146 Atom result;
3147 PyObject * obj0 = 0 ;
3148
3149 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dock_get",&obj0)) goto fail;
3150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3151 result = (Atom) ((arg1)->net_wm_window_type_dock);
3152
3153 resultobj = PyInt_FromLong((long)result);
3154 return resultobj;
3155 fail:
3156 return NULL;
3157 }
3158
3159
3160 static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_set(PyObject *self, PyObject *args) {
3161 PyObject *resultobj;
3162 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3163 Atom arg2 ;
3164 PyObject * obj0 = 0 ;
3165 PyObject * obj1 = 0 ;
3166
3167 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_toolbar_set",&obj0,&obj1)) goto fail;
3168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3169 arg2 = (Atom) PyInt_AsLong(obj1);
3170 if (PyErr_Occurred()) SWIG_fail;
3171 if (arg1) (arg1)->net_wm_window_type_toolbar = arg2;
3172
3173 Py_INCREF(Py_None); resultobj = Py_None;
3174 return resultobj;
3175 fail:
3176 return NULL;
3177 }
3178
3179
3180 static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_get(PyObject *self, PyObject *args) {
3181 PyObject *resultobj;
3182 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3183 Atom result;
3184 PyObject * obj0 = 0 ;
3185
3186 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_toolbar_get",&obj0)) goto fail;
3187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3188 result = (Atom) ((arg1)->net_wm_window_type_toolbar);
3189
3190 resultobj = PyInt_FromLong((long)result);
3191 return resultobj;
3192 fail:
3193 return NULL;
3194 }
3195
3196
3197 static PyObject *_wrap_Atoms_net_wm_window_type_menu_set(PyObject *self, PyObject *args) {
3198 PyObject *resultobj;
3199 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3200 Atom arg2 ;
3201 PyObject * obj0 = 0 ;
3202 PyObject * obj1 = 0 ;
3203
3204 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_menu_set",&obj0,&obj1)) goto fail;
3205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3206 arg2 = (Atom) PyInt_AsLong(obj1);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 if (arg1) (arg1)->net_wm_window_type_menu = arg2;
3209
3210 Py_INCREF(Py_None); resultobj = Py_None;
3211 return resultobj;
3212 fail:
3213 return NULL;
3214 }
3215
3216
3217 static PyObject *_wrap_Atoms_net_wm_window_type_menu_get(PyObject *self, PyObject *args) {
3218 PyObject *resultobj;
3219 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3220 Atom result;
3221 PyObject * obj0 = 0 ;
3222
3223 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_menu_get",&obj0)) goto fail;
3224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3225 result = (Atom) ((arg1)->net_wm_window_type_menu);
3226
3227 resultobj = PyInt_FromLong((long)result);
3228 return resultobj;
3229 fail:
3230 return NULL;
3231 }
3232
3233
3234 static PyObject *_wrap_Atoms_net_wm_window_type_utility_set(PyObject *self, PyObject *args) {
3235 PyObject *resultobj;
3236 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3237 Atom arg2 ;
3238 PyObject * obj0 = 0 ;
3239 PyObject * obj1 = 0 ;
3240
3241 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_utility_set",&obj0,&obj1)) goto fail;
3242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3243 arg2 = (Atom) PyInt_AsLong(obj1);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 if (arg1) (arg1)->net_wm_window_type_utility = arg2;
3246
3247 Py_INCREF(Py_None); resultobj = Py_None;
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 static PyObject *_wrap_Atoms_net_wm_window_type_utility_get(PyObject *self, PyObject *args) {
3255 PyObject *resultobj;
3256 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3257 Atom result;
3258 PyObject * obj0 = 0 ;
3259
3260 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_utility_get",&obj0)) goto fail;
3261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3262 result = (Atom) ((arg1)->net_wm_window_type_utility);
3263
3264 resultobj = PyInt_FromLong((long)result);
3265 return resultobj;
3266 fail:
3267 return NULL;
3268 }
3269
3270
3271 static PyObject *_wrap_Atoms_net_wm_window_type_splash_set(PyObject *self, PyObject *args) {
3272 PyObject *resultobj;
3273 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3274 Atom arg2 ;
3275 PyObject * obj0 = 0 ;
3276 PyObject * obj1 = 0 ;
3277
3278 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_splash_set",&obj0,&obj1)) goto fail;
3279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3280 arg2 = (Atom) PyInt_AsLong(obj1);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 if (arg1) (arg1)->net_wm_window_type_splash = arg2;
3283
3284 Py_INCREF(Py_None); resultobj = Py_None;
3285 return resultobj;
3286 fail:
3287 return NULL;
3288 }
3289
3290
3291 static PyObject *_wrap_Atoms_net_wm_window_type_splash_get(PyObject *self, PyObject *args) {
3292 PyObject *resultobj;
3293 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3294 Atom result;
3295 PyObject * obj0 = 0 ;
3296
3297 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_splash_get",&obj0)) goto fail;
3298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3299 result = (Atom) ((arg1)->net_wm_window_type_splash);
3300
3301 resultobj = PyInt_FromLong((long)result);
3302 return resultobj;
3303 fail:
3304 return NULL;
3305 }
3306
3307
3308 static PyObject *_wrap_Atoms_net_wm_window_type_dialog_set(PyObject *self, PyObject *args) {
3309 PyObject *resultobj;
3310 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3311 Atom arg2 ;
3312 PyObject * obj0 = 0 ;
3313 PyObject * obj1 = 0 ;
3314
3315 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dialog_set",&obj0,&obj1)) goto fail;
3316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3317 arg2 = (Atom) PyInt_AsLong(obj1);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 if (arg1) (arg1)->net_wm_window_type_dialog = arg2;
3320
3321 Py_INCREF(Py_None); resultobj = Py_None;
3322 return resultobj;
3323 fail:
3324 return NULL;
3325 }
3326
3327
3328 static PyObject *_wrap_Atoms_net_wm_window_type_dialog_get(PyObject *self, PyObject *args) {
3329 PyObject *resultobj;
3330 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3331 Atom result;
3332 PyObject * obj0 = 0 ;
3333
3334 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dialog_get",&obj0)) goto fail;
3335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3336 result = (Atom) ((arg1)->net_wm_window_type_dialog);
3337
3338 resultobj = PyInt_FromLong((long)result);
3339 return resultobj;
3340 fail:
3341 return NULL;
3342 }
3343
3344
3345 static PyObject *_wrap_Atoms_net_wm_window_type_normal_set(PyObject *self, PyObject *args) {
3346 PyObject *resultobj;
3347 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3348 Atom arg2 ;
3349 PyObject * obj0 = 0 ;
3350 PyObject * obj1 = 0 ;
3351
3352 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_normal_set",&obj0,&obj1)) goto fail;
3353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3354 arg2 = (Atom) PyInt_AsLong(obj1);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 if (arg1) (arg1)->net_wm_window_type_normal = arg2;
3357
3358 Py_INCREF(Py_None); resultobj = Py_None;
3359 return resultobj;
3360 fail:
3361 return NULL;
3362 }
3363
3364
3365 static PyObject *_wrap_Atoms_net_wm_window_type_normal_get(PyObject *self, PyObject *args) {
3366 PyObject *resultobj;
3367 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3368 Atom result;
3369 PyObject * obj0 = 0 ;
3370
3371 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_normal_get",&obj0)) goto fail;
3372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3373 result = (Atom) ((arg1)->net_wm_window_type_normal);
3374
3375 resultobj = PyInt_FromLong((long)result);
3376 return resultobj;
3377 fail:
3378 return NULL;
3379 }
3380
3381
3382 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_set(PyObject *self, PyObject *args) {
3383 PyObject *resultobj;
3384 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3385 Atom arg2 ;
3386 PyObject * obj0 = 0 ;
3387 PyObject * obj1 = 0 ;
3388
3389 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topleft_set",&obj0,&obj1)) goto fail;
3390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3391 arg2 = (Atom) PyInt_AsLong(obj1);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 if (arg1) (arg1)->net_wm_moveresize_size_topleft = arg2;
3394
3395 Py_INCREF(Py_None); resultobj = Py_None;
3396 return resultobj;
3397 fail:
3398 return NULL;
3399 }
3400
3401
3402 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_get(PyObject *self, PyObject *args) {
3403 PyObject *resultobj;
3404 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3405 Atom result;
3406 PyObject * obj0 = 0 ;
3407
3408 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topleft_get",&obj0)) goto fail;
3409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3410 result = (Atom) ((arg1)->net_wm_moveresize_size_topleft);
3411
3412 resultobj = PyInt_FromLong((long)result);
3413 return resultobj;
3414 fail:
3415 return NULL;
3416 }
3417
3418
3419 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_set(PyObject *self, PyObject *args) {
3420 PyObject *resultobj;
3421 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3422 Atom arg2 ;
3423 PyObject * obj0 = 0 ;
3424 PyObject * obj1 = 0 ;
3425
3426 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topright_set",&obj0,&obj1)) goto fail;
3427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3428 arg2 = (Atom) PyInt_AsLong(obj1);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 if (arg1) (arg1)->net_wm_moveresize_size_topright = arg2;
3431
3432 Py_INCREF(Py_None); resultobj = Py_None;
3433 return resultobj;
3434 fail:
3435 return NULL;
3436 }
3437
3438
3439 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_get(PyObject *self, PyObject *args) {
3440 PyObject *resultobj;
3441 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3442 Atom result;
3443 PyObject * obj0 = 0 ;
3444
3445 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topright_get",&obj0)) goto fail;
3446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3447 result = (Atom) ((arg1)->net_wm_moveresize_size_topright);
3448
3449 resultobj = PyInt_FromLong((long)result);
3450 return resultobj;
3451 fail:
3452 return NULL;
3453 }
3454
3455
3456 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_set(PyObject *self, PyObject *args) {
3457 PyObject *resultobj;
3458 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3459 Atom arg2 ;
3460 PyObject * obj0 = 0 ;
3461 PyObject * obj1 = 0 ;
3462
3463 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomleft_set",&obj0,&obj1)) goto fail;
3464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3465 arg2 = (Atom) PyInt_AsLong(obj1);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 if (arg1) (arg1)->net_wm_moveresize_size_bottomleft = arg2;
3468
3469 Py_INCREF(Py_None); resultobj = Py_None;
3470 return resultobj;
3471 fail:
3472 return NULL;
3473 }
3474
3475
3476 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_get(PyObject *self, PyObject *args) {
3477 PyObject *resultobj;
3478 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3479 Atom result;
3480 PyObject * obj0 = 0 ;
3481
3482 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomleft_get",&obj0)) goto fail;
3483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3484 result = (Atom) ((arg1)->net_wm_moveresize_size_bottomleft);
3485
3486 resultobj = PyInt_FromLong((long)result);
3487 return resultobj;
3488 fail:
3489 return NULL;
3490 }
3491
3492
3493 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_set(PyObject *self, PyObject *args) {
3494 PyObject *resultobj;
3495 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3496 Atom arg2 ;
3497 PyObject * obj0 = 0 ;
3498 PyObject * obj1 = 0 ;
3499
3500 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomright_set",&obj0,&obj1)) goto fail;
3501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3502 arg2 = (Atom) PyInt_AsLong(obj1);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 if (arg1) (arg1)->net_wm_moveresize_size_bottomright = arg2;
3505
3506 Py_INCREF(Py_None); resultobj = Py_None;
3507 return resultobj;
3508 fail:
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_get(PyObject *self, PyObject *args) {
3514 PyObject *resultobj;
3515 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3516 Atom result;
3517 PyObject * obj0 = 0 ;
3518
3519 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomright_get",&obj0)) goto fail;
3520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3521 result = (Atom) ((arg1)->net_wm_moveresize_size_bottomright);
3522
3523 resultobj = PyInt_FromLong((long)result);
3524 return resultobj;
3525 fail:
3526 return NULL;
3527 }
3528
3529
3530 static PyObject *_wrap_Atoms_net_wm_moveresize_move_set(PyObject *self, PyObject *args) {
3531 PyObject *resultobj;
3532 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3533 Atom arg2 ;
3534 PyObject * obj0 = 0 ;
3535 PyObject * obj1 = 0 ;
3536
3537 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_move_set",&obj0,&obj1)) goto fail;
3538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3539 arg2 = (Atom) PyInt_AsLong(obj1);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 if (arg1) (arg1)->net_wm_moveresize_move = arg2;
3542
3543 Py_INCREF(Py_None); resultobj = Py_None;
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 static PyObject *_wrap_Atoms_net_wm_moveresize_move_get(PyObject *self, PyObject *args) {
3551 PyObject *resultobj;
3552 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3553 Atom result;
3554 PyObject * obj0 = 0 ;
3555
3556 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_move_get",&obj0)) goto fail;
3557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3558 result = (Atom) ((arg1)->net_wm_moveresize_move);
3559
3560 resultobj = PyInt_FromLong((long)result);
3561 return resultobj;
3562 fail:
3563 return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_Atoms_net_wm_action_move_set(PyObject *self, PyObject *args) {
3568 PyObject *resultobj;
3569 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3570 Atom arg2 ;
3571 PyObject * obj0 = 0 ;
3572 PyObject * obj1 = 0 ;
3573
3574 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_move_set",&obj0,&obj1)) goto fail;
3575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3576 arg2 = (Atom) PyInt_AsLong(obj1);
3577 if (PyErr_Occurred()) SWIG_fail;
3578 if (arg1) (arg1)->net_wm_action_move = arg2;
3579
3580 Py_INCREF(Py_None); resultobj = Py_None;
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_Atoms_net_wm_action_move_get(PyObject *self, PyObject *args) {
3588 PyObject *resultobj;
3589 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3590 Atom result;
3591 PyObject * obj0 = 0 ;
3592
3593 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_move_get",&obj0)) goto fail;
3594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3595 result = (Atom) ((arg1)->net_wm_action_move);
3596
3597 resultobj = PyInt_FromLong((long)result);
3598 return resultobj;
3599 fail:
3600 return NULL;
3601 }
3602
3603
3604 static PyObject *_wrap_Atoms_net_wm_action_resize_set(PyObject *self, PyObject *args) {
3605 PyObject *resultobj;
3606 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3607 Atom arg2 ;
3608 PyObject * obj0 = 0 ;
3609 PyObject * obj1 = 0 ;
3610
3611 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_resize_set",&obj0,&obj1)) goto fail;
3612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3613 arg2 = (Atom) PyInt_AsLong(obj1);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 if (arg1) (arg1)->net_wm_action_resize = arg2;
3616
3617 Py_INCREF(Py_None); resultobj = Py_None;
3618 return resultobj;
3619 fail:
3620 return NULL;
3621 }
3622
3623
3624 static PyObject *_wrap_Atoms_net_wm_action_resize_get(PyObject *self, PyObject *args) {
3625 PyObject *resultobj;
3626 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3627 Atom result;
3628 PyObject * obj0 = 0 ;
3629
3630 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_resize_get",&obj0)) goto fail;
3631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3632 result = (Atom) ((arg1)->net_wm_action_resize);
3633
3634 resultobj = PyInt_FromLong((long)result);
3635 return resultobj;
3636 fail:
3637 return NULL;
3638 }
3639
3640
3641 static PyObject *_wrap_Atoms_net_wm_action_minimize_set(PyObject *self, PyObject *args) {
3642 PyObject *resultobj;
3643 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3644 Atom arg2 ;
3645 PyObject * obj0 = 0 ;
3646 PyObject * obj1 = 0 ;
3647
3648 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_minimize_set",&obj0,&obj1)) goto fail;
3649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3650 arg2 = (Atom) PyInt_AsLong(obj1);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 if (arg1) (arg1)->net_wm_action_minimize = arg2;
3653
3654 Py_INCREF(Py_None); resultobj = Py_None;
3655 return resultobj;
3656 fail:
3657 return NULL;
3658 }
3659
3660
3661 static PyObject *_wrap_Atoms_net_wm_action_minimize_get(PyObject *self, PyObject *args) {
3662 PyObject *resultobj;
3663 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3664 Atom result;
3665 PyObject * obj0 = 0 ;
3666
3667 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_minimize_get",&obj0)) goto fail;
3668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3669 result = (Atom) ((arg1)->net_wm_action_minimize);
3670
3671 resultobj = PyInt_FromLong((long)result);
3672 return resultobj;
3673 fail:
3674 return NULL;
3675 }
3676
3677
3678 static PyObject *_wrap_Atoms_net_wm_action_shade_set(PyObject *self, PyObject *args) {
3679 PyObject *resultobj;
3680 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3681 Atom arg2 ;
3682 PyObject * obj0 = 0 ;
3683 PyObject * obj1 = 0 ;
3684
3685 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_shade_set",&obj0,&obj1)) goto fail;
3686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3687 arg2 = (Atom) PyInt_AsLong(obj1);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 if (arg1) (arg1)->net_wm_action_shade = arg2;
3690
3691 Py_INCREF(Py_None); resultobj = Py_None;
3692 return resultobj;
3693 fail:
3694 return NULL;
3695 }
3696
3697
3698 static PyObject *_wrap_Atoms_net_wm_action_shade_get(PyObject *self, PyObject *args) {
3699 PyObject *resultobj;
3700 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3701 Atom result;
3702 PyObject * obj0 = 0 ;
3703
3704 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_shade_get",&obj0)) goto fail;
3705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3706 result = (Atom) ((arg1)->net_wm_action_shade);
3707
3708 resultobj = PyInt_FromLong((long)result);
3709 return resultobj;
3710 fail:
3711 return NULL;
3712 }
3713
3714
3715 static PyObject *_wrap_Atoms_net_wm_action_stick_set(PyObject *self, PyObject *args) {
3716 PyObject *resultobj;
3717 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3718 Atom arg2 ;
3719 PyObject * obj0 = 0 ;
3720 PyObject * obj1 = 0 ;
3721
3722 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_stick_set",&obj0,&obj1)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3724 arg2 = (Atom) PyInt_AsLong(obj1);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 if (arg1) (arg1)->net_wm_action_stick = arg2;
3727
3728 Py_INCREF(Py_None); resultobj = Py_None;
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject *_wrap_Atoms_net_wm_action_stick_get(PyObject *self, PyObject *args) {
3736 PyObject *resultobj;
3737 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3738 Atom result;
3739 PyObject * obj0 = 0 ;
3740
3741 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_stick_get",&obj0)) goto fail;
3742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3743 result = (Atom) ((arg1)->net_wm_action_stick);
3744
3745 resultobj = PyInt_FromLong((long)result);
3746 return resultobj;
3747 fail:
3748 return NULL;
3749 }
3750
3751
3752 static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_set(PyObject *self, PyObject *args) {
3753 PyObject *resultobj;
3754 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3755 Atom arg2 ;
3756 PyObject * obj0 = 0 ;
3757 PyObject * obj1 = 0 ;
3758
3759 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_horz_set",&obj0,&obj1)) goto fail;
3760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3761 arg2 = (Atom) PyInt_AsLong(obj1);
3762 if (PyErr_Occurred()) SWIG_fail;
3763 if (arg1) (arg1)->net_wm_action_maximize_horz = arg2;
3764
3765 Py_INCREF(Py_None); resultobj = Py_None;
3766 return resultobj;
3767 fail:
3768 return NULL;
3769 }
3770
3771
3772 static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_get(PyObject *self, PyObject *args) {
3773 PyObject *resultobj;
3774 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3775 Atom result;
3776 PyObject * obj0 = 0 ;
3777
3778 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_horz_get",&obj0)) goto fail;
3779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3780 result = (Atom) ((arg1)->net_wm_action_maximize_horz);
3781
3782 resultobj = PyInt_FromLong((long)result);
3783 return resultobj;
3784 fail:
3785 return NULL;
3786 }
3787
3788
3789 static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_set(PyObject *self, PyObject *args) {
3790 PyObject *resultobj;
3791 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3792 Atom arg2 ;
3793 PyObject * obj0 = 0 ;
3794 PyObject * obj1 = 0 ;
3795
3796 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_vert_set",&obj0,&obj1)) goto fail;
3797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3798 arg2 = (Atom) PyInt_AsLong(obj1);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 if (arg1) (arg1)->net_wm_action_maximize_vert = arg2;
3801
3802 Py_INCREF(Py_None); resultobj = Py_None;
3803 return resultobj;
3804 fail:
3805 return NULL;
3806 }
3807
3808
3809 static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_get(PyObject *self, PyObject *args) {
3810 PyObject *resultobj;
3811 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3812 Atom result;
3813 PyObject * obj0 = 0 ;
3814
3815 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_vert_get",&obj0)) goto fail;
3816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3817 result = (Atom) ((arg1)->net_wm_action_maximize_vert);
3818
3819 resultobj = PyInt_FromLong((long)result);
3820 return resultobj;
3821 fail:
3822 return NULL;
3823 }
3824
3825
3826 static PyObject *_wrap_Atoms_net_wm_action_fullscreen_set(PyObject *self, PyObject *args) {
3827 PyObject *resultobj;
3828 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3829 Atom arg2 ;
3830 PyObject * obj0 = 0 ;
3831 PyObject * obj1 = 0 ;
3832
3833 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_fullscreen_set",&obj0,&obj1)) goto fail;
3834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3835 arg2 = (Atom) PyInt_AsLong(obj1);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 if (arg1) (arg1)->net_wm_action_fullscreen = arg2;
3838
3839 Py_INCREF(Py_None); resultobj = Py_None;
3840 return resultobj;
3841 fail:
3842 return NULL;
3843 }
3844
3845
3846 static PyObject *_wrap_Atoms_net_wm_action_fullscreen_get(PyObject *self, PyObject *args) {
3847 PyObject *resultobj;
3848 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3849 Atom result;
3850 PyObject * obj0 = 0 ;
3851
3852 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_fullscreen_get",&obj0)) goto fail;
3853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3854 result = (Atom) ((arg1)->net_wm_action_fullscreen);
3855
3856 resultobj = PyInt_FromLong((long)result);
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 static PyObject *_wrap_Atoms_net_wm_action_change_desktop_set(PyObject *self, PyObject *args) {
3864 PyObject *resultobj;
3865 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3866 Atom arg2 ;
3867 PyObject * obj0 = 0 ;
3868 PyObject * obj1 = 0 ;
3869
3870 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_change_desktop_set",&obj0,&obj1)) goto fail;
3871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3872 arg2 = (Atom) PyInt_AsLong(obj1);
3873 if (PyErr_Occurred()) SWIG_fail;
3874 if (arg1) (arg1)->net_wm_action_change_desktop = arg2;
3875
3876 Py_INCREF(Py_None); resultobj = Py_None;
3877 return resultobj;
3878 fail:
3879 return NULL;
3880 }
3881
3882
3883 static PyObject *_wrap_Atoms_net_wm_action_change_desktop_get(PyObject *self, PyObject *args) {
3884 PyObject *resultobj;
3885 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3886 Atom result;
3887 PyObject * obj0 = 0 ;
3888
3889 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_change_desktop_get",&obj0)) goto fail;
3890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3891 result = (Atom) ((arg1)->net_wm_action_change_desktop);
3892
3893 resultobj = PyInt_FromLong((long)result);
3894 return resultobj;
3895 fail:
3896 return NULL;
3897 }
3898
3899
3900 static PyObject *_wrap_Atoms_net_wm_action_close_set(PyObject *self, PyObject *args) {
3901 PyObject *resultobj;
3902 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3903 Atom arg2 ;
3904 PyObject * obj0 = 0 ;
3905 PyObject * obj1 = 0 ;
3906
3907 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_close_set",&obj0,&obj1)) goto fail;
3908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3909 arg2 = (Atom) PyInt_AsLong(obj1);
3910 if (PyErr_Occurred()) SWIG_fail;
3911 if (arg1) (arg1)->net_wm_action_close = arg2;
3912
3913 Py_INCREF(Py_None); resultobj = Py_None;
3914 return resultobj;
3915 fail:
3916 return NULL;
3917 }
3918
3919
3920 static PyObject *_wrap_Atoms_net_wm_action_close_get(PyObject *self, PyObject *args) {
3921 PyObject *resultobj;
3922 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3923 Atom result;
3924 PyObject * obj0 = 0 ;
3925
3926 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_close_get",&obj0)) goto fail;
3927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3928 result = (Atom) ((arg1)->net_wm_action_close);
3929
3930 resultobj = PyInt_FromLong((long)result);
3931 return resultobj;
3932 fail:
3933 return NULL;
3934 }
3935
3936
3937 static PyObject *_wrap_Atoms_net_wm_state_modal_set(PyObject *self, PyObject *args) {
3938 PyObject *resultobj;
3939 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3940 Atom arg2 ;
3941 PyObject * obj0 = 0 ;
3942 PyObject * obj1 = 0 ;
3943
3944 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_modal_set",&obj0,&obj1)) goto fail;
3945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3946 arg2 = (Atom) PyInt_AsLong(obj1);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 if (arg1) (arg1)->net_wm_state_modal = arg2;
3949
3950 Py_INCREF(Py_None); resultobj = Py_None;
3951 return resultobj;
3952 fail:
3953 return NULL;
3954 }
3955
3956
3957 static PyObject *_wrap_Atoms_net_wm_state_modal_get(PyObject *self, PyObject *args) {
3958 PyObject *resultobj;
3959 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3960 Atom result;
3961 PyObject * obj0 = 0 ;
3962
3963 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_modal_get",&obj0)) goto fail;
3964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3965 result = (Atom) ((arg1)->net_wm_state_modal);
3966
3967 resultobj = PyInt_FromLong((long)result);
3968 return resultobj;
3969 fail:
3970 return NULL;
3971 }
3972
3973
3974 static PyObject *_wrap_Atoms_net_wm_state_sticky_set(PyObject *self, PyObject *args) {
3975 PyObject *resultobj;
3976 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3977 Atom arg2 ;
3978 PyObject * obj0 = 0 ;
3979 PyObject * obj1 = 0 ;
3980
3981 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_sticky_set",&obj0,&obj1)) goto fail;
3982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3983 arg2 = (Atom) PyInt_AsLong(obj1);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 if (arg1) (arg1)->net_wm_state_sticky = arg2;
3986
3987 Py_INCREF(Py_None); resultobj = Py_None;
3988 return resultobj;
3989 fail:
3990 return NULL;
3991 }
3992
3993
3994 static PyObject *_wrap_Atoms_net_wm_state_sticky_get(PyObject *self, PyObject *args) {
3995 PyObject *resultobj;
3996 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3997 Atom result;
3998 PyObject * obj0 = 0 ;
3999
4000 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_sticky_get",&obj0)) goto fail;
4001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4002 result = (Atom) ((arg1)->net_wm_state_sticky);
4003
4004 resultobj = PyInt_FromLong((long)result);
4005 return resultobj;
4006 fail:
4007 return NULL;
4008 }
4009
4010
4011 static PyObject *_wrap_Atoms_net_wm_state_maximized_vert_set(PyObject *self, PyObject *args) {
4012 PyObject *resultobj;
4013 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4014 Atom arg2 ;
4015 PyObject * obj0 = 0 ;
4016 PyObject * obj1 = 0 ;
4017
4018 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_maximized_vert_set",&obj0,&obj1)) goto fail;
4019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4020 arg2 = (Atom) PyInt_AsLong(obj1);
4021 if (PyErr_Occurred()) SWIG_fail;
4022 if (arg1) (arg1)->net_wm_state_maximized_vert = arg2;
4023
4024 Py_INCREF(Py_None); resultobj = Py_None;
4025 return resultobj;
4026 fail:
4027 return NULL;
4028 }
4029
4030
4031 static PyObject *_wrap_Atoms_net_wm_state_maximized_vert_get(PyObject *self, PyObject *args) {
4032 PyObject *resultobj;
4033 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4034 Atom result;
4035 PyObject * obj0 = 0 ;
4036
4037 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_maximized_vert_get",&obj0)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4039 result = (Atom) ((arg1)->net_wm_state_maximized_vert);
4040
4041 resultobj = PyInt_FromLong((long)result);
4042 return resultobj;
4043 fail:
4044 return NULL;
4045 }
4046
4047
4048 static PyObject *_wrap_Atoms_net_wm_state_maximized_horz_set(PyObject *self, PyObject *args) {
4049 PyObject *resultobj;
4050 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4051 Atom arg2 ;
4052 PyObject * obj0 = 0 ;
4053 PyObject * obj1 = 0 ;
4054
4055 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_maximized_horz_set",&obj0,&obj1)) goto fail;
4056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4057 arg2 = (Atom) PyInt_AsLong(obj1);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 if (arg1) (arg1)->net_wm_state_maximized_horz = arg2;
4060
4061 Py_INCREF(Py_None); resultobj = Py_None;
4062 return resultobj;
4063 fail:
4064 return NULL;
4065 }
4066
4067
4068 static PyObject *_wrap_Atoms_net_wm_state_maximized_horz_get(PyObject *self, PyObject *args) {
4069 PyObject *resultobj;
4070 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4071 Atom result;
4072 PyObject * obj0 = 0 ;
4073
4074 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_maximized_horz_get",&obj0)) goto fail;
4075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4076 result = (Atom) ((arg1)->net_wm_state_maximized_horz);
4077
4078 resultobj = PyInt_FromLong((long)result);
4079 return resultobj;
4080 fail:
4081 return NULL;
4082 }
4083
4084
4085 static PyObject *_wrap_Atoms_net_wm_state_shaded_set(PyObject *self, PyObject *args) {
4086 PyObject *resultobj;
4087 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4088 Atom arg2 ;
4089 PyObject * obj0 = 0 ;
4090 PyObject * obj1 = 0 ;
4091
4092 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_shaded_set",&obj0,&obj1)) goto fail;
4093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4094 arg2 = (Atom) PyInt_AsLong(obj1);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 if (arg1) (arg1)->net_wm_state_shaded = arg2;
4097
4098 Py_INCREF(Py_None); resultobj = Py_None;
4099 return resultobj;
4100 fail:
4101 return NULL;
4102 }
4103
4104
4105 static PyObject *_wrap_Atoms_net_wm_state_shaded_get(PyObject *self, PyObject *args) {
4106 PyObject *resultobj;
4107 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4108 Atom result;
4109 PyObject * obj0 = 0 ;
4110
4111 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_shaded_get",&obj0)) goto fail;
4112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4113 result = (Atom) ((arg1)->net_wm_state_shaded);
4114
4115 resultobj = PyInt_FromLong((long)result);
4116 return resultobj;
4117 fail:
4118 return NULL;
4119 }
4120
4121
4122 static PyObject *_wrap_Atoms_net_wm_state_skip_taskbar_set(PyObject *self, PyObject *args) {
4123 PyObject *resultobj;
4124 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4125 Atom arg2 ;
4126 PyObject * obj0 = 0 ;
4127 PyObject * obj1 = 0 ;
4128
4129 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_skip_taskbar_set",&obj0,&obj1)) goto fail;
4130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4131 arg2 = (Atom) PyInt_AsLong(obj1);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 if (arg1) (arg1)->net_wm_state_skip_taskbar = arg2;
4134
4135 Py_INCREF(Py_None); resultobj = Py_None;
4136 return resultobj;
4137 fail:
4138 return NULL;
4139 }
4140
4141
4142 static PyObject *_wrap_Atoms_net_wm_state_skip_taskbar_get(PyObject *self, PyObject *args) {
4143 PyObject *resultobj;
4144 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4145 Atom result;
4146 PyObject * obj0 = 0 ;
4147
4148 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_skip_taskbar_get",&obj0)) goto fail;
4149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4150 result = (Atom) ((arg1)->net_wm_state_skip_taskbar);
4151
4152 resultobj = PyInt_FromLong((long)result);
4153 return resultobj;
4154 fail:
4155 return NULL;
4156 }
4157
4158
4159 static PyObject *_wrap_Atoms_net_wm_state_skip_pager_set(PyObject *self, PyObject *args) {
4160 PyObject *resultobj;
4161 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4162 Atom arg2 ;
4163 PyObject * obj0 = 0 ;
4164 PyObject * obj1 = 0 ;
4165
4166 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_skip_pager_set",&obj0,&obj1)) goto fail;
4167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4168 arg2 = (Atom) PyInt_AsLong(obj1);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 if (arg1) (arg1)->net_wm_state_skip_pager = arg2;
4171
4172 Py_INCREF(Py_None); resultobj = Py_None;
4173 return resultobj;
4174 fail:
4175 return NULL;
4176 }
4177
4178
4179 static PyObject *_wrap_Atoms_net_wm_state_skip_pager_get(PyObject *self, PyObject *args) {
4180 PyObject *resultobj;
4181 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4182 Atom result;
4183 PyObject * obj0 = 0 ;
4184
4185 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_skip_pager_get",&obj0)) goto fail;
4186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4187 result = (Atom) ((arg1)->net_wm_state_skip_pager);
4188
4189 resultobj = PyInt_FromLong((long)result);
4190 return resultobj;
4191 fail:
4192 return NULL;
4193 }
4194
4195
4196 static PyObject *_wrap_Atoms_net_wm_state_hidden_set(PyObject *self, PyObject *args) {
4197 PyObject *resultobj;
4198 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4199 Atom arg2 ;
4200 PyObject * obj0 = 0 ;
4201 PyObject * obj1 = 0 ;
4202
4203 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_hidden_set",&obj0,&obj1)) goto fail;
4204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4205 arg2 = (Atom) PyInt_AsLong(obj1);
4206 if (PyErr_Occurred()) SWIG_fail;
4207 if (arg1) (arg1)->net_wm_state_hidden = arg2;
4208
4209 Py_INCREF(Py_None); resultobj = Py_None;
4210 return resultobj;
4211 fail:
4212 return NULL;
4213 }
4214
4215
4216 static PyObject *_wrap_Atoms_net_wm_state_hidden_get(PyObject *self, PyObject *args) {
4217 PyObject *resultobj;
4218 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4219 Atom result;
4220 PyObject * obj0 = 0 ;
4221
4222 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_hidden_get",&obj0)) goto fail;
4223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4224 result = (Atom) ((arg1)->net_wm_state_hidden);
4225
4226 resultobj = PyInt_FromLong((long)result);
4227 return resultobj;
4228 fail:
4229 return NULL;
4230 }
4231
4232
4233 static PyObject *_wrap_Atoms_net_wm_state_fullscreen_set(PyObject *self, PyObject *args) {
4234 PyObject *resultobj;
4235 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4236 Atom arg2 ;
4237 PyObject * obj0 = 0 ;
4238 PyObject * obj1 = 0 ;
4239
4240 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_fullscreen_set",&obj0,&obj1)) goto fail;
4241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4242 arg2 = (Atom) PyInt_AsLong(obj1);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 if (arg1) (arg1)->net_wm_state_fullscreen = arg2;
4245
4246 Py_INCREF(Py_None); resultobj = Py_None;
4247 return resultobj;
4248 fail:
4249 return NULL;
4250 }
4251
4252
4253 static PyObject *_wrap_Atoms_net_wm_state_fullscreen_get(PyObject *self, PyObject *args) {
4254 PyObject *resultobj;
4255 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4256 Atom result;
4257 PyObject * obj0 = 0 ;
4258
4259 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_fullscreen_get",&obj0)) goto fail;
4260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4261 result = (Atom) ((arg1)->net_wm_state_fullscreen);
4262
4263 resultobj = PyInt_FromLong((long)result);
4264 return resultobj;
4265 fail:
4266 return NULL;
4267 }
4268
4269
4270 static PyObject *_wrap_Atoms_net_wm_state_above_set(PyObject *self, PyObject *args) {
4271 PyObject *resultobj;
4272 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4273 Atom arg2 ;
4274 PyObject * obj0 = 0 ;
4275 PyObject * obj1 = 0 ;
4276
4277 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_above_set",&obj0,&obj1)) goto fail;
4278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4279 arg2 = (Atom) PyInt_AsLong(obj1);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 if (arg1) (arg1)->net_wm_state_above = arg2;
4282
4283 Py_INCREF(Py_None); resultobj = Py_None;
4284 return resultobj;
4285 fail:
4286 return NULL;
4287 }
4288
4289
4290 static PyObject *_wrap_Atoms_net_wm_state_above_get(PyObject *self, PyObject *args) {
4291 PyObject *resultobj;
4292 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4293 Atom result;
4294 PyObject * obj0 = 0 ;
4295
4296 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_above_get",&obj0)) goto fail;
4297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4298 result = (Atom) ((arg1)->net_wm_state_above);
4299
4300 resultobj = PyInt_FromLong((long)result);
4301 return resultobj;
4302 fail:
4303 return NULL;
4304 }
4305
4306
4307 static PyObject *_wrap_Atoms_net_wm_state_below_set(PyObject *self, PyObject *args) {
4308 PyObject *resultobj;
4309 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4310 Atom arg2 ;
4311 PyObject * obj0 = 0 ;
4312 PyObject * obj1 = 0 ;
4313
4314 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_below_set",&obj0,&obj1)) goto fail;
4315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4316 arg2 = (Atom) PyInt_AsLong(obj1);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 if (arg1) (arg1)->net_wm_state_below = arg2;
4319
4320 Py_INCREF(Py_None); resultobj = Py_None;
4321 return resultobj;
4322 fail:
4323 return NULL;
4324 }
4325
4326
4327 static PyObject *_wrap_Atoms_net_wm_state_below_get(PyObject *self, PyObject *args) {
4328 PyObject *resultobj;
4329 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4330 Atom result;
4331 PyObject * obj0 = 0 ;
4332
4333 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_below_get",&obj0)) goto fail;
4334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4335 result = (Atom) ((arg1)->net_wm_state_below);
4336
4337 resultobj = PyInt_FromLong((long)result);
4338 return resultobj;
4339 fail:
4340 return NULL;
4341 }
4342
4343
4344 static PyObject *_wrap_Atoms_kde_net_system_tray_windows_set(PyObject *self, PyObject *args) {
4345 PyObject *resultobj;
4346 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4347 Atom arg2 ;
4348 PyObject * obj0 = 0 ;
4349 PyObject * obj1 = 0 ;
4350
4351 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_system_tray_windows_set",&obj0,&obj1)) goto fail;
4352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4353 arg2 = (Atom) PyInt_AsLong(obj1);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 if (arg1) (arg1)->kde_net_system_tray_windows = arg2;
4356
4357 Py_INCREF(Py_None); resultobj = Py_None;
4358 return resultobj;
4359 fail:
4360 return NULL;
4361 }
4362
4363
4364 static PyObject *_wrap_Atoms_kde_net_system_tray_windows_get(PyObject *self, PyObject *args) {
4365 PyObject *resultobj;
4366 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4367 Atom result;
4368 PyObject * obj0 = 0 ;
4369
4370 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_system_tray_windows_get",&obj0)) goto fail;
4371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4372 result = (Atom) ((arg1)->kde_net_system_tray_windows);
4373
4374 resultobj = PyInt_FromLong((long)result);
4375 return resultobj;
4376 fail:
4377 return NULL;
4378 }
4379
4380
4381 static PyObject *_wrap_Atoms_kde_net_wm_system_tray_window_for_set(PyObject *self, PyObject *args) {
4382 PyObject *resultobj;
4383 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4384 Atom arg2 ;
4385 PyObject * obj0 = 0 ;
4386 PyObject * obj1 = 0 ;
4387
4388 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_wm_system_tray_window_for_set",&obj0,&obj1)) goto fail;
4389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4390 arg2 = (Atom) PyInt_AsLong(obj1);
4391 if (PyErr_Occurred()) SWIG_fail;
4392 if (arg1) (arg1)->kde_net_wm_system_tray_window_for = arg2;
4393
4394 Py_INCREF(Py_None); resultobj = Py_None;
4395 return resultobj;
4396 fail:
4397 return NULL;
4398 }
4399
4400
4401 static PyObject *_wrap_Atoms_kde_net_wm_system_tray_window_for_get(PyObject *self, PyObject *args) {
4402 PyObject *resultobj;
4403 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4404 Atom result;
4405 PyObject * obj0 = 0 ;
4406
4407 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_wm_system_tray_window_for_get",&obj0)) goto fail;
4408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4409 result = (Atom) ((arg1)->kde_net_wm_system_tray_window_for);
4410
4411 resultobj = PyInt_FromLong((long)result);
4412 return resultobj;
4413 fail:
4414 return NULL;
4415 }
4416
4417
4418 static PyObject *_wrap_Atoms_kde_net_wm_window_type_override_set(PyObject *self, PyObject *args) {
4419 PyObject *resultobj;
4420 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4421 Atom arg2 ;
4422 PyObject * obj0 = 0 ;
4423 PyObject * obj1 = 0 ;
4424
4425 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_wm_window_type_override_set",&obj0,&obj1)) goto fail;
4426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4427 arg2 = (Atom) PyInt_AsLong(obj1);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 if (arg1) (arg1)->kde_net_wm_window_type_override = arg2;
4430
4431 Py_INCREF(Py_None); resultobj = Py_None;
4432 return resultobj;
4433 fail:
4434 return NULL;
4435 }
4436
4437
4438 static PyObject *_wrap_Atoms_kde_net_wm_window_type_override_get(PyObject *self, PyObject *args) {
4439 PyObject *resultobj;
4440 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4441 Atom result;
4442 PyObject * obj0 = 0 ;
4443
4444 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_wm_window_type_override_get",&obj0)) goto fail;
4445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4446 result = (Atom) ((arg1)->kde_net_wm_window_type_override);
4447
4448 resultobj = PyInt_FromLong((long)result);
4449 return resultobj;
4450 fail:
4451 return NULL;
4452 }
4453
4454
4455 static PyObject * Atoms_swigregister(PyObject *self, PyObject *args) {
4456 PyObject *obj;
4457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4458 SWIG_TypeClientData(SWIGTYPE_p_otk__Atoms, obj);
4459 Py_INCREF(obj);
4460 return Py_BuildValue((char *)"");
4461 }
4462 static PyObject *_wrap_Property_initialize(PyObject *self, PyObject *args) {
4463 PyObject *resultobj;
4464
4465 if(!PyArg_ParseTuple(args,(char *)":Property_initialize")) goto fail;
4466 otk::Property::initialize();
4467
4468 Py_INCREF(Py_None); resultobj = Py_None;
4469 return resultobj;
4470 fail:
4471 return NULL;
4472 }
4473
4474
4475 static PyObject *_wrap_Property_set__SWIG_0(PyObject *self, PyObject *args) {
4476 PyObject *resultobj;
4477 Window arg1 ;
4478 Atom arg2 ;
4479 Atom arg3 ;
4480 unsigned long arg4 ;
4481 PyObject * obj0 = 0 ;
4482 PyObject * obj1 = 0 ;
4483 PyObject * obj2 = 0 ;
4484 PyObject * obj3 = 0 ;
4485
4486 if(!PyArg_ParseTuple(args,(char *)"OOOO:Property_set",&obj0,&obj1,&obj2,&obj3)) goto fail;
4487 arg1 = (Window) PyInt_AsLong(obj0);
4488 if (PyErr_Occurred()) SWIG_fail;
4489 arg2 = (Atom) PyInt_AsLong(obj1);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 arg3 = (Atom) PyInt_AsLong(obj2);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 arg4 = (unsigned long) PyInt_AsLong(obj3);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 otk::Property::set(arg1,arg2,arg3,arg4);
4496
4497 Py_INCREF(Py_None); resultobj = Py_None;
4498 return resultobj;
4499 fail:
4500 return NULL;
4501 }
4502
4503
4504 static PyObject *_wrap_Property_set__SWIG_1(PyObject *self, PyObject *args) {
4505 PyObject *resultobj;
4506 Window arg1 ;
4507 Atom arg2 ;
4508 Atom arg3 ;
4509 unsigned long *arg4 ;
4510 int arg5 ;
4511 PyObject * obj0 = 0 ;
4512 PyObject * obj1 = 0 ;
4513 PyObject * obj2 = 0 ;
4514 PyObject * obj3 = 0 ;
4515
4516 if(!PyArg_ParseTuple(args,(char *)"OOOOi:Property_set",&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
4517 arg1 = (Window) PyInt_AsLong(obj0);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 arg2 = (Atom) PyInt_AsLong(obj1);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 arg3 = (Atom) PyInt_AsLong(obj2);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4524 otk::Property::set(arg1,arg2,arg3,arg4,arg5);
4525
4526 Py_INCREF(Py_None); resultobj = Py_None;
4527 return resultobj;
4528 fail:
4529 return NULL;
4530 }
4531
4532
4533 static PyObject *_wrap_Property_set__SWIG_2(PyObject *self, PyObject *args) {
4534 PyObject *resultobj;
4535 Window arg1 ;
4536 Atom arg2 ;
4537 int arg3 ;
4538 otk::ustring *arg4 = 0 ;
4539 otk::ustring temp4 ;
4540 PyObject * obj0 = 0 ;
4541 PyObject * obj1 = 0 ;
4542 PyObject * obj3 = 0 ;
4543
4544 if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_set",&obj0,&obj1,&arg3,&obj3)) goto fail;
4545 arg1 = (Window) PyInt_AsLong(obj0);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 arg2 = (Atom) PyInt_AsLong(obj1);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 {
4550 if (PyString_Check(obj3)) {
4551 temp4 = otk::ustring(PyString_AsString(obj3));
4552 arg4 = &temp4;
4553 }else {
4554 SWIG_exception(SWIG_TypeError, "ustring expected");
4555 }
4556 }
4557 otk::Property::set(arg1,arg2,(otk::Property::StringType )arg3,(otk::ustring const &)*arg4);
4558
4559 Py_INCREF(Py_None); resultobj = Py_None;
4560 return resultobj;
4561 fail:
4562 return NULL;
4563 }
4564
4565
4566 static PyObject *_wrap_Property_set__SWIG_3(PyObject *self, PyObject *args) {
4567 PyObject *resultobj;
4568 Window arg1 ;
4569 Atom arg2 ;
4570 int arg3 ;
4571 otk::Property::StringVect *arg4 = 0 ;
4572 PyObject * obj0 = 0 ;
4573 PyObject * obj1 = 0 ;
4574 PyObject * obj3 = 0 ;
4575
4576 if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_set",&obj0,&obj1,&arg3,&obj3)) goto fail;
4577 arg1 = (Window) PyInt_AsLong(obj0);
4578 if (PyErr_Occurred()) SWIG_fail;
4579 arg2 = (Atom) PyInt_AsLong(obj1);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4582 if (arg4 == NULL) {
4583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4584 }
4585 otk::Property::set(arg1,arg2,(otk::Property::StringType )arg3,(otk::Property::StringVect const &)*arg4);
4586
4587 Py_INCREF(Py_None); resultobj = Py_None;
4588 return resultobj;
4589 fail:
4590 return NULL;
4591 }
4592
4593
4594 static PyObject *_wrap_Property_set(PyObject *self, PyObject *args) {
4595 int argc;
4596 PyObject *argv[6];
4597 int ii;
4598
4599 argc = PyObject_Length(args);
4600 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
4601 argv[ii] = PyTuple_GetItem(args,ii);
4602 }
4603 if (argc == 4) {
4604 int _v;
4605 {
4606 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4607 }
4608 if (_v) {
4609 {
4610 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4611 }
4612 if (_v) {
4613 {
4614 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4615 }
4616 if (_v) {
4617 {
4618 void *ptr;
4619 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
4620 _v = 0;
4621 PyErr_Clear();
4622 }else {
4623 _v = 1;
4624 }
4625 }
4626 if (_v) {
4627 return _wrap_Property_set__SWIG_3(self,args);
4628 }
4629 }
4630 }
4631 }
4632 }
4633 if (argc == 4) {
4634 int _v;
4635 {
4636 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4637 }
4638 if (_v) {
4639 {
4640 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4641 }
4642 if (_v) {
4643 {
4644 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4645 }
4646 if (_v) {
4647 {
4648 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4649 }
4650 if (_v) {
4651 return _wrap_Property_set__SWIG_0(self,args);
4652 }
4653 }
4654 }
4655 }
4656 }
4657 if (argc == 4) {
4658 int _v;
4659 {
4660 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4661 }
4662 if (_v) {
4663 {
4664 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4665 }
4666 if (_v) {
4667 {
4668 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4669 }
4670 if (_v) {
4671 {
4672 _v = PyString_Check(argv[3]) ? 1 : 0;
4673 }
4674 if (_v) {
4675 return _wrap_Property_set__SWIG_2(self,args);
4676 }
4677 }
4678 }
4679 }
4680 }
4681 if (argc == 5) {
4682 int _v;
4683 {
4684 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4685 }
4686 if (_v) {
4687 {
4688 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4689 }
4690 if (_v) {
4691 {
4692 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4693 }
4694 if (_v) {
4695 {
4696 void *ptr;
4697 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4698 _v = 0;
4699 PyErr_Clear();
4700 }else {
4701 _v = 1;
4702 }
4703 }
4704 if (_v) {
4705 {
4706 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
4707 }
4708 if (_v) {
4709 return _wrap_Property_set__SWIG_1(self,args);
4710 }
4711 }
4712 }
4713 }
4714 }
4715 }
4716
4717 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_set'");
4718 return NULL;
4719 }
4720
4721
4722 static PyObject *_wrap_Property_get__SWIG_0(PyObject *self, PyObject *args) {
4723 PyObject *resultobj;
4724 Window arg1 ;
4725 Atom arg2 ;
4726 Atom arg3 ;
4727 unsigned long *arg4 = (unsigned long *) 0 ;
4728 unsigned long **arg5 = (unsigned long **) 0 ;
4729 bool result;
4730 PyObject * obj0 = 0 ;
4731 PyObject * obj1 = 0 ;
4732 PyObject * obj2 = 0 ;
4733 PyObject * obj3 = 0 ;
4734 PyObject * obj4 = 0 ;
4735
4736 if(!PyArg_ParseTuple(args,(char *)"OOOOO:Property_get",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4737 arg1 = (Window) PyInt_AsLong(obj0);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 arg2 = (Atom) PyInt_AsLong(obj1);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 arg3 = (Atom) PyInt_AsLong(obj2);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4744 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4745 result = (bool)otk::Property::get(arg1,arg2,arg3,arg4,arg5);
4746
4747 resultobj = PyInt_FromLong((long)result);
4748 return resultobj;
4749 fail:
4750 return NULL;
4751 }
4752
4753
4754 static PyObject *_wrap_Property_get__SWIG_1(PyObject *self, PyObject *args) {
4755 PyObject *resultobj;
4756 Window arg1 ;
4757 Atom arg2 ;
4758 Atom arg3 ;
4759 unsigned long *arg4 = (unsigned long *) 0 ;
4760 bool result;
4761 PyObject * obj0 = 0 ;
4762 PyObject * obj1 = 0 ;
4763 PyObject * obj2 = 0 ;
4764 PyObject * obj3 = 0 ;
4765
4766 if(!PyArg_ParseTuple(args,(char *)"OOOO:Property_get",&obj0,&obj1,&obj2,&obj3)) goto fail;
4767 arg1 = (Window) PyInt_AsLong(obj0);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 arg2 = (Atom) PyInt_AsLong(obj1);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 arg3 = (Atom) PyInt_AsLong(obj2);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4774 result = (bool)otk::Property::get(arg1,arg2,arg3,arg4);
4775
4776 resultobj = PyInt_FromLong((long)result);
4777 return resultobj;
4778 fail:
4779 return NULL;
4780 }
4781
4782
4783 static PyObject *_wrap_Property_get__SWIG_2(PyObject *self, PyObject *args) {
4784 PyObject *resultobj;
4785 Window arg1 ;
4786 Atom arg2 ;
4787 int arg3 ;
4788 otk::ustring *arg4 = (otk::ustring *) 0 ;
4789 bool result;
4790 PyObject * obj0 = 0 ;
4791 PyObject * obj1 = 0 ;
4792 PyObject * obj3 = 0 ;
4793
4794 if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_get",&obj0,&obj1,&arg3,&obj3)) goto fail;
4795 arg1 = (Window) PyInt_AsLong(obj0);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 arg2 = (Atom) PyInt_AsLong(obj1);
4798 if (PyErr_Occurred()) SWIG_fail;
4799 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__ustring,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4800 result = (bool)otk::Property::get(arg1,arg2,(otk::Property::StringType )arg3,arg4);
4801
4802 resultobj = PyInt_FromLong((long)result);
4803 return resultobj;
4804 fail:
4805 return NULL;
4806 }
4807
4808
4809 static PyObject *_wrap_Property_get__SWIG_3(PyObject *self, PyObject *args) {
4810 PyObject *resultobj;
4811 Window arg1 ;
4812 Atom arg2 ;
4813 int arg3 ;
4814 unsigned long *arg4 = (unsigned long *) 0 ;
4815 otk::Property::StringVect *arg5 = (otk::Property::StringVect *) 0 ;
4816 bool result;
4817 PyObject * obj0 = 0 ;
4818 PyObject * obj1 = 0 ;
4819 PyObject * obj3 = 0 ;
4820 PyObject * obj4 = 0 ;
4821
4822 if(!PyArg_ParseTuple(args,(char *)"OOiOO:Property_get",&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
4823 arg1 = (Window) PyInt_AsLong(obj0);
4824 if (PyErr_Occurred()) SWIG_fail;
4825 arg2 = (Atom) PyInt_AsLong(obj1);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4828 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4829 result = (bool)otk::Property::get(arg1,arg2,(otk::Property::StringType )arg3,arg4,arg5);
4830
4831 resultobj = PyInt_FromLong((long)result);
4832 return resultobj;
4833 fail:
4834 return NULL;
4835 }
4836
4837
4838 static PyObject *_wrap_Property_get(PyObject *self, PyObject *args) {
4839 int argc;
4840 PyObject *argv[6];
4841 int ii;
4842
4843 argc = PyObject_Length(args);
4844 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
4845 argv[ii] = PyTuple_GetItem(args,ii);
4846 }
4847 if (argc == 4) {
4848 int _v;
4849 {
4850 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4851 }
4852 if (_v) {
4853 {
4854 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4855 }
4856 if (_v) {
4857 {
4858 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4859 }
4860 if (_v) {
4861 {
4862 void *ptr;
4863 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4864 _v = 0;
4865 PyErr_Clear();
4866 }else {
4867 _v = 1;
4868 }
4869 }
4870 if (_v) {
4871 return _wrap_Property_get__SWIG_1(self,args);
4872 }
4873 }
4874 }
4875 }
4876 }
4877 if (argc == 4) {
4878 int _v;
4879 {
4880 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4881 }
4882 if (_v) {
4883 {
4884 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4885 }
4886 if (_v) {
4887 {
4888 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4889 }
4890 if (_v) {
4891 {
4892 void *ptr;
4893 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_otk__ustring, 0) == -1) {
4894 _v = 0;
4895 PyErr_Clear();
4896 }else {
4897 _v = 1;
4898 }
4899 }
4900 if (_v) {
4901 return _wrap_Property_get__SWIG_2(self,args);
4902 }
4903 }
4904 }
4905 }
4906 }
4907 if (argc == 5) {
4908 int _v;
4909 {
4910 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4911 }
4912 if (_v) {
4913 {
4914 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4915 }
4916 if (_v) {
4917 {
4918 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4919 }
4920 if (_v) {
4921 {
4922 void *ptr;
4923 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4924 _v = 0;
4925 PyErr_Clear();
4926 }else {
4927 _v = 1;
4928 }
4929 }
4930 if (_v) {
4931 {
4932 void *ptr;
4933 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
4934 _v = 0;
4935 PyErr_Clear();
4936 }else {
4937 _v = 1;
4938 }
4939 }
4940 if (_v) {
4941 return _wrap_Property_get__SWIG_0(self,args);
4942 }
4943 }
4944 }
4945 }
4946 }
4947 }
4948 if (argc == 5) {
4949 int _v;
4950 {
4951 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4952 }
4953 if (_v) {
4954 {
4955 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4956 }
4957 if (_v) {
4958 {
4959 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4960 }
4961 if (_v) {
4962 {
4963 void *ptr;
4964 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4965 _v = 0;
4966 PyErr_Clear();
4967 }else {
4968 _v = 1;
4969 }
4970 }
4971 if (_v) {
4972 {
4973 void *ptr;
4974 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
4975 _v = 0;
4976 PyErr_Clear();
4977 }else {
4978 _v = 1;
4979 }
4980 }
4981 if (_v) {
4982 return _wrap_Property_get__SWIG_3(self,args);
4983 }
4984 }
4985 }
4986 }
4987 }
4988 }
4989
4990 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_get'");
4991 return NULL;
4992 }
4993
4994
4995 static PyObject *_wrap_Property_erase(PyObject *self, PyObject *args) {
4996 PyObject *resultobj;
4997 Window arg1 ;
4998 Atom arg2 ;
4999 PyObject * obj0 = 0 ;
5000 PyObject * obj1 = 0 ;
5001
5002 if(!PyArg_ParseTuple(args,(char *)"OO:Property_erase",&obj0,&obj1)) goto fail;
5003 arg1 = (Window) PyInt_AsLong(obj0);
5004 if (PyErr_Occurred()) SWIG_fail;
5005 arg2 = (Atom) PyInt_AsLong(obj1);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 otk::Property::erase(arg1,arg2);
5008
5009 Py_INCREF(Py_None); resultobj = Py_None;
5010 return resultobj;
5011 fail:
5012 return NULL;
5013 }
5014
5015
5016 static PyObject * Property_swigregister(PyObject *self, PyObject *args) {
5017 PyObject *obj;
5018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5019 SWIG_TypeClientData(SWIGTYPE_p_otk__Property, obj);
5020 Py_INCREF(obj);
5021 return Py_BuildValue((char *)"");
5022 }
5023 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
5024 PyObject *resultobj;
5025 otk::Rect *result;
5026
5027 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
5028 result = (otk::Rect *)new otk::Rect();
5029
5030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
5031 return resultobj;
5032 fail:
5033 return NULL;
5034 }
5035
5036
5037 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
5038 PyObject *resultobj;
5039 int arg1 ;
5040 int arg2 ;
5041 int arg3 ;
5042 int arg4 ;
5043 otk::Rect *result;
5044
5045 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
5046 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
5047
5048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
5049 return resultobj;
5050 fail:
5051 return NULL;
5052 }
5053
5054
5055 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
5056 PyObject *resultobj;
5057 otk::Point *arg1 = 0 ;
5058 otk::Point *arg2 = 0 ;
5059 otk::Rect *result;
5060 PyObject * obj0 = 0 ;
5061 PyObject * obj1 = 0 ;
5062
5063 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
5064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5065 if (arg1 == NULL) {
5066 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5067 }
5068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5069 if (arg2 == NULL) {
5070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5071 }
5072 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
5073
5074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
5075 return resultobj;
5076 fail:
5077 return NULL;
5078 }
5079
5080
5081 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
5082 PyObject *resultobj;
5083 otk::Rect *arg1 = 0 ;
5084 otk::Rect *result;
5085 PyObject * obj0 = 0 ;
5086
5087 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
5088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5089 if (arg1 == NULL) {
5090 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5091 }
5092 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
5093
5094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
5095 return resultobj;
5096 fail:
5097 return NULL;
5098 }
5099
5100
5101 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
5102 PyObject *resultobj;
5103 XRectangle *arg1 = 0 ;
5104 otk::Rect *result;
5105 PyObject * obj0 = 0 ;
5106
5107 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
5108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5109 if (arg1 == NULL) {
5110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5111 }
5112 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
5113
5114 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
5115 return resultobj;
5116 fail:
5117 return NULL;
5118 }
5119
5120
5121 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
5122 int argc;
5123 PyObject *argv[5];
5124 int ii;
5125
5126 argc = PyObject_Length(args);
5127 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5128 argv[ii] = PyTuple_GetItem(args,ii);
5129 }
5130 if (argc == 0) {
5131 return _wrap_new_Rect__SWIG_0(self,args);
5132 }
5133 if (argc == 1) {
5134 int _v;
5135 {
5136 void *ptr;
5137 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5138 _v = 0;
5139 PyErr_Clear();
5140 }else {
5141 _v = 1;
5142 }
5143 }
5144 if (_v) {
5145 return _wrap_new_Rect__SWIG_3(self,args);
5146 }
5147 }
5148 if (argc == 1) {
5149 int _v;
5150 {
5151 void *ptr;
5152 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
5153 _v = 0;
5154 PyErr_Clear();
5155 }else {
5156 _v = 1;
5157 }
5158 }
5159 if (_v) {
5160 return _wrap_new_Rect__SWIG_4(self,args);
5161 }
5162 }
5163 if (argc == 2) {
5164 int _v;
5165 {
5166 void *ptr;
5167 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5168 _v = 0;
5169 PyErr_Clear();
5170 }else {
5171 _v = 1;
5172 }
5173 }
5174 if (_v) {
5175 {
5176 void *ptr;
5177 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5178 _v = 0;
5179 PyErr_Clear();
5180 }else {
5181 _v = 1;
5182 }
5183 }
5184 if (_v) {
5185 return _wrap_new_Rect__SWIG_2(self,args);
5186 }
5187 }
5188 }
5189 if (argc == 4) {
5190 int _v;
5191 {
5192 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
5193 }
5194 if (_v) {
5195 {
5196 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5197 }
5198 if (_v) {
5199 {
5200 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5201 }
5202 if (_v) {
5203 {
5204 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5205 }
5206 if (_v) {
5207 return _wrap_new_Rect__SWIG_1(self,args);
5208 }
5209 }
5210 }
5211 }
5212 }
5213
5214 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
5215 return NULL;
5216 }
5217
5218
5219 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
5220 PyObject *resultobj;
5221 otk::Rect *arg1 = (otk::Rect *) 0 ;
5222 int result;
5223 PyObject * obj0 = 0 ;
5224
5225 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
5226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5227 result = (int)((otk::Rect const *)arg1)->left();
5228
5229 resultobj = PyInt_FromLong((long)result);
5230 return resultobj;
5231 fail:
5232 return NULL;
5233 }
5234
5235
5236 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
5237 PyObject *resultobj;
5238 otk::Rect *arg1 = (otk::Rect *) 0 ;
5239 int result;
5240 PyObject * obj0 = 0 ;
5241
5242 if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
5243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5244 result = (int)((otk::Rect const *)arg1)->top();
5245
5246 resultobj = PyInt_FromLong((long)result);
5247 return resultobj;
5248 fail:
5249 return NULL;
5250 }
5251
5252
5253 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
5254 PyObject *resultobj;
5255 otk::Rect *arg1 = (otk::Rect *) 0 ;
5256 int result;
5257 PyObject * obj0 = 0 ;
5258
5259 if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
5260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5261 result = (int)((otk::Rect const *)arg1)->right();
5262
5263 resultobj = PyInt_FromLong((long)result);
5264 return resultobj;
5265 fail:
5266 return NULL;
5267 }
5268
5269
5270 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
5271 PyObject *resultobj;
5272 otk::Rect *arg1 = (otk::Rect *) 0 ;
5273 int result;
5274 PyObject * obj0 = 0 ;
5275
5276 if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
5277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5278 result = (int)((otk::Rect const *)arg1)->bottom();
5279
5280 resultobj = PyInt_FromLong((long)result);
5281 return resultobj;
5282 fail:
5283 return NULL;
5284 }
5285
5286
5287 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
5288 PyObject *resultobj;
5289 otk::Rect *arg1 = (otk::Rect *) 0 ;
5290 int result;
5291 PyObject * obj0 = 0 ;
5292
5293 if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
5294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5295 result = (int)((otk::Rect const *)arg1)->x();
5296
5297 resultobj = PyInt_FromLong((long)result);
5298 return resultobj;
5299 fail:
5300 return NULL;
5301 }
5302
5303
5304 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
5305 PyObject *resultobj;
5306 otk::Rect *arg1 = (otk::Rect *) 0 ;
5307 int result;
5308 PyObject * obj0 = 0 ;
5309
5310 if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
5311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5312 result = (int)((otk::Rect const *)arg1)->y();
5313
5314 resultobj = PyInt_FromLong((long)result);
5315 return resultobj;
5316 fail:
5317 return NULL;
5318 }
5319
5320
5321 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
5322 PyObject *resultobj;
5323 otk::Rect *arg1 = (otk::Rect *) 0 ;
5324 otk::Point result;
5325 PyObject * obj0 = 0 ;
5326
5327 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
5328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5329 result = ((otk::Rect const *)arg1)->location();
5330
5331 {
5332 otk::Point * resultptr;
5333 resultptr = new otk::Point((otk::Point &) result);
5334 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
5335 }
5336 return resultobj;
5337 fail:
5338 return NULL;
5339 }
5340
5341
5342 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
5343 PyObject *resultobj;
5344 otk::Rect *arg1 = (otk::Rect *) 0 ;
5345 int arg2 ;
5346 PyObject * obj0 = 0 ;
5347
5348 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
5349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5350 (arg1)->setX(arg2);
5351
5352 Py_INCREF(Py_None); resultobj = Py_None;
5353 return resultobj;
5354 fail:
5355 return NULL;
5356 }
5357
5358
5359 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
5360 PyObject *resultobj;
5361 otk::Rect *arg1 = (otk::Rect *) 0 ;
5362 int arg2 ;
5363 PyObject * obj0 = 0 ;
5364
5365 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
5366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5367 (arg1)->setY(arg2);
5368
5369 Py_INCREF(Py_None); resultobj = Py_None;
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
5377 PyObject *resultobj;
5378 otk::Rect *arg1 = (otk::Rect *) 0 ;
5379 int arg2 ;
5380 int arg3 ;
5381 PyObject * obj0 = 0 ;
5382
5383 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
5384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5385 (arg1)->setPos(arg2,arg3);
5386
5387 Py_INCREF(Py_None); resultobj = Py_None;
5388 return resultobj;
5389 fail:
5390 return NULL;
5391 }
5392
5393
5394 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
5395 PyObject *resultobj;
5396 otk::Rect *arg1 = (otk::Rect *) 0 ;
5397 otk::Point *arg2 = 0 ;
5398 PyObject * obj0 = 0 ;
5399 PyObject * obj1 = 0 ;
5400
5401 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
5402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5404 if (arg2 == NULL) {
5405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5406 }
5407 (arg1)->setPos((otk::Point const &)*arg2);
5408
5409 Py_INCREF(Py_None); resultobj = Py_None;
5410 return resultobj;
5411 fail:
5412 return NULL;
5413 }
5414
5415
5416 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
5417 int argc;
5418 PyObject *argv[4];
5419 int ii;
5420
5421 argc = PyObject_Length(args);
5422 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5423 argv[ii] = PyTuple_GetItem(args,ii);
5424 }
5425 if (argc == 2) {
5426 int _v;
5427 {
5428 void *ptr;
5429 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5430 _v = 0;
5431 PyErr_Clear();
5432 }else {
5433 _v = 1;
5434 }
5435 }
5436 if (_v) {
5437 {
5438 void *ptr;
5439 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5440 _v = 0;
5441 PyErr_Clear();
5442 }else {
5443 _v = 1;
5444 }
5445 }
5446 if (_v) {
5447 return _wrap_Rect_setPos__SWIG_1(self,args);
5448 }
5449 }
5450 }
5451 if (argc == 3) {
5452 int _v;
5453 {
5454 void *ptr;
5455 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5456 _v = 0;
5457 PyErr_Clear();
5458 }else {
5459 _v = 1;
5460 }
5461 }
5462 if (_v) {
5463 {
5464 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5465 }
5466 if (_v) {
5467 {
5468 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5469 }
5470 if (_v) {
5471 return _wrap_Rect_setPos__SWIG_0(self,args);
5472 }
5473 }
5474 }
5475 }
5476
5477 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
5478 return NULL;
5479 }
5480
5481
5482 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
5483 PyObject *resultobj;
5484 otk::Rect *arg1 = (otk::Rect *) 0 ;
5485 int result;
5486 PyObject * obj0 = 0 ;
5487
5488 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
5489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5490 result = (int)((otk::Rect const *)arg1)->width();
5491
5492 resultobj = PyInt_FromLong((long)result);
5493 return resultobj;
5494 fail:
5495 return NULL;
5496 }
5497
5498
5499 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
5500 PyObject *resultobj;
5501 otk::Rect *arg1 = (otk::Rect *) 0 ;
5502 int result;
5503 PyObject * obj0 = 0 ;
5504
5505 if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
5506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5507 result = (int)((otk::Rect const *)arg1)->height();
5508
5509 resultobj = PyInt_FromLong((long)result);
5510 return resultobj;
5511 fail:
5512 return NULL;
5513 }
5514
5515
5516 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
5517 PyObject *resultobj;
5518 otk::Rect *arg1 = (otk::Rect *) 0 ;
5519 otk::Point result;
5520 PyObject * obj0 = 0 ;
5521
5522 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
5523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5524 result = ((otk::Rect const *)arg1)->size();
5525
5526 {
5527 otk::Point * resultptr;
5528 resultptr = new otk::Point((otk::Point &) result);
5529 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
5530 }
5531 return resultobj;
5532 fail:
5533 return NULL;
5534 }
5535
5536
5537 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
5538 PyObject *resultobj;
5539 otk::Rect *arg1 = (otk::Rect *) 0 ;
5540 int arg2 ;
5541 PyObject * obj0 = 0 ;
5542
5543 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
5544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5545 (arg1)->setWidth(arg2);
5546
5547 Py_INCREF(Py_None); resultobj = Py_None;
5548 return resultobj;
5549 fail:
5550 return NULL;
5551 }
5552
5553
5554 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
5555 PyObject *resultobj;
5556 otk::Rect *arg1 = (otk::Rect *) 0 ;
5557 int arg2 ;
5558 PyObject * obj0 = 0 ;
5559
5560 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
5561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5562 (arg1)->setHeight(arg2);
5563
5564 Py_INCREF(Py_None); resultobj = Py_None;
5565 return resultobj;
5566 fail:
5567 return NULL;
5568 }
5569
5570
5571 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
5572 PyObject *resultobj;
5573 otk::Rect *arg1 = (otk::Rect *) 0 ;
5574 int arg2 ;
5575 int arg3 ;
5576 PyObject * obj0 = 0 ;
5577
5578 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
5579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5580 (arg1)->setSize(arg2,arg3);
5581
5582 Py_INCREF(Py_None); resultobj = Py_None;
5583 return resultobj;
5584 fail:
5585 return NULL;
5586 }
5587
5588
5589 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
5590 PyObject *resultobj;
5591 otk::Rect *arg1 = (otk::Rect *) 0 ;
5592 otk::Point *arg2 = 0 ;
5593 PyObject * obj0 = 0 ;
5594 PyObject * obj1 = 0 ;
5595
5596 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
5597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5599 if (arg2 == NULL) {
5600 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5601 }
5602 (arg1)->setSize((otk::Point const &)*arg2);
5603
5604 Py_INCREF(Py_None); resultobj = Py_None;
5605 return resultobj;
5606 fail:
5607 return NULL;
5608 }
5609
5610
5611 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
5612 int argc;
5613 PyObject *argv[4];
5614 int ii;
5615
5616 argc = PyObject_Length(args);
5617 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5618 argv[ii] = PyTuple_GetItem(args,ii);
5619 }
5620 if (argc == 2) {
5621 int _v;
5622 {
5623 void *ptr;
5624 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5625 _v = 0;
5626 PyErr_Clear();
5627 }else {
5628 _v = 1;
5629 }
5630 }
5631 if (_v) {
5632 {
5633 void *ptr;
5634 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5635 _v = 0;
5636 PyErr_Clear();
5637 }else {
5638 _v = 1;
5639 }
5640 }
5641 if (_v) {
5642 return _wrap_Rect_setSize__SWIG_1(self,args);
5643 }
5644 }
5645 }
5646 if (argc == 3) {
5647 int _v;
5648 {
5649 void *ptr;
5650 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5651 _v = 0;
5652 PyErr_Clear();
5653 }else {
5654 _v = 1;
5655 }
5656 }
5657 if (_v) {
5658 {
5659 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5660 }
5661 if (_v) {
5662 {
5663 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5664 }
5665 if (_v) {
5666 return _wrap_Rect_setSize__SWIG_0(self,args);
5667 }
5668 }
5669 }
5670 }
5671
5672 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
5673 return NULL;
5674 }
5675
5676
5677 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
5678 PyObject *resultobj;
5679 otk::Rect *arg1 = (otk::Rect *) 0 ;
5680 int arg2 ;
5681 int arg3 ;
5682 int arg4 ;
5683 int arg5 ;
5684 PyObject * obj0 = 0 ;
5685
5686 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
5687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5688 (arg1)->setRect(arg2,arg3,arg4,arg5);
5689
5690 Py_INCREF(Py_None); resultobj = Py_None;
5691 return resultobj;
5692 fail:
5693 return NULL;
5694 }
5695
5696
5697 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
5698 PyObject *resultobj;
5699 otk::Rect *arg1 = (otk::Rect *) 0 ;
5700 otk::Point *arg2 = 0 ;
5701 otk::Point *arg3 = 0 ;
5702 PyObject * obj0 = 0 ;
5703 PyObject * obj1 = 0 ;
5704 PyObject * obj2 = 0 ;
5705
5706 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
5707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5709 if (arg2 == NULL) {
5710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5711 }
5712 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5713 if (arg3 == NULL) {
5714 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5715 }
5716 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
5717
5718 Py_INCREF(Py_None); resultobj = Py_None;
5719 return resultobj;
5720 fail:
5721 return NULL;
5722 }
5723
5724
5725 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
5726 int argc;
5727 PyObject *argv[6];
5728 int ii;
5729
5730 argc = PyObject_Length(args);
5731 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
5732 argv[ii] = PyTuple_GetItem(args,ii);
5733 }
5734 if (argc == 3) {
5735 int _v;
5736 {
5737 void *ptr;
5738 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5739 _v = 0;
5740 PyErr_Clear();
5741 }else {
5742 _v = 1;
5743 }
5744 }
5745 if (_v) {
5746 {
5747 void *ptr;
5748 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5749 _v = 0;
5750 PyErr_Clear();
5751 }else {
5752 _v = 1;
5753 }
5754 }
5755 if (_v) {
5756 {
5757 void *ptr;
5758 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5759 _v = 0;
5760 PyErr_Clear();
5761 }else {
5762 _v = 1;
5763 }
5764 }
5765 if (_v) {
5766 return _wrap_Rect_setRect__SWIG_1(self,args);
5767 }
5768 }
5769 }
5770 }
5771 if (argc == 5) {
5772 int _v;
5773 {
5774 void *ptr;
5775 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5776 _v = 0;
5777 PyErr_Clear();
5778 }else {
5779 _v = 1;
5780 }
5781 }
5782 if (_v) {
5783 {
5784 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5785 }
5786 if (_v) {
5787 {
5788 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5789 }
5790 if (_v) {
5791 {
5792 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5793 }
5794 if (_v) {
5795 {
5796 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
5797 }
5798 if (_v) {
5799 return _wrap_Rect_setRect__SWIG_0(self,args);
5800 }
5801 }
5802 }
5803 }
5804 }
5805 }
5806
5807 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
5808 return NULL;
5809 }
5810
5811
5812 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
5813 PyObject *resultobj;
5814 otk::Rect *arg1 = (otk::Rect *) 0 ;
5815 int arg2 ;
5816 int arg3 ;
5817 int arg4 ;
5818 int arg5 ;
5819 PyObject * obj0 = 0 ;
5820
5821 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
5822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5823 (arg1)->setCoords(arg2,arg3,arg4,arg5);
5824
5825 Py_INCREF(Py_None); resultobj = Py_None;
5826 return resultobj;
5827 fail:
5828 return NULL;
5829 }
5830
5831
5832 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
5833 PyObject *resultobj;
5834 otk::Rect *arg1 = (otk::Rect *) 0 ;
5835 otk::Point *arg2 = 0 ;
5836 otk::Point *arg3 = 0 ;
5837 PyObject * obj0 = 0 ;
5838 PyObject * obj1 = 0 ;
5839 PyObject * obj2 = 0 ;
5840
5841 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
5842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5844 if (arg2 == NULL) {
5845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5846 }
5847 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5848 if (arg3 == NULL) {
5849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5850 }
5851 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
5852
5853 Py_INCREF(Py_None); resultobj = Py_None;
5854 return resultobj;
5855 fail:
5856 return NULL;
5857 }
5858
5859
5860 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
5861 int argc;
5862 PyObject *argv[6];
5863 int ii;
5864
5865 argc = PyObject_Length(args);
5866 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
5867 argv[ii] = PyTuple_GetItem(args,ii);
5868 }
5869 if (argc == 3) {
5870 int _v;
5871 {
5872 void *ptr;
5873 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5874 _v = 0;
5875 PyErr_Clear();
5876 }else {
5877 _v = 1;
5878 }
5879 }
5880 if (_v) {
5881 {
5882 void *ptr;
5883 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5884 _v = 0;
5885 PyErr_Clear();
5886 }else {
5887 _v = 1;
5888 }
5889 }
5890 if (_v) {
5891 {
5892 void *ptr;
5893 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5894 _v = 0;
5895 PyErr_Clear();
5896 }else {
5897 _v = 1;
5898 }
5899 }
5900 if (_v) {
5901 return _wrap_Rect_setCoords__SWIG_1(self,args);
5902 }
5903 }
5904 }
5905 }
5906 if (argc == 5) {
5907 int _v;
5908 {
5909 void *ptr;
5910 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5911 _v = 0;
5912 PyErr_Clear();
5913 }else {
5914 _v = 1;
5915 }
5916 }
5917 if (_v) {
5918 {
5919 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5920 }
5921 if (_v) {
5922 {
5923 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5924 }
5925 if (_v) {
5926 {
5927 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5928 }
5929 if (_v) {
5930 {
5931 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
5932 }
5933 if (_v) {
5934 return _wrap_Rect_setCoords__SWIG_0(self,args);
5935 }
5936 }
5937 }
5938 }
5939 }
5940 }
5941
5942 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
5943 return NULL;
5944 }
5945
5946
5947 static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args) {
5948 PyObject *resultobj;
5949 otk::Rect *arg1 = (otk::Rect *) 0 ;
5950 otk::Rect *arg2 = 0 ;
5951 bool result;
5952 PyObject * obj0 = 0 ;
5953 PyObject * obj1 = 0 ;
5954
5955 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___eq__",&obj0,&obj1)) goto fail;
5956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5958 if (arg2 == NULL) {
5959 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5960 }
5961 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
5962
5963 resultobj = PyInt_FromLong((long)result);
5964 return resultobj;
5965 fail:
5966 return NULL;
5967 }
5968
5969
5970 static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args) {
5971 PyObject *resultobj;
5972 otk::Rect *arg1 = (otk::Rect *) 0 ;
5973 otk::Rect *arg2 = 0 ;
5974 bool result;
5975 PyObject * obj0 = 0 ;
5976 PyObject * obj1 = 0 ;
5977
5978 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ne__",&obj0,&obj1)) goto fail;
5979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5980 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5981 if (arg2 == NULL) {
5982 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5983 }
5984 result = (bool)(arg1)->operator !=((otk::Rect const &)*arg2);
5985
5986 resultobj = PyInt_FromLong((long)result);
5987 return resultobj;
5988 fail:
5989 return NULL;
5990 }
5991
5992
5993 static PyObject *_wrap_Rect___or__(PyObject *self, PyObject *args) {
5994 PyObject *resultobj;
5995 otk::Rect *arg1 = (otk::Rect *) 0 ;
5996 otk::Rect *arg2 = 0 ;
5997 otk::Rect result;
5998 PyObject * obj0 = 0 ;
5999 PyObject * obj1 = 0 ;
6000
6001 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___or__",&obj0,&obj1)) goto fail;
6002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6003 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6004 if (arg2 == NULL) {
6005 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6006 }
6007 result = ((otk::Rect const *)arg1)->operator |((otk::Rect const &)*arg2);
6008
6009 {
6010 otk::Rect * resultptr;
6011 resultptr = new otk::Rect((otk::Rect &) result);
6012 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
6013 }
6014 return resultobj;
6015 fail:
6016 return NULL;
6017 }
6018
6019
6020 static PyObject *_wrap_Rect___and__(PyObject *self, PyObject *args) {
6021 PyObject *resultobj;
6022 otk::Rect *arg1 = (otk::Rect *) 0 ;
6023 otk::Rect *arg2 = 0 ;
6024 otk::Rect result;
6025 PyObject * obj0 = 0 ;
6026 PyObject * obj1 = 0 ;
6027
6028 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___and__",&obj0,&obj1)) goto fail;
6029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6030 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6031 if (arg2 == NULL) {
6032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6033 }
6034 result = ((otk::Rect const *)arg1)->operator &((otk::Rect const &)*arg2);
6035
6036 {
6037 otk::Rect * resultptr;
6038 resultptr = new otk::Rect((otk::Rect &) result);
6039 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
6040 }
6041 return resultobj;
6042 fail:
6043 return NULL;
6044 }
6045
6046
6047 static PyObject *_wrap_Rect___ior__(PyObject *self, PyObject *args) {
6048 PyObject *resultobj;
6049 otk::Rect *arg1 = (otk::Rect *) 0 ;
6050 otk::Rect *arg2 = 0 ;
6051 otk::Rect *result;
6052 PyObject * obj0 = 0 ;
6053 PyObject * obj1 = 0 ;
6054
6055 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ior__",&obj0,&obj1)) goto fail;
6056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6057 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6058 if (arg2 == NULL) {
6059 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6060 }
6061 {
6062 otk::Rect &_result_ref = (arg1)->operator |=((otk::Rect const &)*arg2);
6063 result = (otk::Rect *) &_result_ref;
6064 }
6065
6066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
6067 return resultobj;
6068 fail:
6069 return NULL;
6070 }
6071
6072
6073 static PyObject *_wrap_Rect___iand__(PyObject *self, PyObject *args) {
6074 PyObject *resultobj;
6075 otk::Rect *arg1 = (otk::Rect *) 0 ;
6076 otk::Rect *arg2 = 0 ;
6077 otk::Rect *result;
6078 PyObject * obj0 = 0 ;
6079 PyObject * obj1 = 0 ;
6080
6081 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___iand__",&obj0,&obj1)) goto fail;
6082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6084 if (arg2 == NULL) {
6085 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6086 }
6087 {
6088 otk::Rect &_result_ref = (arg1)->operator &=((otk::Rect const &)*arg2);
6089 result = (otk::Rect *) &_result_ref;
6090 }
6091
6092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
6100 PyObject *resultobj;
6101 otk::Rect *arg1 = (otk::Rect *) 0 ;
6102 bool result;
6103 PyObject * obj0 = 0 ;
6104
6105 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
6106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6107 result = (bool)((otk::Rect const *)arg1)->valid();
6108
6109 resultobj = PyInt_FromLong((long)result);
6110 return resultobj;
6111 fail:
6112 return NULL;
6113 }
6114
6115
6116 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
6117 PyObject *resultobj;
6118 otk::Rect *arg1 = (otk::Rect *) 0 ;
6119 otk::Rect *arg2 = 0 ;
6120 bool result;
6121 PyObject * obj0 = 0 ;
6122 PyObject * obj1 = 0 ;
6123
6124 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
6125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6127 if (arg2 == NULL) {
6128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6129 }
6130 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
6131
6132 resultobj = PyInt_FromLong((long)result);
6133 return resultobj;
6134 fail:
6135 return NULL;
6136 }
6137
6138
6139 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
6140 PyObject *resultobj;
6141 otk::Rect *arg1 = (otk::Rect *) 0 ;
6142 int arg2 ;
6143 int arg3 ;
6144 bool result;
6145 PyObject * obj0 = 0 ;
6146
6147 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
6148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6149 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
6150
6151 resultobj = PyInt_FromLong((long)result);
6152 return resultobj;
6153 fail:
6154 return NULL;
6155 }
6156
6157
6158 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
6159 PyObject *resultobj;
6160 otk::Rect *arg1 = (otk::Rect *) 0 ;
6161 otk::Point *arg2 = 0 ;
6162 bool result;
6163 PyObject * obj0 = 0 ;
6164 PyObject * obj1 = 0 ;
6165
6166 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
6167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6169 if (arg2 == NULL) {
6170 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6171 }
6172 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
6173
6174 resultobj = PyInt_FromLong((long)result);
6175 return resultobj;
6176 fail:
6177 return NULL;
6178 }
6179
6180
6181 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
6182 PyObject *resultobj;
6183 otk::Rect *arg1 = (otk::Rect *) 0 ;
6184 otk::Rect *arg2 = 0 ;
6185 bool result;
6186 PyObject * obj0 = 0 ;
6187 PyObject * obj1 = 0 ;
6188
6189 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
6190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6192 if (arg2 == NULL) {
6193 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6194 }
6195 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
6196
6197 resultobj = PyInt_FromLong((long)result);
6198 return resultobj;
6199 fail:
6200 return NULL;
6201 }
6202
6203
6204 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
6205 int argc;
6206 PyObject *argv[4];
6207 int ii;
6208
6209 argc = PyObject_Length(args);
6210 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6211 argv[ii] = PyTuple_GetItem(args,ii);
6212 }
6213 if (argc == 2) {
6214 int _v;
6215 {
6216 void *ptr;
6217 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6218 _v = 0;
6219 PyErr_Clear();
6220 }else {
6221 _v = 1;
6222 }
6223 }
6224 if (_v) {
6225 {
6226 void *ptr;
6227 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
6228 _v = 0;
6229 PyErr_Clear();
6230 }else {
6231 _v = 1;
6232 }
6233 }
6234 if (_v) {
6235 return _wrap_Rect_contains__SWIG_1(self,args);
6236 }
6237 }
6238 }
6239 if (argc == 2) {
6240 int _v;
6241 {
6242 void *ptr;
6243 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6244 _v = 0;
6245 PyErr_Clear();
6246 }else {
6247 _v = 1;
6248 }
6249 }
6250 if (_v) {
6251 {
6252 void *ptr;
6253 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6254 _v = 0;
6255 PyErr_Clear();
6256 }else {
6257 _v = 1;
6258 }
6259 }
6260 if (_v) {
6261 return _wrap_Rect_contains__SWIG_2(self,args);
6262 }
6263 }
6264 }
6265 if (argc == 3) {
6266 int _v;
6267 {
6268 void *ptr;
6269 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6270 _v = 0;
6271 PyErr_Clear();
6272 }else {
6273 _v = 1;
6274 }
6275 }
6276 if (_v) {
6277 {
6278 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6279 }
6280 if (_v) {
6281 {
6282 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6283 }
6284 if (_v) {
6285 return _wrap_Rect_contains__SWIG_0(self,args);
6286 }
6287 }
6288 }
6289 }
6290
6291 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
6292 return NULL;
6293 }
6294
6295
6296 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
6297 PyObject *obj;
6298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6299 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
6300 Py_INCREF(obj);
6301 return Py_BuildValue((char *)"");
6302 }
6303 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
6304 PyObject *resultobj;
6305 unsigned int arg1 ;
6306 otk::ScreenInfo *result;
6307 PyObject * obj0 = 0 ;
6308
6309 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
6310 arg1 = (unsigned int) PyInt_AsLong(obj0);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
6313
6314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
6315 return resultobj;
6316 fail:
6317 return NULL;
6318 }
6319
6320
6321 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
6322 PyObject *resultobj;
6323 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6324 Visual *result;
6325 PyObject * obj0 = 0 ;
6326
6327 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
6328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6329 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
6330
6331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6332 return resultobj;
6333 fail:
6334 return NULL;
6335 }
6336
6337
6338 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
6339 PyObject *resultobj;
6340 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6341 Window result;
6342 PyObject * obj0 = 0 ;
6343
6344 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
6345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6346 result = (Window)((otk::ScreenInfo const *)arg1)->rootWindow();
6347
6348 resultobj = PyInt_FromLong((long)result);
6349 return resultobj;
6350 fail:
6351 return NULL;
6352 }
6353
6354
6355 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
6356 PyObject *resultobj;
6357 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6358 Colormap result;
6359 PyObject * obj0 = 0 ;
6360
6361 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
6362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6363 result = (Colormap)((otk::ScreenInfo const *)arg1)->colormap();
6364
6365 resultobj = PyInt_FromLong((long)result);
6366 return resultobj;
6367 fail:
6368 return NULL;
6369 }
6370
6371
6372 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
6373 PyObject *resultobj;
6374 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6375 int result;
6376 PyObject * obj0 = 0 ;
6377
6378 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
6379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6380 result = (int)((otk::ScreenInfo const *)arg1)->depth();
6381
6382 resultobj = PyInt_FromLong((long)result);
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
6390 PyObject *resultobj;
6391 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6392 unsigned int result;
6393 PyObject * obj0 = 0 ;
6394
6395 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
6396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6397 result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
6398
6399 resultobj = PyInt_FromLong((long)result);
6400 return resultobj;
6401 fail:
6402 return NULL;
6403 }
6404
6405
6406 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
6407 PyObject *resultobj;
6408 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6409 otk::Rect *result;
6410 PyObject * obj0 = 0 ;
6411
6412 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
6413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6414 {
6415 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
6416 result = (otk::Rect *) &_result_ref;
6417 }
6418
6419 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
6420 return resultobj;
6421 fail:
6422 return NULL;
6423 }
6424
6425
6426 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
6427 PyObject *resultobj;
6428 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6429 unsigned int result;
6430 PyObject * obj0 = 0 ;
6431
6432 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
6433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6434 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
6435
6436 resultobj = PyInt_FromLong((long)result);
6437 return resultobj;
6438 fail:
6439 return NULL;
6440 }
6441
6442
6443 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
6444 PyObject *resultobj;
6445 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6446 unsigned int result;
6447 PyObject * obj0 = 0 ;
6448
6449 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
6452
6453 resultobj = PyInt_FromLong((long)result);
6454 return resultobj;
6455 fail:
6456 return NULL;
6457 }
6458
6459
6460 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
6461 PyObject *resultobj;
6462 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6463 std::string *result;
6464 PyObject * obj0 = 0 ;
6465
6466 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
6467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6468 {
6469 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
6470 result = (std::string *) &_result_ref;
6471 }
6472
6473 {
6474 resultobj = PyString_FromString(result->c_str());
6475 }
6476 return resultobj;
6477 fail:
6478 return NULL;
6479 }
6480
6481
6482 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
6483 PyObject *obj;
6484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6485 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
6486 Py_INCREF(obj);
6487 return Py_BuildValue((char *)"");
6488 }
6489 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
6490 PyObject *resultobj;
6491 otk::Strut *arg1 = (otk::Strut *) 0 ;
6492 unsigned int arg2 ;
6493 PyObject * obj0 = 0 ;
6494 PyObject * obj1 = 0 ;
6495
6496 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
6497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6498 arg2 = (unsigned int) PyInt_AsLong(obj1);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 if (arg1) (arg1)->top = arg2;
6501
6502 Py_INCREF(Py_None); resultobj = Py_None;
6503 return resultobj;
6504 fail:
6505 return NULL;
6506 }
6507
6508
6509 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
6510 PyObject *resultobj;
6511 otk::Strut *arg1 = (otk::Strut *) 0 ;
6512 unsigned int result;
6513 PyObject * obj0 = 0 ;
6514
6515 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
6516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6517 result = (unsigned int) ((arg1)->top);
6518
6519 resultobj = PyInt_FromLong((long)result);
6520 return resultobj;
6521 fail:
6522 return NULL;
6523 }
6524
6525
6526 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
6527 PyObject *resultobj;
6528 otk::Strut *arg1 = (otk::Strut *) 0 ;
6529 unsigned int arg2 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532
6533 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
6534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6535 arg2 = (unsigned int) PyInt_AsLong(obj1);
6536 if (PyErr_Occurred()) SWIG_fail;
6537 if (arg1) (arg1)->bottom = arg2;
6538
6539 Py_INCREF(Py_None); resultobj = Py_None;
6540 return resultobj;
6541 fail:
6542 return NULL;
6543 }
6544
6545
6546 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
6547 PyObject *resultobj;
6548 otk::Strut *arg1 = (otk::Strut *) 0 ;
6549 unsigned int result;
6550 PyObject * obj0 = 0 ;
6551
6552 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
6553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6554 result = (unsigned int) ((arg1)->bottom);
6555
6556 resultobj = PyInt_FromLong((long)result);
6557 return resultobj;
6558 fail:
6559 return NULL;
6560 }
6561
6562
6563 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
6564 PyObject *resultobj;
6565 otk::Strut *arg1 = (otk::Strut *) 0 ;
6566 unsigned int arg2 ;
6567 PyObject * obj0 = 0 ;
6568 PyObject * obj1 = 0 ;
6569
6570 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
6571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6572 arg2 = (unsigned int) PyInt_AsLong(obj1);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 if (arg1) (arg1)->left = arg2;
6575
6576 Py_INCREF(Py_None); resultobj = Py_None;
6577 return resultobj;
6578 fail:
6579 return NULL;
6580 }
6581
6582
6583 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
6584 PyObject *resultobj;
6585 otk::Strut *arg1 = (otk::Strut *) 0 ;
6586 unsigned int result;
6587 PyObject * obj0 = 0 ;
6588
6589 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
6590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6591 result = (unsigned int) ((arg1)->left);
6592
6593 resultobj = PyInt_FromLong((long)result);
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
6601 PyObject *resultobj;
6602 otk::Strut *arg1 = (otk::Strut *) 0 ;
6603 unsigned int arg2 ;
6604 PyObject * obj0 = 0 ;
6605 PyObject * obj1 = 0 ;
6606
6607 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
6608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6609 arg2 = (unsigned int) PyInt_AsLong(obj1);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 if (arg1) (arg1)->right = arg2;
6612
6613 Py_INCREF(Py_None); resultobj = Py_None;
6614 return resultobj;
6615 fail:
6616 return NULL;
6617 }
6618
6619
6620 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
6621 PyObject *resultobj;
6622 otk::Strut *arg1 = (otk::Strut *) 0 ;
6623 unsigned int result;
6624 PyObject * obj0 = 0 ;
6625
6626 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
6627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6628 result = (unsigned int) ((arg1)->right);
6629
6630 resultobj = PyInt_FromLong((long)result);
6631 return resultobj;
6632 fail:
6633 return NULL;
6634 }
6635
6636
6637 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
6638 PyObject *resultobj;
6639 otk::Strut *result;
6640
6641 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
6642 result = (otk::Strut *)new otk::Strut();
6643
6644 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
6652 PyObject *resultobj;
6653 int arg1 ;
6654 int arg2 ;
6655 int arg3 ;
6656 int arg4 ;
6657 otk::Strut *result;
6658
6659 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
6660 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
6661
6662 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
6663 return resultobj;
6664 fail:
6665 return NULL;
6666 }
6667
6668
6669 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
6670 int argc;
6671 PyObject *argv[5];
6672 int ii;
6673
6674 argc = PyObject_Length(args);
6675 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6676 argv[ii] = PyTuple_GetItem(args,ii);
6677 }
6678 if (argc == 0) {
6679 return _wrap_new_Strut__SWIG_0(self,args);
6680 }
6681 if (argc == 4) {
6682 int _v;
6683 {
6684 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6685 }
6686 if (_v) {
6687 {
6688 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6689 }
6690 if (_v) {
6691 {
6692 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6693 }
6694 if (_v) {
6695 {
6696 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
6697 }
6698 if (_v) {
6699 return _wrap_new_Strut__SWIG_1(self,args);
6700 }
6701 }
6702 }
6703 }
6704 }
6705
6706 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
6707 return NULL;
6708 }
6709
6710
6711 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
6712 PyObject *obj;
6713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6714 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
6715 Py_INCREF(obj);
6716 return Py_BuildValue((char *)"");
6717 }
6718 static PyObject *_wrap_EventHandler_handle(PyObject *self, PyObject *args) {
6719 PyObject *resultobj;
6720 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6721 XEvent *arg2 = 0 ;
6722 PyObject * obj0 = 0 ;
6723 PyObject * obj1 = 0 ;
6724
6725 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_handle",&obj0,&obj1)) goto fail;
6726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6728 if (arg2 == NULL) {
6729 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6730 }
6731 (arg1)->handle((XEvent const &)*arg2);
6732
6733 Py_INCREF(Py_None); resultobj = Py_None;
6734 return resultobj;
6735 fail:
6736 return NULL;
6737 }
6738
6739
6740 static PyObject *_wrap_EventHandler_keyPressHandler(PyObject *self, PyObject *args) {
6741 PyObject *resultobj;
6742 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6743 XKeyEvent *arg2 = 0 ;
6744 PyObject * obj0 = 0 ;
6745 PyObject * obj1 = 0 ;
6746
6747 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
6748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6749 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6750 if (arg2 == NULL) {
6751 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6752 }
6753 (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
6754
6755 Py_INCREF(Py_None); resultobj = Py_None;
6756 return resultobj;
6757 fail:
6758 return NULL;
6759 }
6760
6761
6762 static PyObject *_wrap_EventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
6763 PyObject *resultobj;
6764 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6765 XKeyEvent *arg2 = 0 ;
6766 PyObject * obj0 = 0 ;
6767 PyObject * obj1 = 0 ;
6768
6769 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
6770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6771 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6772 if (arg2 == NULL) {
6773 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6774 }
6775 (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
6776
6777 Py_INCREF(Py_None); resultobj = Py_None;
6778 return resultobj;
6779 fail:
6780 return NULL;
6781 }
6782
6783
6784 static PyObject *_wrap_EventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
6785 PyObject *resultobj;
6786 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6787 XButtonEvent *arg2 = 0 ;
6788 PyObject * obj0 = 0 ;
6789 PyObject * obj1 = 0 ;
6790
6791 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
6792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6793 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6794 if (arg2 == NULL) {
6795 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6796 }
6797 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
6798
6799 Py_INCREF(Py_None); resultobj = Py_None;
6800 return resultobj;
6801 fail:
6802 return NULL;
6803 }
6804
6805
6806 static PyObject *_wrap_EventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
6807 PyObject *resultobj;
6808 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6809 XButtonEvent *arg2 = 0 ;
6810 PyObject * obj0 = 0 ;
6811 PyObject * obj1 = 0 ;
6812
6813 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
6814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6816 if (arg2 == NULL) {
6817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6818 }
6819 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
6820
6821 Py_INCREF(Py_None); resultobj = Py_None;
6822 return resultobj;
6823 fail:
6824 return NULL;
6825 }
6826
6827
6828 static PyObject *_wrap_EventHandler_motionHandler(PyObject *self, PyObject *args) {
6829 PyObject *resultobj;
6830 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6831 XMotionEvent *arg2 = 0 ;
6832 PyObject * obj0 = 0 ;
6833 PyObject * obj1 = 0 ;
6834
6835 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_motionHandler",&obj0,&obj1)) goto fail;
6836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6838 if (arg2 == NULL) {
6839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6840 }
6841 (arg1)->motionHandler((XMotionEvent const &)*arg2);
6842
6843 Py_INCREF(Py_None); resultobj = Py_None;
6844 return resultobj;
6845 fail:
6846 return NULL;
6847 }
6848
6849
6850 static PyObject *_wrap_EventHandler_enterHandler(PyObject *self, PyObject *args) {
6851 PyObject *resultobj;
6852 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6853 XCrossingEvent *arg2 = 0 ;
6854 PyObject * obj0 = 0 ;
6855 PyObject * obj1 = 0 ;
6856
6857 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_enterHandler",&obj0,&obj1)) goto fail;
6858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6859 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6860 if (arg2 == NULL) {
6861 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6862 }
6863 (arg1)->enterHandler((XCrossingEvent const &)*arg2);
6864
6865 Py_INCREF(Py_None); resultobj = Py_None;
6866 return resultobj;
6867 fail:
6868 return NULL;
6869 }
6870
6871
6872 static PyObject *_wrap_EventHandler_leaveHandler(PyObject *self, PyObject *args) {
6873 PyObject *resultobj;
6874 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6875 XCrossingEvent *arg2 = 0 ;
6876 PyObject * obj0 = 0 ;
6877 PyObject * obj1 = 0 ;
6878
6879 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_leaveHandler",&obj0,&obj1)) goto fail;
6880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6882 if (arg2 == NULL) {
6883 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6884 }
6885 (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
6886
6887 Py_INCREF(Py_None); resultobj = Py_None;
6888 return resultobj;
6889 fail:
6890 return NULL;
6891 }
6892
6893
6894 static PyObject *_wrap_EventHandler_focusHandler(PyObject *self, PyObject *args) {
6895 PyObject *resultobj;
6896 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6897 XFocusChangeEvent *arg2 = 0 ;
6898 PyObject * obj0 = 0 ;
6899 PyObject * obj1 = 0 ;
6900
6901 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_focusHandler",&obj0,&obj1)) goto fail;
6902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6903 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6904 if (arg2 == NULL) {
6905 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6906 }
6907 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
6908
6909 Py_INCREF(Py_None); resultobj = Py_None;
6910 return resultobj;
6911 fail:
6912 return NULL;
6913 }
6914
6915
6916 static PyObject *_wrap_EventHandler_unfocusHandler(PyObject *self, PyObject *args) {
6917 PyObject *resultobj;
6918 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6919 XFocusChangeEvent *arg2 = 0 ;
6920 PyObject * obj0 = 0 ;
6921 PyObject * obj1 = 0 ;
6922
6923 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
6924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6926 if (arg2 == NULL) {
6927 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6928 }
6929 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
6930
6931 Py_INCREF(Py_None); resultobj = Py_None;
6932 return resultobj;
6933 fail:
6934 return NULL;
6935 }
6936
6937
6938 static PyObject *_wrap_EventHandler_exposeHandler(PyObject *self, PyObject *args) {
6939 PyObject *resultobj;
6940 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6941 XExposeEvent *arg2 = 0 ;
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj1 = 0 ;
6944
6945 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_exposeHandler",&obj0,&obj1)) goto fail;
6946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6948 if (arg2 == NULL) {
6949 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6950 }
6951 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
6952
6953 Py_INCREF(Py_None); resultobj = Py_None;
6954 return resultobj;
6955 fail:
6956 return NULL;
6957 }
6958
6959
6960 static PyObject *_wrap_EventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
6961 PyObject *resultobj;
6962 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6963 XGraphicsExposeEvent *arg2 = 0 ;
6964 PyObject * obj0 = 0 ;
6965 PyObject * obj1 = 0 ;
6966
6967 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
6968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6970 if (arg2 == NULL) {
6971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6972 }
6973 (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
6974
6975 Py_INCREF(Py_None); resultobj = Py_None;
6976 return resultobj;
6977 fail:
6978 return NULL;
6979 }
6980
6981
6982 static PyObject *_wrap_EventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
6983 PyObject *resultobj;
6984 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6985 XNoExposeEvent *arg2 = 0 ;
6986 PyObject * obj0 = 0 ;
6987 PyObject * obj1 = 0 ;
6988
6989 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
6990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6992 if (arg2 == NULL) {
6993 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6994 }
6995 (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
6996
6997 Py_INCREF(Py_None); resultobj = Py_None;
6998 return resultobj;
6999 fail:
7000 return NULL;
7001 }
7002
7003
7004 static PyObject *_wrap_EventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
7005 PyObject *resultobj;
7006 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7007 XCirculateRequestEvent *arg2 = 0 ;
7008 PyObject * obj0 = 0 ;
7009 PyObject * obj1 = 0 ;
7010
7011 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
7012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7014 if (arg2 == NULL) {
7015 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7016 }
7017 (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
7018
7019 Py_INCREF(Py_None); resultobj = Py_None;
7020 return resultobj;
7021 fail:
7022 return NULL;
7023 }
7024
7025
7026 static PyObject *_wrap_EventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
7027 PyObject *resultobj;
7028 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7029 XConfigureRequestEvent *arg2 = 0 ;
7030 PyObject * obj0 = 0 ;
7031 PyObject * obj1 = 0 ;
7032
7033 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
7034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7036 if (arg2 == NULL) {
7037 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7038 }
7039 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
7040
7041 Py_INCREF(Py_None); resultobj = Py_None;
7042 return resultobj;
7043 fail:
7044 return NULL;
7045 }
7046
7047
7048 static PyObject *_wrap_EventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
7049 PyObject *resultobj;
7050 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7051 XMapRequestEvent *arg2 = 0 ;
7052 PyObject * obj0 = 0 ;
7053 PyObject * obj1 = 0 ;
7054
7055 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
7056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7057 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7058 if (arg2 == NULL) {
7059 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7060 }
7061 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
7062
7063 Py_INCREF(Py_None); resultobj = Py_None;
7064 return resultobj;
7065 fail:
7066 return NULL;
7067 }
7068
7069
7070 static PyObject *_wrap_EventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
7071 PyObject *resultobj;
7072 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7073 XResizeRequestEvent *arg2 = 0 ;
7074 PyObject * obj0 = 0 ;
7075 PyObject * obj1 = 0 ;
7076
7077 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
7078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7080 if (arg2 == NULL) {
7081 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7082 }
7083 (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
7084
7085 Py_INCREF(Py_None); resultobj = Py_None;
7086 return resultobj;
7087 fail:
7088 return NULL;
7089 }
7090
7091
7092 static PyObject *_wrap_EventHandler_circulateHandler(PyObject *self, PyObject *args) {
7093 PyObject *resultobj;
7094 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7095 XCirculateEvent *arg2 = 0 ;
7096 PyObject * obj0 = 0 ;
7097 PyObject * obj1 = 0 ;
7098
7099 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateHandler",&obj0,&obj1)) goto fail;
7100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7102 if (arg2 == NULL) {
7103 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7104 }
7105 (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
7106
7107 Py_INCREF(Py_None); resultobj = Py_None;
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 static PyObject *_wrap_EventHandler_configureHandler(PyObject *self, PyObject *args) {
7115 PyObject *resultobj;
7116 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7117 XConfigureEvent *arg2 = 0 ;
7118 PyObject * obj0 = 0 ;
7119 PyObject * obj1 = 0 ;
7120
7121 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureHandler",&obj0,&obj1)) goto fail;
7122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7124 if (arg2 == NULL) {
7125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7126 }
7127 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
7128
7129 Py_INCREF(Py_None); resultobj = Py_None;
7130 return resultobj;
7131 fail:
7132 return NULL;
7133 }
7134
7135
7136 static PyObject *_wrap_EventHandler_createHandler(PyObject *self, PyObject *args) {
7137 PyObject *resultobj;
7138 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7139 XCreateWindowEvent *arg2 = 0 ;
7140 PyObject * obj0 = 0 ;
7141 PyObject * obj1 = 0 ;
7142
7143 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_createHandler",&obj0,&obj1)) goto fail;
7144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7145 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7146 if (arg2 == NULL) {
7147 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7148 }
7149 (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
7150
7151 Py_INCREF(Py_None); resultobj = Py_None;
7152 return resultobj;
7153 fail:
7154 return NULL;
7155 }
7156
7157
7158 static PyObject *_wrap_EventHandler_destroyHandler(PyObject *self, PyObject *args) {
7159 PyObject *resultobj;
7160 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7161 XDestroyWindowEvent *arg2 = 0 ;
7162 PyObject * obj0 = 0 ;
7163 PyObject * obj1 = 0 ;
7164
7165 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_destroyHandler",&obj0,&obj1)) goto fail;
7166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7168 if (arg2 == NULL) {
7169 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7170 }
7171 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
7172
7173 Py_INCREF(Py_None); resultobj = Py_None;
7174 return resultobj;
7175 fail:
7176 return NULL;
7177 }
7178
7179
7180 static PyObject *_wrap_EventHandler_gravityHandler(PyObject *self, PyObject *args) {
7181 PyObject *resultobj;
7182 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7183 XGravityEvent *arg2 = 0 ;
7184 PyObject * obj0 = 0 ;
7185 PyObject * obj1 = 0 ;
7186
7187 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_gravityHandler",&obj0,&obj1)) goto fail;
7188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7189 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7190 if (arg2 == NULL) {
7191 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7192 }
7193 (arg1)->gravityHandler((XGravityEvent const &)*arg2);
7194
7195 Py_INCREF(Py_None); resultobj = Py_None;
7196 return resultobj;
7197 fail:
7198 return NULL;
7199 }
7200
7201
7202 static PyObject *_wrap_EventHandler_mapHandler(PyObject *self, PyObject *args) {
7203 PyObject *resultobj;
7204 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7205 XMapEvent *arg2 = 0 ;
7206 PyObject * obj0 = 0 ;
7207 PyObject * obj1 = 0 ;
7208
7209 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapHandler",&obj0,&obj1)) goto fail;
7210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7211 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7212 if (arg2 == NULL) {
7213 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7214 }
7215 (arg1)->mapHandler((XMapEvent const &)*arg2);
7216
7217 Py_INCREF(Py_None); resultobj = Py_None;
7218 return resultobj;
7219 fail:
7220 return NULL;
7221 }
7222
7223
7224 static PyObject *_wrap_EventHandler_mappingHandler(PyObject *self, PyObject *args) {
7225 PyObject *resultobj;
7226 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7227 XMappingEvent *arg2 = 0 ;
7228 PyObject * obj0 = 0 ;
7229 PyObject * obj1 = 0 ;
7230
7231 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mappingHandler",&obj0,&obj1)) goto fail;
7232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7234 if (arg2 == NULL) {
7235 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7236 }
7237 (arg1)->mappingHandler((XMappingEvent const &)*arg2);
7238
7239 Py_INCREF(Py_None); resultobj = Py_None;
7240 return resultobj;
7241 fail:
7242 return NULL;
7243 }
7244
7245
7246 static PyObject *_wrap_EventHandler_reparentHandler(PyObject *self, PyObject *args) {
7247 PyObject *resultobj;
7248 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7249 XReparentEvent *arg2 = 0 ;
7250 PyObject * obj0 = 0 ;
7251 PyObject * obj1 = 0 ;
7252
7253 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_reparentHandler",&obj0,&obj1)) goto fail;
7254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7256 if (arg2 == NULL) {
7257 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7258 }
7259 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
7260
7261 Py_INCREF(Py_None); resultobj = Py_None;
7262 return resultobj;
7263 fail:
7264 return NULL;
7265 }
7266
7267
7268 static PyObject *_wrap_EventHandler_unmapHandler(PyObject *self, PyObject *args) {
7269 PyObject *resultobj;
7270 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7271 XUnmapEvent *arg2 = 0 ;
7272 PyObject * obj0 = 0 ;
7273 PyObject * obj1 = 0 ;
7274
7275 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unmapHandler",&obj0,&obj1)) goto fail;
7276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7278 if (arg2 == NULL) {
7279 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7280 }
7281 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
7282
7283 Py_INCREF(Py_None); resultobj = Py_None;
7284 return resultobj;
7285 fail:
7286 return NULL;
7287 }
7288
7289
7290 static PyObject *_wrap_EventHandler_visibilityHandler(PyObject *self, PyObject *args) {
7291 PyObject *resultobj;
7292 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7293 XVisibilityEvent *arg2 = 0 ;
7294 PyObject * obj0 = 0 ;
7295 PyObject * obj1 = 0 ;
7296
7297 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
7298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7300 if (arg2 == NULL) {
7301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7302 }
7303 (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
7304
7305 Py_INCREF(Py_None); resultobj = Py_None;
7306 return resultobj;
7307 fail:
7308 return NULL;
7309 }
7310
7311
7312 static PyObject *_wrap_EventHandler_colorMapHandler(PyObject *self, PyObject *args) {
7313 PyObject *resultobj;
7314 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7315 XColormapEvent *arg2 = 0 ;
7316 PyObject * obj0 = 0 ;
7317 PyObject * obj1 = 0 ;
7318
7319 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
7320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7321 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7322 if (arg2 == NULL) {
7323 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7324 }
7325 (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
7326
7327 Py_INCREF(Py_None); resultobj = Py_None;
7328 return resultobj;
7329 fail:
7330 return NULL;
7331 }
7332
7333
7334 static PyObject *_wrap_EventHandler_propertyHandler(PyObject *self, PyObject *args) {
7335 PyObject *resultobj;
7336 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7337 XPropertyEvent *arg2 = 0 ;
7338 PyObject * obj0 = 0 ;
7339 PyObject * obj1 = 0 ;
7340
7341 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_propertyHandler",&obj0,&obj1)) goto fail;
7342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7343 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7344 if (arg2 == NULL) {
7345 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7346 }
7347 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
7348
7349 Py_INCREF(Py_None); resultobj = Py_None;
7350 return resultobj;
7351 fail:
7352 return NULL;
7353 }
7354
7355
7356 static PyObject *_wrap_EventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
7357 PyObject *resultobj;
7358 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7359 XSelectionClearEvent *arg2 = 0 ;
7360 PyObject * obj0 = 0 ;
7361 PyObject * obj1 = 0 ;
7362
7363 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
7364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7366 if (arg2 == NULL) {
7367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7368 }
7369 (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
7370
7371 Py_INCREF(Py_None); resultobj = Py_None;
7372 return resultobj;
7373 fail:
7374 return NULL;
7375 }
7376
7377
7378 static PyObject *_wrap_EventHandler_selectionHandler(PyObject *self, PyObject *args) {
7379 PyObject *resultobj;
7380 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7381 XSelectionEvent *arg2 = 0 ;
7382 PyObject * obj0 = 0 ;
7383 PyObject * obj1 = 0 ;
7384
7385 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionHandler",&obj0,&obj1)) goto fail;
7386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7388 if (arg2 == NULL) {
7389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7390 }
7391 (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
7392
7393 Py_INCREF(Py_None); resultobj = Py_None;
7394 return resultobj;
7395 fail:
7396 return NULL;
7397 }
7398
7399
7400 static PyObject *_wrap_EventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
7401 PyObject *resultobj;
7402 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7403 XSelectionRequestEvent *arg2 = 0 ;
7404 PyObject * obj0 = 0 ;
7405 PyObject * obj1 = 0 ;
7406
7407 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
7408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7410 if (arg2 == NULL) {
7411 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7412 }
7413 (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
7414
7415 Py_INCREF(Py_None); resultobj = Py_None;
7416 return resultobj;
7417 fail:
7418 return NULL;
7419 }
7420
7421
7422 static PyObject *_wrap_EventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
7423 PyObject *resultobj;
7424 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7425 XClientMessageEvent *arg2 = 0 ;
7426 PyObject * obj0 = 0 ;
7427 PyObject * obj1 = 0 ;
7428
7429 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
7430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7432 if (arg2 == NULL) {
7433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7434 }
7435 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
7436
7437 Py_INCREF(Py_None); resultobj = Py_None;
7438 return resultobj;
7439 fail:
7440 return NULL;
7441 }
7442
7443
7444 static PyObject *_wrap_delete_EventHandler(PyObject *self, PyObject *args) {
7445 PyObject *resultobj;
7446 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7447 PyObject * obj0 = 0 ;
7448
7449 if(!PyArg_ParseTuple(args,(char *)"O:delete_EventHandler",&obj0)) goto fail;
7450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7451 delete arg1;
7452
7453 Py_INCREF(Py_None); resultobj = Py_None;
7454 return resultobj;
7455 fail:
7456 return NULL;
7457 }
7458
7459
7460 static PyObject * EventHandler_swigregister(PyObject *self, PyObject *args) {
7461 PyObject *obj;
7462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7463 SWIG_TypeClientData(SWIGTYPE_p_otk__EventHandler, obj);
7464 Py_INCREF(obj);
7465 return Py_BuildValue((char *)"");
7466 }
7467 static PyObject *_wrap_new_EventDispatcher(PyObject *self, PyObject *args) {
7468 PyObject *resultobj;
7469 otk::EventDispatcher *result;
7470
7471 if(!PyArg_ParseTuple(args,(char *)":new_EventDispatcher")) goto fail;
7472 result = (otk::EventDispatcher *)new otk::EventDispatcher();
7473
7474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventDispatcher, 1);
7475 return resultobj;
7476 fail:
7477 return NULL;
7478 }
7479
7480
7481 static PyObject *_wrap_delete_EventDispatcher(PyObject *self, PyObject *args) {
7482 PyObject *resultobj;
7483 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7484 PyObject * obj0 = 0 ;
7485
7486 if(!PyArg_ParseTuple(args,(char *)"O:delete_EventDispatcher",&obj0)) goto fail;
7487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7488 delete arg1;
7489
7490 Py_INCREF(Py_None); resultobj = Py_None;
7491 return resultobj;
7492 fail:
7493 return NULL;
7494 }
7495
7496
7497 static PyObject *_wrap_EventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
7498 PyObject *resultobj;
7499 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7500 PyObject * obj0 = 0 ;
7501
7502 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_clearAllHandlers",&obj0)) goto fail;
7503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7504 (arg1)->clearAllHandlers();
7505
7506 Py_INCREF(Py_None); resultobj = Py_None;
7507 return resultobj;
7508 fail:
7509 return NULL;
7510 }
7511
7512
7513 static PyObject *_wrap_EventDispatcher_registerHandler(PyObject *self, PyObject *args) {
7514 PyObject *resultobj;
7515 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7516 Window arg2 ;
7517 otk::EventHandler *arg3 = (otk::EventHandler *) 0 ;
7518 PyObject * obj0 = 0 ;
7519 PyObject * obj1 = 0 ;
7520 PyObject * obj2 = 0 ;
7521
7522 if(!PyArg_ParseTuple(args,(char *)"OOO:EventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 arg2 = (Window) PyInt_AsLong(obj1);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7527 (arg1)->registerHandler(arg2,arg3);
7528
7529 Py_INCREF(Py_None); resultobj = Py_None;
7530 return resultobj;
7531 fail:
7532 return NULL;
7533 }
7534
7535
7536 static PyObject *_wrap_EventDispatcher_clearHandler(PyObject *self, PyObject *args) {
7537 PyObject *resultobj;
7538 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7539 Window arg2 ;
7540 PyObject * obj0 = 0 ;
7541 PyObject * obj1 = 0 ;
7542
7543 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
7544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7545 arg2 = (Window) PyInt_AsLong(obj1);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 (arg1)->clearHandler(arg2);
7548
7549 Py_INCREF(Py_None); resultobj = Py_None;
7550 return resultobj;
7551 fail:
7552 return NULL;
7553 }
7554
7555
7556 static PyObject *_wrap_EventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
7557 PyObject *resultobj;
7558 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7559 PyObject * obj0 = 0 ;
7560
7561 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_dispatchEvents",&obj0)) goto fail;
7562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7563 (arg1)->dispatchEvents();
7564
7565 Py_INCREF(Py_None); resultobj = Py_None;
7566 return resultobj;
7567 fail:
7568 return NULL;
7569 }
7570
7571
7572 static PyObject *_wrap_EventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
7573 PyObject *resultobj;
7574 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7575 otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
7576 PyObject * obj0 = 0 ;
7577 PyObject * obj1 = 0 ;
7578
7579 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
7580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7582 (arg1)->setFallbackHandler(arg2);
7583
7584 Py_INCREF(Py_None); resultobj = Py_None;
7585 return resultobj;
7586 fail:
7587 return NULL;
7588 }
7589
7590
7591 static PyObject *_wrap_EventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
7592 PyObject *resultobj;
7593 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7594 otk::EventHandler *result;
7595 PyObject * obj0 = 0 ;
7596
7597 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getFallbackHandler",&obj0)) goto fail;
7598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7599 result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getFallbackHandler();
7600
7601 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
7602 return resultobj;
7603 fail:
7604 return NULL;
7605 }
7606
7607
7608 static PyObject *_wrap_EventDispatcher_setMasterHandler(PyObject *self, PyObject *args) {
7609 PyObject *resultobj;
7610 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7611 otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
7612 PyObject * obj0 = 0 ;
7613 PyObject * obj1 = 0 ;
7614
7615 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
7616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7618 (arg1)->setMasterHandler(arg2);
7619
7620 Py_INCREF(Py_None); resultobj = Py_None;
7621 return resultobj;
7622 fail:
7623 return NULL;
7624 }
7625
7626
7627 static PyObject *_wrap_EventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
7628 PyObject *resultobj;
7629 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7630 otk::EventHandler *result;
7631 PyObject * obj0 = 0 ;
7632
7633 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getMasterHandler",&obj0)) goto fail;
7634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7635 result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getMasterHandler();
7636
7637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
7638 return resultobj;
7639 fail:
7640 return NULL;
7641 }
7642
7643
7644 static PyObject *_wrap_EventDispatcher_findHandler(PyObject *self, PyObject *args) {
7645 PyObject *resultobj;
7646 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7647 Window arg2 ;
7648 otk::EventHandler *result;
7649 PyObject * obj0 = 0 ;
7650 PyObject * obj1 = 0 ;
7651
7652 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_findHandler",&obj0,&obj1)) goto fail;
7653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7654 arg2 = (Window) PyInt_AsLong(obj1);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 result = (otk::EventHandler *)(arg1)->findHandler(arg2);
7657
7658 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
7659 return resultobj;
7660 fail:
7661 return NULL;
7662 }
7663
7664
7665 static PyObject *_wrap_EventDispatcher_lastTime(PyObject *self, PyObject *args) {
7666 PyObject *resultobj;
7667 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7668 Time result;
7669 PyObject * obj0 = 0 ;
7670
7671 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_lastTime",&obj0)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7673 result = (Time)((otk::EventDispatcher const *)arg1)->lastTime();
7674
7675 resultobj = PyInt_FromLong((long)result);
7676 return resultobj;
7677 fail:
7678 return NULL;
7679 }
7680
7681
7682 static PyObject * EventDispatcher_swigregister(PyObject *self, PyObject *args) {
7683 PyObject *obj;
7684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7685 SWIG_TypeClientData(SWIGTYPE_p_otk__EventDispatcher, obj);
7686 Py_INCREF(obj);
7687 return Py_BuildValue((char *)"");
7688 }
7689 static PyObject *_wrap_Cursors_session_set(PyObject *self, PyObject *args) {
7690 PyObject *resultobj;
7691 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7692 Cursor arg2 ;
7693 PyObject * obj0 = 0 ;
7694 PyObject * obj1 = 0 ;
7695
7696 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_session_set",&obj0,&obj1)) goto fail;
7697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7698 arg2 = (Cursor) PyInt_AsLong(obj1);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 if (arg1) (arg1)->session = arg2;
7701
7702 Py_INCREF(Py_None); resultobj = Py_None;
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap_Cursors_session_get(PyObject *self, PyObject *args) {
7710 PyObject *resultobj;
7711 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7712 Cursor result;
7713 PyObject * obj0 = 0 ;
7714
7715 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_session_get",&obj0)) goto fail;
7716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7717 result = (Cursor) ((arg1)->session);
7718
7719 resultobj = PyInt_FromLong((long)result);
7720 return resultobj;
7721 fail:
7722 return NULL;
7723 }
7724
7725
7726 static PyObject *_wrap_Cursors_move_set(PyObject *self, PyObject *args) {
7727 PyObject *resultobj;
7728 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7729 Cursor arg2 ;
7730 PyObject * obj0 = 0 ;
7731 PyObject * obj1 = 0 ;
7732
7733 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_move_set",&obj0,&obj1)) goto fail;
7734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7735 arg2 = (Cursor) PyInt_AsLong(obj1);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 if (arg1) (arg1)->move = arg2;
7738
7739 Py_INCREF(Py_None); resultobj = Py_None;
7740 return resultobj;
7741 fail:
7742 return NULL;
7743 }
7744
7745
7746 static PyObject *_wrap_Cursors_move_get(PyObject *self, PyObject *args) {
7747 PyObject *resultobj;
7748 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7749 Cursor result;
7750 PyObject * obj0 = 0 ;
7751
7752 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_move_get",&obj0)) goto fail;
7753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7754 result = (Cursor) ((arg1)->move);
7755
7756 resultobj = PyInt_FromLong((long)result);
7757 return resultobj;
7758 fail:
7759 return NULL;
7760 }
7761
7762
7763 static PyObject *_wrap_Cursors_ll_angle_set(PyObject *self, PyObject *args) {
7764 PyObject *resultobj;
7765 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7766 Cursor arg2 ;
7767 PyObject * obj0 = 0 ;
7768 PyObject * obj1 = 0 ;
7769
7770 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ll_angle_set",&obj0,&obj1)) goto fail;
7771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7772 arg2 = (Cursor) PyInt_AsLong(obj1);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 if (arg1) (arg1)->ll_angle = arg2;
7775
7776 Py_INCREF(Py_None); resultobj = Py_None;
7777 return resultobj;
7778 fail:
7779 return NULL;
7780 }
7781
7782
7783 static PyObject *_wrap_Cursors_ll_angle_get(PyObject *self, PyObject *args) {
7784 PyObject *resultobj;
7785 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7786 Cursor result;
7787 PyObject * obj0 = 0 ;
7788
7789 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ll_angle_get",&obj0)) goto fail;
7790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7791 result = (Cursor) ((arg1)->ll_angle);
7792
7793 resultobj = PyInt_FromLong((long)result);
7794 return resultobj;
7795 fail:
7796 return NULL;
7797 }
7798
7799
7800 static PyObject *_wrap_Cursors_lr_angle_set(PyObject *self, PyObject *args) {
7801 PyObject *resultobj;
7802 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7803 Cursor arg2 ;
7804 PyObject * obj0 = 0 ;
7805 PyObject * obj1 = 0 ;
7806
7807 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_lr_angle_set",&obj0,&obj1)) goto fail;
7808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7809 arg2 = (Cursor) PyInt_AsLong(obj1);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 if (arg1) (arg1)->lr_angle = arg2;
7812
7813 Py_INCREF(Py_None); resultobj = Py_None;
7814 return resultobj;
7815 fail:
7816 return NULL;
7817 }
7818
7819
7820 static PyObject *_wrap_Cursors_lr_angle_get(PyObject *self, PyObject *args) {
7821 PyObject *resultobj;
7822 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7823 Cursor result;
7824 PyObject * obj0 = 0 ;
7825
7826 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_lr_angle_get",&obj0)) goto fail;
7827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7828 result = (Cursor) ((arg1)->lr_angle);
7829
7830 resultobj = PyInt_FromLong((long)result);
7831 return resultobj;
7832 fail:
7833 return NULL;
7834 }
7835
7836
7837 static PyObject *_wrap_Cursors_ul_angle_set(PyObject *self, PyObject *args) {
7838 PyObject *resultobj;
7839 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7840 Cursor arg2 ;
7841 PyObject * obj0 = 0 ;
7842 PyObject * obj1 = 0 ;
7843
7844 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ul_angle_set",&obj0,&obj1)) goto fail;
7845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7846 arg2 = (Cursor) PyInt_AsLong(obj1);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 if (arg1) (arg1)->ul_angle = arg2;
7849
7850 Py_INCREF(Py_None); resultobj = Py_None;
7851 return resultobj;
7852 fail:
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_Cursors_ul_angle_get(PyObject *self, PyObject *args) {
7858 PyObject *resultobj;
7859 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7860 Cursor result;
7861 PyObject * obj0 = 0 ;
7862
7863 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ul_angle_get",&obj0)) goto fail;
7864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7865 result = (Cursor) ((arg1)->ul_angle);
7866
7867 resultobj = PyInt_FromLong((long)result);
7868 return resultobj;
7869 fail:
7870 return NULL;
7871 }
7872
7873
7874 static PyObject *_wrap_Cursors_ur_angle_set(PyObject *self, PyObject *args) {
7875 PyObject *resultobj;
7876 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7877 Cursor arg2 ;
7878 PyObject * obj0 = 0 ;
7879 PyObject * obj1 = 0 ;
7880
7881 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ur_angle_set",&obj0,&obj1)) goto fail;
7882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7883 arg2 = (Cursor) PyInt_AsLong(obj1);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 if (arg1) (arg1)->ur_angle = arg2;
7886
7887 Py_INCREF(Py_None); resultobj = Py_None;
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 static PyObject *_wrap_Cursors_ur_angle_get(PyObject *self, PyObject *args) {
7895 PyObject *resultobj;
7896 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7897 Cursor result;
7898 PyObject * obj0 = 0 ;
7899
7900 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ur_angle_get",&obj0)) goto fail;
7901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7902 result = (Cursor) ((arg1)->ur_angle);
7903
7904 resultobj = PyInt_FromLong((long)result);
7905 return resultobj;
7906 fail:
7907 return NULL;
7908 }
7909
7910
7911 static PyObject * Cursors_swigregister(PyObject *self, PyObject *args) {
7912 PyObject *obj;
7913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7914 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors, obj);
7915 Py_INCREF(obj);
7916 return Py_BuildValue((char *)"");
7917 }
7918 static PyObject *_wrap_Openbox_state(PyObject *self, PyObject *args) {
7919 PyObject *resultobj;
7920 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7921 int result;
7922 PyObject * obj0 = 0 ;
7923
7924 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_state",&obj0)) goto fail;
7925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7926 result = (int)((ob::Openbox const *)arg1)->state();
7927
7928 resultobj = PyInt_FromLong((long)result);
7929 return resultobj;
7930 fail:
7931 return NULL;
7932 }
7933
7934
7935 static PyObject *_wrap_Openbox_actions(PyObject *self, PyObject *args) {
7936 PyObject *resultobj;
7937 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7938 ob::Actions *result;
7939 PyObject * obj0 = 0 ;
7940
7941 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_actions",&obj0)) goto fail;
7942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7943 result = (ob::Actions *)((ob::Openbox const *)arg1)->actions();
7944
7945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Actions, 0);
7946 return resultobj;
7947 fail:
7948 return NULL;
7949 }
7950
7951
7952 static PyObject *_wrap_Openbox_bindings(PyObject *self, PyObject *args) {
7953 PyObject *resultobj;
7954 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7955 ob::Bindings *result;
7956 PyObject * obj0 = 0 ;
7957
7958 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_bindings",&obj0)) goto fail;
7959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7960 result = (ob::Bindings *)((ob::Openbox const *)arg1)->bindings();
7961
7962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Bindings, 0);
7963 return resultobj;
7964 fail:
7965 return NULL;
7966 }
7967
7968
7969 static PyObject *_wrap_Openbox_screen(PyObject *self, PyObject *args) {
7970 PyObject *resultobj;
7971 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7972 int arg2 ;
7973 ob::Screen *result;
7974 PyObject * obj0 = 0 ;
7975
7976 if(!PyArg_ParseTuple(args,(char *)"Oi:Openbox_screen",&obj0,&arg2)) goto fail;
7977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7978 result = (ob::Screen *)(arg1)->screen(arg2);
7979
7980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
7981 return resultobj;
7982 fail:
7983 return NULL;
7984 }
7985
7986
7987 static PyObject *_wrap_Openbox_screenCount(PyObject *self, PyObject *args) {
7988 PyObject *resultobj;
7989 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7990 int result;
7991 PyObject * obj0 = 0 ;
7992
7993 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_screenCount",&obj0)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7995 result = (int)((ob::Openbox const *)arg1)->screenCount();
7996
7997 resultobj = PyInt_FromLong((long)result);
7998 return resultobj;
7999 fail:
8000 return NULL;
8001 }
8002
8003
8004 static PyObject *_wrap_Openbox_cursors(PyObject *self, PyObject *args) {
8005 PyObject *resultobj;
8006 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8007 ob::Cursors *result;
8008 PyObject * obj0 = 0 ;
8009
8010 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_cursors",&obj0)) goto fail;
8011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8012 {
8013 ob::Cursors const &_result_ref = ((ob::Openbox const *)arg1)->cursors();
8014 result = (ob::Cursors *) &_result_ref;
8015 }
8016
8017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Cursors, 0);
8018 return resultobj;
8019 fail:
8020 return NULL;
8021 }
8022
8023
8024 static PyObject *_wrap_Openbox_addClient(PyObject *self, PyObject *args) {
8025 PyObject *resultobj;
8026 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8027 Window arg2 ;
8028 ob::Client *arg3 = (ob::Client *) 0 ;
8029 PyObject * obj0 = 0 ;
8030 PyObject * obj1 = 0 ;
8031 PyObject * obj2 = 0 ;
8032
8033 if(!PyArg_ParseTuple(args,(char *)"OOO:Openbox_addClient",&obj0,&obj1,&obj2)) goto fail;
8034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8035 arg2 = (Window) PyInt_AsLong(obj1);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8038 (arg1)->addClient(arg2,arg3);
8039
8040 Py_INCREF(Py_None); resultobj = Py_None;
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 static PyObject *_wrap_Openbox_removeClient(PyObject *self, PyObject *args) {
8048 PyObject *resultobj;
8049 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8050 Window arg2 ;
8051 PyObject * obj0 = 0 ;
8052 PyObject * obj1 = 0 ;
8053
8054 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_removeClient",&obj0,&obj1)) goto fail;
8055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8056 arg2 = (Window) PyInt_AsLong(obj1);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 (arg1)->removeClient(arg2);
8059
8060 Py_INCREF(Py_None); resultobj = Py_None;
8061 return resultobj;
8062 fail:
8063 return NULL;
8064 }
8065
8066
8067 static PyObject *_wrap_Openbox_findClient(PyObject *self, PyObject *args) {
8068 PyObject *resultobj;
8069 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8070 Window arg2 ;
8071 ob::Client *result;
8072 PyObject * obj0 = 0 ;
8073 PyObject * obj1 = 0 ;
8074
8075 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_findClient",&obj0,&obj1)) goto fail;
8076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8077 arg2 = (Window) PyInt_AsLong(obj1);
8078 if (PyErr_Occurred()) SWIG_fail;
8079 result = (ob::Client *)(arg1)->findClient(arg2);
8080
8081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_Openbox_focusedClient(PyObject *self, PyObject *args) {
8089 PyObject *resultobj;
8090 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8091 ob::Client *result;
8092 PyObject * obj0 = 0 ;
8093
8094 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedClient",&obj0)) goto fail;
8095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8096 result = (ob::Client *)(arg1)->focusedClient();
8097
8098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
8099 return resultobj;
8100 fail:
8101 return NULL;
8102 }
8103
8104
8105 static PyObject *_wrap_Openbox_setFocusedClient(PyObject *self, PyObject *args) {
8106 PyObject *resultobj;
8107 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8108 ob::Client *arg2 = (ob::Client *) 0 ;
8109 PyObject * obj0 = 0 ;
8110 PyObject * obj1 = 0 ;
8111
8112 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_setFocusedClient",&obj0,&obj1)) goto fail;
8113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8115 (arg1)->setFocusedClient(arg2);
8116
8117 Py_INCREF(Py_None); resultobj = Py_None;
8118 return resultobj;
8119 fail:
8120 return NULL;
8121 }
8122
8123
8124 static PyObject *_wrap_Openbox_focusedScreen(PyObject *self, PyObject *args) {
8125 PyObject *resultobj;
8126 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8127 ob::Screen *result;
8128 PyObject * obj0 = 0 ;
8129
8130 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedScreen",&obj0)) goto fail;
8131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8132 result = (ob::Screen *)(arg1)->focusedScreen();
8133
8134 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
8135 return resultobj;
8136 fail:
8137 return NULL;
8138 }
8139
8140
8141 static PyObject *_wrap_Openbox_shutdown(PyObject *self, PyObject *args) {
8142 PyObject *resultobj;
8143 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8144 PyObject * obj0 = 0 ;
8145
8146 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_shutdown",&obj0)) goto fail;
8147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8148 (arg1)->shutdown();
8149
8150 Py_INCREF(Py_None); resultobj = Py_None;
8151 return resultobj;
8152 fail:
8153 return NULL;
8154 }
8155
8156
8157 static PyObject *_wrap_Openbox_restart(PyObject *self, PyObject *args) {
8158 PyObject *resultobj;
8159 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8160 std::string const &arg2_defvalue = "" ;
8161 std::string *arg2 = (std::string *) &arg2_defvalue ;
8162 std::string temp2 ;
8163 PyObject * obj0 = 0 ;
8164 PyObject * obj1 = 0 ;
8165
8166 if(!PyArg_ParseTuple(args,(char *)"O|O:Openbox_restart",&obj0,&obj1)) goto fail;
8167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8168 if (obj1) {
8169 {
8170 if (PyString_Check(obj1)) {
8171 temp2 = std::string(PyString_AsString(obj1));
8172 arg2 = &temp2;
8173 }else {
8174 SWIG_exception(SWIG_TypeError, "string expected");
8175 }
8176 }
8177 }
8178 (arg1)->restart((std::string const &)*arg2);
8179
8180 Py_INCREF(Py_None); resultobj = Py_None;
8181 return resultobj;
8182 fail:
8183 return NULL;
8184 }
8185
8186
8187 static PyObject *_wrap_Openbox_execute(PyObject *self, PyObject *args) {
8188 PyObject *resultobj;
8189 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8190 int arg2 ;
8191 std::string *arg3 = 0 ;
8192 std::string temp3 ;
8193 PyObject * obj0 = 0 ;
8194 PyObject * obj2 = 0 ;
8195
8196 if(!PyArg_ParseTuple(args,(char *)"OiO:Openbox_execute",&obj0,&arg2,&obj2)) goto fail;
8197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8198 {
8199 if (PyString_Check(obj2)) {
8200 temp3 = std::string(PyString_AsString(obj2));
8201 arg3 = &temp3;
8202 }else {
8203 SWIG_exception(SWIG_TypeError, "string expected");
8204 }
8205 }
8206 (arg1)->execute(arg2,(std::string const &)*arg3);
8207
8208 Py_INCREF(Py_None); resultobj = Py_None;
8209 return resultobj;
8210 fail:
8211 return NULL;
8212 }
8213
8214
8215 static PyObject * Openbox_swigregister(PyObject *self, PyObject *args) {
8216 PyObject *obj;
8217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8218 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox, obj);
8219 Py_INCREF(obj);
8220 return Py_BuildValue((char *)"");
8221 }
8222 static PyObject *_wrap_Screen_client(PyObject *self, PyObject *args) {
8223 PyObject *resultobj;
8224 ob::Screen *arg1 = (ob::Screen *) 0 ;
8225 int arg2 ;
8226 ob::Client *result;
8227 PyObject * obj0 = 0 ;
8228
8229 if(!PyArg_ParseTuple(args,(char *)"Oi:Screen_client",&obj0,&arg2)) goto fail;
8230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8231 result = (ob::Client *)ob_Screen_client(arg1,arg2);
8232
8233 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_Screen_clientCount(PyObject *self, PyObject *args) {
8241 PyObject *resultobj;
8242 ob::Screen *arg1 = (ob::Screen *) 0 ;
8243 int result;
8244 PyObject * obj0 = 0 ;
8245
8246 if(!PyArg_ParseTuple(args,(char *)"O:Screen_clientCount",&obj0)) goto fail;
8247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8248 result = (int)ob_Screen_clientCount((ob::Screen const *)arg1);
8249
8250 resultobj = PyInt_FromLong((long)result);
8251 return resultobj;
8252 fail:
8253 return NULL;
8254 }
8255
8256
8257 static PyObject *_wrap_Screen_number(PyObject *self, PyObject *args) {
8258 PyObject *resultobj;
8259 ob::Screen *arg1 = (ob::Screen *) 0 ;
8260 int result;
8261 PyObject * obj0 = 0 ;
8262
8263 if(!PyArg_ParseTuple(args,(char *)"O:Screen_number",&obj0)) goto fail;
8264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8265 result = (int)((ob::Screen const *)arg1)->number();
8266
8267 resultobj = PyInt_FromLong((long)result);
8268 return resultobj;
8269 fail:
8270 return NULL;
8271 }
8272
8273
8274 static PyObject *_wrap_Screen_managed(PyObject *self, PyObject *args) {
8275 PyObject *resultobj;
8276 ob::Screen *arg1 = (ob::Screen *) 0 ;
8277 bool result;
8278 PyObject * obj0 = 0 ;
8279
8280 if(!PyArg_ParseTuple(args,(char *)"O:Screen_managed",&obj0)) goto fail;
8281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8282 result = (bool)((ob::Screen const *)arg1)->managed();
8283
8284 resultobj = PyInt_FromLong((long)result);
8285 return resultobj;
8286 fail:
8287 return NULL;
8288 }
8289
8290
8291 static PyObject *_wrap_Screen_area(PyObject *self, PyObject *args) {
8292 PyObject *resultobj;
8293 ob::Screen *arg1 = (ob::Screen *) 0 ;
8294 otk::Rect *result;
8295 PyObject * obj0 = 0 ;
8296
8297 if(!PyArg_ParseTuple(args,(char *)"O:Screen_area",&obj0)) goto fail;
8298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8299 {
8300 otk::Rect const &_result_ref = ((ob::Screen const *)arg1)->area();
8301 result = (otk::Rect *) &_result_ref;
8302 }
8303
8304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
8305 return resultobj;
8306 fail:
8307 return NULL;
8308 }
8309
8310
8311 static PyObject *_wrap_Screen_style(PyObject *self, PyObject *args) {
8312 PyObject *resultobj;
8313 ob::Screen *arg1 = (ob::Screen *) 0 ;
8314 otk::RenderStyle *result;
8315 PyObject * obj0 = 0 ;
8316
8317 if(!PyArg_ParseTuple(args,(char *)"O:Screen_style",&obj0)) goto fail;
8318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8319 result = (otk::RenderStyle *)((ob::Screen const *)arg1)->style();
8320
8321 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__RenderStyle, 0);
8322 return resultobj;
8323 fail:
8324 return NULL;
8325 }
8326
8327
8328 static PyObject *_wrap_Screen_focuswindow(PyObject *self, PyObject *args) {
8329 PyObject *resultobj;
8330 ob::Screen *arg1 = (ob::Screen *) 0 ;
8331 Window result;
8332 PyObject * obj0 = 0 ;
8333
8334 if(!PyArg_ParseTuple(args,(char *)"O:Screen_focuswindow",&obj0)) goto fail;
8335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8336 result = (Window)((ob::Screen const *)arg1)->focuswindow();
8337
8338 resultobj = PyInt_FromLong((long)result);
8339 return resultobj;
8340 fail:
8341 return NULL;
8342 }
8343
8344
8345 static PyObject *_wrap_Screen_desktop(PyObject *self, PyObject *args) {
8346 PyObject *resultobj;
8347 ob::Screen *arg1 = (ob::Screen *) 0 ;
8348 long result;
8349 PyObject * obj0 = 0 ;
8350
8351 if(!PyArg_ParseTuple(args,(char *)"O:Screen_desktop",&obj0)) goto fail;
8352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8353 result = (long)((ob::Screen const *)arg1)->desktop();
8354
8355 resultobj = PyInt_FromLong((long)result);
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 static PyObject *_wrap_Screen_numDesktops(PyObject *self, PyObject *args) {
8363 PyObject *resultobj;
8364 ob::Screen *arg1 = (ob::Screen *) 0 ;
8365 long result;
8366 PyObject * obj0 = 0 ;
8367
8368 if(!PyArg_ParseTuple(args,(char *)"O:Screen_numDesktops",&obj0)) goto fail;
8369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8370 result = (long)((ob::Screen const *)arg1)->numDesktops();
8371
8372 resultobj = PyInt_FromLong((long)result);
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 static PyObject *_wrap_Screen_updateStrut(PyObject *self, PyObject *args) {
8380 PyObject *resultobj;
8381 ob::Screen *arg1 = (ob::Screen *) 0 ;
8382 PyObject * obj0 = 0 ;
8383
8384 if(!PyArg_ParseTuple(args,(char *)"O:Screen_updateStrut",&obj0)) goto fail;
8385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8386 (arg1)->updateStrut();
8387
8388 Py_INCREF(Py_None); resultobj = Py_None;
8389 return resultobj;
8390 fail:
8391 return NULL;
8392 }
8393
8394
8395 static PyObject *_wrap_Screen_manageExisting(PyObject *self, PyObject *args) {
8396 PyObject *resultobj;
8397 ob::Screen *arg1 = (ob::Screen *) 0 ;
8398 PyObject * obj0 = 0 ;
8399
8400 if(!PyArg_ParseTuple(args,(char *)"O:Screen_manageExisting",&obj0)) goto fail;
8401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8402 (arg1)->manageExisting();
8403
8404 Py_INCREF(Py_None); resultobj = Py_None;
8405 return resultobj;
8406 fail:
8407 return NULL;
8408 }
8409
8410
8411 static PyObject *_wrap_Screen_manageWindow(PyObject *self, PyObject *args) {
8412 PyObject *resultobj;
8413 ob::Screen *arg1 = (ob::Screen *) 0 ;
8414 Window arg2 ;
8415 PyObject * obj0 = 0 ;
8416 PyObject * obj1 = 0 ;
8417
8418 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_manageWindow",&obj0,&obj1)) goto fail;
8419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8420 arg2 = (Window) PyInt_AsLong(obj1);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 (arg1)->manageWindow(arg2);
8423
8424 Py_INCREF(Py_None); resultobj = Py_None;
8425 return resultobj;
8426 fail:
8427 return NULL;
8428 }
8429
8430
8431 static PyObject *_wrap_Screen_unmanageWindow(PyObject *self, PyObject *args) {
8432 PyObject *resultobj;
8433 ob::Screen *arg1 = (ob::Screen *) 0 ;
8434 ob::Client *arg2 = (ob::Client *) 0 ;
8435 PyObject * obj0 = 0 ;
8436 PyObject * obj1 = 0 ;
8437
8438 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_unmanageWindow",&obj0,&obj1)) goto fail;
8439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8441 (arg1)->unmanageWindow(arg2);
8442
8443 Py_INCREF(Py_None); resultobj = Py_None;
8444 return resultobj;
8445 fail:
8446 return NULL;
8447 }
8448
8449
8450 static PyObject *_wrap_Screen_raiseWindow(PyObject *self, PyObject *args) {
8451 PyObject *resultobj;
8452 ob::Screen *arg1 = (ob::Screen *) 0 ;
8453 ob::Client *arg2 = (ob::Client *) 0 ;
8454 PyObject * obj0 = 0 ;
8455 PyObject * obj1 = 0 ;
8456
8457 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_raiseWindow",&obj0,&obj1)) goto fail;
8458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8459 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8460 (arg1)->raiseWindow(arg2);
8461
8462 Py_INCREF(Py_None); resultobj = Py_None;
8463 return resultobj;
8464 fail:
8465 return NULL;
8466 }
8467
8468
8469 static PyObject *_wrap_Screen_lowerWindow(PyObject *self, PyObject *args) {
8470 PyObject *resultobj;
8471 ob::Screen *arg1 = (ob::Screen *) 0 ;
8472 ob::Client *arg2 = (ob::Client *) 0 ;
8473 PyObject * obj0 = 0 ;
8474 PyObject * obj1 = 0 ;
8475
8476 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_lowerWindow",&obj0,&obj1)) goto fail;
8477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8479 (arg1)->lowerWindow(arg2);
8480
8481 Py_INCREF(Py_None); resultobj = Py_None;
8482 return resultobj;
8483 fail:
8484 return NULL;
8485 }
8486
8487
8488 static PyObject *_wrap_Screen_setDesktopName(PyObject *self, PyObject *args) {
8489 PyObject *resultobj;
8490 ob::Screen *arg1 = (ob::Screen *) 0 ;
8491 long arg2 ;
8492 otk::ustring *arg3 = 0 ;
8493 otk::ustring temp3 ;
8494 PyObject * obj0 = 0 ;
8495 PyObject * obj2 = 0 ;
8496
8497 if(!PyArg_ParseTuple(args,(char *)"OlO:Screen_setDesktopName",&obj0,&arg2,&obj2)) goto fail;
8498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8499 {
8500 if (PyString_Check(obj2)) {
8501 temp3 = otk::ustring(PyString_AsString(obj2));
8502 arg3 = &temp3;
8503 }else {
8504 SWIG_exception(SWIG_TypeError, "ustring expected");
8505 }
8506 }
8507 (arg1)->setDesktopName(arg2,(otk::ustring const &)*arg3);
8508
8509 Py_INCREF(Py_None); resultobj = Py_None;
8510 return resultobj;
8511 fail:
8512 return NULL;
8513 }
8514
8515
8516 static PyObject *_wrap_Screen_propertyHandler(PyObject *self, PyObject *args) {
8517 PyObject *resultobj;
8518 ob::Screen *arg1 = (ob::Screen *) 0 ;
8519 XPropertyEvent *arg2 = 0 ;
8520 PyObject * obj0 = 0 ;
8521 PyObject * obj1 = 0 ;
8522
8523 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_propertyHandler",&obj0,&obj1)) goto fail;
8524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8525 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8526 if (arg2 == NULL) {
8527 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8528 }
8529 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
8530
8531 Py_INCREF(Py_None); resultobj = Py_None;
8532 return resultobj;
8533 fail:
8534 return NULL;
8535 }
8536
8537
8538 static PyObject *_wrap_Screen_clientMessageHandler(PyObject *self, PyObject *args) {
8539 PyObject *resultobj;
8540 ob::Screen *arg1 = (ob::Screen *) 0 ;
8541 XClientMessageEvent *arg2 = 0 ;
8542 PyObject * obj0 = 0 ;
8543 PyObject * obj1 = 0 ;
8544
8545 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_clientMessageHandler",&obj0,&obj1)) goto fail;
8546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8548 if (arg2 == NULL) {
8549 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8550 }
8551 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
8552
8553 Py_INCREF(Py_None); resultobj = Py_None;
8554 return resultobj;
8555 fail:
8556 return NULL;
8557 }
8558
8559
8560 static PyObject *_wrap_Screen_mapRequestHandler(PyObject *self, PyObject *args) {
8561 PyObject *resultobj;
8562 ob::Screen *arg1 = (ob::Screen *) 0 ;
8563 XMapRequestEvent *arg2 = 0 ;
8564 PyObject * obj0 = 0 ;
8565 PyObject * obj1 = 0 ;
8566
8567 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_mapRequestHandler",&obj0,&obj1)) goto fail;
8568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8570 if (arg2 == NULL) {
8571 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8572 }
8573 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
8574
8575 Py_INCREF(Py_None); resultobj = Py_None;
8576 return resultobj;
8577 fail:
8578 return NULL;
8579 }
8580
8581
8582 static PyObject * Screen_swigregister(PyObject *self, PyObject *args) {
8583 PyObject *obj;
8584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8585 SWIG_TypeClientData(SWIGTYPE_p_ob__Screen, obj);
8586 Py_INCREF(obj);
8587 return Py_BuildValue((char *)"");
8588 }
8589 static PyObject *_wrap_MwmHints_flags_set(PyObject *self, PyObject *args) {
8590 PyObject *resultobj;
8591 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8592 unsigned long arg2 ;
8593 PyObject * obj0 = 0 ;
8594 PyObject * obj1 = 0 ;
8595
8596 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_flags_set",&obj0,&obj1)) goto fail;
8597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8598 arg2 = (unsigned long) PyInt_AsLong(obj1);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 if (arg1) (arg1)->flags = arg2;
8601
8602 Py_INCREF(Py_None); resultobj = Py_None;
8603 return resultobj;
8604 fail:
8605 return NULL;
8606 }
8607
8608
8609 static PyObject *_wrap_MwmHints_flags_get(PyObject *self, PyObject *args) {
8610 PyObject *resultobj;
8611 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8612 unsigned long result;
8613 PyObject * obj0 = 0 ;
8614
8615 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_flags_get",&obj0)) goto fail;
8616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8617 result = (unsigned long) ((arg1)->flags);
8618
8619 resultobj = PyInt_FromLong((long)result);
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 static PyObject *_wrap_MwmHints_functions_set(PyObject *self, PyObject *args) {
8627 PyObject *resultobj;
8628 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8629 unsigned long arg2 ;
8630 PyObject * obj0 = 0 ;
8631 PyObject * obj1 = 0 ;
8632
8633 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_functions_set",&obj0,&obj1)) goto fail;
8634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8635 arg2 = (unsigned long) PyInt_AsLong(obj1);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 if (arg1) (arg1)->functions = arg2;
8638
8639 Py_INCREF(Py_None); resultobj = Py_None;
8640 return resultobj;
8641 fail:
8642 return NULL;
8643 }
8644
8645
8646 static PyObject *_wrap_MwmHints_functions_get(PyObject *self, PyObject *args) {
8647 PyObject *resultobj;
8648 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8649 unsigned long result;
8650 PyObject * obj0 = 0 ;
8651
8652 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_functions_get",&obj0)) goto fail;
8653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8654 result = (unsigned long) ((arg1)->functions);
8655
8656 resultobj = PyInt_FromLong((long)result);
8657 return resultobj;
8658 fail:
8659 return NULL;
8660 }
8661
8662
8663 static PyObject *_wrap_MwmHints_decorations_set(PyObject *self, PyObject *args) {
8664 PyObject *resultobj;
8665 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8666 unsigned long arg2 ;
8667 PyObject * obj0 = 0 ;
8668 PyObject * obj1 = 0 ;
8669
8670 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_decorations_set",&obj0,&obj1)) goto fail;
8671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8672 arg2 = (unsigned long) PyInt_AsLong(obj1);
8673 if (PyErr_Occurred()) SWIG_fail;
8674 if (arg1) (arg1)->decorations = arg2;
8675
8676 Py_INCREF(Py_None); resultobj = Py_None;
8677 return resultobj;
8678 fail:
8679 return NULL;
8680 }
8681
8682
8683 static PyObject *_wrap_MwmHints_decorations_get(PyObject *self, PyObject *args) {
8684 PyObject *resultobj;
8685 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8686 unsigned long result;
8687 PyObject * obj0 = 0 ;
8688
8689 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_decorations_get",&obj0)) goto fail;
8690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8691 result = (unsigned long) ((arg1)->decorations);
8692
8693 resultobj = PyInt_FromLong((long)result);
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject * MwmHints_swigregister(PyObject *self, PyObject *args) {
8701 PyObject *obj;
8702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8703 SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints, obj);
8704 Py_INCREF(obj);
8705 return Py_BuildValue((char *)"");
8706 }
8707 static PyObject *_wrap_Client_frame_set(PyObject *self, PyObject *args) {
8708 PyObject *resultobj;
8709 ob::Client *arg1 = (ob::Client *) 0 ;
8710 ob::Frame *arg2 = (ob::Frame *) 0 ;
8711 PyObject * obj0 = 0 ;
8712 PyObject * obj1 = 0 ;
8713
8714 if(!PyArg_ParseTuple(args,(char *)"OO:Client_frame_set",&obj0,&obj1)) goto fail;
8715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
8717 if (arg1) (arg1)->frame = arg2;
8718
8719 Py_INCREF(Py_None); resultobj = Py_None;
8720 return resultobj;
8721 fail:
8722 return NULL;
8723 }
8724
8725
8726 static PyObject *_wrap_Client_frame_get(PyObject *self, PyObject *args) {
8727 PyObject *resultobj;
8728 ob::Client *arg1 = (ob::Client *) 0 ;
8729 ob::Frame *result;
8730 PyObject * obj0 = 0 ;
8731
8732 if(!PyArg_ParseTuple(args,(char *)"O:Client_frame_get",&obj0)) goto fail;
8733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8734 result = (ob::Frame *) ((arg1)->frame);
8735
8736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Frame, 0);
8737 return resultobj;
8738 fail:
8739 return NULL;
8740 }
8741
8742
8743 static PyObject *_wrap_Client_ignore_unmaps_set(PyObject *self, PyObject *args) {
8744 PyObject *resultobj;
8745 ob::Client *arg1 = (ob::Client *) 0 ;
8746 int arg2 ;
8747 PyObject * obj0 = 0 ;
8748
8749 if(!PyArg_ParseTuple(args,(char *)"Oi:Client_ignore_unmaps_set",&obj0,&arg2)) goto fail;
8750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8751 if (arg1) (arg1)->ignore_unmaps = arg2;
8752
8753 Py_INCREF(Py_None); resultobj = Py_None;
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_Client_ignore_unmaps_get(PyObject *self, PyObject *args) {
8761 PyObject *resultobj;
8762 ob::Client *arg1 = (ob::Client *) 0 ;
8763 int result;
8764 PyObject * obj0 = 0 ;
8765
8766 if(!PyArg_ParseTuple(args,(char *)"O:Client_ignore_unmaps_get",&obj0)) goto fail;
8767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8768 result = (int) ((arg1)->ignore_unmaps);
8769
8770 resultobj = PyInt_FromLong((long)result);
8771 return resultobj;
8772 fail:
8773 return NULL;
8774 }
8775
8776
8777 static PyObject *_wrap_Client_screen(PyObject *self, PyObject *args) {
8778 PyObject *resultobj;
8779 ob::Client *arg1 = (ob::Client *) 0 ;
8780 int result;
8781 PyObject * obj0 = 0 ;
8782
8783 if(!PyArg_ParseTuple(args,(char *)"O:Client_screen",&obj0)) goto fail;
8784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8785 result = (int)((ob::Client const *)arg1)->screen();
8786
8787 resultobj = PyInt_FromLong((long)result);
8788 return resultobj;
8789 fail:
8790 return NULL;
8791 }
8792
8793
8794 static PyObject *_wrap_Client_window(PyObject *self, PyObject *args) {
8795 PyObject *resultobj;
8796 ob::Client *arg1 = (ob::Client *) 0 ;
8797 Window result;
8798 PyObject * obj0 = 0 ;
8799
8800 if(!PyArg_ParseTuple(args,(char *)"O:Client_window",&obj0)) goto fail;
8801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8802 result = (Window)((ob::Client const *)arg1)->window();
8803
8804 resultobj = PyInt_FromLong((long)result);
8805 return resultobj;
8806 fail:
8807 return NULL;
8808 }
8809
8810
8811 static PyObject *_wrap_Client_type(PyObject *self, PyObject *args) {
8812 PyObject *resultobj;
8813 ob::Client *arg1 = (ob::Client *) 0 ;
8814 int result;
8815 PyObject * obj0 = 0 ;
8816
8817 if(!PyArg_ParseTuple(args,(char *)"O:Client_type",&obj0)) goto fail;
8818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8819 result = (int)((ob::Client const *)arg1)->type();
8820
8821 resultobj = PyInt_FromLong((long)result);
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_Client_normal(PyObject *self, PyObject *args) {
8829 PyObject *resultobj;
8830 ob::Client *arg1 = (ob::Client *) 0 ;
8831 bool result;
8832 PyObject * obj0 = 0 ;
8833
8834 if(!PyArg_ParseTuple(args,(char *)"O:Client_normal",&obj0)) goto fail;
8835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8836 result = (bool)((ob::Client const *)arg1)->normal();
8837
8838 resultobj = PyInt_FromLong((long)result);
8839 return resultobj;
8840 fail:
8841 return NULL;
8842 }
8843
8844
8845 static PyObject *_wrap_Client_desktop(PyObject *self, PyObject *args) {
8846 PyObject *resultobj;
8847 ob::Client *arg1 = (ob::Client *) 0 ;
8848 long result;
8849 PyObject * obj0 = 0 ;
8850
8851 if(!PyArg_ParseTuple(args,(char *)"O:Client_desktop",&obj0)) goto fail;
8852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8853 result = (long)((ob::Client const *)arg1)->desktop();
8854
8855 resultobj = PyInt_FromLong((long)result);
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_Client_title(PyObject *self, PyObject *args) {
8863 PyObject *resultobj;
8864 ob::Client *arg1 = (ob::Client *) 0 ;
8865 otk::ustring *result;
8866 PyObject * obj0 = 0 ;
8867
8868 if(!PyArg_ParseTuple(args,(char *)"O:Client_title",&obj0)) goto fail;
8869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8870 {
8871 otk::ustring const &_result_ref = ((ob::Client const *)arg1)->title();
8872 result = (otk::ustring *) &_result_ref;
8873 }
8874
8875 {
8876 resultobj = PyString_FromString(result->c_str());
8877 }
8878 return resultobj;
8879 fail:
8880 return NULL;
8881 }
8882
8883
8884 static PyObject *_wrap_Client_iconTitle(PyObject *self, PyObject *args) {
8885 PyObject *resultobj;
8886 ob::Client *arg1 = (ob::Client *) 0 ;
8887 otk::ustring *result;
8888 PyObject * obj0 = 0 ;
8889
8890 if(!PyArg_ParseTuple(args,(char *)"O:Client_iconTitle",&obj0)) goto fail;
8891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8892 {
8893 otk::ustring const &_result_ref = ((ob::Client const *)arg1)->iconTitle();
8894 result = (otk::ustring *) &_result_ref;
8895 }
8896
8897 {
8898 resultobj = PyString_FromString(result->c_str());
8899 }
8900 return resultobj;
8901 fail:
8902 return NULL;
8903 }
8904
8905
8906 static PyObject *_wrap_Client_appName(PyObject *self, PyObject *args) {
8907 PyObject *resultobj;
8908 ob::Client *arg1 = (ob::Client *) 0 ;
8909 std::string *result;
8910 PyObject * obj0 = 0 ;
8911
8912 if(!PyArg_ParseTuple(args,(char *)"O:Client_appName",&obj0)) goto fail;
8913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8914 {
8915 std::string const &_result_ref = ((ob::Client const *)arg1)->appName();
8916 result = (std::string *) &_result_ref;
8917 }
8918
8919 {
8920 resultobj = PyString_FromString(result->c_str());
8921 }
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 static PyObject *_wrap_Client_appClass(PyObject *self, PyObject *args) {
8929 PyObject *resultobj;
8930 ob::Client *arg1 = (ob::Client *) 0 ;
8931 std::string *result;
8932 PyObject * obj0 = 0 ;
8933
8934 if(!PyArg_ParseTuple(args,(char *)"O:Client_appClass",&obj0)) goto fail;
8935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8936 {
8937 std::string const &_result_ref = ((ob::Client const *)arg1)->appClass();
8938 result = (std::string *) &_result_ref;
8939 }
8940
8941 {
8942 resultobj = PyString_FromString(result->c_str());
8943 }
8944 return resultobj;
8945 fail:
8946 return NULL;
8947 }
8948
8949
8950 static PyObject *_wrap_Client_role(PyObject *self, PyObject *args) {
8951 PyObject *resultobj;
8952 ob::Client *arg1 = (ob::Client *) 0 ;
8953 std::string *result;
8954 PyObject * obj0 = 0 ;
8955
8956 if(!PyArg_ParseTuple(args,(char *)"O:Client_role",&obj0)) goto fail;
8957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8958 {
8959 std::string const &_result_ref = ((ob::Client const *)arg1)->role();
8960 result = (std::string *) &_result_ref;
8961 }
8962
8963 {
8964 resultobj = PyString_FromString(result->c_str());
8965 }
8966 return resultobj;
8967 fail:
8968 return NULL;
8969 }
8970
8971
8972 static PyObject *_wrap_Client_canFocus(PyObject *self, PyObject *args) {
8973 PyObject *resultobj;
8974 ob::Client *arg1 = (ob::Client *) 0 ;
8975 bool result;
8976 PyObject * obj0 = 0 ;
8977
8978 if(!PyArg_ParseTuple(args,(char *)"O:Client_canFocus",&obj0)) goto fail;
8979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8980 result = (bool)((ob::Client const *)arg1)->canFocus();
8981
8982 resultobj = PyInt_FromLong((long)result);
8983 return resultobj;
8984 fail:
8985 return NULL;
8986 }
8987
8988
8989 static PyObject *_wrap_Client_urgent(PyObject *self, PyObject *args) {
8990 PyObject *resultobj;
8991 ob::Client *arg1 = (ob::Client *) 0 ;
8992 bool result;
8993 PyObject * obj0 = 0 ;
8994
8995 if(!PyArg_ParseTuple(args,(char *)"O:Client_urgent",&obj0)) goto fail;
8996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8997 result = (bool)((ob::Client const *)arg1)->urgent();
8998
8999 resultobj = PyInt_FromLong((long)result);
9000 return resultobj;
9001 fail:
9002 return NULL;
9003 }
9004
9005
9006 static PyObject *_wrap_Client_focusNotify(PyObject *self, PyObject *args) {
9007 PyObject *resultobj;
9008 ob::Client *arg1 = (ob::Client *) 0 ;
9009 bool result;
9010 PyObject * obj0 = 0 ;
9011
9012 if(!PyArg_ParseTuple(args,(char *)"O:Client_focusNotify",&obj0)) goto fail;
9013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9014 result = (bool)((ob::Client const *)arg1)->focusNotify();
9015
9016 resultobj = PyInt_FromLong((long)result);
9017 return resultobj;
9018 fail:
9019 return NULL;
9020 }
9021
9022
9023 static PyObject *_wrap_Client_shaped(PyObject *self, PyObject *args) {
9024 PyObject *resultobj;
9025 ob::Client *arg1 = (ob::Client *) 0 ;
9026 bool result;
9027 PyObject * obj0 = 0 ;
9028
9029 if(!PyArg_ParseTuple(args,(char *)"O:Client_shaped",&obj0)) goto fail;
9030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9031 result = (bool)((ob::Client const *)arg1)->shaped();
9032
9033 resultobj = PyInt_FromLong((long)result);
9034 return resultobj;
9035 fail:
9036 return NULL;
9037 }
9038
9039
9040 static PyObject *_wrap_Client_gravity(PyObject *self, PyObject *args) {
9041 PyObject *resultobj;
9042 ob::Client *arg1 = (ob::Client *) 0 ;
9043 int result;
9044 PyObject * obj0 = 0 ;
9045
9046 if(!PyArg_ParseTuple(args,(char *)"O:Client_gravity",&obj0)) goto fail;
9047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9048 result = (int)((ob::Client const *)arg1)->gravity();
9049
9050 resultobj = PyInt_FromLong((long)result);
9051 return resultobj;
9052 fail:
9053 return NULL;
9054 }
9055
9056
9057 static PyObject *_wrap_Client_positionRequested(PyObject *self, PyObject *args) {
9058 PyObject *resultobj;
9059 ob::Client *arg1 = (ob::Client *) 0 ;
9060 bool result;
9061 PyObject * obj0 = 0 ;
9062
9063 if(!PyArg_ParseTuple(args,(char *)"O:Client_positionRequested",&obj0)) goto fail;
9064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9065 result = (bool)((ob::Client const *)arg1)->positionRequested();
9066
9067 resultobj = PyInt_FromLong((long)result);
9068 return resultobj;
9069 fail:
9070 return NULL;
9071 }
9072
9073
9074 static PyObject *_wrap_Client_decorations(PyObject *self, PyObject *args) {
9075 PyObject *resultobj;
9076 ob::Client *arg1 = (ob::Client *) 0 ;
9077 ob::Client::DecorationFlags result;
9078 PyObject * obj0 = 0 ;
9079
9080 if(!PyArg_ParseTuple(args,(char *)"O:Client_decorations",&obj0)) goto fail;
9081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9082 result = (ob::Client::DecorationFlags)((ob::Client const *)arg1)->decorations();
9083
9084 resultobj = PyInt_FromLong((long)result);
9085 return resultobj;
9086 fail:
9087 return NULL;
9088 }
9089
9090
9091 static PyObject *_wrap_Client_funtions(PyObject *self, PyObject *args) {
9092 PyObject *resultobj;
9093 ob::Client *arg1 = (ob::Client *) 0 ;
9094 ob::Client::FunctionFlags result;
9095 PyObject * obj0 = 0 ;
9096
9097 if(!PyArg_ParseTuple(args,(char *)"O:Client_funtions",&obj0)) goto fail;
9098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9099 result = (ob::Client::FunctionFlags)((ob::Client const *)arg1)->funtions();
9100
9101 resultobj = PyInt_FromLong((long)result);
9102 return resultobj;
9103 fail:
9104 return NULL;
9105 }
9106
9107
9108 static PyObject *_wrap_Client_transientFor(PyObject *self, PyObject *args) {
9109 PyObject *resultobj;
9110 ob::Client *arg1 = (ob::Client *) 0 ;
9111 ob::Client *result;
9112 PyObject * obj0 = 0 ;
9113
9114 if(!PyArg_ParseTuple(args,(char *)"O:Client_transientFor",&obj0)) goto fail;
9115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9116 result = (ob::Client *)((ob::Client const *)arg1)->transientFor();
9117
9118 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_Client_modal(PyObject *self, PyObject *args) {
9126 PyObject *resultobj;
9127 ob::Client *arg1 = (ob::Client *) 0 ;
9128 bool result;
9129 PyObject * obj0 = 0 ;
9130
9131 if(!PyArg_ParseTuple(args,(char *)"O:Client_modal",&obj0)) goto fail;
9132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9133 result = (bool)((ob::Client const *)arg1)->modal();
9134
9135 resultobj = PyInt_FromLong((long)result);
9136 return resultobj;
9137 fail:
9138 return NULL;
9139 }
9140
9141
9142 static PyObject *_wrap_Client_shaded(PyObject *self, PyObject *args) {
9143 PyObject *resultobj;
9144 ob::Client *arg1 = (ob::Client *) 0 ;
9145 bool result;
9146 PyObject * obj0 = 0 ;
9147
9148 if(!PyArg_ParseTuple(args,(char *)"O:Client_shaded",&obj0)) goto fail;
9149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9150 result = (bool)((ob::Client const *)arg1)->shaded();
9151
9152 resultobj = PyInt_FromLong((long)result);
9153 return resultobj;
9154 fail:
9155 return NULL;
9156 }
9157
9158
9159 static PyObject *_wrap_Client_fullscreen(PyObject *self, PyObject *args) {
9160 PyObject *resultobj;
9161 ob::Client *arg1 = (ob::Client *) 0 ;
9162 bool result;
9163 PyObject * obj0 = 0 ;
9164
9165 if(!PyArg_ParseTuple(args,(char *)"O:Client_fullscreen",&obj0)) goto fail;
9166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9167 result = (bool)((ob::Client const *)arg1)->fullscreen();
9168
9169 resultobj = PyInt_FromLong((long)result);
9170 return resultobj;
9171 fail:
9172 return NULL;
9173 }
9174
9175
9176 static PyObject *_wrap_Client_iconic(PyObject *self, PyObject *args) {
9177 PyObject *resultobj;
9178 ob::Client *arg1 = (ob::Client *) 0 ;
9179 bool result;
9180 PyObject * obj0 = 0 ;
9181
9182 if(!PyArg_ParseTuple(args,(char *)"O:Client_iconic",&obj0)) goto fail;
9183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9184 result = (bool)((ob::Client const *)arg1)->iconic();
9185
9186 resultobj = PyInt_FromLong((long)result);
9187 return resultobj;
9188 fail:
9189 return NULL;
9190 }
9191
9192
9193 static PyObject *_wrap_Client_maxVert(PyObject *self, PyObject *args) {
9194 PyObject *resultobj;
9195 ob::Client *arg1 = (ob::Client *) 0 ;
9196 bool result;
9197 PyObject * obj0 = 0 ;
9198
9199 if(!PyArg_ParseTuple(args,(char *)"O:Client_maxVert",&obj0)) goto fail;
9200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9201 result = (bool)((ob::Client const *)arg1)->maxVert();
9202
9203 resultobj = PyInt_FromLong((long)result);
9204 return resultobj;
9205 fail:
9206 return NULL;
9207 }
9208
9209
9210 static PyObject *_wrap_Client_maxHorz(PyObject *self, PyObject *args) {
9211 PyObject *resultobj;
9212 ob::Client *arg1 = (ob::Client *) 0 ;
9213 bool result;
9214 PyObject * obj0 = 0 ;
9215
9216 if(!PyArg_ParseTuple(args,(char *)"O:Client_maxHorz",&obj0)) goto fail;
9217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9218 result = (bool)((ob::Client const *)arg1)->maxHorz();
9219
9220 resultobj = PyInt_FromLong((long)result);
9221 return resultobj;
9222 fail:
9223 return NULL;
9224 }
9225
9226
9227 static PyObject *_wrap_Client_layer(PyObject *self, PyObject *args) {
9228 PyObject *resultobj;
9229 ob::Client *arg1 = (ob::Client *) 0 ;
9230 int result;
9231 PyObject * obj0 = 0 ;
9232
9233 if(!PyArg_ParseTuple(args,(char *)"O:Client_layer",&obj0)) goto fail;
9234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9235 result = (int)((ob::Client const *)arg1)->layer();
9236
9237 resultobj = PyInt_FromLong((long)result);
9238 return resultobj;
9239 fail:
9240 return NULL;
9241 }
9242
9243
9244 static PyObject *_wrap_Client_applyStartupState(PyObject *self, PyObject *args) {
9245 PyObject *resultobj;
9246 ob::Client *arg1 = (ob::Client *) 0 ;
9247 PyObject * obj0 = 0 ;
9248
9249 if(!PyArg_ParseTuple(args,(char *)"O:Client_applyStartupState",&obj0)) goto fail;
9250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9251 (arg1)->applyStartupState();
9252
9253 Py_INCREF(Py_None); resultobj = Py_None;
9254 return resultobj;
9255 fail:
9256 return NULL;
9257 }
9258
9259
9260 static PyObject *_wrap_Client_toggleClientBorder(PyObject *self, PyObject *args) {
9261 PyObject *resultobj;
9262 ob::Client *arg1 = (ob::Client *) 0 ;
9263 bool arg2 ;
9264 PyObject * obj0 = 0 ;
9265 PyObject * obj1 = 0 ;
9266
9267 if(!PyArg_ParseTuple(args,(char *)"OO:Client_toggleClientBorder",&obj0,&obj1)) goto fail;
9268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9269 arg2 = (bool) PyInt_AsLong(obj1);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 (arg1)->toggleClientBorder(arg2);
9272
9273 Py_INCREF(Py_None); resultobj = Py_None;
9274 return resultobj;
9275 fail:
9276 return NULL;
9277 }
9278
9279
9280 static PyObject *_wrap_Client_area(PyObject *self, PyObject *args) {
9281 PyObject *resultobj;
9282 ob::Client *arg1 = (ob::Client *) 0 ;
9283 otk::Rect *result;
9284 PyObject * obj0 = 0 ;
9285
9286 if(!PyArg_ParseTuple(args,(char *)"O:Client_area",&obj0)) goto fail;
9287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9288 {
9289 otk::Rect const &_result_ref = ((ob::Client const *)arg1)->area();
9290 result = (otk::Rect *) &_result_ref;
9291 }
9292
9293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
9294 return resultobj;
9295 fail:
9296 return NULL;
9297 }
9298
9299
9300 static PyObject *_wrap_Client_strut(PyObject *self, PyObject *args) {
9301 PyObject *resultobj;
9302 ob::Client *arg1 = (ob::Client *) 0 ;
9303 otk::Strut *result;
9304 PyObject * obj0 = 0 ;
9305
9306 if(!PyArg_ParseTuple(args,(char *)"O:Client_strut",&obj0)) goto fail;
9307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9308 {
9309 otk::Strut const &_result_ref = ((ob::Client const *)arg1)->strut();
9310 result = (otk::Strut *) &_result_ref;
9311 }
9312
9313 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
9314 return resultobj;
9315 fail:
9316 return NULL;
9317 }
9318
9319
9320 static PyObject *_wrap_Client_move(PyObject *self, PyObject *args) {
9321 PyObject *resultobj;
9322 ob::Client *arg1 = (ob::Client *) 0 ;
9323 int arg2 ;
9324 int arg3 ;
9325 PyObject * obj0 = 0 ;
9326
9327 if(!PyArg_ParseTuple(args,(char *)"Oii:Client_move",&obj0,&arg2,&arg3)) goto fail;
9328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9329 (arg1)->move(arg2,arg3);
9330
9331 Py_INCREF(Py_None); resultobj = Py_None;
9332 return resultobj;
9333 fail:
9334 return NULL;
9335 }
9336
9337
9338 static PyObject *_wrap_Client_resize(PyObject *self, PyObject *args) {
9339 PyObject *resultobj;
9340 ob::Client *arg1 = (ob::Client *) 0 ;
9341 int arg2 ;
9342 int arg3 ;
9343 int arg4 ;
9344 PyObject * obj0 = 0 ;
9345
9346 if(!PyArg_ParseTuple(args,(char *)"Oiii:Client_resize",&obj0,&arg2,&arg3,&arg4)) goto fail;
9347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9348 (arg1)->resize((ob::Client::Corner )arg2,arg3,arg4);
9349
9350 Py_INCREF(Py_None); resultobj = Py_None;
9351 return resultobj;
9352 fail:
9353 return NULL;
9354 }
9355
9356
9357 static PyObject *_wrap_Client_focus(PyObject *self, PyObject *args) {
9358 PyObject *resultobj;
9359 ob::Client *arg1 = (ob::Client *) 0 ;
9360 bool result;
9361 PyObject * obj0 = 0 ;
9362
9363 if(!PyArg_ParseTuple(args,(char *)"O:Client_focus",&obj0)) goto fail;
9364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9365 result = (bool)(arg1)->focus();
9366
9367 resultobj = PyInt_FromLong((long)result);
9368 return resultobj;
9369 fail:
9370 return NULL;
9371 }
9372
9373
9374 static PyObject *_wrap_Client_unfocus(PyObject *self, PyObject *args) {
9375 PyObject *resultobj;
9376 ob::Client *arg1 = (ob::Client *) 0 ;
9377 PyObject * obj0 = 0 ;
9378
9379 if(!PyArg_ParseTuple(args,(char *)"O:Client_unfocus",&obj0)) goto fail;
9380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9381 ((ob::Client const *)arg1)->unfocus();
9382
9383 Py_INCREF(Py_None); resultobj = Py_None;
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_Client_focusHandler(PyObject *self, PyObject *args) {
9391 PyObject *resultobj;
9392 ob::Client *arg1 = (ob::Client *) 0 ;
9393 XFocusChangeEvent *arg2 = 0 ;
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396
9397 if(!PyArg_ParseTuple(args,(char *)"OO:Client_focusHandler",&obj0,&obj1)) goto fail;
9398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9400 if (arg2 == NULL) {
9401 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9402 }
9403 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
9404
9405 Py_INCREF(Py_None); resultobj = Py_None;
9406 return resultobj;
9407 fail:
9408 return NULL;
9409 }
9410
9411
9412 static PyObject *_wrap_Client_unfocusHandler(PyObject *self, PyObject *args) {
9413 PyObject *resultobj;
9414 ob::Client *arg1 = (ob::Client *) 0 ;
9415 XFocusChangeEvent *arg2 = 0 ;
9416 PyObject * obj0 = 0 ;
9417 PyObject * obj1 = 0 ;
9418
9419 if(!PyArg_ParseTuple(args,(char *)"OO:Client_unfocusHandler",&obj0,&obj1)) goto fail;
9420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9422 if (arg2 == NULL) {
9423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9424 }
9425 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
9426
9427 Py_INCREF(Py_None); resultobj = Py_None;
9428 return resultobj;
9429 fail:
9430 return NULL;
9431 }
9432
9433
9434 static PyObject *_wrap_Client_propertyHandler(PyObject *self, PyObject *args) {
9435 PyObject *resultobj;
9436 ob::Client *arg1 = (ob::Client *) 0 ;
9437 XPropertyEvent *arg2 = 0 ;
9438 PyObject * obj0 = 0 ;
9439 PyObject * obj1 = 0 ;
9440
9441 if(!PyArg_ParseTuple(args,(char *)"OO:Client_propertyHandler",&obj0,&obj1)) goto fail;
9442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9444 if (arg2 == NULL) {
9445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9446 }
9447 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
9448
9449 Py_INCREF(Py_None); resultobj = Py_None;
9450 return resultobj;
9451 fail:
9452 return NULL;
9453 }
9454
9455
9456 static PyObject *_wrap_Client_clientMessageHandler(PyObject *self, PyObject *args) {
9457 PyObject *resultobj;
9458 ob::Client *arg1 = (ob::Client *) 0 ;
9459 XClientMessageEvent *arg2 = 0 ;
9460 PyObject * obj0 = 0 ;
9461 PyObject * obj1 = 0 ;
9462
9463 if(!PyArg_ParseTuple(args,(char *)"OO:Client_clientMessageHandler",&obj0,&obj1)) goto fail;
9464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9465 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9466 if (arg2 == NULL) {
9467 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9468 }
9469 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
9470
9471 Py_INCREF(Py_None); resultobj = Py_None;
9472 return resultobj;
9473 fail:
9474 return NULL;
9475 }
9476
9477
9478 static PyObject *_wrap_Client_configureRequestHandler(PyObject *self, PyObject *args) {
9479 PyObject *resultobj;
9480 ob::Client *arg1 = (ob::Client *) 0 ;
9481 XConfigureRequestEvent *arg2 = 0 ;
9482 PyObject * obj0 = 0 ;
9483 PyObject * obj1 = 0 ;
9484
9485 if(!PyArg_ParseTuple(args,(char *)"OO:Client_configureRequestHandler",&obj0,&obj1)) goto fail;
9486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9488 if (arg2 == NULL) {
9489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9490 }
9491 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
9492
9493 Py_INCREF(Py_None); resultobj = Py_None;
9494 return resultobj;
9495 fail:
9496 return NULL;
9497 }
9498
9499
9500 static PyObject *_wrap_Client_unmapHandler(PyObject *self, PyObject *args) {
9501 PyObject *resultobj;
9502 ob::Client *arg1 = (ob::Client *) 0 ;
9503 XUnmapEvent *arg2 = 0 ;
9504 PyObject * obj0 = 0 ;
9505 PyObject * obj1 = 0 ;
9506
9507 if(!PyArg_ParseTuple(args,(char *)"OO:Client_unmapHandler",&obj0,&obj1)) goto fail;
9508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9510 if (arg2 == NULL) {
9511 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9512 }
9513 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
9514
9515 Py_INCREF(Py_None); resultobj = Py_None;
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 static PyObject *_wrap_Client_destroyHandler(PyObject *self, PyObject *args) {
9523 PyObject *resultobj;
9524 ob::Client *arg1 = (ob::Client *) 0 ;
9525 XDestroyWindowEvent *arg2 = 0 ;
9526 PyObject * obj0 = 0 ;
9527 PyObject * obj1 = 0 ;
9528
9529 if(!PyArg_ParseTuple(args,(char *)"OO:Client_destroyHandler",&obj0,&obj1)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9532 if (arg2 == NULL) {
9533 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9534 }
9535 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
9536
9537 Py_INCREF(Py_None); resultobj = Py_None;
9538 return resultobj;
9539 fail:
9540 return NULL;
9541 }
9542
9543
9544 static PyObject *_wrap_Client_reparentHandler(PyObject *self, PyObject *args) {
9545 PyObject *resultobj;
9546 ob::Client *arg1 = (ob::Client *) 0 ;
9547 XReparentEvent *arg2 = 0 ;
9548 PyObject * obj0 = 0 ;
9549 PyObject * obj1 = 0 ;
9550
9551 if(!PyArg_ParseTuple(args,(char *)"OO:Client_reparentHandler",&obj0,&obj1)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9554 if (arg2 == NULL) {
9555 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9556 }
9557 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
9558
9559 Py_INCREF(Py_None); resultobj = Py_None;
9560 return resultobj;
9561 fail:
9562 return NULL;
9563 }
9564
9565
9566 static PyObject *_wrap_Client_mapRequestHandler(PyObject *self, PyObject *args) {
9567 PyObject *resultobj;
9568 ob::Client *arg1 = (ob::Client *) 0 ;
9569 XMapRequestEvent *arg2 = 0 ;
9570 PyObject * obj0 = 0 ;
9571 PyObject * obj1 = 0 ;
9572
9573 if(!PyArg_ParseTuple(args,(char *)"OO:Client_mapRequestHandler",&obj0,&obj1)) goto fail;
9574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9575 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9576 if (arg2 == NULL) {
9577 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9578 }
9579 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
9580
9581 Py_INCREF(Py_None); resultobj = Py_None;
9582 return resultobj;
9583 fail:
9584 return NULL;
9585 }
9586
9587
9588 static PyObject * Client_swigregister(PyObject *self, PyObject *args) {
9589 PyObject *obj;
9590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9591 SWIG_TypeClientData(SWIGTYPE_p_ob__Client, obj);
9592 Py_INCREF(obj);
9593 return Py_BuildValue((char *)"");
9594 }
9595 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args) {
9596 PyObject *resultobj;
9597 ob::Client *arg1 = (ob::Client *) 0 ;
9598 otk::RenderStyle *arg2 = (otk::RenderStyle *) 0 ;
9599 ob::Frame *result;
9600 PyObject * obj0 = 0 ;
9601 PyObject * obj1 = 0 ;
9602
9603 if(!PyArg_ParseTuple(args,(char *)"OO:new_Frame",&obj0,&obj1)) goto fail;
9604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__RenderStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9606 result = (ob::Frame *)new ob::Frame(arg1,arg2);
9607
9608 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Frame, 1);
9609 return resultobj;
9610 fail:
9611 return NULL;
9612 }
9613
9614
9615 static PyObject *_wrap_delete_Frame(PyObject *self, PyObject *args) {
9616 PyObject *resultobj;
9617 ob::Frame *arg1 = (ob::Frame *) 0 ;
9618 PyObject * obj0 = 0 ;
9619
9620 if(!PyArg_ParseTuple(args,(char *)"O:delete_Frame",&obj0)) goto fail;
9621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9622 delete arg1;
9623
9624 Py_INCREF(Py_None); resultobj = Py_None;
9625 return resultobj;
9626 fail:
9627 return NULL;
9628 }
9629
9630
9631 static PyObject *_wrap_Frame_size(PyObject *self, PyObject *args) {
9632 PyObject *resultobj;
9633 ob::Frame *arg1 = (ob::Frame *) 0 ;
9634 otk::Strut *result;
9635 PyObject * obj0 = 0 ;
9636
9637 if(!PyArg_ParseTuple(args,(char *)"O:Frame_size",&obj0)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9639 {
9640 otk::Strut const &_result_ref = ((ob::Frame const *)arg1)->size();
9641 result = (otk::Strut *) &_result_ref;
9642 }
9643
9644 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
9645 return resultobj;
9646 fail:
9647 return NULL;
9648 }
9649
9650
9651 static PyObject *_wrap_Frame_setStyle(PyObject *self, PyObject *args) {
9652 PyObject *resultobj;
9653 ob::Frame *arg1 = (ob::Frame *) 0 ;
9654 otk::RenderStyle *arg2 = (otk::RenderStyle *) 0 ;
9655 PyObject * obj0 = 0 ;
9656 PyObject * obj1 = 0 ;
9657
9658 if(!PyArg_ParseTuple(args,(char *)"OO:Frame_setStyle",&obj0,&obj1)) goto fail;
9659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__RenderStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9661 (arg1)->setStyle(arg2);
9662
9663 Py_INCREF(Py_None); resultobj = Py_None;
9664 return resultobj;
9665 fail:
9666 return NULL;
9667 }
9668
9669
9670 static PyObject *_wrap_Frame_adjust(PyObject *self, PyObject *args) {
9671 PyObject *resultobj;
9672 ob::Frame *arg1 = (ob::Frame *) 0 ;
9673 PyObject * obj0 = 0 ;
9674
9675 if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjust",&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9677 (arg1)->adjust();
9678
9679 Py_INCREF(Py_None); resultobj = Py_None;
9680 return resultobj;
9681 fail:
9682 return NULL;
9683 }
9684
9685
9686 static PyObject *_wrap_Frame_focus(PyObject *self, PyObject *args) {
9687 PyObject *resultobj;
9688 ob::Frame *arg1 = (ob::Frame *) 0 ;
9689 PyObject * obj0 = 0 ;
9690
9691 if(!PyArg_ParseTuple(args,(char *)"O:Frame_focus",&obj0)) goto fail;
9692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9693 (arg1)->focus();
9694
9695 Py_INCREF(Py_None); resultobj = Py_None;
9696 return resultobj;
9697 fail:
9698 return NULL;
9699 }
9700
9701
9702 static PyObject *_wrap_Frame_unfocus(PyObject *self, PyObject *args) {
9703 PyObject *resultobj;
9704 ob::Frame *arg1 = (ob::Frame *) 0 ;
9705 PyObject * obj0 = 0 ;
9706
9707 if(!PyArg_ParseTuple(args,(char *)"O:Frame_unfocus",&obj0)) goto fail;
9708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9709 (arg1)->unfocus();
9710
9711 Py_INCREF(Py_None); resultobj = Py_None;
9712 return resultobj;
9713 fail:
9714 return NULL;
9715 }
9716
9717
9718 static PyObject *_wrap_Frame_setTitle(PyObject *self, PyObject *args) {
9719 PyObject *resultobj;
9720 ob::Frame *arg1 = (ob::Frame *) 0 ;
9721 otk::ustring *arg2 = 0 ;
9722 otk::ustring temp2 ;
9723 PyObject * obj0 = 0 ;
9724 PyObject * obj1 = 0 ;
9725
9726 if(!PyArg_ParseTuple(args,(char *)"OO:Frame_setTitle",&obj0,&obj1)) goto fail;
9727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9728 {
9729 if (PyString_Check(obj1)) {
9730 temp2 = otk::ustring(PyString_AsString(obj1));
9731 arg2 = &temp2;
9732 }else {
9733 SWIG_exception(SWIG_TypeError, "ustring expected");
9734 }
9735 }
9736 (arg1)->setTitle((otk::ustring const &)*arg2);
9737
9738 Py_INCREF(Py_None); resultobj = Py_None;
9739 return resultobj;
9740 fail:
9741 return NULL;
9742 }
9743
9744
9745 static PyObject *_wrap_Frame_grabClient(PyObject *self, PyObject *args) {
9746 PyObject *resultobj;
9747 ob::Frame *arg1 = (ob::Frame *) 0 ;
9748 PyObject * obj0 = 0 ;
9749
9750 if(!PyArg_ParseTuple(args,(char *)"O:Frame_grabClient",&obj0)) goto fail;
9751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9752 (arg1)->grabClient();
9753
9754 Py_INCREF(Py_None); resultobj = Py_None;
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 static PyObject *_wrap_Frame_releaseClient(PyObject *self, PyObject *args) {
9762 PyObject *resultobj;
9763 ob::Frame *arg1 = (ob::Frame *) 0 ;
9764 PyObject * obj0 = 0 ;
9765
9766 if(!PyArg_ParseTuple(args,(char *)"O:Frame_releaseClient",&obj0)) goto fail;
9767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9768 (arg1)->releaseClient();
9769
9770 Py_INCREF(Py_None); resultobj = Py_None;
9771 return resultobj;
9772 fail:
9773 return NULL;
9774 }
9775
9776
9777 static PyObject *_wrap_Frame_adjustSize(PyObject *self, PyObject *args) {
9778 PyObject *resultobj;
9779 ob::Frame *arg1 = (ob::Frame *) 0 ;
9780 PyObject * obj0 = 0 ;
9781
9782 if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjustSize",&obj0)) goto fail;
9783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9784 (arg1)->adjustSize();
9785
9786 Py_INCREF(Py_None); resultobj = Py_None;
9787 return resultobj;
9788 fail:
9789 return NULL;
9790 }
9791
9792
9793 static PyObject *_wrap_Frame_adjustPosition(PyObject *self, PyObject *args) {
9794 PyObject *resultobj;
9795 ob::Frame *arg1 = (ob::Frame *) 0 ;
9796 PyObject * obj0 = 0 ;
9797
9798 if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjustPosition",&obj0)) goto fail;
9799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9800 (arg1)->adjustPosition();
9801
9802 Py_INCREF(Py_None); resultobj = Py_None;
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 static PyObject *_wrap_Frame_adjustShape(PyObject *self, PyObject *args) {
9810 PyObject *resultobj;
9811 ob::Frame *arg1 = (ob::Frame *) 0 ;
9812 PyObject * obj0 = 0 ;
9813
9814 if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjustShape",&obj0)) goto fail;
9815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9816 (arg1)->adjustShape();
9817
9818 Py_INCREF(Py_None); resultobj = Py_None;
9819 return resultobj;
9820 fail:
9821 return NULL;
9822 }
9823
9824
9825 static PyObject *_wrap_Frame_adjustState(PyObject *self, PyObject *args) {
9826 PyObject *resultobj;
9827 ob::Frame *arg1 = (ob::Frame *) 0 ;
9828 PyObject * obj0 = 0 ;
9829
9830 if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjustState",&obj0)) goto fail;
9831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9832 (arg1)->adjustState();
9833
9834 Py_INCREF(Py_None); resultobj = Py_None;
9835 return resultobj;
9836 fail:
9837 return NULL;
9838 }
9839
9840
9841 static PyObject *_wrap_Frame_clientGravity(PyObject *self, PyObject *args) {
9842 PyObject *resultobj;
9843 ob::Frame *arg1 = (ob::Frame *) 0 ;
9844 int *arg2 = 0 ;
9845 int *arg3 = 0 ;
9846 PyObject * obj0 = 0 ;
9847 PyObject * obj1 = 0 ;
9848 PyObject * obj2 = 0 ;
9849
9850 if(!PyArg_ParseTuple(args,(char *)"OOO:Frame_clientGravity",&obj0,&obj1,&obj2)) goto fail;
9851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9852 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9853 if (arg2 == NULL) {
9854 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9855 }
9856 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9857 if (arg3 == NULL) {
9858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9859 }
9860 (arg1)->clientGravity(*arg2,*arg3);
9861
9862 Py_INCREF(Py_None); resultobj = Py_None;
9863 return resultobj;
9864 fail:
9865 return NULL;
9866 }
9867
9868
9869 static PyObject *_wrap_Frame_frameGravity(PyObject *self, PyObject *args) {
9870 PyObject *resultobj;
9871 ob::Frame *arg1 = (ob::Frame *) 0 ;
9872 int *arg2 = 0 ;
9873 int *arg3 = 0 ;
9874 PyObject * obj0 = 0 ;
9875 PyObject * obj1 = 0 ;
9876 PyObject * obj2 = 0 ;
9877
9878 if(!PyArg_ParseTuple(args,(char *)"OOO:Frame_frameGravity",&obj0,&obj1,&obj2)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9880 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9881 if (arg2 == NULL) {
9882 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9883 }
9884 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9885 if (arg3 == NULL) {
9886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9887 }
9888 (arg1)->frameGravity(*arg2,*arg3);
9889
9890 Py_INCREF(Py_None); resultobj = Py_None;
9891 return resultobj;
9892 fail:
9893 return NULL;
9894 }
9895
9896
9897 static PyObject *_wrap_Frame_plate(PyObject *self, PyObject *args) {
9898 PyObject *resultobj;
9899 ob::Frame *arg1 = (ob::Frame *) 0 ;
9900 Window result;
9901 PyObject * obj0 = 0 ;
9902
9903 if(!PyArg_ParseTuple(args,(char *)"O:Frame_plate",&obj0)) goto fail;
9904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9905 result = (Window)((ob::Frame const *)arg1)->plate();
9906
9907 resultobj = PyInt_FromLong((long)result);
9908 return resultobj;
9909 fail:
9910 return NULL;
9911 }
9912
9913
9914 static PyObject *_wrap_Frame_titlebar(PyObject *self, PyObject *args) {
9915 PyObject *resultobj;
9916 ob::Frame *arg1 = (ob::Frame *) 0 ;
9917 Window result;
9918 PyObject * obj0 = 0 ;
9919
9920 if(!PyArg_ParseTuple(args,(char *)"O:Frame_titlebar",&obj0)) goto fail;
9921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9922 result = (Window)((ob::Frame const *)arg1)->titlebar();
9923
9924 resultobj = PyInt_FromLong((long)result);
9925 return resultobj;
9926 fail:
9927 return NULL;
9928 }
9929
9930
9931 static PyObject *_wrap_Frame_label(PyObject *self, PyObject *args) {
9932 PyObject *resultobj;
9933 ob::Frame *arg1 = (ob::Frame *) 0 ;
9934 Window result;
9935 PyObject * obj0 = 0 ;
9936
9937 if(!PyArg_ParseTuple(args,(char *)"O:Frame_label",&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 result = (Window)((ob::Frame const *)arg1)->label();
9940
9941 resultobj = PyInt_FromLong((long)result);
9942 return resultobj;
9943 fail:
9944 return NULL;
9945 }
9946
9947
9948 static PyObject *_wrap_Frame_button_close(PyObject *self, PyObject *args) {
9949 PyObject *resultobj;
9950 ob::Frame *arg1 = (ob::Frame *) 0 ;
9951 Window result;
9952 PyObject * obj0 = 0 ;
9953
9954 if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_close",&obj0)) goto fail;
9955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9956 result = (Window)((ob::Frame const *)arg1)->button_close();
9957
9958 resultobj = PyInt_FromLong((long)result);
9959 return resultobj;
9960 fail:
9961 return NULL;
9962 }
9963
9964
9965 static PyObject *_wrap_Frame_button_iconify(PyObject *self, PyObject *args) {
9966 PyObject *resultobj;
9967 ob::Frame *arg1 = (ob::Frame *) 0 ;
9968 Window result;
9969 PyObject * obj0 = 0 ;
9970
9971 if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_iconify",&obj0)) goto fail;
9972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9973 result = (Window)((ob::Frame const *)arg1)->button_iconify();
9974
9975 resultobj = PyInt_FromLong((long)result);
9976 return resultobj;
9977 fail:
9978 return NULL;
9979 }
9980
9981
9982 static PyObject *_wrap_Frame_button_max(PyObject *self, PyObject *args) {
9983 PyObject *resultobj;
9984 ob::Frame *arg1 = (ob::Frame *) 0 ;
9985 Window result;
9986 PyObject * obj0 = 0 ;
9987
9988 if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_max",&obj0)) goto fail;
9989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9990 result = (Window)((ob::Frame const *)arg1)->button_max();
9991
9992 resultobj = PyInt_FromLong((long)result);
9993 return resultobj;
9994 fail:
9995 return NULL;
9996 }
9997
9998
9999 static PyObject *_wrap_Frame_button_alldesk(PyObject *self, PyObject *args) {
10000 PyObject *resultobj;
10001 ob::Frame *arg1 = (ob::Frame *) 0 ;
10002 Window result;
10003 PyObject * obj0 = 0 ;
10004
10005 if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_alldesk",&obj0)) goto fail;
10006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10007 result = (Window)((ob::Frame const *)arg1)->button_alldesk();
10008
10009 resultobj = PyInt_FromLong((long)result);
10010 return resultobj;
10011 fail:
10012 return NULL;
10013 }
10014
10015
10016 static PyObject *_wrap_Frame_handle(PyObject *self, PyObject *args) {
10017 PyObject *resultobj;
10018 ob::Frame *arg1 = (ob::Frame *) 0 ;
10019 Window result;
10020 PyObject * obj0 = 0 ;
10021
10022 if(!PyArg_ParseTuple(args,(char *)"O:Frame_handle",&obj0)) goto fail;
10023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10024 result = (Window)((ob::Frame const *)arg1)->handle();
10025
10026 resultobj = PyInt_FromLong((long)result);
10027 return resultobj;
10028 fail:
10029 return NULL;
10030 }
10031
10032
10033 static PyObject *_wrap_Frame_grip_left(PyObject *self, PyObject *args) {
10034 PyObject *resultobj;
10035 ob::Frame *arg1 = (ob::Frame *) 0 ;
10036 Window result;
10037 PyObject * obj0 = 0 ;
10038
10039 if(!PyArg_ParseTuple(args,(char *)"O:Frame_grip_left",&obj0)) goto fail;
10040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10041 result = (Window)((ob::Frame const *)arg1)->grip_left();
10042
10043 resultobj = PyInt_FromLong((long)result);
10044 return resultobj;
10045 fail:
10046 return NULL;
10047 }
10048
10049
10050 static PyObject *_wrap_Frame_grip_right(PyObject *self, PyObject *args) {
10051 PyObject *resultobj;
10052 ob::Frame *arg1 = (ob::Frame *) 0 ;
10053 Window result;
10054 PyObject * obj0 = 0 ;
10055
10056 if(!PyArg_ParseTuple(args,(char *)"O:Frame_grip_right",&obj0)) goto fail;
10057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10058 result = (Window)((ob::Frame const *)arg1)->grip_right();
10059
10060 resultobj = PyInt_FromLong((long)result);
10061 return resultobj;
10062 fail:
10063 return NULL;
10064 }
10065
10066
10067 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
10068 PyObject *obj;
10069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10070 SWIG_TypeClientData(SWIGTYPE_p_ob__Frame, obj);
10071 Py_INCREF(obj);
10072 return Py_BuildValue((char *)"");
10073 }
10074 static PyObject *_wrap_MouseData_screen_set(PyObject *self, PyObject *args) {
10075 PyObject *resultobj;
10076 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10077 int arg2 ;
10078 PyObject * obj0 = 0 ;
10079
10080 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_screen_set",&obj0,&arg2)) goto fail;
10081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10082 if (arg1) (arg1)->screen = arg2;
10083
10084 Py_INCREF(Py_None); resultobj = Py_None;
10085 return resultobj;
10086 fail:
10087 return NULL;
10088 }
10089
10090
10091 static PyObject *_wrap_MouseData_screen_get(PyObject *self, PyObject *args) {
10092 PyObject *resultobj;
10093 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10094 int result;
10095 PyObject * obj0 = 0 ;
10096
10097 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_screen_get",&obj0)) goto fail;
10098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10099 result = (int) ((arg1)->screen);
10100
10101 resultobj = PyInt_FromLong((long)result);
10102 return resultobj;
10103 fail:
10104 return NULL;
10105 }
10106
10107
10108 static PyObject *_wrap_MouseData_client_set(PyObject *self, PyObject *args) {
10109 PyObject *resultobj;
10110 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10111 ob::Client *arg2 = (ob::Client *) 0 ;
10112 PyObject * obj0 = 0 ;
10113 PyObject * obj1 = 0 ;
10114
10115 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_client_set",&obj0,&obj1)) goto fail;
10116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
10118 if (arg1) (arg1)->client = arg2;
10119
10120 Py_INCREF(Py_None); resultobj = Py_None;
10121 return resultobj;
10122 fail:
10123 return NULL;
10124 }
10125
10126
10127 static PyObject *_wrap_MouseData_client_get(PyObject *self, PyObject *args) {
10128 PyObject *resultobj;
10129 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10130 ob::Client *result;
10131 PyObject * obj0 = 0 ;
10132
10133 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_client_get",&obj0)) goto fail;
10134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10135 result = (ob::Client *) ((arg1)->client);
10136
10137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
10138 return resultobj;
10139 fail:
10140 return NULL;
10141 }
10142
10143
10144 static PyObject *_wrap_MouseData_time_set(PyObject *self, PyObject *args) {
10145 PyObject *resultobj;
10146 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10147 Time arg2 ;
10148 PyObject * obj0 = 0 ;
10149 PyObject * obj1 = 0 ;
10150
10151 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_time_set",&obj0,&obj1)) goto fail;
10152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10153 arg2 = (Time) PyInt_AsLong(obj1);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 if (arg1) (arg1)->time = arg2;
10156
10157 Py_INCREF(Py_None); resultobj = Py_None;
10158 return resultobj;
10159 fail:
10160 return NULL;
10161 }
10162
10163
10164 static PyObject *_wrap_MouseData_time_get(PyObject *self, PyObject *args) {
10165 PyObject *resultobj;
10166 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10167 Time result;
10168 PyObject * obj0 = 0 ;
10169
10170 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_time_get",&obj0)) goto fail;
10171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10172 result = (Time) ((arg1)->time);
10173
10174 resultobj = PyInt_FromLong((long)result);
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_MouseData_state_set(PyObject *self, PyObject *args) {
10182 PyObject *resultobj;
10183 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10184 unsigned int arg2 ;
10185 PyObject * obj0 = 0 ;
10186 PyObject * obj1 = 0 ;
10187
10188 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_state_set",&obj0,&obj1)) goto fail;
10189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10190 arg2 = (unsigned int) PyInt_AsLong(obj1);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 if (arg1) (arg1)->state = arg2;
10193
10194 Py_INCREF(Py_None); resultobj = Py_None;
10195 return resultobj;
10196 fail:
10197 return NULL;
10198 }
10199
10200
10201 static PyObject *_wrap_MouseData_state_get(PyObject *self, PyObject *args) {
10202 PyObject *resultobj;
10203 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10204 unsigned int result;
10205 PyObject * obj0 = 0 ;
10206
10207 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_state_get",&obj0)) goto fail;
10208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10209 result = (unsigned int) ((arg1)->state);
10210
10211 resultobj = PyInt_FromLong((long)result);
10212 return resultobj;
10213 fail:
10214 return NULL;
10215 }
10216
10217
10218 static PyObject *_wrap_MouseData_button_set(PyObject *self, PyObject *args) {
10219 PyObject *resultobj;
10220 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10221 unsigned int arg2 ;
10222 PyObject * obj0 = 0 ;
10223 PyObject * obj1 = 0 ;
10224
10225 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_button_set",&obj0,&obj1)) goto fail;
10226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10227 arg2 = (unsigned int) PyInt_AsLong(obj1);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 if (arg1) (arg1)->button = arg2;
10230
10231 Py_INCREF(Py_None); resultobj = Py_None;
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 static PyObject *_wrap_MouseData_button_get(PyObject *self, PyObject *args) {
10239 PyObject *resultobj;
10240 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10241 unsigned int result;
10242 PyObject * obj0 = 0 ;
10243
10244 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_button_get",&obj0)) goto fail;
10245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10246 result = (unsigned int) ((arg1)->button);
10247
10248 resultobj = PyInt_FromLong((long)result);
10249 return resultobj;
10250 fail:
10251 return NULL;
10252 }
10253
10254
10255 static PyObject *_wrap_MouseData_context_set(PyObject *self, PyObject *args) {
10256 PyObject *resultobj;
10257 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10258 int arg2 ;
10259 PyObject * obj0 = 0 ;
10260
10261 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_context_set",&obj0,&arg2)) goto fail;
10262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10263 if (arg1) (arg1)->context = (ob::MouseContext )arg2;
10264
10265 Py_INCREF(Py_None); resultobj = Py_None;
10266 return resultobj;
10267 fail:
10268 return NULL;
10269 }
10270
10271
10272 static PyObject *_wrap_MouseData_context_get(PyObject *self, PyObject *args) {
10273 PyObject *resultobj;
10274 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10275 int result;
10276 PyObject * obj0 = 0 ;
10277
10278 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_context_get",&obj0)) goto fail;
10279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10280 result = (int) ((arg1)->context);
10281
10282 resultobj = PyInt_FromLong((long)result);
10283 return resultobj;
10284 fail:
10285 return NULL;
10286 }
10287
10288
10289 static PyObject *_wrap_MouseData_action_set(PyObject *self, PyObject *args) {
10290 PyObject *resultobj;
10291 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10292 int arg2 ;
10293 PyObject * obj0 = 0 ;
10294
10295 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_action_set",&obj0,&arg2)) goto fail;
10296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10297 if (arg1) (arg1)->action = (ob::MouseAction )arg2;
10298
10299 Py_INCREF(Py_None); resultobj = Py_None;
10300 return resultobj;
10301 fail:
10302 return NULL;
10303 }
10304
10305
10306 static PyObject *_wrap_MouseData_action_get(PyObject *self, PyObject *args) {
10307 PyObject *resultobj;
10308 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10309 int result;
10310 PyObject * obj0 = 0 ;
10311
10312 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_action_get",&obj0)) goto fail;
10313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10314 result = (int) ((arg1)->action);
10315
10316 resultobj = PyInt_FromLong((long)result);
10317 return resultobj;
10318 fail:
10319 return NULL;
10320 }
10321
10322
10323 static PyObject *_wrap_MouseData_xroot_set(PyObject *self, PyObject *args) {
10324 PyObject *resultobj;
10325 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10326 int arg2 ;
10327 PyObject * obj0 = 0 ;
10328
10329 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_xroot_set",&obj0,&arg2)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10331 if (arg1) (arg1)->xroot = arg2;
10332
10333 Py_INCREF(Py_None); resultobj = Py_None;
10334 return resultobj;
10335 fail:
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_MouseData_xroot_get(PyObject *self, PyObject *args) {
10341 PyObject *resultobj;
10342 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10343 int result;
10344 PyObject * obj0 = 0 ;
10345
10346 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_xroot_get",&obj0)) goto fail;
10347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10348 result = (int) ((arg1)->xroot);
10349
10350 resultobj = PyInt_FromLong((long)result);
10351 return resultobj;
10352 fail:
10353 return NULL;
10354 }
10355
10356
10357 static PyObject *_wrap_MouseData_yroot_set(PyObject *self, PyObject *args) {
10358 PyObject *resultobj;
10359 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10360 int arg2 ;
10361 PyObject * obj0 = 0 ;
10362
10363 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_yroot_set",&obj0,&arg2)) goto fail;
10364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10365 if (arg1) (arg1)->yroot = arg2;
10366
10367 Py_INCREF(Py_None); resultobj = Py_None;
10368 return resultobj;
10369 fail:
10370 return NULL;
10371 }
10372
10373
10374 static PyObject *_wrap_MouseData_yroot_get(PyObject *self, PyObject *args) {
10375 PyObject *resultobj;
10376 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10377 int result;
10378 PyObject * obj0 = 0 ;
10379
10380 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_yroot_get",&obj0)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10382 result = (int) ((arg1)->yroot);
10383
10384 resultobj = PyInt_FromLong((long)result);
10385 return resultobj;
10386 fail:
10387 return NULL;
10388 }
10389
10390
10391 static PyObject *_wrap_MouseData_pressx_set(PyObject *self, PyObject *args) {
10392 PyObject *resultobj;
10393 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10394 int arg2 ;
10395 PyObject * obj0 = 0 ;
10396
10397 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressx_set",&obj0,&arg2)) goto fail;
10398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10399 if (arg1) (arg1)->pressx = arg2;
10400
10401 Py_INCREF(Py_None); resultobj = Py_None;
10402 return resultobj;
10403 fail:
10404 return NULL;
10405 }
10406
10407
10408 static PyObject *_wrap_MouseData_pressx_get(PyObject *self, PyObject *args) {
10409 PyObject *resultobj;
10410 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10411 int result;
10412 PyObject * obj0 = 0 ;
10413
10414 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressx_get",&obj0)) goto fail;
10415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10416 result = (int) ((arg1)->pressx);
10417
10418 resultobj = PyInt_FromLong((long)result);
10419 return resultobj;
10420 fail:
10421 return NULL;
10422 }
10423
10424
10425 static PyObject *_wrap_MouseData_pressy_set(PyObject *self, PyObject *args) {
10426 PyObject *resultobj;
10427 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10428 int arg2 ;
10429 PyObject * obj0 = 0 ;
10430
10431 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressy_set",&obj0,&arg2)) goto fail;
10432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10433 if (arg1) (arg1)->pressy = arg2;
10434
10435 Py_INCREF(Py_None); resultobj = Py_None;
10436 return resultobj;
10437 fail:
10438 return NULL;
10439 }
10440
10441
10442 static PyObject *_wrap_MouseData_pressy_get(PyObject *self, PyObject *args) {
10443 PyObject *resultobj;
10444 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10445 int result;
10446 PyObject * obj0 = 0 ;
10447
10448 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressy_get",&obj0)) goto fail;
10449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10450 result = (int) ((arg1)->pressy);
10451
10452 resultobj = PyInt_FromLong((long)result);
10453 return resultobj;
10454 fail:
10455 return NULL;
10456 }
10457
10458
10459 static PyObject *_wrap_MouseData_press_clientx_set(PyObject *self, PyObject *args) {
10460 PyObject *resultobj;
10461 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10462 int arg2 ;
10463 PyObject * obj0 = 0 ;
10464
10465 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientx_set",&obj0,&arg2)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10467 if (arg1) (arg1)->press_clientx = arg2;
10468
10469 Py_INCREF(Py_None); resultobj = Py_None;
10470 return resultobj;
10471 fail:
10472 return NULL;
10473 }
10474
10475
10476 static PyObject *_wrap_MouseData_press_clientx_get(PyObject *self, PyObject *args) {
10477 PyObject *resultobj;
10478 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10479 int result;
10480 PyObject * obj0 = 0 ;
10481
10482 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientx_get",&obj0)) goto fail;
10483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10484 result = (int) ((arg1)->press_clientx);
10485
10486 resultobj = PyInt_FromLong((long)result);
10487 return resultobj;
10488 fail:
10489 return NULL;
10490 }
10491
10492
10493 static PyObject *_wrap_MouseData_press_clienty_set(PyObject *self, PyObject *args) {
10494 PyObject *resultobj;
10495 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10496 int arg2 ;
10497 PyObject * obj0 = 0 ;
10498
10499 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clienty_set",&obj0,&arg2)) goto fail;
10500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10501 if (arg1) (arg1)->press_clienty = arg2;
10502
10503 Py_INCREF(Py_None); resultobj = Py_None;
10504 return resultobj;
10505 fail:
10506 return NULL;
10507 }
10508
10509
10510 static PyObject *_wrap_MouseData_press_clienty_get(PyObject *self, PyObject *args) {
10511 PyObject *resultobj;
10512 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10513 int result;
10514 PyObject * obj0 = 0 ;
10515
10516 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clienty_get",&obj0)) goto fail;
10517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10518 result = (int) ((arg1)->press_clienty);
10519
10520 resultobj = PyInt_FromLong((long)result);
10521 return resultobj;
10522 fail:
10523 return NULL;
10524 }
10525
10526
10527 static PyObject *_wrap_MouseData_press_clientwidth_set(PyObject *self, PyObject *args) {
10528 PyObject *resultobj;
10529 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10530 int arg2 ;
10531 PyObject * obj0 = 0 ;
10532
10533 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientwidth_set",&obj0,&arg2)) goto fail;
10534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10535 if (arg1) (arg1)->press_clientwidth = arg2;
10536
10537 Py_INCREF(Py_None); resultobj = Py_None;
10538 return resultobj;
10539 fail:
10540 return NULL;
10541 }
10542
10543
10544 static PyObject *_wrap_MouseData_press_clientwidth_get(PyObject *self, PyObject *args) {
10545 PyObject *resultobj;
10546 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10547 int result;
10548 PyObject * obj0 = 0 ;
10549
10550 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientwidth_get",&obj0)) goto fail;
10551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10552 result = (int) ((arg1)->press_clientwidth);
10553
10554 resultobj = PyInt_FromLong((long)result);
10555 return resultobj;
10556 fail:
10557 return NULL;
10558 }
10559
10560
10561 static PyObject *_wrap_MouseData_press_clientheight_set(PyObject *self, PyObject *args) {
10562 PyObject *resultobj;
10563 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10564 int arg2 ;
10565 PyObject * obj0 = 0 ;
10566
10567 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientheight_set",&obj0,&arg2)) goto fail;
10568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10569 if (arg1) (arg1)->press_clientheight = arg2;
10570
10571 Py_INCREF(Py_None); resultobj = Py_None;
10572 return resultobj;
10573 fail:
10574 return NULL;
10575 }
10576
10577
10578 static PyObject *_wrap_MouseData_press_clientheight_get(PyObject *self, PyObject *args) {
10579 PyObject *resultobj;
10580 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10581 int result;
10582 PyObject * obj0 = 0 ;
10583
10584 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientheight_get",&obj0)) goto fail;
10585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10586 result = (int) ((arg1)->press_clientheight);
10587
10588 resultobj = PyInt_FromLong((long)result);
10589 return resultobj;
10590 fail:
10591 return NULL;
10592 }
10593
10594
10595 static PyObject *_wrap_new_MouseData__SWIG_0(PyObject *self, PyObject *args) {
10596 PyObject *resultobj;
10597 int arg1 ;
10598 ob::Client *arg2 = (ob::Client *) 0 ;
10599 Time arg3 ;
10600 unsigned int arg4 ;
10601 unsigned int arg5 ;
10602 int arg6 ;
10603 int arg7 ;
10604 int arg8 ;
10605 int arg9 ;
10606 otk::Point *arg10 = 0 ;
10607 otk::Rect *arg11 = 0 ;
10608 ob::MouseData *result;
10609 PyObject * obj1 = 0 ;
10610 PyObject * obj2 = 0 ;
10611 PyObject * obj3 = 0 ;
10612 PyObject * obj4 = 0 ;
10613 PyObject * obj9 = 0 ;
10614 PyObject * obj10 = 0 ;
10615
10616 if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
10617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10618 arg3 = (Time) PyInt_AsLong(obj2);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 arg4 = (unsigned int) PyInt_AsLong(obj3);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 arg5 = (unsigned int) PyInt_AsLong(obj4);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10625 if (arg10 == NULL) {
10626 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10627 }
10628 if ((SWIG_ConvertPtr(obj10,(void **) &arg11, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10629 if (arg11 == NULL) {
10630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10631 }
10632 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);
10633
10634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
10635 return resultobj;
10636 fail:
10637 return NULL;
10638 }
10639
10640
10641 static PyObject *_wrap_new_MouseData__SWIG_1(PyObject *self, PyObject *args) {
10642 PyObject *resultobj;
10643 int arg1 ;
10644 ob::Client *arg2 = (ob::Client *) 0 ;
10645 Time arg3 ;
10646 unsigned int arg4 ;
10647 unsigned int arg5 ;
10648 int arg6 ;
10649 int arg7 ;
10650 ob::MouseData *result;
10651 PyObject * obj1 = 0 ;
10652 PyObject * obj2 = 0 ;
10653 PyObject * obj3 = 0 ;
10654 PyObject * obj4 = 0 ;
10655
10656 if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
10657 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10658 arg3 = (Time) PyInt_AsLong(obj2);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 arg4 = (unsigned int) PyInt_AsLong(obj3);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 arg5 = (unsigned int) PyInt_AsLong(obj4);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
10665
10666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
10667 return resultobj;
10668 fail:
10669 return NULL;
10670 }
10671
10672
10673 static PyObject *_wrap_new_MouseData(PyObject *self, PyObject *args) {
10674 int argc;
10675 PyObject *argv[12];
10676 int ii;
10677
10678 argc = PyObject_Length(args);
10679 for (ii = 0; (ii < argc) && (ii < 11); ii++) {
10680 argv[ii] = PyTuple_GetItem(args,ii);
10681 }
10682 if (argc == 7) {
10683 int _v;
10684 {
10685 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
10686 }
10687 if (_v) {
10688 {
10689 void *ptr;
10690 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
10691 _v = 0;
10692 PyErr_Clear();
10693 }else {
10694 _v = 1;
10695 }
10696 }
10697 if (_v) {
10698 {
10699 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
10700 }
10701 if (_v) {
10702 {
10703 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
10704 }
10705 if (_v) {
10706 {
10707 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
10708 }
10709 if (_v) {
10710 {
10711 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
10712 }
10713 if (_v) {
10714 {
10715 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
10716 }
10717 if (_v) {
10718 return _wrap_new_MouseData__SWIG_1(self,args);
10719 }
10720 }
10721 }
10722 }
10723 }
10724 }
10725 }
10726 }
10727 if (argc == 11) {
10728 int _v;
10729 {
10730 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
10731 }
10732 if (_v) {
10733 {
10734 void *ptr;
10735 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
10736 _v = 0;
10737 PyErr_Clear();
10738 }else {
10739 _v = 1;
10740 }
10741 }
10742 if (_v) {
10743 {
10744 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
10745 }
10746 if (_v) {
10747 {
10748 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
10749 }
10750 if (_v) {
10751 {
10752 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
10753 }
10754 if (_v) {
10755 {
10756 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
10757 }
10758 if (_v) {
10759 {
10760 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
10761 }
10762 if (_v) {
10763 {
10764 _v = (PyInt_Check(argv[7]) || PyLong_Check(argv[7])) ? 1 : 0;
10765 }
10766 if (_v) {
10767 {
10768 _v = (PyInt_Check(argv[8]) || PyLong_Check(argv[8])) ? 1 : 0;
10769 }
10770 if (_v) {
10771 {
10772 void *ptr;
10773 if (SWIG_ConvertPtr(argv[9], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
10774 _v = 0;
10775 PyErr_Clear();
10776 }else {
10777 _v = 1;
10778 }
10779 }
10780 if (_v) {
10781 {
10782 void *ptr;
10783 if (SWIG_ConvertPtr(argv[10], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
10784 _v = 0;
10785 PyErr_Clear();
10786 }else {
10787 _v = 1;
10788 }
10789 }
10790 if (_v) {
10791 return _wrap_new_MouseData__SWIG_0(self,args);
10792 }
10793 }
10794 }
10795 }
10796 }
10797 }
10798 }
10799 }
10800 }
10801 }
10802 }
10803 }
10804
10805 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_MouseData'");
10806 return NULL;
10807 }
10808
10809
10810 static PyObject * MouseData_swigregister(PyObject *self, PyObject *args) {
10811 PyObject *obj;
10812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10813 SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData, obj);
10814 Py_INCREF(obj);
10815 return Py_BuildValue((char *)"");
10816 }
10817 static PyObject *_wrap_EventData_screen_set(PyObject *self, PyObject *args) {
10818 PyObject *resultobj;
10819 ob::EventData *arg1 = (ob::EventData *) 0 ;
10820 int arg2 ;
10821 PyObject * obj0 = 0 ;
10822
10823 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_screen_set",&obj0,&arg2)) goto fail;
10824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10825 if (arg1) (arg1)->screen = arg2;
10826
10827 Py_INCREF(Py_None); resultobj = Py_None;
10828 return resultobj;
10829 fail:
10830 return NULL;
10831 }
10832
10833
10834 static PyObject *_wrap_EventData_screen_get(PyObject *self, PyObject *args) {
10835 PyObject *resultobj;
10836 ob::EventData *arg1 = (ob::EventData *) 0 ;
10837 int result;
10838 PyObject * obj0 = 0 ;
10839
10840 if(!PyArg_ParseTuple(args,(char *)"O:EventData_screen_get",&obj0)) goto fail;
10841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10842 result = (int) ((arg1)->screen);
10843
10844 resultobj = PyInt_FromLong((long)result);
10845 return resultobj;
10846 fail:
10847 return NULL;
10848 }
10849
10850
10851 static PyObject *_wrap_EventData_client_set(PyObject *self, PyObject *args) {
10852 PyObject *resultobj;
10853 ob::EventData *arg1 = (ob::EventData *) 0 ;
10854 ob::Client *arg2 = (ob::Client *) 0 ;
10855 PyObject * obj0 = 0 ;
10856 PyObject * obj1 = 0 ;
10857
10858 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_client_set",&obj0,&obj1)) goto fail;
10859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10860 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
10861 if (arg1) (arg1)->client = arg2;
10862
10863 Py_INCREF(Py_None); resultobj = Py_None;
10864 return resultobj;
10865 fail:
10866 return NULL;
10867 }
10868
10869
10870 static PyObject *_wrap_EventData_client_get(PyObject *self, PyObject *args) {
10871 PyObject *resultobj;
10872 ob::EventData *arg1 = (ob::EventData *) 0 ;
10873 ob::Client *result;
10874 PyObject * obj0 = 0 ;
10875
10876 if(!PyArg_ParseTuple(args,(char *)"O:EventData_client_get",&obj0)) goto fail;
10877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10878 result = (ob::Client *) ((arg1)->client);
10879
10880 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
10881 return resultobj;
10882 fail:
10883 return NULL;
10884 }
10885
10886
10887 static PyObject *_wrap_EventData_state_set(PyObject *self, PyObject *args) {
10888 PyObject *resultobj;
10889 ob::EventData *arg1 = (ob::EventData *) 0 ;
10890 unsigned int arg2 ;
10891 PyObject * obj0 = 0 ;
10892 PyObject * obj1 = 0 ;
10893
10894 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_state_set",&obj0,&obj1)) goto fail;
10895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10896 arg2 = (unsigned int) PyInt_AsLong(obj1);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 if (arg1) (arg1)->state = arg2;
10899
10900 Py_INCREF(Py_None); resultobj = Py_None;
10901 return resultobj;
10902 fail:
10903 return NULL;
10904 }
10905
10906
10907 static PyObject *_wrap_EventData_state_get(PyObject *self, PyObject *args) {
10908 PyObject *resultobj;
10909 ob::EventData *arg1 = (ob::EventData *) 0 ;
10910 unsigned int result;
10911 PyObject * obj0 = 0 ;
10912
10913 if(!PyArg_ParseTuple(args,(char *)"O:EventData_state_get",&obj0)) goto fail;
10914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10915 result = (unsigned int) ((arg1)->state);
10916
10917 resultobj = PyInt_FromLong((long)result);
10918 return resultobj;
10919 fail:
10920 return NULL;
10921 }
10922
10923
10924 static PyObject *_wrap_EventData_action_set(PyObject *self, PyObject *args) {
10925 PyObject *resultobj;
10926 ob::EventData *arg1 = (ob::EventData *) 0 ;
10927 int arg2 ;
10928 PyObject * obj0 = 0 ;
10929
10930 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_action_set",&obj0,&arg2)) goto fail;
10931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10932 if (arg1) (arg1)->action = (ob::EventAction )arg2;
10933
10934 Py_INCREF(Py_None); resultobj = Py_None;
10935 return resultobj;
10936 fail:
10937 return NULL;
10938 }
10939
10940
10941 static PyObject *_wrap_EventData_action_get(PyObject *self, PyObject *args) {
10942 PyObject *resultobj;
10943 ob::EventData *arg1 = (ob::EventData *) 0 ;
10944 int result;
10945 PyObject * obj0 = 0 ;
10946
10947 if(!PyArg_ParseTuple(args,(char *)"O:EventData_action_get",&obj0)) goto fail;
10948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10949 result = (int) ((arg1)->action);
10950
10951 resultobj = PyInt_FromLong((long)result);
10952 return resultobj;
10953 fail:
10954 return NULL;
10955 }
10956
10957
10958 static PyObject *_wrap_new_EventData(PyObject *self, PyObject *args) {
10959 PyObject *resultobj;
10960 int arg1 ;
10961 ob::Client *arg2 = (ob::Client *) 0 ;
10962 int arg3 ;
10963 unsigned int arg4 ;
10964 ob::EventData *result;
10965 PyObject * obj1 = 0 ;
10966 PyObject * obj3 = 0 ;
10967
10968 if(!PyArg_ParseTuple(args,(char *)"iOiO:new_EventData",&arg1,&obj1,&arg3,&obj3)) goto fail;
10969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10970 arg4 = (unsigned int) PyInt_AsLong(obj3);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 result = (ob::EventData *)new ob::EventData(arg1,arg2,(ob::EventAction )arg3,arg4);
10973
10974 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__EventData, 1);
10975 return resultobj;
10976 fail:
10977 return NULL;
10978 }
10979
10980
10981 static PyObject * EventData_swigregister(PyObject *self, PyObject *args) {
10982 PyObject *obj;
10983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10984 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData, obj);
10985 Py_INCREF(obj);
10986 return Py_BuildValue((char *)"");
10987 }
10988 static PyObject *_wrap_KeyData_screen_set(PyObject *self, PyObject *args) {
10989 PyObject *resultobj;
10990 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10991 int arg2 ;
10992 PyObject * obj0 = 0 ;
10993
10994 if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_screen_set",&obj0,&arg2)) goto fail;
10995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10996 if (arg1) (arg1)->screen = arg2;
10997
10998 Py_INCREF(Py_None); resultobj = Py_None;
10999 return resultobj;
11000 fail:
11001 return NULL;
11002 }
11003
11004
11005 static PyObject *_wrap_KeyData_screen_get(PyObject *self, PyObject *args) {
11006 PyObject *resultobj;
11007 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11008 int result;
11009 PyObject * obj0 = 0 ;
11010
11011 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_screen_get",&obj0)) goto fail;
11012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11013 result = (int) ((arg1)->screen);
11014
11015 resultobj = PyInt_FromLong((long)result);
11016 return resultobj;
11017 fail:
11018 return NULL;
11019 }
11020
11021
11022 static PyObject *_wrap_KeyData_client_set(PyObject *self, PyObject *args) {
11023 PyObject *resultobj;
11024 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11025 ob::Client *arg2 = (ob::Client *) 0 ;
11026 PyObject * obj0 = 0 ;
11027 PyObject * obj1 = 0 ;
11028
11029 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_client_set",&obj0,&obj1)) goto fail;
11030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
11032 if (arg1) (arg1)->client = arg2;
11033
11034 Py_INCREF(Py_None); resultobj = Py_None;
11035 return resultobj;
11036 fail:
11037 return NULL;
11038 }
11039
11040
11041 static PyObject *_wrap_KeyData_client_get(PyObject *self, PyObject *args) {
11042 PyObject *resultobj;
11043 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11044 ob::Client *result;
11045 PyObject * obj0 = 0 ;
11046
11047 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_client_get",&obj0)) goto fail;
11048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11049 result = (ob::Client *) ((arg1)->client);
11050
11051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
11052 return resultobj;
11053 fail:
11054 return NULL;
11055 }
11056
11057
11058 static PyObject *_wrap_KeyData_time_set(PyObject *self, PyObject *args) {
11059 PyObject *resultobj;
11060 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11061 Time arg2 ;
11062 PyObject * obj0 = 0 ;
11063 PyObject * obj1 = 0 ;
11064
11065 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_time_set",&obj0,&obj1)) goto fail;
11066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11067 arg2 = (Time) PyInt_AsLong(obj1);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 if (arg1) (arg1)->time = arg2;
11070
11071 Py_INCREF(Py_None); resultobj = Py_None;
11072 return resultobj;
11073 fail:
11074 return NULL;
11075 }
11076
11077
11078 static PyObject *_wrap_KeyData_time_get(PyObject *self, PyObject *args) {
11079 PyObject *resultobj;
11080 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11081 Time result;
11082 PyObject * obj0 = 0 ;
11083
11084 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_time_get",&obj0)) goto fail;
11085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11086 result = (Time) ((arg1)->time);
11087
11088 resultobj = PyInt_FromLong((long)result);
11089 return resultobj;
11090 fail:
11091 return NULL;
11092 }
11093
11094
11095 static PyObject *_wrap_KeyData_state_set(PyObject *self, PyObject *args) {
11096 PyObject *resultobj;
11097 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11098 unsigned int arg2 ;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101
11102 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_state_set",&obj0,&obj1)) goto fail;
11103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11104 arg2 = (unsigned int) PyInt_AsLong(obj1);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 if (arg1) (arg1)->state = arg2;
11107
11108 Py_INCREF(Py_None); resultobj = Py_None;
11109 return resultobj;
11110 fail:
11111 return NULL;
11112 }
11113
11114
11115 static PyObject *_wrap_KeyData_state_get(PyObject *self, PyObject *args) {
11116 PyObject *resultobj;
11117 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11118 unsigned int result;
11119 PyObject * obj0 = 0 ;
11120
11121 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_state_get",&obj0)) goto fail;
11122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11123 result = (unsigned int) ((arg1)->state);
11124
11125 resultobj = PyInt_FromLong((long)result);
11126 return resultobj;
11127 fail:
11128 return NULL;
11129 }
11130
11131
11132 static PyObject *_wrap_KeyData_key_set(PyObject *self, PyObject *args) {
11133 PyObject *resultobj;
11134 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11135 char *arg2 ;
11136 PyObject * obj0 = 0 ;
11137
11138 if(!PyArg_ParseTuple(args,(char *)"Os:KeyData_key_set",&obj0,&arg2)) goto fail;
11139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11140 {
11141 if (arg1->key) delete [] arg1->key;
11142 arg1->key = (char *) (new char[strlen(arg2)+1]);
11143 strcpy((char *) arg1->key,arg2);
11144 }
11145 Py_INCREF(Py_None); resultobj = Py_None;
11146 return resultobj;
11147 fail:
11148 return NULL;
11149 }
11150
11151
11152 static PyObject *_wrap_KeyData_key_get(PyObject *self, PyObject *args) {
11153 PyObject *resultobj;
11154 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11155 char *result;
11156 PyObject * obj0 = 0 ;
11157
11158 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_key_get",&obj0)) goto fail;
11159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11160 result = (char *) ((arg1)->key);
11161
11162 resultobj = result ? PyString_FromString(result) : Py_BuildValue((char*)"");
11163 return resultobj;
11164 fail:
11165 return NULL;
11166 }
11167
11168
11169 static PyObject *_wrap_KeyData_action_set(PyObject *self, PyObject *args) {
11170 PyObject *resultobj;
11171 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11172 int arg2 ;
11173 PyObject * obj0 = 0 ;
11174
11175 if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_action_set",&obj0,&arg2)) goto fail;
11176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11177 if (arg1) (arg1)->action = (ob::KeyAction )arg2;
11178
11179 Py_INCREF(Py_None); resultobj = Py_None;
11180 return resultobj;
11181 fail:
11182 return NULL;
11183 }
11184
11185
11186 static PyObject *_wrap_KeyData_action_get(PyObject *self, PyObject *args) {
11187 PyObject *resultobj;
11188 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11189 int result;
11190 PyObject * obj0 = 0 ;
11191
11192 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_action_get",&obj0)) goto fail;
11193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11194 result = (int) ((arg1)->action);
11195
11196 resultobj = PyInt_FromLong((long)result);
11197 return resultobj;
11198 fail:
11199 return NULL;
11200 }
11201
11202
11203 static PyObject *_wrap_new_KeyData(PyObject *self, PyObject *args) {
11204 PyObject *resultobj;
11205 int arg1 ;
11206 ob::Client *arg2 = (ob::Client *) 0 ;
11207 Time arg3 ;
11208 unsigned int arg4 ;
11209 unsigned int arg5 ;
11210 int arg6 ;
11211 ob::KeyData *result;
11212 PyObject * obj1 = 0 ;
11213 PyObject * obj2 = 0 ;
11214 PyObject * obj3 = 0 ;
11215 PyObject * obj4 = 0 ;
11216
11217 if(!PyArg_ParseTuple(args,(char *)"iOOOOi:new_KeyData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11218 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11219 arg3 = (Time) PyInt_AsLong(obj2);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 arg4 = (unsigned int) PyInt_AsLong(obj3);
11222 if (PyErr_Occurred()) SWIG_fail;
11223 arg5 = (unsigned int) PyInt_AsLong(obj4);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 result = (ob::KeyData *)new ob::KeyData(arg1,arg2,arg3,arg4,arg5,(ob::KeyAction )arg6);
11226
11227 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__KeyData, 1);
11228 return resultobj;
11229 fail:
11230 return NULL;
11231 }
11232
11233
11234 static PyObject * KeyData_swigregister(PyObject *self, PyObject *args) {
11235 PyObject *obj;
11236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11237 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData, obj);
11238 Py_INCREF(obj);
11239 return Py_BuildValue((char *)"");
11240 }
11241 static PyObject *_wrap_mbind(PyObject *self, PyObject *args) {
11242 PyObject *resultobj;
11243 std::string *arg1 = 0 ;
11244 int arg2 ;
11245 int arg3 ;
11246 PyObject *arg4 = (PyObject *) 0 ;
11247 PyObject *result;
11248 std::string temp1 ;
11249 PyObject * obj0 = 0 ;
11250 PyObject * obj3 = 0 ;
11251
11252 if(!PyArg_ParseTuple(args,(char *)"OiiO:mbind",&obj0,&arg2,&arg3,&obj3)) goto fail;
11253 {
11254 if (PyString_Check(obj0)) {
11255 temp1 = std::string(PyString_AsString(obj0));
11256 arg1 = &temp1;
11257 }else {
11258 SWIG_exception(SWIG_TypeError, "string expected");
11259 }
11260 }
11261 arg4 = obj3;
11262 result = (PyObject *)ob::mbind((std::string const &)*arg1,(ob::MouseContext )arg2,(ob::MouseAction )arg3,arg4);
11263
11264 resultobj = result;
11265 return resultobj;
11266 fail:
11267 return NULL;
11268 }
11269
11270
11271 static PyObject *_wrap_kbind(PyObject *self, PyObject *args) {
11272 PyObject *resultobj;
11273 PyObject *arg1 = (PyObject *) 0 ;
11274 int arg2 ;
11275 PyObject *arg3 = (PyObject *) 0 ;
11276 PyObject *result;
11277 PyObject * obj0 = 0 ;
11278 PyObject * obj2 = 0 ;
11279
11280 if(!PyArg_ParseTuple(args,(char *)"OiO:kbind",&obj0,&arg2,&obj2)) goto fail;
11281 arg1 = obj0;
11282 arg3 = obj2;
11283 result = (PyObject *)ob::kbind(arg1,(ob::KeyContext )arg2,arg3);
11284
11285 resultobj = result;
11286 return resultobj;
11287 fail:
11288 return NULL;
11289 }
11290
11291
11292 static PyObject *_wrap_kgrab(PyObject *self, PyObject *args) {
11293 PyObject *resultobj;
11294 int arg1 ;
11295 PyObject *arg2 = (PyObject *) 0 ;
11296 PyObject *result;
11297 PyObject * obj1 = 0 ;
11298
11299 if(!PyArg_ParseTuple(args,(char *)"iO:kgrab",&arg1,&obj1)) goto fail;
11300 arg2 = obj1;
11301 result = (PyObject *)ob::kgrab(arg1,arg2);
11302
11303 resultobj = result;
11304 return resultobj;
11305 fail:
11306 return NULL;
11307 }
11308
11309
11310 static PyObject *_wrap_kungrab(PyObject *self, PyObject *args) {
11311 PyObject *resultobj;
11312 PyObject *result;
11313
11314 if(!PyArg_ParseTuple(args,(char *)":kungrab")) goto fail;
11315 result = (PyObject *)ob::kungrab();
11316
11317 resultobj = result;
11318 return resultobj;
11319 fail:
11320 return NULL;
11321 }
11322
11323
11324 static PyObject *_wrap_ebind(PyObject *self, PyObject *args) {
11325 PyObject *resultobj;
11326 int arg1 ;
11327 PyObject *arg2 = (PyObject *) 0 ;
11328 PyObject *result;
11329 PyObject * obj1 = 0 ;
11330
11331 if(!PyArg_ParseTuple(args,(char *)"iO:ebind",&arg1,&obj1)) goto fail;
11332 arg2 = obj1;
11333 result = (PyObject *)ob::ebind((ob::EventAction )arg1,arg2);
11334
11335 resultobj = result;
11336 return resultobj;
11337 fail:
11338 return NULL;
11339 }
11340
11341
11342 static PyObject *_wrap_set_reset_key(PyObject *self, PyObject *args) {
11343 PyObject *resultobj;
11344 std::string *arg1 = 0 ;
11345 std::string temp1 ;
11346 PyObject * obj0 = 0 ;
11347
11348 if(!PyArg_ParseTuple(args,(char *)"O:set_reset_key",&obj0)) goto fail;
11349 {
11350 if (PyString_Check(obj0)) {
11351 temp1 = std::string(PyString_AsString(obj0));
11352 arg1 = &temp1;
11353 }else {
11354 SWIG_exception(SWIG_TypeError, "string expected");
11355 }
11356 }
11357 ob::set_reset_key((std::string const &)*arg1);
11358
11359 Py_INCREF(Py_None); resultobj = Py_None;
11360 return resultobj;
11361 fail:
11362 return NULL;
11363 }
11364
11365
11366 static PyObject *_wrap_send_client_msg(PyObject *self, PyObject *args) {
11367 PyObject *resultobj;
11368 Window arg1 ;
11369 Atom arg2 ;
11370 Window arg3 ;
11371 long arg4 ;
11372 long arg5 = (long) 0 ;
11373 long arg6 = (long) 0 ;
11374 long arg7 = (long) 0 ;
11375 long arg8 = (long) 0 ;
11376 PyObject *result;
11377 PyObject * obj0 = 0 ;
11378 PyObject * obj1 = 0 ;
11379 PyObject * obj2 = 0 ;
11380
11381 if(!PyArg_ParseTuple(args,(char *)"OOOl|llll:send_client_msg",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
11382 arg1 = (Window) PyInt_AsLong(obj0);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 arg2 = (Atom) PyInt_AsLong(obj1);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 arg3 = (Window) PyInt_AsLong(obj2);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 result = (PyObject *)ob::send_client_msg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
11389
11390 resultobj = result;
11391 return resultobj;
11392 fail:
11393 return NULL;
11394 }
11395
11396
11397 static PyMethodDef SwigMethods[] = {
11398 { (char *)"Openbox_instance", _wrap_Openbox_instance, METH_VARARGS },
11399 { (char *)"Display_instance", _wrap_Display_instance, METH_VARARGS },
11400 { (char *)"Property_atoms", _wrap_Property_atoms, METH_VARARGS },
11401 { (char *)"new_Display", _wrap_new_Display, METH_VARARGS },
11402 { (char *)"delete_Display", _wrap_delete_Display, METH_VARARGS },
11403 { (char *)"Display_screenInfo", _wrap_Display_screenInfo, METH_VARARGS },
11404 { (char *)"Display_findScreen", _wrap_Display_findScreen, METH_VARARGS },
11405 { (char *)"Display_renderControl", _wrap_Display_renderControl, METH_VARARGS },
11406 { (char *)"Display_xkb", _wrap_Display_xkb, METH_VARARGS },
11407 { (char *)"Display_xkbEventBase", _wrap_Display_xkbEventBase, METH_VARARGS },
11408 { (char *)"Display_shape", _wrap_Display_shape, METH_VARARGS },
11409 { (char *)"Display_shapeEventBase", _wrap_Display_shapeEventBase, METH_VARARGS },
11410 { (char *)"Display_xinerama", _wrap_Display_xinerama, METH_VARARGS },
11411 { (char *)"Display_numLockMask", _wrap_Display_numLockMask, METH_VARARGS },
11412 { (char *)"Display_scrollLockMask", _wrap_Display_scrollLockMask, METH_VARARGS },
11413 { (char *)"Display_modifierMap", _wrap_Display_modifierMap, METH_VARARGS },
11414 { (char *)"Display___mul__", _wrap_Display___mul__, METH_VARARGS },
11415 { (char *)"Display_grab", _wrap_Display_grab, METH_VARARGS },
11416 { (char *)"Display_ungrab", _wrap_Display_ungrab, METH_VARARGS },
11417 { (char *)"Display_grabButton", _wrap_Display_grabButton, METH_VARARGS },
11418 { (char *)"Display_ungrabButton", _wrap_Display_ungrabButton, METH_VARARGS },
11419 { (char *)"Display_grabKey", _wrap_Display_grabKey, METH_VARARGS },
11420 { (char *)"Display_ungrabKey", _wrap_Display_ungrabKey, METH_VARARGS },
11421 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
11422 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
11423 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
11424 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
11425 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
11426 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
11427 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
11428 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
11429 { (char *)"Atoms_cardinal_set", _wrap_Atoms_cardinal_set, METH_VARARGS },
11430 { (char *)"Atoms_cardinal_get", _wrap_Atoms_cardinal_get, METH_VARARGS },
11431 { (char *)"Atoms_window_set", _wrap_Atoms_window_set, METH_VARARGS },
11432 { (char *)"Atoms_window_get", _wrap_Atoms_window_get, METH_VARARGS },
11433 { (char *)"Atoms_pixmap_set", _wrap_Atoms_pixmap_set, METH_VARARGS },
11434 { (char *)"Atoms_pixmap_get", _wrap_Atoms_pixmap_get, METH_VARARGS },
11435 { (char *)"Atoms_atom_set", _wrap_Atoms_atom_set, METH_VARARGS },
11436 { (char *)"Atoms_atom_get", _wrap_Atoms_atom_get, METH_VARARGS },
11437 { (char *)"Atoms_string_set", _wrap_Atoms_string_set, METH_VARARGS },
11438 { (char *)"Atoms_string_get", _wrap_Atoms_string_get, METH_VARARGS },
11439 { (char *)"Atoms_utf8_set", _wrap_Atoms_utf8_set, METH_VARARGS },
11440 { (char *)"Atoms_utf8_get", _wrap_Atoms_utf8_get, METH_VARARGS },
11441 { (char *)"Atoms_openbox_pid_set", _wrap_Atoms_openbox_pid_set, METH_VARARGS },
11442 { (char *)"Atoms_openbox_pid_get", _wrap_Atoms_openbox_pid_get, METH_VARARGS },
11443 { (char *)"Atoms_wm_colormap_windows_set", _wrap_Atoms_wm_colormap_windows_set, METH_VARARGS },
11444 { (char *)"Atoms_wm_colormap_windows_get", _wrap_Atoms_wm_colormap_windows_get, METH_VARARGS },
11445 { (char *)"Atoms_wm_protocols_set", _wrap_Atoms_wm_protocols_set, METH_VARARGS },
11446 { (char *)"Atoms_wm_protocols_get", _wrap_Atoms_wm_protocols_get, METH_VARARGS },
11447 { (char *)"Atoms_wm_state_set", _wrap_Atoms_wm_state_set, METH_VARARGS },
11448 { (char *)"Atoms_wm_state_get", _wrap_Atoms_wm_state_get, METH_VARARGS },
11449 { (char *)"Atoms_wm_delete_window_set", _wrap_Atoms_wm_delete_window_set, METH_VARARGS },
11450 { (char *)"Atoms_wm_delete_window_get", _wrap_Atoms_wm_delete_window_get, METH_VARARGS },
11451 { (char *)"Atoms_wm_take_focus_set", _wrap_Atoms_wm_take_focus_set, METH_VARARGS },
11452 { (char *)"Atoms_wm_take_focus_get", _wrap_Atoms_wm_take_focus_get, METH_VARARGS },
11453 { (char *)"Atoms_wm_change_state_set", _wrap_Atoms_wm_change_state_set, METH_VARARGS },
11454 { (char *)"Atoms_wm_change_state_get", _wrap_Atoms_wm_change_state_get, METH_VARARGS },
11455 { (char *)"Atoms_wm_name_set", _wrap_Atoms_wm_name_set, METH_VARARGS },
11456 { (char *)"Atoms_wm_name_get", _wrap_Atoms_wm_name_get, METH_VARARGS },
11457 { (char *)"Atoms_wm_icon_name_set", _wrap_Atoms_wm_icon_name_set, METH_VARARGS },
11458 { (char *)"Atoms_wm_icon_name_get", _wrap_Atoms_wm_icon_name_get, METH_VARARGS },
11459 { (char *)"Atoms_wm_class_set", _wrap_Atoms_wm_class_set, METH_VARARGS },
11460 { (char *)"Atoms_wm_class_get", _wrap_Atoms_wm_class_get, METH_VARARGS },
11461 { (char *)"Atoms_wm_window_role_set", _wrap_Atoms_wm_window_role_set, METH_VARARGS },
11462 { (char *)"Atoms_wm_window_role_get", _wrap_Atoms_wm_window_role_get, METH_VARARGS },
11463 { (char *)"Atoms_motif_wm_hints_set", _wrap_Atoms_motif_wm_hints_set, METH_VARARGS },
11464 { (char *)"Atoms_motif_wm_hints_get", _wrap_Atoms_motif_wm_hints_get, METH_VARARGS },
11465 { (char *)"Atoms_openbox_show_root_menu_set", _wrap_Atoms_openbox_show_root_menu_set, METH_VARARGS },
11466 { (char *)"Atoms_openbox_show_root_menu_get", _wrap_Atoms_openbox_show_root_menu_get, METH_VARARGS },
11467 { (char *)"Atoms_openbox_show_workspace_menu_set", _wrap_Atoms_openbox_show_workspace_menu_set, METH_VARARGS },
11468 { (char *)"Atoms_openbox_show_workspace_menu_get", _wrap_Atoms_openbox_show_workspace_menu_get, METH_VARARGS },
11469 { (char *)"Atoms_net_supported_set", _wrap_Atoms_net_supported_set, METH_VARARGS },
11470 { (char *)"Atoms_net_supported_get", _wrap_Atoms_net_supported_get, METH_VARARGS },
11471 { (char *)"Atoms_net_client_list_set", _wrap_Atoms_net_client_list_set, METH_VARARGS },
11472 { (char *)"Atoms_net_client_list_get", _wrap_Atoms_net_client_list_get, METH_VARARGS },
11473 { (char *)"Atoms_net_client_list_stacking_set", _wrap_Atoms_net_client_list_stacking_set, METH_VARARGS },
11474 { (char *)"Atoms_net_client_list_stacking_get", _wrap_Atoms_net_client_list_stacking_get, METH_VARARGS },
11475 { (char *)"Atoms_net_number_of_desktops_set", _wrap_Atoms_net_number_of_desktops_set, METH_VARARGS },
11476 { (char *)"Atoms_net_number_of_desktops_get", _wrap_Atoms_net_number_of_desktops_get, METH_VARARGS },
11477 { (char *)"Atoms_net_desktop_geometry_set", _wrap_Atoms_net_desktop_geometry_set, METH_VARARGS },
11478 { (char *)"Atoms_net_desktop_geometry_get", _wrap_Atoms_net_desktop_geometry_get, METH_VARARGS },
11479 { (char *)"Atoms_net_desktop_viewport_set", _wrap_Atoms_net_desktop_viewport_set, METH_VARARGS },
11480 { (char *)"Atoms_net_desktop_viewport_get", _wrap_Atoms_net_desktop_viewport_get, METH_VARARGS },
11481 { (char *)"Atoms_net_current_desktop_set", _wrap_Atoms_net_current_desktop_set, METH_VARARGS },
11482 { (char *)"Atoms_net_current_desktop_get", _wrap_Atoms_net_current_desktop_get, METH_VARARGS },
11483 { (char *)"Atoms_net_desktop_names_set", _wrap_Atoms_net_desktop_names_set, METH_VARARGS },
11484 { (char *)"Atoms_net_desktop_names_get", _wrap_Atoms_net_desktop_names_get, METH_VARARGS },
11485 { (char *)"Atoms_net_active_window_set", _wrap_Atoms_net_active_window_set, METH_VARARGS },
11486 { (char *)"Atoms_net_active_window_get", _wrap_Atoms_net_active_window_get, METH_VARARGS },
11487 { (char *)"Atoms_net_workarea_set", _wrap_Atoms_net_workarea_set, METH_VARARGS },
11488 { (char *)"Atoms_net_workarea_get", _wrap_Atoms_net_workarea_get, METH_VARARGS },
11489 { (char *)"Atoms_net_supporting_wm_check_set", _wrap_Atoms_net_supporting_wm_check_set, METH_VARARGS },
11490 { (char *)"Atoms_net_supporting_wm_check_get", _wrap_Atoms_net_supporting_wm_check_get, METH_VARARGS },
11491 { (char *)"Atoms_net_close_window_set", _wrap_Atoms_net_close_window_set, METH_VARARGS },
11492 { (char *)"Atoms_net_close_window_get", _wrap_Atoms_net_close_window_get, METH_VARARGS },
11493 { (char *)"Atoms_net_wm_moveresize_set", _wrap_Atoms_net_wm_moveresize_set, METH_VARARGS },
11494 { (char *)"Atoms_net_wm_moveresize_get", _wrap_Atoms_net_wm_moveresize_get, METH_VARARGS },
11495 { (char *)"Atoms_net_wm_name_set", _wrap_Atoms_net_wm_name_set, METH_VARARGS },
11496 { (char *)"Atoms_net_wm_name_get", _wrap_Atoms_net_wm_name_get, METH_VARARGS },
11497 { (char *)"Atoms_net_wm_visible_name_set", _wrap_Atoms_net_wm_visible_name_set, METH_VARARGS },
11498 { (char *)"Atoms_net_wm_visible_name_get", _wrap_Atoms_net_wm_visible_name_get, METH_VARARGS },
11499 { (char *)"Atoms_net_wm_icon_name_set", _wrap_Atoms_net_wm_icon_name_set, METH_VARARGS },
11500 { (char *)"Atoms_net_wm_icon_name_get", _wrap_Atoms_net_wm_icon_name_get, METH_VARARGS },
11501 { (char *)"Atoms_net_wm_visible_icon_name_set", _wrap_Atoms_net_wm_visible_icon_name_set, METH_VARARGS },
11502 { (char *)"Atoms_net_wm_visible_icon_name_get", _wrap_Atoms_net_wm_visible_icon_name_get, METH_VARARGS },
11503 { (char *)"Atoms_net_wm_desktop_set", _wrap_Atoms_net_wm_desktop_set, METH_VARARGS },
11504 { (char *)"Atoms_net_wm_desktop_get", _wrap_Atoms_net_wm_desktop_get, METH_VARARGS },
11505 { (char *)"Atoms_net_wm_window_type_set", _wrap_Atoms_net_wm_window_type_set, METH_VARARGS },
11506 { (char *)"Atoms_net_wm_window_type_get", _wrap_Atoms_net_wm_window_type_get, METH_VARARGS },
11507 { (char *)"Atoms_net_wm_state_set", _wrap_Atoms_net_wm_state_set, METH_VARARGS },
11508 { (char *)"Atoms_net_wm_state_get", _wrap_Atoms_net_wm_state_get, METH_VARARGS },
11509 { (char *)"Atoms_net_wm_strut_set", _wrap_Atoms_net_wm_strut_set, METH_VARARGS },
11510 { (char *)"Atoms_net_wm_strut_get", _wrap_Atoms_net_wm_strut_get, METH_VARARGS },
11511 { (char *)"Atoms_net_wm_allowed_actions_set", _wrap_Atoms_net_wm_allowed_actions_set, METH_VARARGS },
11512 { (char *)"Atoms_net_wm_allowed_actions_get", _wrap_Atoms_net_wm_allowed_actions_get, METH_VARARGS },
11513 { (char *)"Atoms_net_wm_window_type_desktop_set", _wrap_Atoms_net_wm_window_type_desktop_set, METH_VARARGS },
11514 { (char *)"Atoms_net_wm_window_type_desktop_get", _wrap_Atoms_net_wm_window_type_desktop_get, METH_VARARGS },
11515 { (char *)"Atoms_net_wm_window_type_dock_set", _wrap_Atoms_net_wm_window_type_dock_set, METH_VARARGS },
11516 { (char *)"Atoms_net_wm_window_type_dock_get", _wrap_Atoms_net_wm_window_type_dock_get, METH_VARARGS },
11517 { (char *)"Atoms_net_wm_window_type_toolbar_set", _wrap_Atoms_net_wm_window_type_toolbar_set, METH_VARARGS },
11518 { (char *)"Atoms_net_wm_window_type_toolbar_get", _wrap_Atoms_net_wm_window_type_toolbar_get, METH_VARARGS },
11519 { (char *)"Atoms_net_wm_window_type_menu_set", _wrap_Atoms_net_wm_window_type_menu_set, METH_VARARGS },
11520 { (char *)"Atoms_net_wm_window_type_menu_get", _wrap_Atoms_net_wm_window_type_menu_get, METH_VARARGS },
11521 { (char *)"Atoms_net_wm_window_type_utility_set", _wrap_Atoms_net_wm_window_type_utility_set, METH_VARARGS },
11522 { (char *)"Atoms_net_wm_window_type_utility_get", _wrap_Atoms_net_wm_window_type_utility_get, METH_VARARGS },
11523 { (char *)"Atoms_net_wm_window_type_splash_set", _wrap_Atoms_net_wm_window_type_splash_set, METH_VARARGS },
11524 { (char *)"Atoms_net_wm_window_type_splash_get", _wrap_Atoms_net_wm_window_type_splash_get, METH_VARARGS },
11525 { (char *)"Atoms_net_wm_window_type_dialog_set", _wrap_Atoms_net_wm_window_type_dialog_set, METH_VARARGS },
11526 { (char *)"Atoms_net_wm_window_type_dialog_get", _wrap_Atoms_net_wm_window_type_dialog_get, METH_VARARGS },
11527 { (char *)"Atoms_net_wm_window_type_normal_set", _wrap_Atoms_net_wm_window_type_normal_set, METH_VARARGS },
11528 { (char *)"Atoms_net_wm_window_type_normal_get", _wrap_Atoms_net_wm_window_type_normal_get, METH_VARARGS },
11529 { (char *)"Atoms_net_wm_moveresize_size_topleft_set", _wrap_Atoms_net_wm_moveresize_size_topleft_set, METH_VARARGS },
11530 { (char *)"Atoms_net_wm_moveresize_size_topleft_get", _wrap_Atoms_net_wm_moveresize_size_topleft_get, METH_VARARGS },
11531 { (char *)"Atoms_net_wm_moveresize_size_topright_set", _wrap_Atoms_net_wm_moveresize_size_topright_set, METH_VARARGS },
11532 { (char *)"Atoms_net_wm_moveresize_size_topright_get", _wrap_Atoms_net_wm_moveresize_size_topright_get, METH_VARARGS },
11533 { (char *)"Atoms_net_wm_moveresize_size_bottomleft_set", _wrap_Atoms_net_wm_moveresize_size_bottomleft_set, METH_VARARGS },
11534 { (char *)"Atoms_net_wm_moveresize_size_bottomleft_get", _wrap_Atoms_net_wm_moveresize_size_bottomleft_get, METH_VARARGS },
11535 { (char *)"Atoms_net_wm_moveresize_size_bottomright_set", _wrap_Atoms_net_wm_moveresize_size_bottomright_set, METH_VARARGS },
11536 { (char *)"Atoms_net_wm_moveresize_size_bottomright_get", _wrap_Atoms_net_wm_moveresize_size_bottomright_get, METH_VARARGS },
11537 { (char *)"Atoms_net_wm_moveresize_move_set", _wrap_Atoms_net_wm_moveresize_move_set, METH_VARARGS },
11538 { (char *)"Atoms_net_wm_moveresize_move_get", _wrap_Atoms_net_wm_moveresize_move_get, METH_VARARGS },
11539 { (char *)"Atoms_net_wm_action_move_set", _wrap_Atoms_net_wm_action_move_set, METH_VARARGS },
11540 { (char *)"Atoms_net_wm_action_move_get", _wrap_Atoms_net_wm_action_move_get, METH_VARARGS },
11541 { (char *)"Atoms_net_wm_action_resize_set", _wrap_Atoms_net_wm_action_resize_set, METH_VARARGS },
11542 { (char *)"Atoms_net_wm_action_resize_get", _wrap_Atoms_net_wm_action_resize_get, METH_VARARGS },
11543 { (char *)"Atoms_net_wm_action_minimize_set", _wrap_Atoms_net_wm_action_minimize_set, METH_VARARGS },
11544 { (char *)"Atoms_net_wm_action_minimize_get", _wrap_Atoms_net_wm_action_minimize_get, METH_VARARGS },
11545 { (char *)"Atoms_net_wm_action_shade_set", _wrap_Atoms_net_wm_action_shade_set, METH_VARARGS },
11546 { (char *)"Atoms_net_wm_action_shade_get", _wrap_Atoms_net_wm_action_shade_get, METH_VARARGS },
11547 { (char *)"Atoms_net_wm_action_stick_set", _wrap_Atoms_net_wm_action_stick_set, METH_VARARGS },
11548 { (char *)"Atoms_net_wm_action_stick_get", _wrap_Atoms_net_wm_action_stick_get, METH_VARARGS },
11549 { (char *)"Atoms_net_wm_action_maximize_horz_set", _wrap_Atoms_net_wm_action_maximize_horz_set, METH_VARARGS },
11550 { (char *)"Atoms_net_wm_action_maximize_horz_get", _wrap_Atoms_net_wm_action_maximize_horz_get, METH_VARARGS },
11551 { (char *)"Atoms_net_wm_action_maximize_vert_set", _wrap_Atoms_net_wm_action_maximize_vert_set, METH_VARARGS },
11552 { (char *)"Atoms_net_wm_action_maximize_vert_get", _wrap_Atoms_net_wm_action_maximize_vert_get, METH_VARARGS },
11553 { (char *)"Atoms_net_wm_action_fullscreen_set", _wrap_Atoms_net_wm_action_fullscreen_set, METH_VARARGS },
11554 { (char *)"Atoms_net_wm_action_fullscreen_get", _wrap_Atoms_net_wm_action_fullscreen_get, METH_VARARGS },
11555 { (char *)"Atoms_net_wm_action_change_desktop_set", _wrap_Atoms_net_wm_action_change_desktop_set, METH_VARARGS },
11556 { (char *)"Atoms_net_wm_action_change_desktop_get", _wrap_Atoms_net_wm_action_change_desktop_get, METH_VARARGS },
11557 { (char *)"Atoms_net_wm_action_close_set", _wrap_Atoms_net_wm_action_close_set, METH_VARARGS },
11558 { (char *)"Atoms_net_wm_action_close_get", _wrap_Atoms_net_wm_action_close_get, METH_VARARGS },
11559 { (char *)"Atoms_net_wm_state_modal_set", _wrap_Atoms_net_wm_state_modal_set, METH_VARARGS },
11560 { (char *)"Atoms_net_wm_state_modal_get", _wrap_Atoms_net_wm_state_modal_get, METH_VARARGS },
11561 { (char *)"Atoms_net_wm_state_sticky_set", _wrap_Atoms_net_wm_state_sticky_set, METH_VARARGS },
11562 { (char *)"Atoms_net_wm_state_sticky_get", _wrap_Atoms_net_wm_state_sticky_get, METH_VARARGS },
11563 { (char *)"Atoms_net_wm_state_maximized_vert_set", _wrap_Atoms_net_wm_state_maximized_vert_set, METH_VARARGS },
11564 { (char *)"Atoms_net_wm_state_maximized_vert_get", _wrap_Atoms_net_wm_state_maximized_vert_get, METH_VARARGS },
11565 { (char *)"Atoms_net_wm_state_maximized_horz_set", _wrap_Atoms_net_wm_state_maximized_horz_set, METH_VARARGS },
11566 { (char *)"Atoms_net_wm_state_maximized_horz_get", _wrap_Atoms_net_wm_state_maximized_horz_get, METH_VARARGS },
11567 { (char *)"Atoms_net_wm_state_shaded_set", _wrap_Atoms_net_wm_state_shaded_set, METH_VARARGS },
11568 { (char *)"Atoms_net_wm_state_shaded_get", _wrap_Atoms_net_wm_state_shaded_get, METH_VARARGS },
11569 { (char *)"Atoms_net_wm_state_skip_taskbar_set", _wrap_Atoms_net_wm_state_skip_taskbar_set, METH_VARARGS },
11570 { (char *)"Atoms_net_wm_state_skip_taskbar_get", _wrap_Atoms_net_wm_state_skip_taskbar_get, METH_VARARGS },
11571 { (char *)"Atoms_net_wm_state_skip_pager_set", _wrap_Atoms_net_wm_state_skip_pager_set, METH_VARARGS },
11572 { (char *)"Atoms_net_wm_state_skip_pager_get", _wrap_Atoms_net_wm_state_skip_pager_get, METH_VARARGS },
11573 { (char *)"Atoms_net_wm_state_hidden_set", _wrap_Atoms_net_wm_state_hidden_set, METH_VARARGS },
11574 { (char *)"Atoms_net_wm_state_hidden_get", _wrap_Atoms_net_wm_state_hidden_get, METH_VARARGS },
11575 { (char *)"Atoms_net_wm_state_fullscreen_set", _wrap_Atoms_net_wm_state_fullscreen_set, METH_VARARGS },
11576 { (char *)"Atoms_net_wm_state_fullscreen_get", _wrap_Atoms_net_wm_state_fullscreen_get, METH_VARARGS },
11577 { (char *)"Atoms_net_wm_state_above_set", _wrap_Atoms_net_wm_state_above_set, METH_VARARGS },
11578 { (char *)"Atoms_net_wm_state_above_get", _wrap_Atoms_net_wm_state_above_get, METH_VARARGS },
11579 { (char *)"Atoms_net_wm_state_below_set", _wrap_Atoms_net_wm_state_below_set, METH_VARARGS },
11580 { (char *)"Atoms_net_wm_state_below_get", _wrap_Atoms_net_wm_state_below_get, METH_VARARGS },
11581 { (char *)"Atoms_kde_net_system_tray_windows_set", _wrap_Atoms_kde_net_system_tray_windows_set, METH_VARARGS },
11582 { (char *)"Atoms_kde_net_system_tray_windows_get", _wrap_Atoms_kde_net_system_tray_windows_get, METH_VARARGS },
11583 { (char *)"Atoms_kde_net_wm_system_tray_window_for_set", _wrap_Atoms_kde_net_wm_system_tray_window_for_set, METH_VARARGS },
11584 { (char *)"Atoms_kde_net_wm_system_tray_window_for_get", _wrap_Atoms_kde_net_wm_system_tray_window_for_get, METH_VARARGS },
11585 { (char *)"Atoms_kde_net_wm_window_type_override_set", _wrap_Atoms_kde_net_wm_window_type_override_set, METH_VARARGS },
11586 { (char *)"Atoms_kde_net_wm_window_type_override_get", _wrap_Atoms_kde_net_wm_window_type_override_get, METH_VARARGS },
11587 { (char *)"Atoms_swigregister", Atoms_swigregister, METH_VARARGS },
11588 { (char *)"Property_initialize", _wrap_Property_initialize, METH_VARARGS },
11589 { (char *)"Property_set", _wrap_Property_set, METH_VARARGS },
11590 { (char *)"Property_get", _wrap_Property_get, METH_VARARGS },
11591 { (char *)"Property_erase", _wrap_Property_erase, METH_VARARGS },
11592 { (char *)"Property_swigregister", Property_swigregister, METH_VARARGS },
11593 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
11594 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
11595 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
11596 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
11597 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
11598 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
11599 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
11600 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
11601 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
11602 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
11603 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
11604 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
11605 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
11606 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
11607 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
11608 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
11609 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
11610 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
11611 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
11612 { (char *)"Rect___eq__", _wrap_Rect___eq__, METH_VARARGS },
11613 { (char *)"Rect___ne__", _wrap_Rect___ne__, METH_VARARGS },
11614 { (char *)"Rect___or__", _wrap_Rect___or__, METH_VARARGS },
11615 { (char *)"Rect___and__", _wrap_Rect___and__, METH_VARARGS },
11616 { (char *)"Rect___ior__", _wrap_Rect___ior__, METH_VARARGS },
11617 { (char *)"Rect___iand__", _wrap_Rect___iand__, METH_VARARGS },
11618 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
11619 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
11620 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
11621 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
11622 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
11623 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
11624 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
11625 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
11626 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
11627 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
11628 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
11629 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
11630 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
11631 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
11632 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
11633 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
11634 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
11635 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
11636 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
11637 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
11638 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
11639 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
11640 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
11641 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
11642 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
11643 { (char *)"EventHandler_handle", _wrap_EventHandler_handle, METH_VARARGS },
11644 { (char *)"EventHandler_keyPressHandler", _wrap_EventHandler_keyPressHandler, METH_VARARGS },
11645 { (char *)"EventHandler_keyReleaseHandler", _wrap_EventHandler_keyReleaseHandler, METH_VARARGS },
11646 { (char *)"EventHandler_buttonPressHandler", _wrap_EventHandler_buttonPressHandler, METH_VARARGS },
11647 { (char *)"EventHandler_buttonReleaseHandler", _wrap_EventHandler_buttonReleaseHandler, METH_VARARGS },
11648 { (char *)"EventHandler_motionHandler", _wrap_EventHandler_motionHandler, METH_VARARGS },
11649 { (char *)"EventHandler_enterHandler", _wrap_EventHandler_enterHandler, METH_VARARGS },
11650 { (char *)"EventHandler_leaveHandler", _wrap_EventHandler_leaveHandler, METH_VARARGS },
11651 { (char *)"EventHandler_focusHandler", _wrap_EventHandler_focusHandler, METH_VARARGS },
11652 { (char *)"EventHandler_unfocusHandler", _wrap_EventHandler_unfocusHandler, METH_VARARGS },
11653 { (char *)"EventHandler_exposeHandler", _wrap_EventHandler_exposeHandler, METH_VARARGS },
11654 { (char *)"EventHandler_graphicsExposeHandler", _wrap_EventHandler_graphicsExposeHandler, METH_VARARGS },
11655 { (char *)"EventHandler_noExposeEventHandler", _wrap_EventHandler_noExposeEventHandler, METH_VARARGS },
11656 { (char *)"EventHandler_circulateRequestHandler", _wrap_EventHandler_circulateRequestHandler, METH_VARARGS },
11657 { (char *)"EventHandler_configureRequestHandler", _wrap_EventHandler_configureRequestHandler, METH_VARARGS },
11658 { (char *)"EventHandler_mapRequestHandler", _wrap_EventHandler_mapRequestHandler, METH_VARARGS },
11659 { (char *)"EventHandler_resizeRequestHandler", _wrap_EventHandler_resizeRequestHandler, METH_VARARGS },
11660 { (char *)"EventHandler_circulateHandler", _wrap_EventHandler_circulateHandler, METH_VARARGS },
11661 { (char *)"EventHandler_configureHandler", _wrap_EventHandler_configureHandler, METH_VARARGS },
11662 { (char *)"EventHandler_createHandler", _wrap_EventHandler_createHandler, METH_VARARGS },
11663 { (char *)"EventHandler_destroyHandler", _wrap_EventHandler_destroyHandler, METH_VARARGS },
11664 { (char *)"EventHandler_gravityHandler", _wrap_EventHandler_gravityHandler, METH_VARARGS },
11665 { (char *)"EventHandler_mapHandler", _wrap_EventHandler_mapHandler, METH_VARARGS },
11666 { (char *)"EventHandler_mappingHandler", _wrap_EventHandler_mappingHandler, METH_VARARGS },
11667 { (char *)"EventHandler_reparentHandler", _wrap_EventHandler_reparentHandler, METH_VARARGS },
11668 { (char *)"EventHandler_unmapHandler", _wrap_EventHandler_unmapHandler, METH_VARARGS },
11669 { (char *)"EventHandler_visibilityHandler", _wrap_EventHandler_visibilityHandler, METH_VARARGS },
11670 { (char *)"EventHandler_colorMapHandler", _wrap_EventHandler_colorMapHandler, METH_VARARGS },
11671 { (char *)"EventHandler_propertyHandler", _wrap_EventHandler_propertyHandler, METH_VARARGS },
11672 { (char *)"EventHandler_selectionClearHandler", _wrap_EventHandler_selectionClearHandler, METH_VARARGS },
11673 { (char *)"EventHandler_selectionHandler", _wrap_EventHandler_selectionHandler, METH_VARARGS },
11674 { (char *)"EventHandler_selectionRequestHandler", _wrap_EventHandler_selectionRequestHandler, METH_VARARGS },
11675 { (char *)"EventHandler_clientMessageHandler", _wrap_EventHandler_clientMessageHandler, METH_VARARGS },
11676 { (char *)"delete_EventHandler", _wrap_delete_EventHandler, METH_VARARGS },
11677 { (char *)"EventHandler_swigregister", EventHandler_swigregister, METH_VARARGS },
11678 { (char *)"new_EventDispatcher", _wrap_new_EventDispatcher, METH_VARARGS },
11679 { (char *)"delete_EventDispatcher", _wrap_delete_EventDispatcher, METH_VARARGS },
11680 { (char *)"EventDispatcher_clearAllHandlers", _wrap_EventDispatcher_clearAllHandlers, METH_VARARGS },
11681 { (char *)"EventDispatcher_registerHandler", _wrap_EventDispatcher_registerHandler, METH_VARARGS },
11682 { (char *)"EventDispatcher_clearHandler", _wrap_EventDispatcher_clearHandler, METH_VARARGS },
11683 { (char *)"EventDispatcher_dispatchEvents", _wrap_EventDispatcher_dispatchEvents, METH_VARARGS },
11684 { (char *)"EventDispatcher_setFallbackHandler", _wrap_EventDispatcher_setFallbackHandler, METH_VARARGS },
11685 { (char *)"EventDispatcher_getFallbackHandler", _wrap_EventDispatcher_getFallbackHandler, METH_VARARGS },
11686 { (char *)"EventDispatcher_setMasterHandler", _wrap_EventDispatcher_setMasterHandler, METH_VARARGS },
11687 { (char *)"EventDispatcher_getMasterHandler", _wrap_EventDispatcher_getMasterHandler, METH_VARARGS },
11688 { (char *)"EventDispatcher_findHandler", _wrap_EventDispatcher_findHandler, METH_VARARGS },
11689 { (char *)"EventDispatcher_lastTime", _wrap_EventDispatcher_lastTime, METH_VARARGS },
11690 { (char *)"EventDispatcher_swigregister", EventDispatcher_swigregister, METH_VARARGS },
11691 { (char *)"Cursors_session_set", _wrap_Cursors_session_set, METH_VARARGS },
11692 { (char *)"Cursors_session_get", _wrap_Cursors_session_get, METH_VARARGS },
11693 { (char *)"Cursors_move_set", _wrap_Cursors_move_set, METH_VARARGS },
11694 { (char *)"Cursors_move_get", _wrap_Cursors_move_get, METH_VARARGS },
11695 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set, METH_VARARGS },
11696 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get, METH_VARARGS },
11697 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set, METH_VARARGS },
11698 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get, METH_VARARGS },
11699 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set, METH_VARARGS },
11700 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get, METH_VARARGS },
11701 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set, METH_VARARGS },
11702 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get, METH_VARARGS },
11703 { (char *)"Cursors_swigregister", Cursors_swigregister, METH_VARARGS },
11704 { (char *)"Openbox_state", _wrap_Openbox_state, METH_VARARGS },
11705 { (char *)"Openbox_actions", _wrap_Openbox_actions, METH_VARARGS },
11706 { (char *)"Openbox_bindings", _wrap_Openbox_bindings, METH_VARARGS },
11707 { (char *)"Openbox_screen", _wrap_Openbox_screen, METH_VARARGS },
11708 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount, METH_VARARGS },
11709 { (char *)"Openbox_cursors", _wrap_Openbox_cursors, METH_VARARGS },
11710 { (char *)"Openbox_addClient", _wrap_Openbox_addClient, METH_VARARGS },
11711 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient, METH_VARARGS },
11712 { (char *)"Openbox_findClient", _wrap_Openbox_findClient, METH_VARARGS },
11713 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient, METH_VARARGS },
11714 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient, METH_VARARGS },
11715 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen, METH_VARARGS },
11716 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown, METH_VARARGS },
11717 { (char *)"Openbox_restart", _wrap_Openbox_restart, METH_VARARGS },
11718 { (char *)"Openbox_execute", _wrap_Openbox_execute, METH_VARARGS },
11719 { (char *)"Openbox_swigregister", Openbox_swigregister, METH_VARARGS },
11720 { (char *)"Screen_client", _wrap_Screen_client, METH_VARARGS },
11721 { (char *)"Screen_clientCount", _wrap_Screen_clientCount, METH_VARARGS },
11722 { (char *)"Screen_number", _wrap_Screen_number, METH_VARARGS },
11723 { (char *)"Screen_managed", _wrap_Screen_managed, METH_VARARGS },
11724 { (char *)"Screen_area", _wrap_Screen_area, METH_VARARGS },
11725 { (char *)"Screen_style", _wrap_Screen_style, METH_VARARGS },
11726 { (char *)"Screen_focuswindow", _wrap_Screen_focuswindow, METH_VARARGS },
11727 { (char *)"Screen_desktop", _wrap_Screen_desktop, METH_VARARGS },
11728 { (char *)"Screen_numDesktops", _wrap_Screen_numDesktops, METH_VARARGS },
11729 { (char *)"Screen_updateStrut", _wrap_Screen_updateStrut, METH_VARARGS },
11730 { (char *)"Screen_manageExisting", _wrap_Screen_manageExisting, METH_VARARGS },
11731 { (char *)"Screen_manageWindow", _wrap_Screen_manageWindow, METH_VARARGS },
11732 { (char *)"Screen_unmanageWindow", _wrap_Screen_unmanageWindow, METH_VARARGS },
11733 { (char *)"Screen_raiseWindow", _wrap_Screen_raiseWindow, METH_VARARGS },
11734 { (char *)"Screen_lowerWindow", _wrap_Screen_lowerWindow, METH_VARARGS },
11735 { (char *)"Screen_setDesktopName", _wrap_Screen_setDesktopName, METH_VARARGS },
11736 { (char *)"Screen_propertyHandler", _wrap_Screen_propertyHandler, METH_VARARGS },
11737 { (char *)"Screen_clientMessageHandler", _wrap_Screen_clientMessageHandler, METH_VARARGS },
11738 { (char *)"Screen_mapRequestHandler", _wrap_Screen_mapRequestHandler, METH_VARARGS },
11739 { (char *)"Screen_swigregister", Screen_swigregister, METH_VARARGS },
11740 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set, METH_VARARGS },
11741 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get, METH_VARARGS },
11742 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set, METH_VARARGS },
11743 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get, METH_VARARGS },
11744 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set, METH_VARARGS },
11745 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get, METH_VARARGS },
11746 { (char *)"MwmHints_swigregister", MwmHints_swigregister, METH_VARARGS },
11747 { (char *)"Client_frame_set", _wrap_Client_frame_set, METH_VARARGS },
11748 { (char *)"Client_frame_get", _wrap_Client_frame_get, METH_VARARGS },
11749 { (char *)"Client_ignore_unmaps_set", _wrap_Client_ignore_unmaps_set, METH_VARARGS },
11750 { (char *)"Client_ignore_unmaps_get", _wrap_Client_ignore_unmaps_get, METH_VARARGS },
11751 { (char *)"Client_screen", _wrap_Client_screen, METH_VARARGS },
11752 { (char *)"Client_window", _wrap_Client_window, METH_VARARGS },
11753 { (char *)"Client_type", _wrap_Client_type, METH_VARARGS },
11754 { (char *)"Client_normal", _wrap_Client_normal, METH_VARARGS },
11755 { (char *)"Client_desktop", _wrap_Client_desktop, METH_VARARGS },
11756 { (char *)"Client_title", _wrap_Client_title, METH_VARARGS },
11757 { (char *)"Client_iconTitle", _wrap_Client_iconTitle, METH_VARARGS },
11758 { (char *)"Client_appName", _wrap_Client_appName, METH_VARARGS },
11759 { (char *)"Client_appClass", _wrap_Client_appClass, METH_VARARGS },
11760 { (char *)"Client_role", _wrap_Client_role, METH_VARARGS },
11761 { (char *)"Client_canFocus", _wrap_Client_canFocus, METH_VARARGS },
11762 { (char *)"Client_urgent", _wrap_Client_urgent, METH_VARARGS },
11763 { (char *)"Client_focusNotify", _wrap_Client_focusNotify, METH_VARARGS },
11764 { (char *)"Client_shaped", _wrap_Client_shaped, METH_VARARGS },
11765 { (char *)"Client_gravity", _wrap_Client_gravity, METH_VARARGS },
11766 { (char *)"Client_positionRequested", _wrap_Client_positionRequested, METH_VARARGS },
11767 { (char *)"Client_decorations", _wrap_Client_decorations, METH_VARARGS },
11768 { (char *)"Client_funtions", _wrap_Client_funtions, METH_VARARGS },
11769 { (char *)"Client_transientFor", _wrap_Client_transientFor, METH_VARARGS },
11770 { (char *)"Client_modal", _wrap_Client_modal, METH_VARARGS },
11771 { (char *)"Client_shaded", _wrap_Client_shaded, METH_VARARGS },
11772 { (char *)"Client_fullscreen", _wrap_Client_fullscreen, METH_VARARGS },
11773 { (char *)"Client_iconic", _wrap_Client_iconic, METH_VARARGS },
11774 { (char *)"Client_maxVert", _wrap_Client_maxVert, METH_VARARGS },
11775 { (char *)"Client_maxHorz", _wrap_Client_maxHorz, METH_VARARGS },
11776 { (char *)"Client_layer", _wrap_Client_layer, METH_VARARGS },
11777 { (char *)"Client_applyStartupState", _wrap_Client_applyStartupState, METH_VARARGS },
11778 { (char *)"Client_toggleClientBorder", _wrap_Client_toggleClientBorder, METH_VARARGS },
11779 { (char *)"Client_area", _wrap_Client_area, METH_VARARGS },
11780 { (char *)"Client_strut", _wrap_Client_strut, METH_VARARGS },
11781 { (char *)"Client_move", _wrap_Client_move, METH_VARARGS },
11782 { (char *)"Client_resize", _wrap_Client_resize, METH_VARARGS },
11783 { (char *)"Client_focus", _wrap_Client_focus, METH_VARARGS },
11784 { (char *)"Client_unfocus", _wrap_Client_unfocus, METH_VARARGS },
11785 { (char *)"Client_focusHandler", _wrap_Client_focusHandler, METH_VARARGS },
11786 { (char *)"Client_unfocusHandler", _wrap_Client_unfocusHandler, METH_VARARGS },
11787 { (char *)"Client_propertyHandler", _wrap_Client_propertyHandler, METH_VARARGS },
11788 { (char *)"Client_clientMessageHandler", _wrap_Client_clientMessageHandler, METH_VARARGS },
11789 { (char *)"Client_configureRequestHandler", _wrap_Client_configureRequestHandler, METH_VARARGS },
11790 { (char *)"Client_unmapHandler", _wrap_Client_unmapHandler, METH_VARARGS },
11791 { (char *)"Client_destroyHandler", _wrap_Client_destroyHandler, METH_VARARGS },
11792 { (char *)"Client_reparentHandler", _wrap_Client_reparentHandler, METH_VARARGS },
11793 { (char *)"Client_mapRequestHandler", _wrap_Client_mapRequestHandler, METH_VARARGS },
11794 { (char *)"Client_swigregister", Client_swigregister, METH_VARARGS },
11795 { (char *)"new_Frame", _wrap_new_Frame, METH_VARARGS },
11796 { (char *)"delete_Frame", _wrap_delete_Frame, METH_VARARGS },
11797 { (char *)"Frame_size", _wrap_Frame_size, METH_VARARGS },
11798 { (char *)"Frame_setStyle", _wrap_Frame_setStyle, METH_VARARGS },
11799 { (char *)"Frame_adjust", _wrap_Frame_adjust, METH_VARARGS },
11800 { (char *)"Frame_focus", _wrap_Frame_focus, METH_VARARGS },
11801 { (char *)"Frame_unfocus", _wrap_Frame_unfocus, METH_VARARGS },
11802 { (char *)"Frame_setTitle", _wrap_Frame_setTitle, METH_VARARGS },
11803 { (char *)"Frame_grabClient", _wrap_Frame_grabClient, METH_VARARGS },
11804 { (char *)"Frame_releaseClient", _wrap_Frame_releaseClient, METH_VARARGS },
11805 { (char *)"Frame_adjustSize", _wrap_Frame_adjustSize, METH_VARARGS },
11806 { (char *)"Frame_adjustPosition", _wrap_Frame_adjustPosition, METH_VARARGS },
11807 { (char *)"Frame_adjustShape", _wrap_Frame_adjustShape, METH_VARARGS },
11808 { (char *)"Frame_adjustState", _wrap_Frame_adjustState, METH_VARARGS },
11809 { (char *)"Frame_clientGravity", _wrap_Frame_clientGravity, METH_VARARGS },
11810 { (char *)"Frame_frameGravity", _wrap_Frame_frameGravity, METH_VARARGS },
11811 { (char *)"Frame_plate", _wrap_Frame_plate, METH_VARARGS },
11812 { (char *)"Frame_titlebar", _wrap_Frame_titlebar, METH_VARARGS },
11813 { (char *)"Frame_label", _wrap_Frame_label, METH_VARARGS },
11814 { (char *)"Frame_button_close", _wrap_Frame_button_close, METH_VARARGS },
11815 { (char *)"Frame_button_iconify", _wrap_Frame_button_iconify, METH_VARARGS },
11816 { (char *)"Frame_button_max", _wrap_Frame_button_max, METH_VARARGS },
11817 { (char *)"Frame_button_alldesk", _wrap_Frame_button_alldesk, METH_VARARGS },
11818 { (char *)"Frame_handle", _wrap_Frame_handle, METH_VARARGS },
11819 { (char *)"Frame_grip_left", _wrap_Frame_grip_left, METH_VARARGS },
11820 { (char *)"Frame_grip_right", _wrap_Frame_grip_right, METH_VARARGS },
11821 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
11822 { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set, METH_VARARGS },
11823 { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get, METH_VARARGS },
11824 { (char *)"MouseData_client_set", _wrap_MouseData_client_set, METH_VARARGS },
11825 { (char *)"MouseData_client_get", _wrap_MouseData_client_get, METH_VARARGS },
11826 { (char *)"MouseData_time_set", _wrap_MouseData_time_set, METH_VARARGS },
11827 { (char *)"MouseData_time_get", _wrap_MouseData_time_get, METH_VARARGS },
11828 { (char *)"MouseData_state_set", _wrap_MouseData_state_set, METH_VARARGS },
11829 { (char *)"MouseData_state_get", _wrap_MouseData_state_get, METH_VARARGS },
11830 { (char *)"MouseData_button_set", _wrap_MouseData_button_set, METH_VARARGS },
11831 { (char *)"MouseData_button_get", _wrap_MouseData_button_get, METH_VARARGS },
11832 { (char *)"MouseData_context_set", _wrap_MouseData_context_set, METH_VARARGS },
11833 { (char *)"MouseData_context_get", _wrap_MouseData_context_get, METH_VARARGS },
11834 { (char *)"MouseData_action_set", _wrap_MouseData_action_set, METH_VARARGS },
11835 { (char *)"MouseData_action_get", _wrap_MouseData_action_get, METH_VARARGS },
11836 { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set, METH_VARARGS },
11837 { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get, METH_VARARGS },
11838 { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set, METH_VARARGS },
11839 { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get, METH_VARARGS },
11840 { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set, METH_VARARGS },
11841 { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get, METH_VARARGS },
11842 { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set, METH_VARARGS },
11843 { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get, METH_VARARGS },
11844 { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set, METH_VARARGS },
11845 { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get, METH_VARARGS },
11846 { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set, METH_VARARGS },
11847 { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get, METH_VARARGS },
11848 { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set, METH_VARARGS },
11849 { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get, METH_VARARGS },
11850 { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set, METH_VARARGS },
11851 { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get, METH_VARARGS },
11852 { (char *)"new_MouseData", _wrap_new_MouseData, METH_VARARGS },
11853 { (char *)"MouseData_swigregister", MouseData_swigregister, METH_VARARGS },
11854 { (char *)"EventData_screen_set", _wrap_EventData_screen_set, METH_VARARGS },
11855 { (char *)"EventData_screen_get", _wrap_EventData_screen_get, METH_VARARGS },
11856 { (char *)"EventData_client_set", _wrap_EventData_client_set, METH_VARARGS },
11857 { (char *)"EventData_client_get", _wrap_EventData_client_get, METH_VARARGS },
11858 { (char *)"EventData_state_set", _wrap_EventData_state_set, METH_VARARGS },
11859 { (char *)"EventData_state_get", _wrap_EventData_state_get, METH_VARARGS },
11860 { (char *)"EventData_action_set", _wrap_EventData_action_set, METH_VARARGS },
11861 { (char *)"EventData_action_get", _wrap_EventData_action_get, METH_VARARGS },
11862 { (char *)"new_EventData", _wrap_new_EventData, METH_VARARGS },
11863 { (char *)"EventData_swigregister", EventData_swigregister, METH_VARARGS },
11864 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set, METH_VARARGS },
11865 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get, METH_VARARGS },
11866 { (char *)"KeyData_client_set", _wrap_KeyData_client_set, METH_VARARGS },
11867 { (char *)"KeyData_client_get", _wrap_KeyData_client_get, METH_VARARGS },
11868 { (char *)"KeyData_time_set", _wrap_KeyData_time_set, METH_VARARGS },
11869 { (char *)"KeyData_time_get", _wrap_KeyData_time_get, METH_VARARGS },
11870 { (char *)"KeyData_state_set", _wrap_KeyData_state_set, METH_VARARGS },
11871 { (char *)"KeyData_state_get", _wrap_KeyData_state_get, METH_VARARGS },
11872 { (char *)"KeyData_key_set", _wrap_KeyData_key_set, METH_VARARGS },
11873 { (char *)"KeyData_key_get", _wrap_KeyData_key_get, METH_VARARGS },
11874 { (char *)"KeyData_action_set", _wrap_KeyData_action_set, METH_VARARGS },
11875 { (char *)"KeyData_action_get", _wrap_KeyData_action_get, METH_VARARGS },
11876 { (char *)"new_KeyData", _wrap_new_KeyData, METH_VARARGS },
11877 { (char *)"KeyData_swigregister", KeyData_swigregister, METH_VARARGS },
11878 { (char *)"mbind", _wrap_mbind, METH_VARARGS },
11879 { (char *)"kbind", _wrap_kbind, METH_VARARGS },
11880 { (char *)"kgrab", _wrap_kgrab, METH_VARARGS },
11881 { (char *)"kungrab", _wrap_kungrab, METH_VARARGS },
11882 { (char *)"ebind", _wrap_ebind, METH_VARARGS },
11883 { (char *)"set_reset_key", _wrap_set_reset_key, METH_VARARGS },
11884 { (char *)"send_client_msg", _wrap_send_client_msg, METH_VARARGS },
11885 { NULL, NULL }
11886 };
11887
11888
11889 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11890
11891 static void *_p_ob__FrameTo_p_otk__Widget(void *x) {
11892 return (void *)((otk::Widget *) ((ob::Frame *) x));
11893 }
11894 static void *_p_ob__ActionsTo_p_otk__EventHandler(void *x) {
11895 return (void *)((otk::EventHandler *) ((ob::Actions *) x));
11896 }
11897 static void *_p_ob__FrameTo_p_otk__EventHandler(void *x) {
11898 return (void *)((otk::EventHandler *) (otk::Widget *) ((ob::Frame *) x));
11899 }
11900 static void *_p_otk__WidgetTo_p_otk__EventHandler(void *x) {
11901 return (void *)((otk::EventHandler *) ((otk::Widget *) x));
11902 }
11903 static void *_p_ob__OpenboxTo_p_otk__EventHandler(void *x) {
11904 return (void *)((otk::EventHandler *) ((ob::Openbox *) x));
11905 }
11906 static void *_p_ob__ScreenTo_p_otk__EventHandler(void *x) {
11907 return (void *)((otk::EventHandler *) ((ob::Screen *) x));
11908 }
11909 static void *_p_ob__ClientTo_p_otk__EventHandler(void *x) {
11910 return (void *)((otk::EventHandler *) ((ob::Client *) x));
11911 }
11912 static void *_p_ob__OpenboxTo_p_otk__EventDispatcher(void *x) {
11913 return (void *)((otk::EventDispatcher *) ((ob::Openbox *) x));
11914 }
11915 static void *_p_ob__FrameTo_p_ob__WidgetBase(void *x) {
11916 return (void *)((ob::WidgetBase *) ((ob::Frame *) x));
11917 }
11918 static void *_p_ob__ScreenTo_p_ob__WidgetBase(void *x) {
11919 return (void *)((ob::WidgetBase *) ((ob::Screen *) x));
11920 }
11921 static void *_p_ob__ClientTo_p_ob__WidgetBase(void *x) {
11922 return (void *)((ob::WidgetBase *) ((ob::Client *) x));
11923 }
11924 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
11925 static swig_type_info _swigt__p_ob__Client[] = {{"_p_ob__Client", 0, "ob::Client *", 0},{"_p_ob__Client"},{0}};
11926 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
11927 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
11928 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
11929 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
11930 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
11931 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
11932 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
11933 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
11934 static swig_type_info _swigt__p_ob__MouseData[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
11935 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
11936 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
11937 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
11938 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
11939 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
11940 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
11941 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
11942 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
11943 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
11944 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
11945 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
11946 static swig_type_info _swigt__p_ob__Cursors[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
11947 static swig_type_info _swigt__p_otk__RenderControl[] = {{"_p_otk__RenderControl", 0, "otk::RenderControl *", 0},{"_p_otk__RenderControl"},{0}};
11948 static swig_type_info _swigt__p_ob__MwmHints[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
11949 static swig_type_info _swigt__p_ob__Screen[] = {{"_p_ob__Screen", 0, "ob::Screen *", 0},{"_p_ob__Screen"},{0}};
11950 static swig_type_info _swigt__p_ob__Frame[] = {{"_p_ob__Frame", 0, "ob::Frame *", 0},{"_p_ob__Frame"},{0}};
11951 static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
11952 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
11953 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
11954 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
11955 static swig_type_info _swigt__p_otk__ustring[] = {{"_p_otk__ustring", 0, "otk::ustring *", 0},{"_p_otk__ustring"},{0}};
11956 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
11957 static swig_type_info _swigt__p_otk__Display[] = {{"_p_otk__Display", 0, "otk::Display *", 0},{"_p_otk__Display"},{0}};
11958 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
11959 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
11960 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}};
11961 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
11962 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}};
11963 static swig_type_info _swigt__p_ob__Bindings[] = {{"_p_ob__Bindings", 0, "ob::Bindings *", 0},{"_p_ob__Bindings"},{0}};
11964 static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
11965 static swig_type_info _swigt__p_ob__Actions[] = {{"_p_ob__Actions", 0, "ob::Actions *", 0},{"_p_ob__Actions"},{0}};
11966 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}};
11967 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
11968 static swig_type_info _swigt__p_otk__Property[] = {{"_p_otk__Property", 0, "otk::Property *", 0},{"_p_otk__Property"},{0}};
11969 static swig_type_info _swigt__p_PyObject[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
11970 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
11971 static swig_type_info _swigt__p_otk__RenderStyle[] = {{"_p_otk__RenderStyle", 0, "otk::RenderStyle *", 0},{"_p_otk__RenderStyle"},{0}};
11972 static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
11973 static swig_type_info _swigt__p_XModifierKeymap[] = {{"_p_XModifierKeymap", 0, "XModifierKeymap *", 0},{"_p_XModifierKeymap"},{0}};
11974 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
11975 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
11976 static swig_type_info _swigt__p_otk__Property__StringVect[] = {{"_p_otk__Property__StringVect", 0, "otk::Property::StringVect *", 0},{"_p_otk__Property__StringVect"},{0}};
11977 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}};
11978 static swig_type_info _swigt__p_otk__Atoms[] = {{"_p_otk__Atoms", 0, "otk::Atoms *", 0},{"_p_otk__Atoms"},{0}};
11979 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
11980 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11981 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
11982 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
11983 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
11984 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
11985 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
11986 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
11987
11988 static swig_type_info *swig_types_initial[] = {
11989 _swigt__p_otk__Point,
11990 _swigt__p_ob__Client,
11991 _swigt__p_XMapEvent,
11992 _swigt__p_XUnmapEvent,
11993 _swigt__p_XColormapEvent,
11994 _swigt__p_XNoExposeEvent,
11995 _swigt__p_XGraphicsExposeEvent,
11996 _swigt__p_XExposeEvent,
11997 _swigt__p_XFocusChangeEvent,
11998 _swigt__p_XClientMessageEvent,
11999 _swigt__p_ob__MouseData,
12000 _swigt__p_XSelectionClearEvent,
12001 _swigt__p_otk__Rect,
12002 _swigt__p_Visual,
12003 _swigt__p_XResizeRequestEvent,
12004 _swigt__p_XMapRequestEvent,
12005 _swigt__p_XConfigureRequestEvent,
12006 _swigt__p_XCirculateRequestEvent,
12007 _swigt__p_XGravityEvent,
12008 _swigt__p_XVisibilityEvent,
12009 _swigt__p_XPropertyEvent,
12010 _swigt__p_XSelectionRequestEvent,
12011 _swigt__p_ob__Cursors,
12012 _swigt__p_otk__RenderControl,
12013 _swigt__p_ob__MwmHints,
12014 _swigt__p_ob__Screen,
12015 _swigt__p_ob__Frame,
12016 _swigt__p_ob__KeyData,
12017 _swigt__p_XCirculateEvent,
12018 _swigt__p_XConfigureEvent,
12019 _swigt__p_XRectangle,
12020 _swigt__p_otk__ustring,
12021 _swigt__p_XCrossingEvent,
12022 _swigt__p_otk__Display,
12023 _swigt__p_Display,
12024 _swigt__p_XMappingEvent,
12025 _swigt__p_otk__EventHandler,
12026 _swigt__p_XReparentEvent,
12027 _swigt__p_otk__EventDispatcher,
12028 _swigt__p_ob__Bindings,
12029 _swigt__p_ob__Openbox,
12030 _swigt__p_ob__Actions,
12031 _swigt__p_otk__Widget,
12032 _swigt__p_XEvent,
12033 _swigt__p_otk__Property,
12034 _swigt__p_PyObject,
12035 _swigt__p_otk__ScreenInfo,
12036 _swigt__p_otk__RenderStyle,
12037 _swigt__p_ob__EventData,
12038 _swigt__p_XModifierKeymap,
12039 _swigt__p_XCreateWindowEvent,
12040 _swigt__p_XDestroyWindowEvent,
12041 _swigt__p_otk__Property__StringVect,
12042 _swigt__p_ob__WidgetBase,
12043 _swigt__p_otk__Atoms,
12044 _swigt__p_XKeyEvent,
12045 _swigt__p_int,
12046 _swigt__p_otk__Strut,
12047 _swigt__p_p_unsigned_long,
12048 _swigt__p_unsigned_long,
12049 _swigt__p_XMotionEvent,
12050 _swigt__p_XButtonEvent,
12051 _swigt__p_XSelectionEvent,
12052 0
12053 };
12054
12055
12056 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12057
12058 static swig_const_info swig_const_table[] = {
12059 { SWIG_PY_INT, (char *)"Property_ascii", (long) otk::Property::ascii, 0, 0, 0},
12060 { SWIG_PY_INT, (char *)"Property_utf8", (long) otk::Property::utf8, 0, 0, 0},
12061 { SWIG_PY_INT, (char *)"Property_NUM_STRING_TYPE", (long) otk::Property::NUM_STRING_TYPE, 0, 0, 0},
12062 { SWIG_PY_INT, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting, 0, 0, 0},
12063 { SWIG_PY_INT, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal, 0, 0, 0},
12064 { SWIG_PY_INT, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting, 0, 0, 0},
12065 { SWIG_PY_INT, (char *)"Screen_event_mask", (long) ob::Screen::event_mask, 0, 0, 0},
12066 { SWIG_PY_INT, (char *)"MwmHints_elements", (long) ob::MwmHints::elements, 0, 0, 0},
12067 { SWIG_PY_INT, (char *)"Client_Layer_Icon", (long) ob::Client::Layer_Icon, 0, 0, 0},
12068 { SWIG_PY_INT, (char *)"Client_Layer_Desktop", (long) ob::Client::Layer_Desktop, 0, 0, 0},
12069 { SWIG_PY_INT, (char *)"Client_Layer_Below", (long) ob::Client::Layer_Below, 0, 0, 0},
12070 { SWIG_PY_INT, (char *)"Client_Layer_Normal", (long) ob::Client::Layer_Normal, 0, 0, 0},
12071 { SWIG_PY_INT, (char *)"Client_Layer_Above", (long) ob::Client::Layer_Above, 0, 0, 0},
12072 { SWIG_PY_INT, (char *)"Client_Layer_Top", (long) ob::Client::Layer_Top, 0, 0, 0},
12073 { SWIG_PY_INT, (char *)"Client_Layer_Fullscreen", (long) ob::Client::Layer_Fullscreen, 0, 0, 0},
12074 { SWIG_PY_INT, (char *)"Client_Layer_Internal", (long) ob::Client::Layer_Internal, 0, 0, 0},
12075 { SWIG_PY_INT, (char *)"Client_NUM_LAYERS", (long) ob::Client::NUM_LAYERS, 0, 0, 0},
12076 { SWIG_PY_INT, (char *)"Client_TopLeft", (long) ob::Client::TopLeft, 0, 0, 0},
12077 { SWIG_PY_INT, (char *)"Client_TopRight", (long) ob::Client::TopRight, 0, 0, 0},
12078 { SWIG_PY_INT, (char *)"Client_BottomLeft", (long) ob::Client::BottomLeft, 0, 0, 0},
12079 { SWIG_PY_INT, (char *)"Client_BottomRight", (long) ob::Client::BottomRight, 0, 0, 0},
12080 { SWIG_PY_INT, (char *)"Client_Type_Desktop", (long) ob::Client::Type_Desktop, 0, 0, 0},
12081 { SWIG_PY_INT, (char *)"Client_Type_Dock", (long) ob::Client::Type_Dock, 0, 0, 0},
12082 { SWIG_PY_INT, (char *)"Client_Type_Toolbar", (long) ob::Client::Type_Toolbar, 0, 0, 0},
12083 { SWIG_PY_INT, (char *)"Client_Type_Menu", (long) ob::Client::Type_Menu, 0, 0, 0},
12084 { SWIG_PY_INT, (char *)"Client_Type_Utility", (long) ob::Client::Type_Utility, 0, 0, 0},
12085 { SWIG_PY_INT, (char *)"Client_Type_Splash", (long) ob::Client::Type_Splash, 0, 0, 0},
12086 { SWIG_PY_INT, (char *)"Client_Type_Dialog", (long) ob::Client::Type_Dialog, 0, 0, 0},
12087 { SWIG_PY_INT, (char *)"Client_Type_Normal", (long) ob::Client::Type_Normal, 0, 0, 0},
12088 { SWIG_PY_INT, (char *)"Client_MwmFlag_Functions", (long) ob::Client::MwmFlag_Functions, 0, 0, 0},
12089 { SWIG_PY_INT, (char *)"Client_MwmFlag_Decorations", (long) ob::Client::MwmFlag_Decorations, 0, 0, 0},
12090 { SWIG_PY_INT, (char *)"Client_MwmFunc_All", (long) ob::Client::MwmFunc_All, 0, 0, 0},
12091 { SWIG_PY_INT, (char *)"Client_MwmFunc_Resize", (long) ob::Client::MwmFunc_Resize, 0, 0, 0},
12092 { SWIG_PY_INT, (char *)"Client_MwmFunc_Move", (long) ob::Client::MwmFunc_Move, 0, 0, 0},
12093 { SWIG_PY_INT, (char *)"Client_MwmFunc_Iconify", (long) ob::Client::MwmFunc_Iconify, 0, 0, 0},
12094 { SWIG_PY_INT, (char *)"Client_MwmFunc_Maximize", (long) ob::Client::MwmFunc_Maximize, 0, 0, 0},
12095 { SWIG_PY_INT, (char *)"Client_MwmDecor_All", (long) ob::Client::MwmDecor_All, 0, 0, 0},
12096 { SWIG_PY_INT, (char *)"Client_MwmDecor_Border", (long) ob::Client::MwmDecor_Border, 0, 0, 0},
12097 { SWIG_PY_INT, (char *)"Client_MwmDecor_Handle", (long) ob::Client::MwmDecor_Handle, 0, 0, 0},
12098 { SWIG_PY_INT, (char *)"Client_MwmDecor_Title", (long) ob::Client::MwmDecor_Title, 0, 0, 0},
12099 { SWIG_PY_INT, (char *)"Client_MwmDecor_Iconify", (long) ob::Client::MwmDecor_Iconify, 0, 0, 0},
12100 { SWIG_PY_INT, (char *)"Client_MwmDecor_Maximize", (long) ob::Client::MwmDecor_Maximize, 0, 0, 0},
12101 { SWIG_PY_INT, (char *)"Client_Func_Resize", (long) ob::Client::Func_Resize, 0, 0, 0},
12102 { SWIG_PY_INT, (char *)"Client_Func_Move", (long) ob::Client::Func_Move, 0, 0, 0},
12103 { SWIG_PY_INT, (char *)"Client_Func_Iconify", (long) ob::Client::Func_Iconify, 0, 0, 0},
12104 { SWIG_PY_INT, (char *)"Client_Func_Maximize", (long) ob::Client::Func_Maximize, 0, 0, 0},
12105 { SWIG_PY_INT, (char *)"Client_Func_Shade", (long) ob::Client::Func_Shade, 0, 0, 0},
12106 { SWIG_PY_INT, (char *)"Client_Func_Fullscreen", (long) ob::Client::Func_Fullscreen, 0, 0, 0},
12107 { SWIG_PY_INT, (char *)"Client_Func_Close", (long) ob::Client::Func_Close, 0, 0, 0},
12108 { SWIG_PY_INT, (char *)"Client_Decor_Titlebar", (long) ob::Client::Decor_Titlebar, 0, 0, 0},
12109 { SWIG_PY_INT, (char *)"Client_Decor_Handle", (long) ob::Client::Decor_Handle, 0, 0, 0},
12110 { SWIG_PY_INT, (char *)"Client_Decor_Border", (long) ob::Client::Decor_Border, 0, 0, 0},
12111 { SWIG_PY_INT, (char *)"Client_Decor_Iconify", (long) ob::Client::Decor_Iconify, 0, 0, 0},
12112 { SWIG_PY_INT, (char *)"Client_Decor_Maximize", (long) ob::Client::Decor_Maximize, 0, 0, 0},
12113 { SWIG_PY_INT, (char *)"Client_Decor_AllDesktops", (long) ob::Client::Decor_AllDesktops, 0, 0, 0},
12114 { SWIG_PY_INT, (char *)"Client_Decor_Close", (long) ob::Client::Decor_Close, 0, 0, 0},
12115 { SWIG_PY_INT, (char *)"Client_State_Remove", (long) ob::Client::State_Remove, 0, 0, 0},
12116 { SWIG_PY_INT, (char *)"Client_State_Add", (long) ob::Client::State_Add, 0, 0, 0},
12117 { SWIG_PY_INT, (char *)"Client_State_Toggle", (long) ob::Client::State_Toggle, 0, 0, 0},
12118 { SWIG_PY_INT, (char *)"Client_event_mask", (long) ob::Client::event_mask, 0, 0, 0},
12119 { SWIG_PY_INT, (char *)"Client_no_propagate_mask", (long) ob::Client::no_propagate_mask, 0, 0, 0},
12120 { SWIG_PY_INT, (char *)"Client_ICONIC_DESKTOP", (long) ob::Client::ICONIC_DESKTOP, 0, 0, 0},
12121 { SWIG_PY_INT, (char *)"Frame_event_mask", (long) ob::Frame::event_mask, 0, 0, 0},
12122 { SWIG_PY_INT, (char *)"MC_Frame", (long) ob::MC_Frame, 0, 0, 0},
12123 { SWIG_PY_INT, (char *)"MC_Titlebar", (long) ob::MC_Titlebar, 0, 0, 0},
12124 { SWIG_PY_INT, (char *)"MC_Handle", (long) ob::MC_Handle, 0, 0, 0},
12125 { SWIG_PY_INT, (char *)"MC_Window", (long) ob::MC_Window, 0, 0, 0},
12126 { SWIG_PY_INT, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton, 0, 0, 0},
12127 { SWIG_PY_INT, (char *)"MC_CloseButton", (long) ob::MC_CloseButton, 0, 0, 0},
12128 { SWIG_PY_INT, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton, 0, 0, 0},
12129 { SWIG_PY_INT, (char *)"MC_AllDesktopsButton", (long) ob::MC_AllDesktopsButton, 0, 0, 0},
12130 { SWIG_PY_INT, (char *)"MC_Grip", (long) ob::MC_Grip, 0, 0, 0},
12131 { SWIG_PY_INT, (char *)"MC_Root", (long) ob::MC_Root, 0, 0, 0},
12132 { SWIG_PY_INT, (char *)"MC_MenuItem", (long) ob::MC_MenuItem, 0, 0, 0},
12133 { SWIG_PY_INT, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT, 0, 0, 0},
12134 { SWIG_PY_INT, (char *)"MousePress", (long) ob::MousePress, 0, 0, 0},
12135 { SWIG_PY_INT, (char *)"MouseClick", (long) ob::MouseClick, 0, 0, 0},
12136 { SWIG_PY_INT, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick, 0, 0, 0},
12137 { SWIG_PY_INT, (char *)"MouseMotion", (long) ob::MouseMotion, 0, 0, 0},
12138 { SWIG_PY_INT, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION, 0, 0, 0},
12139 { SWIG_PY_INT, (char *)"KC_Menu", (long) ob::KC_Menu, 0, 0, 0},
12140 { SWIG_PY_INT, (char *)"KC_All", (long) ob::KC_All, 0, 0, 0},
12141 { SWIG_PY_INT, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT, 0, 0, 0},
12142 { SWIG_PY_INT, (char *)"EventKeyPress", (long) ob::EventKeyPress, 0, 0, 0},
12143 { SWIG_PY_INT, (char *)"EventKeyRelease", (long) ob::EventKeyRelease, 0, 0, 0},
12144 { SWIG_PY_INT, (char *)"NUM_KEY_ACTION", (long) ob::NUM_KEY_ACTION, 0, 0, 0},
12145 { SWIG_PY_INT, (char *)"EventEnterWindow", (long) ob::EventEnterWindow, 0, 0, 0},
12146 { SWIG_PY_INT, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow, 0, 0, 0},
12147 { SWIG_PY_INT, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow, 0, 0, 0},
12148 { SWIG_PY_INT, (char *)"EventNewWindow", (long) ob::EventNewWindow, 0, 0, 0},
12149 { SWIG_PY_INT, (char *)"EventCloseWindow", (long) ob::EventCloseWindow, 0, 0, 0},
12150 { SWIG_PY_INT, (char *)"EventStartup", (long) ob::EventStartup, 0, 0, 0},
12151 { SWIG_PY_INT, (char *)"EventShutdown", (long) ob::EventShutdown, 0, 0, 0},
12152 { SWIG_PY_INT, (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0},
12153 { SWIG_PY_INT, (char *)"EventBell", (long) ob::EventBell, 0, 0, 0},
12154 { SWIG_PY_INT, (char *)"EventUrgentWindow", (long) ob::EventUrgentWindow, 0, 0, 0},
12155 { SWIG_PY_INT, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0},
12156 { SWIG_PY_INT, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
12157 { SWIG_PY_INT, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
12158 { SWIG_PY_INT, (char *)"None", (long) 0L, 0, 0, 0},
12159 { SWIG_PY_INT, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
12160 { SWIG_PY_INT, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
12161 { SWIG_PY_INT, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
12162 { SWIG_PY_INT, (char *)"InputFocus", (long) 1L, 0, 0, 0},
12163 { SWIG_PY_INT, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
12164 { SWIG_PY_INT, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
12165 { SWIG_PY_INT, (char *)"AnyKey", (long) 0L, 0, 0, 0},
12166 { SWIG_PY_INT, (char *)"AnyButton", (long) 0L, 0, 0, 0},
12167 { SWIG_PY_INT, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
12168 { SWIG_PY_INT, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
12169 { SWIG_PY_INT, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
12170 { SWIG_PY_INT, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
12171 { SWIG_PY_INT, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
12172 { SWIG_PY_INT, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
12173 { SWIG_PY_INT, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
12174 { SWIG_PY_INT, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
12175 { SWIG_PY_INT, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
12176 { SWIG_PY_INT, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
12177 { SWIG_PY_INT, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
12178 { SWIG_PY_INT, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
12179 { SWIG_PY_INT, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
12180 { SWIG_PY_INT, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
12181 { SWIG_PY_INT, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
12182 { SWIG_PY_INT, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
12183 { SWIG_PY_INT, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
12184 { SWIG_PY_INT, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
12185 { SWIG_PY_INT, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
12186 { SWIG_PY_INT, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
12187 { SWIG_PY_INT, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
12188 { SWIG_PY_INT, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
12189 { SWIG_PY_INT, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
12190 { SWIG_PY_INT, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
12191 { SWIG_PY_INT, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
12192 { SWIG_PY_INT, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
12193 { SWIG_PY_INT, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
12194 { SWIG_PY_INT, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
12195 { SWIG_PY_INT, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
12196 { SWIG_PY_INT, (char *)"KeyPress", (long) 2, 0, 0, 0},
12197 { SWIG_PY_INT, (char *)"KeyRelease", (long) 3, 0, 0, 0},
12198 { SWIG_PY_INT, (char *)"ButtonPress", (long) 4, 0, 0, 0},
12199 { SWIG_PY_INT, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
12200 { SWIG_PY_INT, (char *)"MotionNotify", (long) 6, 0, 0, 0},
12201 { SWIG_PY_INT, (char *)"EnterNotify", (long) 7, 0, 0, 0},
12202 { SWIG_PY_INT, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
12203 { SWIG_PY_INT, (char *)"FocusIn", (long) 9, 0, 0, 0},
12204 { SWIG_PY_INT, (char *)"FocusOut", (long) 10, 0, 0, 0},
12205 { SWIG_PY_INT, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
12206 { SWIG_PY_INT, (char *)"Expose", (long) 12, 0, 0, 0},
12207 { SWIG_PY_INT, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
12208 { SWIG_PY_INT, (char *)"NoExpose", (long) 14, 0, 0, 0},
12209 { SWIG_PY_INT, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
12210 { SWIG_PY_INT, (char *)"CreateNotify", (long) 16, 0, 0, 0},
12211 { SWIG_PY_INT, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
12212 { SWIG_PY_INT, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
12213 { SWIG_PY_INT, (char *)"MapNotify", (long) 19, 0, 0, 0},
12214 { SWIG_PY_INT, (char *)"MapRequest", (long) 20, 0, 0, 0},
12215 { SWIG_PY_INT, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
12216 { SWIG_PY_INT, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
12217 { SWIG_PY_INT, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
12218 { SWIG_PY_INT, (char *)"GravityNotify", (long) 24, 0, 0, 0},
12219 { SWIG_PY_INT, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
12220 { SWIG_PY_INT, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
12221 { SWIG_PY_INT, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
12222 { SWIG_PY_INT, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
12223 { SWIG_PY_INT, (char *)"SelectionClear", (long) 29, 0, 0, 0},
12224 { SWIG_PY_INT, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
12225 { SWIG_PY_INT, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
12226 { SWIG_PY_INT, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
12227 { SWIG_PY_INT, (char *)"ClientMessage", (long) 33, 0, 0, 0},
12228 { SWIG_PY_INT, (char *)"MappingNotify", (long) 34, 0, 0, 0},
12229 { SWIG_PY_INT, (char *)"LASTEvent", (long) 35, 0, 0, 0},
12230 { SWIG_PY_INT, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
12231 { SWIG_PY_INT, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
12232 { SWIG_PY_INT, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
12233 { SWIG_PY_INT, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
12234 { SWIG_PY_INT, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
12235 { SWIG_PY_INT, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
12236 { SWIG_PY_INT, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
12237 { SWIG_PY_INT, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
12238 { SWIG_PY_INT, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
12239 { SWIG_PY_INT, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
12240 { SWIG_PY_INT, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
12241 { SWIG_PY_INT, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
12242 { SWIG_PY_INT, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
12243 { SWIG_PY_INT, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
12244 { SWIG_PY_INT, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
12245 { SWIG_PY_INT, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
12246 { SWIG_PY_INT, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
12247 { SWIG_PY_INT, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
12248 { SWIG_PY_INT, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
12249 { SWIG_PY_INT, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
12250 { SWIG_PY_INT, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
12251 { SWIG_PY_INT, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
12252 { SWIG_PY_INT, (char *)"Button1", (long) 1, 0, 0, 0},
12253 { SWIG_PY_INT, (char *)"Button2", (long) 2, 0, 0, 0},
12254 { SWIG_PY_INT, (char *)"Button3", (long) 3, 0, 0, 0},
12255 { SWIG_PY_INT, (char *)"Button4", (long) 4, 0, 0, 0},
12256 { SWIG_PY_INT, (char *)"Button5", (long) 5, 0, 0, 0},
12257 { SWIG_PY_INT, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
12258 { SWIG_PY_INT, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
12259 { SWIG_PY_INT, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
12260 { SWIG_PY_INT, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
12261 { SWIG_PY_INT, (char *)"NotifyHint", (long) 1, 0, 0, 0},
12262 { SWIG_PY_INT, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
12263 { SWIG_PY_INT, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
12264 { SWIG_PY_INT, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
12265 { SWIG_PY_INT, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
12266 { SWIG_PY_INT, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
12267 { SWIG_PY_INT, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
12268 { SWIG_PY_INT, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
12269 { SWIG_PY_INT, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
12270 { SWIG_PY_INT, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
12271 { SWIG_PY_INT, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
12272 { SWIG_PY_INT, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
12273 { SWIG_PY_INT, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
12274 { SWIG_PY_INT, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
12275 { SWIG_PY_INT, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
12276 { SWIG_PY_INT, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
12277 { SWIG_PY_INT, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
12278 { SWIG_PY_INT, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
12279 { SWIG_PY_INT, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
12280 { SWIG_PY_INT, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
12281 { SWIG_PY_INT, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
12282 { SWIG_PY_INT, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
12283 { SWIG_PY_INT, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
12284 { SWIG_PY_INT, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
12285 { SWIG_PY_INT, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
12286 { SWIG_PY_INT, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
12287 { SWIG_PY_INT, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
12288 { SWIG_PY_INT, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
12289 { SWIG_PY_INT, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
12290 { SWIG_PY_INT, (char *)"SyncPointer", (long) 1, 0, 0, 0},
12291 { SWIG_PY_INT, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
12292 { SWIG_PY_INT, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
12293 { SWIG_PY_INT, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
12294 { SWIG_PY_INT, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
12295 { SWIG_PY_INT, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
12296 { SWIG_PY_INT, (char *)"SyncBoth", (long) 7, 0, 0, 0},
12297 { SWIG_PY_INT, (char *)"RevertToParent", (long) 2, 0, 0, 0},
12298 { SWIG_PY_INT, (char *)"Success", (long) 0, 0, 0, 0},
12299 { SWIG_PY_INT, (char *)"BadRequest", (long) 1, 0, 0, 0},
12300 { SWIG_PY_INT, (char *)"BadValue", (long) 2, 0, 0, 0},
12301 { SWIG_PY_INT, (char *)"BadWindow", (long) 3, 0, 0, 0},
12302 { SWIG_PY_INT, (char *)"BadPixmap", (long) 4, 0, 0, 0},
12303 { SWIG_PY_INT, (char *)"BadAtom", (long) 5, 0, 0, 0},
12304 { SWIG_PY_INT, (char *)"BadCursor", (long) 6, 0, 0, 0},
12305 { SWIG_PY_INT, (char *)"BadFont", (long) 7, 0, 0, 0},
12306 { SWIG_PY_INT, (char *)"BadMatch", (long) 8, 0, 0, 0},
12307 { SWIG_PY_INT, (char *)"BadDrawable", (long) 9, 0, 0, 0},
12308 { SWIG_PY_INT, (char *)"BadAccess", (long) 10, 0, 0, 0},
12309 { SWIG_PY_INT, (char *)"BadAlloc", (long) 11, 0, 0, 0},
12310 { SWIG_PY_INT, (char *)"BadColor", (long) 12, 0, 0, 0},
12311 { SWIG_PY_INT, (char *)"BadGC", (long) 13, 0, 0, 0},
12312 { SWIG_PY_INT, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
12313 { SWIG_PY_INT, (char *)"BadName", (long) 15, 0, 0, 0},
12314 { SWIG_PY_INT, (char *)"BadLength", (long) 16, 0, 0, 0},
12315 { SWIG_PY_INT, (char *)"BadImplementation", (long) 17, 0, 0, 0},
12316 { SWIG_PY_INT, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
12317 { SWIG_PY_INT, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
12318 { SWIG_PY_INT, (char *)"InputOutput", (long) 1, 0, 0, 0},
12319 { SWIG_PY_INT, (char *)"InputOnly", (long) 2, 0, 0, 0},
12320 { SWIG_PY_INT, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
12321 { SWIG_PY_INT, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
12322 { SWIG_PY_INT, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
12323 { SWIG_PY_INT, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
12324 { SWIG_PY_INT, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
12325 { SWIG_PY_INT, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
12326 { SWIG_PY_INT, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
12327 { SWIG_PY_INT, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
12328 { SWIG_PY_INT, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
12329 { SWIG_PY_INT, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
12330 { SWIG_PY_INT, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
12331 { SWIG_PY_INT, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
12332 { SWIG_PY_INT, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
12333 { SWIG_PY_INT, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
12334 { SWIG_PY_INT, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
12335 { SWIG_PY_INT, (char *)"CWX", (long) (1<<0), 0, 0, 0},
12336 { SWIG_PY_INT, (char *)"CWY", (long) (1<<1), 0, 0, 0},
12337 { SWIG_PY_INT, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
12338 { SWIG_PY_INT, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
12339 { SWIG_PY_INT, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
12340 { SWIG_PY_INT, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
12341 { SWIG_PY_INT, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
12342 { SWIG_PY_INT, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
12343 { SWIG_PY_INT, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
12344 { SWIG_PY_INT, (char *)"NorthGravity", (long) 2, 0, 0, 0},
12345 { SWIG_PY_INT, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
12346 { SWIG_PY_INT, (char *)"WestGravity", (long) 4, 0, 0, 0},
12347 { SWIG_PY_INT, (char *)"CenterGravity", (long) 5, 0, 0, 0},
12348 { SWIG_PY_INT, (char *)"EastGravity", (long) 6, 0, 0, 0},
12349 { SWIG_PY_INT, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
12350 { SWIG_PY_INT, (char *)"SouthGravity", (long) 8, 0, 0, 0},
12351 { SWIG_PY_INT, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
12352 { SWIG_PY_INT, (char *)"StaticGravity", (long) 10, 0, 0, 0},
12353 { SWIG_PY_INT, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
12354 { SWIG_PY_INT, (char *)"NotUseful", (long) 0, 0, 0, 0},
12355 { SWIG_PY_INT, (char *)"WhenMapped", (long) 1, 0, 0, 0},
12356 { SWIG_PY_INT, (char *)"Always", (long) 2, 0, 0, 0},
12357 { SWIG_PY_INT, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
12358 { SWIG_PY_INT, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
12359 { SWIG_PY_INT, (char *)"IsViewable", (long) 2, 0, 0, 0},
12360 { SWIG_PY_INT, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
12361 { SWIG_PY_INT, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
12362 { SWIG_PY_INT, (char *)"DestroyAll", (long) 0, 0, 0, 0},
12363 { SWIG_PY_INT, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
12364 { SWIG_PY_INT, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
12365 { SWIG_PY_INT, (char *)"Above", (long) 0, 0, 0, 0},
12366 { SWIG_PY_INT, (char *)"Below", (long) 1, 0, 0, 0},
12367 { SWIG_PY_INT, (char *)"TopIf", (long) 2, 0, 0, 0},
12368 { SWIG_PY_INT, (char *)"BottomIf", (long) 3, 0, 0, 0},
12369 { SWIG_PY_INT, (char *)"Opposite", (long) 4, 0, 0, 0},
12370 { SWIG_PY_INT, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
12371 { SWIG_PY_INT, (char *)"LowerHighest", (long) 1, 0, 0, 0},
12372 { SWIG_PY_INT, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
12373 { SWIG_PY_INT, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
12374 { SWIG_PY_INT, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
12375 { SWIG_PY_INT, (char *)"GXclear", (long) 0x0, 0, 0, 0},
12376 { SWIG_PY_INT, (char *)"GXand", (long) 0x1, 0, 0, 0},
12377 { SWIG_PY_INT, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
12378 { SWIG_PY_INT, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
12379 { SWIG_PY_INT, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
12380 { SWIG_PY_INT, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
12381 { SWIG_PY_INT, (char *)"GXxor", (long) 0x6, 0, 0, 0},
12382 { SWIG_PY_INT, (char *)"GXor", (long) 0x7, 0, 0, 0},
12383 { SWIG_PY_INT, (char *)"GXnor", (long) 0x8, 0, 0, 0},
12384 { SWIG_PY_INT, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
12385 { SWIG_PY_INT, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
12386 { SWIG_PY_INT, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
12387 { SWIG_PY_INT, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
12388 { SWIG_PY_INT, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
12389 { SWIG_PY_INT, (char *)"GXnand", (long) 0xe, 0, 0, 0},
12390 { SWIG_PY_INT, (char *)"GXset", (long) 0xf, 0, 0, 0},
12391 { SWIG_PY_INT, (char *)"LineSolid", (long) 0, 0, 0, 0},
12392 { SWIG_PY_INT, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
12393 { SWIG_PY_INT, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
12394 { SWIG_PY_INT, (char *)"CapNotLast", (long) 0, 0, 0, 0},
12395 { SWIG_PY_INT, (char *)"CapButt", (long) 1, 0, 0, 0},
12396 { SWIG_PY_INT, (char *)"CapRound", (long) 2, 0, 0, 0},
12397 { SWIG_PY_INT, (char *)"CapProjecting", (long) 3, 0, 0, 0},
12398 { SWIG_PY_INT, (char *)"JoinMiter", (long) 0, 0, 0, 0},
12399 { SWIG_PY_INT, (char *)"JoinRound", (long) 1, 0, 0, 0},
12400 { SWIG_PY_INT, (char *)"JoinBevel", (long) 2, 0, 0, 0},
12401 { SWIG_PY_INT, (char *)"FillSolid", (long) 0, 0, 0, 0},
12402 { SWIG_PY_INT, (char *)"FillTiled", (long) 1, 0, 0, 0},
12403 { SWIG_PY_INT, (char *)"FillStippled", (long) 2, 0, 0, 0},
12404 { SWIG_PY_INT, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
12405 { SWIG_PY_INT, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
12406 { SWIG_PY_INT, (char *)"WindingRule", (long) 1, 0, 0, 0},
12407 { SWIG_PY_INT, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
12408 { SWIG_PY_INT, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
12409 { SWIG_PY_INT, (char *)"Unsorted", (long) 0, 0, 0, 0},
12410 { SWIG_PY_INT, (char *)"YSorted", (long) 1, 0, 0, 0},
12411 { SWIG_PY_INT, (char *)"YXSorted", (long) 2, 0, 0, 0},
12412 { SWIG_PY_INT, (char *)"YXBanded", (long) 3, 0, 0, 0},
12413 { SWIG_PY_INT, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
12414 { SWIG_PY_INT, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
12415 { SWIG_PY_INT, (char *)"Complex", (long) 0, 0, 0, 0},
12416 { SWIG_PY_INT, (char *)"Nonconvex", (long) 1, 0, 0, 0},
12417 { SWIG_PY_INT, (char *)"Convex", (long) 2, 0, 0, 0},
12418 { SWIG_PY_INT, (char *)"ArcChord", (long) 0, 0, 0, 0},
12419 { SWIG_PY_INT, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
12420 { SWIG_PY_INT, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
12421 { SWIG_PY_INT, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
12422 { SWIG_PY_INT, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
12423 { SWIG_PY_INT, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
12424 { SWIG_PY_INT, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
12425 { SWIG_PY_INT, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
12426 { SWIG_PY_INT, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
12427 { SWIG_PY_INT, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
12428 { SWIG_PY_INT, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
12429 { SWIG_PY_INT, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
12430 { SWIG_PY_INT, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
12431 { SWIG_PY_INT, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
12432 { SWIG_PY_INT, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
12433 { SWIG_PY_INT, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
12434 { SWIG_PY_INT, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
12435 { SWIG_PY_INT, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
12436 { SWIG_PY_INT, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
12437 { SWIG_PY_INT, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
12438 { SWIG_PY_INT, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
12439 { SWIG_PY_INT, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
12440 { SWIG_PY_INT, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
12441 { SWIG_PY_INT, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
12442 { SWIG_PY_INT, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
12443 { SWIG_PY_INT, (char *)"GCLastBit", (long) 22, 0, 0, 0},
12444 { SWIG_PY_INT, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
12445 { SWIG_PY_INT, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
12446 { SWIG_PY_INT, (char *)"FontChange", (long) 255, 0, 0, 0},
12447 { SWIG_PY_INT, (char *)"XYBitmap", (long) 0, 0, 0, 0},
12448 { SWIG_PY_INT, (char *)"XYPixmap", (long) 1, 0, 0, 0},
12449 { SWIG_PY_INT, (char *)"ZPixmap", (long) 2, 0, 0, 0},
12450 { SWIG_PY_INT, (char *)"AllocNone", (long) 0, 0, 0, 0},
12451 { SWIG_PY_INT, (char *)"AllocAll", (long) 1, 0, 0, 0},
12452 { SWIG_PY_INT, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
12453 { SWIG_PY_INT, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
12454 { SWIG_PY_INT, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
12455 { SWIG_PY_INT, (char *)"CursorShape", (long) 0, 0, 0, 0},
12456 { SWIG_PY_INT, (char *)"TileShape", (long) 1, 0, 0, 0},
12457 { SWIG_PY_INT, (char *)"StippleShape", (long) 2, 0, 0, 0},
12458 { SWIG_PY_INT, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
12459 { SWIG_PY_INT, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
12460 { SWIG_PY_INT, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
12461 { SWIG_PY_INT, (char *)"LedModeOff", (long) 0, 0, 0, 0},
12462 { SWIG_PY_INT, (char *)"LedModeOn", (long) 1, 0, 0, 0},
12463 { SWIG_PY_INT, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
12464 { SWIG_PY_INT, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
12465 { SWIG_PY_INT, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
12466 { SWIG_PY_INT, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
12467 { SWIG_PY_INT, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
12468 { SWIG_PY_INT, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
12469 { SWIG_PY_INT, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
12470 { SWIG_PY_INT, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
12471 { SWIG_PY_INT, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
12472 { SWIG_PY_INT, (char *)"MappingBusy", (long) 1, 0, 0, 0},
12473 { SWIG_PY_INT, (char *)"MappingFailed", (long) 2, 0, 0, 0},
12474 { SWIG_PY_INT, (char *)"MappingModifier", (long) 0, 0, 0, 0},
12475 { SWIG_PY_INT, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
12476 { SWIG_PY_INT, (char *)"MappingPointer", (long) 2, 0, 0, 0},
12477 { SWIG_PY_INT, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
12478 { SWIG_PY_INT, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
12479 { SWIG_PY_INT, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
12480 { SWIG_PY_INT, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
12481 { SWIG_PY_INT, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
12482 { SWIG_PY_INT, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
12483 { SWIG_PY_INT, (char *)"AllowExposures", (long) 1, 0, 0, 0},
12484 { SWIG_PY_INT, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
12485 { SWIG_PY_INT, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
12486 { SWIG_PY_INT, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
12487 { SWIG_PY_INT, (char *)"HostInsert", (long) 0, 0, 0, 0},
12488 { SWIG_PY_INT, (char *)"HostDelete", (long) 1, 0, 0, 0},
12489 { SWIG_PY_INT, (char *)"EnableAccess", (long) 1, 0, 0, 0},
12490 { SWIG_PY_INT, (char *)"DisableAccess", (long) 0, 0, 0, 0},
12491 { SWIG_PY_INT, (char *)"StaticGray", (long) 0, 0, 0, 0},
12492 { SWIG_PY_INT, (char *)"GrayScale", (long) 1, 0, 0, 0},
12493 { SWIG_PY_INT, (char *)"StaticColor", (long) 2, 0, 0, 0},
12494 { SWIG_PY_INT, (char *)"PseudoColor", (long) 3, 0, 0, 0},
12495 { SWIG_PY_INT, (char *)"TrueColor", (long) 4, 0, 0, 0},
12496 { SWIG_PY_INT, (char *)"DirectColor", (long) 5, 0, 0, 0},
12497 { SWIG_PY_INT, (char *)"LSBFirst", (long) 0, 0, 0, 0},
12498 { SWIG_PY_INT, (char *)"MSBFirst", (long) 1, 0, 0, 0},
12499 {0}};
12500
12501 #ifdef __cplusplus
12502 }
12503 #endif
12504
12505 #ifdef __cplusplus
12506 extern "C"
12507 #endif
12508 SWIGEXPORT(void) SWIG_init(void) {
12509 static PyObject *SWIG_globals = 0;
12510 static int typeinit = 0;
12511 PyObject *m, *d;
12512 int i;
12513 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12514 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12515 d = PyModule_GetDict(m);
12516
12517 if (!typeinit) {
12518 for (i = 0; swig_types_initial[i]; i++) {
12519 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
12520 }
12521 typeinit = 1;
12522 }
12523 SWIG_InstallConstants(d,swig_const_table);
12524
12525 }
12526
This page took 0.712587 seconds and 4 git commands to generate.