]> Dogcows Code - chaz/openbox/blob - src/openbox_wrap.cc
fuc put it back
[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__ImageControl swig_types[23]
672 #define SWIGTYPE_p_ob__MwmHints swig_types[24]
673 #define SWIGTYPE_p_ob__Screen swig_types[25]
674 #define SWIGTYPE_p_ob__Frame swig_types[26]
675 #define SWIGTYPE_p_ob__KeyData swig_types[27]
676 #define SWIGTYPE_p_XCirculateEvent swig_types[28]
677 #define SWIGTYPE_p_XConfigureEvent swig_types[29]
678 #define SWIGTYPE_p_XRectangle swig_types[30]
679 #define SWIGTYPE_p_otk__ustring swig_types[31]
680 #define SWIGTYPE_p_std__string swig_types[32]
681 #define SWIGTYPE_p_XCrossingEvent swig_types[33]
682 #define SWIGTYPE_p_otk__Display swig_types[34]
683 #define SWIGTYPE_p_Display swig_types[35]
684 #define SWIGTYPE_p_XMappingEvent swig_types[36]
685 #define SWIGTYPE_p_otk__Style swig_types[37]
686 #define SWIGTYPE_p_otk__EventHandler swig_types[38]
687 #define SWIGTYPE_p_XReparentEvent swig_types[39]
688 #define SWIGTYPE_p_otk__EventDispatcher swig_types[40]
689 #define SWIGTYPE_p_otk__GCCache swig_types[41]
690 #define SWIGTYPE_p_ob__Bindings swig_types[42]
691 #define SWIGTYPE_p_ob__Openbox swig_types[43]
692 #define SWIGTYPE_p_ob__Actions swig_types[44]
693 #define SWIGTYPE_p_otk__Widget swig_types[45]
694 #define SWIGTYPE_p_XEvent swig_types[46]
695 #define SWIGTYPE_p_otk__Property swig_types[47]
696 #define SWIGTYPE_p_PyObject swig_types[48]
697 #define SWIGTYPE_p_otk__ScreenInfo swig_types[49]
698 #define SWIGTYPE_p_ob__EventData swig_types[50]
699 #define SWIGTYPE_p_XCreateWindowEvent swig_types[51]
700 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[52]
701 #define SWIGTYPE_p_otk__Property__StringVect swig_types[53]
702 #define SWIGTYPE_p_ob__WidgetBase swig_types[54]
703 #define SWIGTYPE_p_otk__Atoms swig_types[55]
704 #define SWIGTYPE_p_XKeyEvent swig_types[56]
705 #define SWIGTYPE_p_int swig_types[57]
706 #define SWIGTYPE_p_otk__Strut swig_types[58]
707 #define SWIGTYPE_p_unsigned_long swig_types[59]
708 #define SWIGTYPE_p_p_unsigned_long swig_types[60]
709 #define SWIGTYPE_p_XMotionEvent swig_types[61]
710 #define SWIGTYPE_p_XButtonEvent swig_types[62]
711 #define SWIGTYPE_p_XSelectionEvent swig_types[63]
712 static swig_type_info *swig_types[65];
713
714 /* -------- TYPES TABLE (END) -------- */
715
716
717 /*-----------------------------------------------
718 @(target):= _openbox.so
719 ------------------------------------------------*/
720 #define SWIG_init init_openbox
721
722 #define SWIG_name "_openbox"
723
724 #ifdef HAVE_CONFIG_H
725 # include "../config.h"
726 #endif
727
728 #include "frame.hh"
729 #include "openbox.hh"
730 #include "screen.hh"
731 #include "client.hh"
732 #include "bindings.hh"
733 #include "actions.hh"
734 #include "python.hh"
735 #include "otk/otk.hh"
736
737
738 #define SWIG_MemoryError 1
739 #define SWIG_IOError 2
740 #define SWIG_RuntimeError 3
741 #define SWIG_IndexError 4
742 #define SWIG_TypeError 5
743 #define SWIG_DivisionByZero 6
744 #define SWIG_OverflowError 7
745 #define SWIG_SyntaxError 8
746 #define SWIG_ValueError 9
747 #define SWIG_SystemError 10
748 #define SWIG_UnknownError 99
749
750
751 static void _SWIG_exception(int code, const char *msg) {
752 switch(code) {
753 case SWIG_MemoryError:
754 PyErr_SetString(PyExc_MemoryError,msg);
755 break;
756 case SWIG_IOError:
757 PyErr_SetString(PyExc_IOError,msg);
758 break;
759 case SWIG_RuntimeError:
760 PyErr_SetString(PyExc_RuntimeError,msg);
761 break;
762 case SWIG_IndexError:
763 PyErr_SetString(PyExc_IndexError,msg);
764 break;
765 case SWIG_TypeError:
766 PyErr_SetString(PyExc_TypeError,msg);
767 break;
768 case SWIG_DivisionByZero:
769 PyErr_SetString(PyExc_ZeroDivisionError,msg);
770 break;
771 case SWIG_OverflowError:
772 PyErr_SetString(PyExc_OverflowError,msg);
773 break;
774 case SWIG_SyntaxError:
775 PyErr_SetString(PyExc_SyntaxError,msg);
776 break;
777 case SWIG_ValueError:
778 PyErr_SetString(PyExc_ValueError,msg);
779 break;
780 case SWIG_SystemError:
781 PyErr_SetString(PyExc_SystemError,msg);
782 break;
783 default:
784 PyErr_SetString(PyExc_RuntimeError,msg);
785 break;
786 }
787 }
788
789 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
790
791
792 #include <string>
793
794
795 #include <string>
796
797 PyObject* SwigInt_FromBool(bool b) {
798 return PyInt_FromLong(b ? 1L : 0L);
799 }
800 double SwigNumber_Check(PyObject* o) {
801 return PyFloat_Check(o) || PyInt_Check(o);
802 }
803 double SwigNumber_AsDouble(PyObject* o) {
804 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
805 }
806 PyObject* SwigString_FromString(const std::string& s) {
807 return PyString_FromString(s.c_str());
808 }
809 std::string SwigString_AsString(PyObject* o) {
810 return std::string(PyString_AsString(o));
811 }
812
813
814 #include <vector>
815 #include <algorithm>
816 #include <stdexcept>
817
818
819 ob::Openbox *Openbox_instance() { return ob::openbox; }
820
821
822 namespace ob {
823 void python_callback(PyObject *func, MouseData *data)
824 {
825 PyObject *arglist;
826 PyObject *result;
827
828 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
829 SWIGTYPE_p_ob__MouseData,
830 0));
831
832 // call the callback
833 result = PyEval_CallObject(func, arglist);
834 if (!result || PyErr_Occurred()) {
835 // an exception occured in the script, display it
836 PyErr_Print();
837 }
838
839 Py_XDECREF(result);
840 Py_DECREF(arglist);
841 }
842
843 void python_callback(PyObject *func, EventData *data)
844 {
845 PyObject *arglist;
846 PyObject *result;
847
848 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
849 SWIGTYPE_p_ob__EventData,
850 0));
851
852 // call the callback
853 result = PyEval_CallObject(func, arglist);
854 if (!result || PyErr_Occurred()) {
855 // an exception occured in the script, display it
856 PyErr_Print();
857 }
858
859 Py_XDECREF(result);
860 Py_DECREF(arglist);
861 }
862
863 void python_callback(PyObject *func, KeyData *data)
864 {
865 PyObject *arglist;
866 PyObject *result;
867
868 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
869 SWIGTYPE_p_ob__KeyData,
870 0));
871
872 // call the callback
873 result = PyEval_CallObject(func, arglist);
874 if (!result || PyErr_Occurred()) {
875 // an exception occured in the script, display it
876 PyErr_Print();
877 }
878
879 Py_XDECREF(result);
880 Py_DECREF(arglist);
881 }
882
883 }
884
885
886 #include <iterator>
887
888
889 #include "ustring.hh"
890
891
892 otk::Display *Display_instance() { return otk::display; }
893
894
895 const otk::Atoms& Property_atoms() { return otk::Property::atoms; }
896
897 ob::Client *ob_Screen_client(ob::Screen *self,int i){
898 if (i < 0 || i >= (int)self->clients.size())
899 return NULL;
900 ob::Client::List::iterator it = self->clients.begin();
901 std::advance(it,i);
902 return *it;
903 }
904 int ob_Screen_clientCount(ob::Screen const *self){
905 return (int) self->clients.size();
906 }
907 #ifdef __cplusplus
908 extern "C" {
909 #endif
910 static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
911 PyObject *resultobj;
912 ob::Openbox *result;
913
914 if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
915 result = (ob::Openbox *)Openbox_instance();
916
917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
918 return resultobj;
919 fail:
920 return NULL;
921 }
922
923
924 static PyObject *_wrap_Display_instance(PyObject *self, PyObject *args) {
925 PyObject *resultobj;
926 otk::Display *result;
927
928 if(!PyArg_ParseTuple(args,(char *)":Display_instance")) goto fail;
929 result = (otk::Display *)Display_instance();
930
931 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 0);
932 return resultobj;
933 fail:
934 return NULL;
935 }
936
937
938 static PyObject *_wrap_Property_atoms(PyObject *self, PyObject *args) {
939 PyObject *resultobj;
940 otk::Atoms *result;
941
942 if(!PyArg_ParseTuple(args,(char *)":Property_atoms")) goto fail;
943 {
944 otk::Atoms const &_result_ref = Property_atoms();
945 result = (otk::Atoms *) &_result_ref;
946 }
947
948 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Atoms, 0);
949 return resultobj;
950 fail:
951 return NULL;
952 }
953
954
955 static PyObject *_wrap_new_Display(PyObject *self, PyObject *args) {
956 PyObject *resultobj;
957 otk::Display *result;
958
959 if(!PyArg_ParseTuple(args,(char *)":new_Display")) goto fail;
960 result = (otk::Display *)new otk::Display();
961
962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 1);
963 return resultobj;
964 fail:
965 return NULL;
966 }
967
968
969 static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args) {
970 PyObject *resultobj;
971 otk::Display *arg1 = (otk::Display *) 0 ;
972 PyObject * obj0 = 0 ;
973
974 if(!PyArg_ParseTuple(args,(char *)"O:delete_Display",&obj0)) goto fail;
975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
976 delete arg1;
977
978 Py_INCREF(Py_None); resultobj = Py_None;
979 return resultobj;
980 fail:
981 return NULL;
982 }
983
984
985 static PyObject *_wrap_Display_gcCache(PyObject *self, PyObject *args) {
986 PyObject *resultobj;
987 otk::Display *arg1 = (otk::Display *) 0 ;
988 otk::GCCache *result;
989 PyObject * obj0 = 0 ;
990
991 if(!PyArg_ParseTuple(args,(char *)"O:Display_gcCache",&obj0)) goto fail;
992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
993 result = (otk::GCCache *)((otk::Display const *)arg1)->gcCache();
994
995 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__GCCache, 0);
996 return resultobj;
997 fail:
998 return NULL;
999 }
1000
1001
1002 static PyObject *_wrap_Display_screenInfo(PyObject *self, PyObject *args) {
1003 PyObject *resultobj;
1004 otk::Display *arg1 = (otk::Display *) 0 ;
1005 int arg2 ;
1006 otk::ScreenInfo *result;
1007 PyObject * obj0 = 0 ;
1008
1009 if(!PyArg_ParseTuple(args,(char *)"Oi:Display_screenInfo",&obj0,&arg2)) goto fail;
1010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1011 result = (otk::ScreenInfo *)(arg1)->screenInfo(arg2);
1012
1013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
1014 return resultobj;
1015 fail:
1016 return NULL;
1017 }
1018
1019
1020 static PyObject *_wrap_Display_findScreen(PyObject *self, PyObject *args) {
1021 PyObject *resultobj;
1022 otk::Display *arg1 = (otk::Display *) 0 ;
1023 Window arg2 ;
1024 otk::ScreenInfo *result;
1025 PyObject * obj0 = 0 ;
1026 PyObject * obj1 = 0 ;
1027
1028 if(!PyArg_ParseTuple(args,(char *)"OO:Display_findScreen",&obj0,&obj1)) goto fail;
1029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1030 arg2 = (Window) PyInt_AsLong(obj1);
1031 if (PyErr_Occurred()) SWIG_fail;
1032 result = (otk::ScreenInfo *)(arg1)->findScreen(arg2);
1033
1034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 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___mul__(PyObject *self, PyObject *args) {
1161 PyObject *resultobj;
1162 otk::Display *arg1 = (otk::Display *) 0 ;
1163 Display *result;
1164 PyObject * obj0 = 0 ;
1165
1166 if(!PyArg_ParseTuple(args,(char *)"O:Display___mul__",&obj0)) goto fail;
1167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1168 result = (Display *)((otk::Display const *)arg1)->operator *();
1169
1170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
1171 return resultobj;
1172 fail:
1173 return NULL;
1174 }
1175
1176
1177 static PyObject *_wrap_Display_grab(PyObject *self, PyObject *args) {
1178 PyObject *resultobj;
1179 otk::Display *arg1 = (otk::Display *) 0 ;
1180 PyObject * obj0 = 0 ;
1181
1182 if(!PyArg_ParseTuple(args,(char *)"O:Display_grab",&obj0)) goto fail;
1183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1184 (arg1)->grab();
1185
1186 Py_INCREF(Py_None); resultobj = Py_None;
1187 return resultobj;
1188 fail:
1189 return NULL;
1190 }
1191
1192
1193 static PyObject *_wrap_Display_ungrab(PyObject *self, PyObject *args) {
1194 PyObject *resultobj;
1195 otk::Display *arg1 = (otk::Display *) 0 ;
1196 PyObject * obj0 = 0 ;
1197
1198 if(!PyArg_ParseTuple(args,(char *)"O:Display_ungrab",&obj0)) goto fail;
1199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1200 (arg1)->ungrab();
1201
1202 Py_INCREF(Py_None); resultobj = Py_None;
1203 return resultobj;
1204 fail:
1205 return NULL;
1206 }
1207
1208
1209 static PyObject *_wrap_Display_grabButton(PyObject *self, PyObject *args) {
1210 PyObject *resultobj;
1211 otk::Display *arg1 = (otk::Display *) 0 ;
1212 unsigned int arg2 ;
1213 unsigned int arg3 ;
1214 Window arg4 ;
1215 bool arg5 ;
1216 unsigned int arg6 ;
1217 int arg7 ;
1218 int arg8 ;
1219 Window arg9 ;
1220 Cursor arg10 ;
1221 bool arg11 ;
1222 PyObject * obj0 = 0 ;
1223 PyObject * obj1 = 0 ;
1224 PyObject * obj2 = 0 ;
1225 PyObject * obj3 = 0 ;
1226 PyObject * obj4 = 0 ;
1227 PyObject * obj5 = 0 ;
1228 PyObject * obj8 = 0 ;
1229 PyObject * obj9 = 0 ;
1230 PyObject * obj10 = 0 ;
1231
1232 if(!PyArg_ParseTuple(args,(char *)"OOOOOOiiOOO:Display_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&arg7,&arg8,&obj8,&obj9,&obj10)) goto fail;
1233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1234 arg2 = (unsigned int) PyInt_AsLong(obj1);
1235 if (PyErr_Occurred()) SWIG_fail;
1236 arg3 = (unsigned int) PyInt_AsLong(obj2);
1237 if (PyErr_Occurred()) SWIG_fail;
1238 arg4 = (Window) PyInt_AsLong(obj3);
1239 if (PyErr_Occurred()) SWIG_fail;
1240 arg5 = (bool) PyInt_AsLong(obj4);
1241 if (PyErr_Occurred()) SWIG_fail;
1242 arg6 = (unsigned int) PyInt_AsLong(obj5);
1243 if (PyErr_Occurred()) SWIG_fail;
1244 arg9 = (Window) PyInt_AsLong(obj8);
1245 if (PyErr_Occurred()) SWIG_fail;
1246 arg10 = (Cursor) PyInt_AsLong(obj9);
1247 if (PyErr_Occurred()) SWIG_fail;
1248 arg11 = (bool) PyInt_AsLong(obj10);
1249 if (PyErr_Occurred()) SWIG_fail;
1250 ((otk::Display const *)arg1)->grabButton(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
1251
1252 Py_INCREF(Py_None); resultobj = Py_None;
1253 return resultobj;
1254 fail:
1255 return NULL;
1256 }
1257
1258
1259 static PyObject *_wrap_Display_ungrabButton(PyObject *self, PyObject *args) {
1260 PyObject *resultobj;
1261 otk::Display *arg1 = (otk::Display *) 0 ;
1262 unsigned int arg2 ;
1263 unsigned int arg3 ;
1264 Window arg4 ;
1265 PyObject * obj0 = 0 ;
1266 PyObject * obj1 = 0 ;
1267 PyObject * obj2 = 0 ;
1268 PyObject * obj3 = 0 ;
1269
1270 if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabButton",&obj0,&obj1,&obj2,&obj3)) goto fail;
1271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1272 arg2 = (unsigned int) PyInt_AsLong(obj1);
1273 if (PyErr_Occurred()) SWIG_fail;
1274 arg3 = (unsigned int) PyInt_AsLong(obj2);
1275 if (PyErr_Occurred()) SWIG_fail;
1276 arg4 = (Window) PyInt_AsLong(obj3);
1277 if (PyErr_Occurred()) SWIG_fail;
1278 ((otk::Display const *)arg1)->ungrabButton(arg2,arg3,arg4);
1279
1280 Py_INCREF(Py_None); resultobj = Py_None;
1281 return resultobj;
1282 fail:
1283 return NULL;
1284 }
1285
1286
1287 static PyObject *_wrap_Display_grabKey(PyObject *self, PyObject *args) {
1288 PyObject *resultobj;
1289 otk::Display *arg1 = (otk::Display *) 0 ;
1290 unsigned int arg2 ;
1291 unsigned int arg3 ;
1292 Window arg4 ;
1293 bool arg5 ;
1294 int arg6 ;
1295 int arg7 ;
1296 bool arg8 ;
1297 PyObject * obj0 = 0 ;
1298 PyObject * obj1 = 0 ;
1299 PyObject * obj2 = 0 ;
1300 PyObject * obj3 = 0 ;
1301 PyObject * obj4 = 0 ;
1302 PyObject * obj7 = 0 ;
1303
1304 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiO:Display_grabKey",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7)) goto fail;
1305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1306 arg2 = (unsigned int) PyInt_AsLong(obj1);
1307 if (PyErr_Occurred()) SWIG_fail;
1308 arg3 = (unsigned int) PyInt_AsLong(obj2);
1309 if (PyErr_Occurred()) SWIG_fail;
1310 arg4 = (Window) PyInt_AsLong(obj3);
1311 if (PyErr_Occurred()) SWIG_fail;
1312 arg5 = (bool) PyInt_AsLong(obj4);
1313 if (PyErr_Occurred()) SWIG_fail;
1314 arg8 = (bool) PyInt_AsLong(obj7);
1315 if (PyErr_Occurred()) SWIG_fail;
1316 ((otk::Display const *)arg1)->grabKey(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1317
1318 Py_INCREF(Py_None); resultobj = Py_None;
1319 return resultobj;
1320 fail:
1321 return NULL;
1322 }
1323
1324
1325 static PyObject *_wrap_Display_ungrabKey(PyObject *self, PyObject *args) {
1326 PyObject *resultobj;
1327 otk::Display *arg1 = (otk::Display *) 0 ;
1328 unsigned int arg2 ;
1329 unsigned int arg3 ;
1330 Window arg4 ;
1331 PyObject * obj0 = 0 ;
1332 PyObject * obj1 = 0 ;
1333 PyObject * obj2 = 0 ;
1334 PyObject * obj3 = 0 ;
1335
1336 if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabKey",&obj0,&obj1,&obj2,&obj3)) goto fail;
1337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1338 arg2 = (unsigned int) PyInt_AsLong(obj1);
1339 if (PyErr_Occurred()) SWIG_fail;
1340 arg3 = (unsigned int) PyInt_AsLong(obj2);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 arg4 = (Window) PyInt_AsLong(obj3);
1343 if (PyErr_Occurred()) SWIG_fail;
1344 ((otk::Display const *)arg1)->ungrabKey(arg2,arg3,arg4);
1345
1346 Py_INCREF(Py_None); resultobj = Py_None;
1347 return resultobj;
1348 fail:
1349 return NULL;
1350 }
1351
1352
1353 static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
1354 PyObject *obj;
1355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1356 SWIG_TypeClientData(SWIGTYPE_p_otk__Display, obj);
1357 Py_INCREF(obj);
1358 return Py_BuildValue((char *)"");
1359 }
1360 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
1361 PyObject *resultobj;
1362 otk::Point *result;
1363
1364 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
1365 result = (otk::Point *)new otk::Point();
1366
1367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1368 return resultobj;
1369 fail:
1370 return NULL;
1371 }
1372
1373
1374 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
1375 PyObject *resultobj;
1376 int arg1 ;
1377 int arg2 ;
1378 otk::Point *result;
1379
1380 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
1381 result = (otk::Point *)new otk::Point(arg1,arg2);
1382
1383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1384 return resultobj;
1385 fail:
1386 return NULL;
1387 }
1388
1389
1390 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
1391 int argc;
1392 PyObject *argv[3];
1393 int ii;
1394
1395 argc = PyObject_Length(args);
1396 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
1397 argv[ii] = PyTuple_GetItem(args,ii);
1398 }
1399 if (argc == 0) {
1400 return _wrap_new_Point__SWIG_0(self,args);
1401 }
1402 if (argc == 2) {
1403 int _v;
1404 {
1405 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
1406 }
1407 if (_v) {
1408 {
1409 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1410 }
1411 if (_v) {
1412 return _wrap_new_Point__SWIG_1(self,args);
1413 }
1414 }
1415 }
1416
1417 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
1418 return NULL;
1419 }
1420
1421
1422 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
1423 PyObject *resultobj;
1424 otk::Point *arg1 = (otk::Point *) 0 ;
1425 int arg2 ;
1426 PyObject * obj0 = 0 ;
1427
1428 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
1429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1430 (arg1)->setX(arg2);
1431
1432 Py_INCREF(Py_None); resultobj = Py_None;
1433 return resultobj;
1434 fail:
1435 return NULL;
1436 }
1437
1438
1439 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
1440 PyObject *resultobj;
1441 otk::Point *arg1 = (otk::Point *) 0 ;
1442 int result;
1443 PyObject * obj0 = 0 ;
1444
1445 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
1446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1447 result = (int)((otk::Point const *)arg1)->x();
1448
1449 resultobj = PyInt_FromLong((long)result);
1450 return resultobj;
1451 fail:
1452 return NULL;
1453 }
1454
1455
1456 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
1457 PyObject *resultobj;
1458 otk::Point *arg1 = (otk::Point *) 0 ;
1459 int arg2 ;
1460 PyObject * obj0 = 0 ;
1461
1462 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
1463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1464 (arg1)->setY(arg2);
1465
1466 Py_INCREF(Py_None); resultobj = Py_None;
1467 return resultobj;
1468 fail:
1469 return NULL;
1470 }
1471
1472
1473 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
1474 PyObject *resultobj;
1475 otk::Point *arg1 = (otk::Point *) 0 ;
1476 int result;
1477 PyObject * obj0 = 0 ;
1478
1479 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
1480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1481 result = (int)((otk::Point const *)arg1)->y();
1482
1483 resultobj = PyInt_FromLong((long)result);
1484 return resultobj;
1485 fail:
1486 return NULL;
1487 }
1488
1489
1490 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
1491 PyObject *resultobj;
1492 otk::Point *arg1 = (otk::Point *) 0 ;
1493 int arg2 ;
1494 int arg3 ;
1495 PyObject * obj0 = 0 ;
1496
1497 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
1498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1499 (arg1)->setPoint(arg2,arg3);
1500
1501 Py_INCREF(Py_None); resultobj = Py_None;
1502 return resultobj;
1503 fail:
1504 return NULL;
1505 }
1506
1507
1508 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
1509 PyObject *obj;
1510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1511 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
1512 Py_INCREF(obj);
1513 return Py_BuildValue((char *)"");
1514 }
1515 static PyObject *_wrap_Atoms_cardinal_set(PyObject *self, PyObject *args) {
1516 PyObject *resultobj;
1517 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1518 Atom arg2 ;
1519 PyObject * obj0 = 0 ;
1520 PyObject * obj1 = 0 ;
1521
1522 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_cardinal_set",&obj0,&obj1)) goto fail;
1523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1524 arg2 = (Atom) PyInt_AsLong(obj1);
1525 if (PyErr_Occurred()) SWIG_fail;
1526 if (arg1) (arg1)->cardinal = arg2;
1527
1528 Py_INCREF(Py_None); resultobj = Py_None;
1529 return resultobj;
1530 fail:
1531 return NULL;
1532 }
1533
1534
1535 static PyObject *_wrap_Atoms_cardinal_get(PyObject *self, PyObject *args) {
1536 PyObject *resultobj;
1537 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1538 Atom result;
1539 PyObject * obj0 = 0 ;
1540
1541 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_cardinal_get",&obj0)) goto fail;
1542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1543 result = (Atom) ((arg1)->cardinal);
1544
1545 resultobj = PyInt_FromLong((long)result);
1546 return resultobj;
1547 fail:
1548 return NULL;
1549 }
1550
1551
1552 static PyObject *_wrap_Atoms_window_set(PyObject *self, PyObject *args) {
1553 PyObject *resultobj;
1554 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1555 Atom arg2 ;
1556 PyObject * obj0 = 0 ;
1557 PyObject * obj1 = 0 ;
1558
1559 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_window_set",&obj0,&obj1)) goto fail;
1560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1561 arg2 = (Atom) PyInt_AsLong(obj1);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 if (arg1) (arg1)->window = arg2;
1564
1565 Py_INCREF(Py_None); resultobj = Py_None;
1566 return resultobj;
1567 fail:
1568 return NULL;
1569 }
1570
1571
1572 static PyObject *_wrap_Atoms_window_get(PyObject *self, PyObject *args) {
1573 PyObject *resultobj;
1574 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1575 Atom result;
1576 PyObject * obj0 = 0 ;
1577
1578 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_window_get",&obj0)) goto fail;
1579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1580 result = (Atom) ((arg1)->window);
1581
1582 resultobj = PyInt_FromLong((long)result);
1583 return resultobj;
1584 fail:
1585 return NULL;
1586 }
1587
1588
1589 static PyObject *_wrap_Atoms_pixmap_set(PyObject *self, PyObject *args) {
1590 PyObject *resultobj;
1591 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1592 Atom arg2 ;
1593 PyObject * obj0 = 0 ;
1594 PyObject * obj1 = 0 ;
1595
1596 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_pixmap_set",&obj0,&obj1)) goto fail;
1597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1598 arg2 = (Atom) PyInt_AsLong(obj1);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 if (arg1) (arg1)->pixmap = arg2;
1601
1602 Py_INCREF(Py_None); resultobj = Py_None;
1603 return resultobj;
1604 fail:
1605 return NULL;
1606 }
1607
1608
1609 static PyObject *_wrap_Atoms_pixmap_get(PyObject *self, PyObject *args) {
1610 PyObject *resultobj;
1611 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1612 Atom result;
1613 PyObject * obj0 = 0 ;
1614
1615 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_pixmap_get",&obj0)) goto fail;
1616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1617 result = (Atom) ((arg1)->pixmap);
1618
1619 resultobj = PyInt_FromLong((long)result);
1620 return resultobj;
1621 fail:
1622 return NULL;
1623 }
1624
1625
1626 static PyObject *_wrap_Atoms_atom_set(PyObject *self, PyObject *args) {
1627 PyObject *resultobj;
1628 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1629 Atom arg2 ;
1630 PyObject * obj0 = 0 ;
1631 PyObject * obj1 = 0 ;
1632
1633 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_atom_set",&obj0,&obj1)) goto fail;
1634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1635 arg2 = (Atom) PyInt_AsLong(obj1);
1636 if (PyErr_Occurred()) SWIG_fail;
1637 if (arg1) (arg1)->atom = arg2;
1638
1639 Py_INCREF(Py_None); resultobj = Py_None;
1640 return resultobj;
1641 fail:
1642 return NULL;
1643 }
1644
1645
1646 static PyObject *_wrap_Atoms_atom_get(PyObject *self, PyObject *args) {
1647 PyObject *resultobj;
1648 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1649 Atom result;
1650 PyObject * obj0 = 0 ;
1651
1652 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_atom_get",&obj0)) goto fail;
1653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1654 result = (Atom) ((arg1)->atom);
1655
1656 resultobj = PyInt_FromLong((long)result);
1657 return resultobj;
1658 fail:
1659 return NULL;
1660 }
1661
1662
1663 static PyObject *_wrap_Atoms_string_set(PyObject *self, PyObject *args) {
1664 PyObject *resultobj;
1665 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1666 Atom arg2 ;
1667 PyObject * obj0 = 0 ;
1668 PyObject * obj1 = 0 ;
1669
1670 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_string_set",&obj0,&obj1)) goto fail;
1671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1672 arg2 = (Atom) PyInt_AsLong(obj1);
1673 if (PyErr_Occurred()) SWIG_fail;
1674 if (arg1) (arg1)->string = arg2;
1675
1676 Py_INCREF(Py_None); resultobj = Py_None;
1677 return resultobj;
1678 fail:
1679 return NULL;
1680 }
1681
1682
1683 static PyObject *_wrap_Atoms_string_get(PyObject *self, PyObject *args) {
1684 PyObject *resultobj;
1685 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1686 Atom result;
1687 PyObject * obj0 = 0 ;
1688
1689 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_string_get",&obj0)) goto fail;
1690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1691 result = (Atom) ((arg1)->string);
1692
1693 resultobj = PyInt_FromLong((long)result);
1694 return resultobj;
1695 fail:
1696 return NULL;
1697 }
1698
1699
1700 static PyObject *_wrap_Atoms_utf8_set(PyObject *self, PyObject *args) {
1701 PyObject *resultobj;
1702 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1703 Atom arg2 ;
1704 PyObject * obj0 = 0 ;
1705 PyObject * obj1 = 0 ;
1706
1707 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_utf8_set",&obj0,&obj1)) goto fail;
1708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1709 arg2 = (Atom) PyInt_AsLong(obj1);
1710 if (PyErr_Occurred()) SWIG_fail;
1711 if (arg1) (arg1)->utf8 = arg2;
1712
1713 Py_INCREF(Py_None); resultobj = Py_None;
1714 return resultobj;
1715 fail:
1716 return NULL;
1717 }
1718
1719
1720 static PyObject *_wrap_Atoms_utf8_get(PyObject *self, PyObject *args) {
1721 PyObject *resultobj;
1722 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1723 Atom result;
1724 PyObject * obj0 = 0 ;
1725
1726 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_utf8_get",&obj0)) goto fail;
1727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1728 result = (Atom) ((arg1)->utf8);
1729
1730 resultobj = PyInt_FromLong((long)result);
1731 return resultobj;
1732 fail:
1733 return NULL;
1734 }
1735
1736
1737 static PyObject *_wrap_Atoms_openbox_pid_set(PyObject *self, PyObject *args) {
1738 PyObject *resultobj;
1739 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1740 Atom arg2 ;
1741 PyObject * obj0 = 0 ;
1742 PyObject * obj1 = 0 ;
1743
1744 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_pid_set",&obj0,&obj1)) goto fail;
1745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1746 arg2 = (Atom) PyInt_AsLong(obj1);
1747 if (PyErr_Occurred()) SWIG_fail;
1748 if (arg1) (arg1)->openbox_pid = arg2;
1749
1750 Py_INCREF(Py_None); resultobj = Py_None;
1751 return resultobj;
1752 fail:
1753 return NULL;
1754 }
1755
1756
1757 static PyObject *_wrap_Atoms_openbox_pid_get(PyObject *self, PyObject *args) {
1758 PyObject *resultobj;
1759 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1760 Atom result;
1761 PyObject * obj0 = 0 ;
1762
1763 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_pid_get",&obj0)) goto fail;
1764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1765 result = (Atom) ((arg1)->openbox_pid);
1766
1767 resultobj = PyInt_FromLong((long)result);
1768 return resultobj;
1769 fail:
1770 return NULL;
1771 }
1772
1773
1774 static PyObject *_wrap_Atoms_wm_colormap_windows_set(PyObject *self, PyObject *args) {
1775 PyObject *resultobj;
1776 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1777 Atom arg2 ;
1778 PyObject * obj0 = 0 ;
1779 PyObject * obj1 = 0 ;
1780
1781 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_colormap_windows_set",&obj0,&obj1)) goto fail;
1782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1783 arg2 = (Atom) PyInt_AsLong(obj1);
1784 if (PyErr_Occurred()) SWIG_fail;
1785 if (arg1) (arg1)->wm_colormap_windows = arg2;
1786
1787 Py_INCREF(Py_None); resultobj = Py_None;
1788 return resultobj;
1789 fail:
1790 return NULL;
1791 }
1792
1793
1794 static PyObject *_wrap_Atoms_wm_colormap_windows_get(PyObject *self, PyObject *args) {
1795 PyObject *resultobj;
1796 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1797 Atom result;
1798 PyObject * obj0 = 0 ;
1799
1800 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_colormap_windows_get",&obj0)) goto fail;
1801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1802 result = (Atom) ((arg1)->wm_colormap_windows);
1803
1804 resultobj = PyInt_FromLong((long)result);
1805 return resultobj;
1806 fail:
1807 return NULL;
1808 }
1809
1810
1811 static PyObject *_wrap_Atoms_wm_protocols_set(PyObject *self, PyObject *args) {
1812 PyObject *resultobj;
1813 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1814 Atom arg2 ;
1815 PyObject * obj0 = 0 ;
1816 PyObject * obj1 = 0 ;
1817
1818 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_protocols_set",&obj0,&obj1)) goto fail;
1819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1820 arg2 = (Atom) PyInt_AsLong(obj1);
1821 if (PyErr_Occurred()) SWIG_fail;
1822 if (arg1) (arg1)->wm_protocols = arg2;
1823
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 return resultobj;
1826 fail:
1827 return NULL;
1828 }
1829
1830
1831 static PyObject *_wrap_Atoms_wm_protocols_get(PyObject *self, PyObject *args) {
1832 PyObject *resultobj;
1833 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1834 Atom result;
1835 PyObject * obj0 = 0 ;
1836
1837 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_protocols_get",&obj0)) goto fail;
1838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1839 result = (Atom) ((arg1)->wm_protocols);
1840
1841 resultobj = PyInt_FromLong((long)result);
1842 return resultobj;
1843 fail:
1844 return NULL;
1845 }
1846
1847
1848 static PyObject *_wrap_Atoms_wm_state_set(PyObject *self, PyObject *args) {
1849 PyObject *resultobj;
1850 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1851 Atom arg2 ;
1852 PyObject * obj0 = 0 ;
1853 PyObject * obj1 = 0 ;
1854
1855 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_state_set",&obj0,&obj1)) goto fail;
1856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1857 arg2 = (Atom) PyInt_AsLong(obj1);
1858 if (PyErr_Occurred()) SWIG_fail;
1859 if (arg1) (arg1)->wm_state = arg2;
1860
1861 Py_INCREF(Py_None); resultobj = Py_None;
1862 return resultobj;
1863 fail:
1864 return NULL;
1865 }
1866
1867
1868 static PyObject *_wrap_Atoms_wm_state_get(PyObject *self, PyObject *args) {
1869 PyObject *resultobj;
1870 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1871 Atom result;
1872 PyObject * obj0 = 0 ;
1873
1874 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_state_get",&obj0)) goto fail;
1875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1876 result = (Atom) ((arg1)->wm_state);
1877
1878 resultobj = PyInt_FromLong((long)result);
1879 return resultobj;
1880 fail:
1881 return NULL;
1882 }
1883
1884
1885 static PyObject *_wrap_Atoms_wm_delete_window_set(PyObject *self, PyObject *args) {
1886 PyObject *resultobj;
1887 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1888 Atom arg2 ;
1889 PyObject * obj0 = 0 ;
1890 PyObject * obj1 = 0 ;
1891
1892 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_delete_window_set",&obj0,&obj1)) goto fail;
1893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1894 arg2 = (Atom) PyInt_AsLong(obj1);
1895 if (PyErr_Occurred()) SWIG_fail;
1896 if (arg1) (arg1)->wm_delete_window = arg2;
1897
1898 Py_INCREF(Py_None); resultobj = Py_None;
1899 return resultobj;
1900 fail:
1901 return NULL;
1902 }
1903
1904
1905 static PyObject *_wrap_Atoms_wm_delete_window_get(PyObject *self, PyObject *args) {
1906 PyObject *resultobj;
1907 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1908 Atom result;
1909 PyObject * obj0 = 0 ;
1910
1911 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_delete_window_get",&obj0)) goto fail;
1912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1913 result = (Atom) ((arg1)->wm_delete_window);
1914
1915 resultobj = PyInt_FromLong((long)result);
1916 return resultobj;
1917 fail:
1918 return NULL;
1919 }
1920
1921
1922 static PyObject *_wrap_Atoms_wm_take_focus_set(PyObject *self, PyObject *args) {
1923 PyObject *resultobj;
1924 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1925 Atom arg2 ;
1926 PyObject * obj0 = 0 ;
1927 PyObject * obj1 = 0 ;
1928
1929 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_take_focus_set",&obj0,&obj1)) goto fail;
1930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1931 arg2 = (Atom) PyInt_AsLong(obj1);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 if (arg1) (arg1)->wm_take_focus = arg2;
1934
1935 Py_INCREF(Py_None); resultobj = Py_None;
1936 return resultobj;
1937 fail:
1938 return NULL;
1939 }
1940
1941
1942 static PyObject *_wrap_Atoms_wm_take_focus_get(PyObject *self, PyObject *args) {
1943 PyObject *resultobj;
1944 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1945 Atom result;
1946 PyObject * obj0 = 0 ;
1947
1948 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_take_focus_get",&obj0)) goto fail;
1949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1950 result = (Atom) ((arg1)->wm_take_focus);
1951
1952 resultobj = PyInt_FromLong((long)result);
1953 return resultobj;
1954 fail:
1955 return NULL;
1956 }
1957
1958
1959 static PyObject *_wrap_Atoms_wm_change_state_set(PyObject *self, PyObject *args) {
1960 PyObject *resultobj;
1961 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1962 Atom arg2 ;
1963 PyObject * obj0 = 0 ;
1964 PyObject * obj1 = 0 ;
1965
1966 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_change_state_set",&obj0,&obj1)) goto fail;
1967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1968 arg2 = (Atom) PyInt_AsLong(obj1);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 if (arg1) (arg1)->wm_change_state = arg2;
1971
1972 Py_INCREF(Py_None); resultobj = Py_None;
1973 return resultobj;
1974 fail:
1975 return NULL;
1976 }
1977
1978
1979 static PyObject *_wrap_Atoms_wm_change_state_get(PyObject *self, PyObject *args) {
1980 PyObject *resultobj;
1981 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1982 Atom result;
1983 PyObject * obj0 = 0 ;
1984
1985 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_change_state_get",&obj0)) goto fail;
1986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1987 result = (Atom) ((arg1)->wm_change_state);
1988
1989 resultobj = PyInt_FromLong((long)result);
1990 return resultobj;
1991 fail:
1992 return NULL;
1993 }
1994
1995
1996 static PyObject *_wrap_Atoms_wm_name_set(PyObject *self, PyObject *args) {
1997 PyObject *resultobj;
1998 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1999 Atom arg2 ;
2000 PyObject * obj0 = 0 ;
2001 PyObject * obj1 = 0 ;
2002
2003 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_name_set",&obj0,&obj1)) goto fail;
2004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2005 arg2 = (Atom) PyInt_AsLong(obj1);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 if (arg1) (arg1)->wm_name = arg2;
2008
2009 Py_INCREF(Py_None); resultobj = Py_None;
2010 return resultobj;
2011 fail:
2012 return NULL;
2013 }
2014
2015
2016 static PyObject *_wrap_Atoms_wm_name_get(PyObject *self, PyObject *args) {
2017 PyObject *resultobj;
2018 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2019 Atom result;
2020 PyObject * obj0 = 0 ;
2021
2022 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_name_get",&obj0)) goto fail;
2023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2024 result = (Atom) ((arg1)->wm_name);
2025
2026 resultobj = PyInt_FromLong((long)result);
2027 return resultobj;
2028 fail:
2029 return NULL;
2030 }
2031
2032
2033 static PyObject *_wrap_Atoms_wm_icon_name_set(PyObject *self, PyObject *args) {
2034 PyObject *resultobj;
2035 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2036 Atom arg2 ;
2037 PyObject * obj0 = 0 ;
2038 PyObject * obj1 = 0 ;
2039
2040 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_icon_name_set",&obj0,&obj1)) goto fail;
2041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2042 arg2 = (Atom) PyInt_AsLong(obj1);
2043 if (PyErr_Occurred()) SWIG_fail;
2044 if (arg1) (arg1)->wm_icon_name = arg2;
2045
2046 Py_INCREF(Py_None); resultobj = Py_None;
2047 return resultobj;
2048 fail:
2049 return NULL;
2050 }
2051
2052
2053 static PyObject *_wrap_Atoms_wm_icon_name_get(PyObject *self, PyObject *args) {
2054 PyObject *resultobj;
2055 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2056 Atom result;
2057 PyObject * obj0 = 0 ;
2058
2059 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_icon_name_get",&obj0)) goto fail;
2060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2061 result = (Atom) ((arg1)->wm_icon_name);
2062
2063 resultobj = PyInt_FromLong((long)result);
2064 return resultobj;
2065 fail:
2066 return NULL;
2067 }
2068
2069
2070 static PyObject *_wrap_Atoms_wm_class_set(PyObject *self, PyObject *args) {
2071 PyObject *resultobj;
2072 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2073 Atom arg2 ;
2074 PyObject * obj0 = 0 ;
2075 PyObject * obj1 = 0 ;
2076
2077 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_class_set",&obj0,&obj1)) goto fail;
2078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2079 arg2 = (Atom) PyInt_AsLong(obj1);
2080 if (PyErr_Occurred()) SWIG_fail;
2081 if (arg1) (arg1)->wm_class = arg2;
2082
2083 Py_INCREF(Py_None); resultobj = Py_None;
2084 return resultobj;
2085 fail:
2086 return NULL;
2087 }
2088
2089
2090 static PyObject *_wrap_Atoms_wm_class_get(PyObject *self, PyObject *args) {
2091 PyObject *resultobj;
2092 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2093 Atom result;
2094 PyObject * obj0 = 0 ;
2095
2096 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_class_get",&obj0)) goto fail;
2097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2098 result = (Atom) ((arg1)->wm_class);
2099
2100 resultobj = PyInt_FromLong((long)result);
2101 return resultobj;
2102 fail:
2103 return NULL;
2104 }
2105
2106
2107 static PyObject *_wrap_Atoms_wm_window_role_set(PyObject *self, PyObject *args) {
2108 PyObject *resultobj;
2109 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2110 Atom arg2 ;
2111 PyObject * obj0 = 0 ;
2112 PyObject * obj1 = 0 ;
2113
2114 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_window_role_set",&obj0,&obj1)) goto fail;
2115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2116 arg2 = (Atom) PyInt_AsLong(obj1);
2117 if (PyErr_Occurred()) SWIG_fail;
2118 if (arg1) (arg1)->wm_window_role = arg2;
2119
2120 Py_INCREF(Py_None); resultobj = Py_None;
2121 return resultobj;
2122 fail:
2123 return NULL;
2124 }
2125
2126
2127 static PyObject *_wrap_Atoms_wm_window_role_get(PyObject *self, PyObject *args) {
2128 PyObject *resultobj;
2129 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2130 Atom result;
2131 PyObject * obj0 = 0 ;
2132
2133 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_window_role_get",&obj0)) goto fail;
2134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2135 result = (Atom) ((arg1)->wm_window_role);
2136
2137 resultobj = PyInt_FromLong((long)result);
2138 return resultobj;
2139 fail:
2140 return NULL;
2141 }
2142
2143
2144 static PyObject *_wrap_Atoms_motif_wm_hints_set(PyObject *self, PyObject *args) {
2145 PyObject *resultobj;
2146 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2147 Atom arg2 ;
2148 PyObject * obj0 = 0 ;
2149 PyObject * obj1 = 0 ;
2150
2151 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_motif_wm_hints_set",&obj0,&obj1)) goto fail;
2152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2153 arg2 = (Atom) PyInt_AsLong(obj1);
2154 if (PyErr_Occurred()) SWIG_fail;
2155 if (arg1) (arg1)->motif_wm_hints = arg2;
2156
2157 Py_INCREF(Py_None); resultobj = Py_None;
2158 return resultobj;
2159 fail:
2160 return NULL;
2161 }
2162
2163
2164 static PyObject *_wrap_Atoms_motif_wm_hints_get(PyObject *self, PyObject *args) {
2165 PyObject *resultobj;
2166 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2167 Atom result;
2168 PyObject * obj0 = 0 ;
2169
2170 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_motif_wm_hints_get",&obj0)) goto fail;
2171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2172 result = (Atom) ((arg1)->motif_wm_hints);
2173
2174 resultobj = PyInt_FromLong((long)result);
2175 return resultobj;
2176 fail:
2177 return NULL;
2178 }
2179
2180
2181 static PyObject *_wrap_Atoms_openbox_show_root_menu_set(PyObject *self, PyObject *args) {
2182 PyObject *resultobj;
2183 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2184 Atom arg2 ;
2185 PyObject * obj0 = 0 ;
2186 PyObject * obj1 = 0 ;
2187
2188 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_root_menu_set",&obj0,&obj1)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2190 arg2 = (Atom) PyInt_AsLong(obj1);
2191 if (PyErr_Occurred()) SWIG_fail;
2192 if (arg1) (arg1)->openbox_show_root_menu = arg2;
2193
2194 Py_INCREF(Py_None); resultobj = Py_None;
2195 return resultobj;
2196 fail:
2197 return NULL;
2198 }
2199
2200
2201 static PyObject *_wrap_Atoms_openbox_show_root_menu_get(PyObject *self, PyObject *args) {
2202 PyObject *resultobj;
2203 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2204 Atom result;
2205 PyObject * obj0 = 0 ;
2206
2207 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_root_menu_get",&obj0)) goto fail;
2208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2209 result = (Atom) ((arg1)->openbox_show_root_menu);
2210
2211 resultobj = PyInt_FromLong((long)result);
2212 return resultobj;
2213 fail:
2214 return NULL;
2215 }
2216
2217
2218 static PyObject *_wrap_Atoms_openbox_show_workspace_menu_set(PyObject *self, PyObject *args) {
2219 PyObject *resultobj;
2220 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2221 Atom arg2 ;
2222 PyObject * obj0 = 0 ;
2223 PyObject * obj1 = 0 ;
2224
2225 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_workspace_menu_set",&obj0,&obj1)) goto fail;
2226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2227 arg2 = (Atom) PyInt_AsLong(obj1);
2228 if (PyErr_Occurred()) SWIG_fail;
2229 if (arg1) (arg1)->openbox_show_workspace_menu = arg2;
2230
2231 Py_INCREF(Py_None); resultobj = Py_None;
2232 return resultobj;
2233 fail:
2234 return NULL;
2235 }
2236
2237
2238 static PyObject *_wrap_Atoms_openbox_show_workspace_menu_get(PyObject *self, PyObject *args) {
2239 PyObject *resultobj;
2240 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2241 Atom result;
2242 PyObject * obj0 = 0 ;
2243
2244 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_workspace_menu_get",&obj0)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2246 result = (Atom) ((arg1)->openbox_show_workspace_menu);
2247
2248 resultobj = PyInt_FromLong((long)result);
2249 return resultobj;
2250 fail:
2251 return NULL;
2252 }
2253
2254
2255 static PyObject *_wrap_Atoms_net_supported_set(PyObject *self, PyObject *args) {
2256 PyObject *resultobj;
2257 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2258 Atom arg2 ;
2259 PyObject * obj0 = 0 ;
2260 PyObject * obj1 = 0 ;
2261
2262 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supported_set",&obj0,&obj1)) goto fail;
2263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2264 arg2 = (Atom) PyInt_AsLong(obj1);
2265 if (PyErr_Occurred()) SWIG_fail;
2266 if (arg1) (arg1)->net_supported = arg2;
2267
2268 Py_INCREF(Py_None); resultobj = Py_None;
2269 return resultobj;
2270 fail:
2271 return NULL;
2272 }
2273
2274
2275 static PyObject *_wrap_Atoms_net_supported_get(PyObject *self, PyObject *args) {
2276 PyObject *resultobj;
2277 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2278 Atom result;
2279 PyObject * obj0 = 0 ;
2280
2281 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supported_get",&obj0)) goto fail;
2282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2283 result = (Atom) ((arg1)->net_supported);
2284
2285 resultobj = PyInt_FromLong((long)result);
2286 return resultobj;
2287 fail:
2288 return NULL;
2289 }
2290
2291
2292 static PyObject *_wrap_Atoms_net_client_list_set(PyObject *self, PyObject *args) {
2293 PyObject *resultobj;
2294 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2295 Atom arg2 ;
2296 PyObject * obj0 = 0 ;
2297 PyObject * obj1 = 0 ;
2298
2299 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_set",&obj0,&obj1)) goto fail;
2300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2301 arg2 = (Atom) PyInt_AsLong(obj1);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 if (arg1) (arg1)->net_client_list = arg2;
2304
2305 Py_INCREF(Py_None); resultobj = Py_None;
2306 return resultobj;
2307 fail:
2308 return NULL;
2309 }
2310
2311
2312 static PyObject *_wrap_Atoms_net_client_list_get(PyObject *self, PyObject *args) {
2313 PyObject *resultobj;
2314 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2315 Atom result;
2316 PyObject * obj0 = 0 ;
2317
2318 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_get",&obj0)) goto fail;
2319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2320 result = (Atom) ((arg1)->net_client_list);
2321
2322 resultobj = PyInt_FromLong((long)result);
2323 return resultobj;
2324 fail:
2325 return NULL;
2326 }
2327
2328
2329 static PyObject *_wrap_Atoms_net_client_list_stacking_set(PyObject *self, PyObject *args) {
2330 PyObject *resultobj;
2331 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2332 Atom arg2 ;
2333 PyObject * obj0 = 0 ;
2334 PyObject * obj1 = 0 ;
2335
2336 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_stacking_set",&obj0,&obj1)) goto fail;
2337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2338 arg2 = (Atom) PyInt_AsLong(obj1);
2339 if (PyErr_Occurred()) SWIG_fail;
2340 if (arg1) (arg1)->net_client_list_stacking = arg2;
2341
2342 Py_INCREF(Py_None); resultobj = Py_None;
2343 return resultobj;
2344 fail:
2345 return NULL;
2346 }
2347
2348
2349 static PyObject *_wrap_Atoms_net_client_list_stacking_get(PyObject *self, PyObject *args) {
2350 PyObject *resultobj;
2351 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2352 Atom result;
2353 PyObject * obj0 = 0 ;
2354
2355 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_stacking_get",&obj0)) goto fail;
2356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2357 result = (Atom) ((arg1)->net_client_list_stacking);
2358
2359 resultobj = PyInt_FromLong((long)result);
2360 return resultobj;
2361 fail:
2362 return NULL;
2363 }
2364
2365
2366 static PyObject *_wrap_Atoms_net_number_of_desktops_set(PyObject *self, PyObject *args) {
2367 PyObject *resultobj;
2368 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2369 Atom arg2 ;
2370 PyObject * obj0 = 0 ;
2371 PyObject * obj1 = 0 ;
2372
2373 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_number_of_desktops_set",&obj0,&obj1)) goto fail;
2374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2375 arg2 = (Atom) PyInt_AsLong(obj1);
2376 if (PyErr_Occurred()) SWIG_fail;
2377 if (arg1) (arg1)->net_number_of_desktops = arg2;
2378
2379 Py_INCREF(Py_None); resultobj = Py_None;
2380 return resultobj;
2381 fail:
2382 return NULL;
2383 }
2384
2385
2386 static PyObject *_wrap_Atoms_net_number_of_desktops_get(PyObject *self, PyObject *args) {
2387 PyObject *resultobj;
2388 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2389 Atom result;
2390 PyObject * obj0 = 0 ;
2391
2392 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_number_of_desktops_get",&obj0)) goto fail;
2393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2394 result = (Atom) ((arg1)->net_number_of_desktops);
2395
2396 resultobj = PyInt_FromLong((long)result);
2397 return resultobj;
2398 fail:
2399 return NULL;
2400 }
2401
2402
2403 static PyObject *_wrap_Atoms_net_desktop_geometry_set(PyObject *self, PyObject *args) {
2404 PyObject *resultobj;
2405 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2406 Atom arg2 ;
2407 PyObject * obj0 = 0 ;
2408 PyObject * obj1 = 0 ;
2409
2410 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_geometry_set",&obj0,&obj1)) goto fail;
2411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2412 arg2 = (Atom) PyInt_AsLong(obj1);
2413 if (PyErr_Occurred()) SWIG_fail;
2414 if (arg1) (arg1)->net_desktop_geometry = arg2;
2415
2416 Py_INCREF(Py_None); resultobj = Py_None;
2417 return resultobj;
2418 fail:
2419 return NULL;
2420 }
2421
2422
2423 static PyObject *_wrap_Atoms_net_desktop_geometry_get(PyObject *self, PyObject *args) {
2424 PyObject *resultobj;
2425 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2426 Atom result;
2427 PyObject * obj0 = 0 ;
2428
2429 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_geometry_get",&obj0)) goto fail;
2430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2431 result = (Atom) ((arg1)->net_desktop_geometry);
2432
2433 resultobj = PyInt_FromLong((long)result);
2434 return resultobj;
2435 fail:
2436 return NULL;
2437 }
2438
2439
2440 static PyObject *_wrap_Atoms_net_desktop_viewport_set(PyObject *self, PyObject *args) {
2441 PyObject *resultobj;
2442 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2443 Atom arg2 ;
2444 PyObject * obj0 = 0 ;
2445 PyObject * obj1 = 0 ;
2446
2447 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_viewport_set",&obj0,&obj1)) goto fail;
2448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2449 arg2 = (Atom) PyInt_AsLong(obj1);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 if (arg1) (arg1)->net_desktop_viewport = arg2;
2452
2453 Py_INCREF(Py_None); resultobj = Py_None;
2454 return resultobj;
2455 fail:
2456 return NULL;
2457 }
2458
2459
2460 static PyObject *_wrap_Atoms_net_desktop_viewport_get(PyObject *self, PyObject *args) {
2461 PyObject *resultobj;
2462 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2463 Atom result;
2464 PyObject * obj0 = 0 ;
2465
2466 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_viewport_get",&obj0)) goto fail;
2467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2468 result = (Atom) ((arg1)->net_desktop_viewport);
2469
2470 resultobj = PyInt_FromLong((long)result);
2471 return resultobj;
2472 fail:
2473 return NULL;
2474 }
2475
2476
2477 static PyObject *_wrap_Atoms_net_current_desktop_set(PyObject *self, PyObject *args) {
2478 PyObject *resultobj;
2479 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2480 Atom arg2 ;
2481 PyObject * obj0 = 0 ;
2482 PyObject * obj1 = 0 ;
2483
2484 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_current_desktop_set",&obj0,&obj1)) goto fail;
2485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2486 arg2 = (Atom) PyInt_AsLong(obj1);
2487 if (PyErr_Occurred()) SWIG_fail;
2488 if (arg1) (arg1)->net_current_desktop = arg2;
2489
2490 Py_INCREF(Py_None); resultobj = Py_None;
2491 return resultobj;
2492 fail:
2493 return NULL;
2494 }
2495
2496
2497 static PyObject *_wrap_Atoms_net_current_desktop_get(PyObject *self, PyObject *args) {
2498 PyObject *resultobj;
2499 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2500 Atom result;
2501 PyObject * obj0 = 0 ;
2502
2503 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_current_desktop_get",&obj0)) goto fail;
2504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2505 result = (Atom) ((arg1)->net_current_desktop);
2506
2507 resultobj = PyInt_FromLong((long)result);
2508 return resultobj;
2509 fail:
2510 return NULL;
2511 }
2512
2513
2514 static PyObject *_wrap_Atoms_net_desktop_names_set(PyObject *self, PyObject *args) {
2515 PyObject *resultobj;
2516 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2517 Atom arg2 ;
2518 PyObject * obj0 = 0 ;
2519 PyObject * obj1 = 0 ;
2520
2521 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_names_set",&obj0,&obj1)) goto fail;
2522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2523 arg2 = (Atom) PyInt_AsLong(obj1);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 if (arg1) (arg1)->net_desktop_names = arg2;
2526
2527 Py_INCREF(Py_None); resultobj = Py_None;
2528 return resultobj;
2529 fail:
2530 return NULL;
2531 }
2532
2533
2534 static PyObject *_wrap_Atoms_net_desktop_names_get(PyObject *self, PyObject *args) {
2535 PyObject *resultobj;
2536 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2537 Atom result;
2538 PyObject * obj0 = 0 ;
2539
2540 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_names_get",&obj0)) goto fail;
2541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2542 result = (Atom) ((arg1)->net_desktop_names);
2543
2544 resultobj = PyInt_FromLong((long)result);
2545 return resultobj;
2546 fail:
2547 return NULL;
2548 }
2549
2550
2551 static PyObject *_wrap_Atoms_net_active_window_set(PyObject *self, PyObject *args) {
2552 PyObject *resultobj;
2553 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2554 Atom arg2 ;
2555 PyObject * obj0 = 0 ;
2556 PyObject * obj1 = 0 ;
2557
2558 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_active_window_set",&obj0,&obj1)) goto fail;
2559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2560 arg2 = (Atom) PyInt_AsLong(obj1);
2561 if (PyErr_Occurred()) SWIG_fail;
2562 if (arg1) (arg1)->net_active_window = arg2;
2563
2564 Py_INCREF(Py_None); resultobj = Py_None;
2565 return resultobj;
2566 fail:
2567 return NULL;
2568 }
2569
2570
2571 static PyObject *_wrap_Atoms_net_active_window_get(PyObject *self, PyObject *args) {
2572 PyObject *resultobj;
2573 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2574 Atom result;
2575 PyObject * obj0 = 0 ;
2576
2577 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_active_window_get",&obj0)) goto fail;
2578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2579 result = (Atom) ((arg1)->net_active_window);
2580
2581 resultobj = PyInt_FromLong((long)result);
2582 return resultobj;
2583 fail:
2584 return NULL;
2585 }
2586
2587
2588 static PyObject *_wrap_Atoms_net_workarea_set(PyObject *self, PyObject *args) {
2589 PyObject *resultobj;
2590 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2591 Atom arg2 ;
2592 PyObject * obj0 = 0 ;
2593 PyObject * obj1 = 0 ;
2594
2595 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_workarea_set",&obj0,&obj1)) goto fail;
2596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2597 arg2 = (Atom) PyInt_AsLong(obj1);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 if (arg1) (arg1)->net_workarea = arg2;
2600
2601 Py_INCREF(Py_None); resultobj = Py_None;
2602 return resultobj;
2603 fail:
2604 return NULL;
2605 }
2606
2607
2608 static PyObject *_wrap_Atoms_net_workarea_get(PyObject *self, PyObject *args) {
2609 PyObject *resultobj;
2610 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2611 Atom result;
2612 PyObject * obj0 = 0 ;
2613
2614 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_workarea_get",&obj0)) goto fail;
2615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2616 result = (Atom) ((arg1)->net_workarea);
2617
2618 resultobj = PyInt_FromLong((long)result);
2619 return resultobj;
2620 fail:
2621 return NULL;
2622 }
2623
2624
2625 static PyObject *_wrap_Atoms_net_supporting_wm_check_set(PyObject *self, PyObject *args) {
2626 PyObject *resultobj;
2627 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2628 Atom arg2 ;
2629 PyObject * obj0 = 0 ;
2630 PyObject * obj1 = 0 ;
2631
2632 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supporting_wm_check_set",&obj0,&obj1)) goto fail;
2633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2634 arg2 = (Atom) PyInt_AsLong(obj1);
2635 if (PyErr_Occurred()) SWIG_fail;
2636 if (arg1) (arg1)->net_supporting_wm_check = arg2;
2637
2638 Py_INCREF(Py_None); resultobj = Py_None;
2639 return resultobj;
2640 fail:
2641 return NULL;
2642 }
2643
2644
2645 static PyObject *_wrap_Atoms_net_supporting_wm_check_get(PyObject *self, PyObject *args) {
2646 PyObject *resultobj;
2647 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2648 Atom result;
2649 PyObject * obj0 = 0 ;
2650
2651 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supporting_wm_check_get",&obj0)) goto fail;
2652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2653 result = (Atom) ((arg1)->net_supporting_wm_check);
2654
2655 resultobj = PyInt_FromLong((long)result);
2656 return resultobj;
2657 fail:
2658 return NULL;
2659 }
2660
2661
2662 static PyObject *_wrap_Atoms_net_close_window_set(PyObject *self, PyObject *args) {
2663 PyObject *resultobj;
2664 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2665 Atom arg2 ;
2666 PyObject * obj0 = 0 ;
2667 PyObject * obj1 = 0 ;
2668
2669 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_close_window_set",&obj0,&obj1)) goto fail;
2670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2671 arg2 = (Atom) PyInt_AsLong(obj1);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 if (arg1) (arg1)->net_close_window = arg2;
2674
2675 Py_INCREF(Py_None); resultobj = Py_None;
2676 return resultobj;
2677 fail:
2678 return NULL;
2679 }
2680
2681
2682 static PyObject *_wrap_Atoms_net_close_window_get(PyObject *self, PyObject *args) {
2683 PyObject *resultobj;
2684 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2685 Atom result;
2686 PyObject * obj0 = 0 ;
2687
2688 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_close_window_get",&obj0)) goto fail;
2689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2690 result = (Atom) ((arg1)->net_close_window);
2691
2692 resultobj = PyInt_FromLong((long)result);
2693 return resultobj;
2694 fail:
2695 return NULL;
2696 }
2697
2698
2699 static PyObject *_wrap_Atoms_net_wm_moveresize_set(PyObject *self, PyObject *args) {
2700 PyObject *resultobj;
2701 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2702 Atom arg2 ;
2703 PyObject * obj0 = 0 ;
2704 PyObject * obj1 = 0 ;
2705
2706 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_set",&obj0,&obj1)) goto fail;
2707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2708 arg2 = (Atom) PyInt_AsLong(obj1);
2709 if (PyErr_Occurred()) SWIG_fail;
2710 if (arg1) (arg1)->net_wm_moveresize = arg2;
2711
2712 Py_INCREF(Py_None); resultobj = Py_None;
2713 return resultobj;
2714 fail:
2715 return NULL;
2716 }
2717
2718
2719 static PyObject *_wrap_Atoms_net_wm_moveresize_get(PyObject *self, PyObject *args) {
2720 PyObject *resultobj;
2721 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2722 Atom result;
2723 PyObject * obj0 = 0 ;
2724
2725 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_get",&obj0)) goto fail;
2726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2727 result = (Atom) ((arg1)->net_wm_moveresize);
2728
2729 resultobj = PyInt_FromLong((long)result);
2730 return resultobj;
2731 fail:
2732 return NULL;
2733 }
2734
2735
2736 static PyObject *_wrap_Atoms_net_wm_name_set(PyObject *self, PyObject *args) {
2737 PyObject *resultobj;
2738 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2739 Atom arg2 ;
2740 PyObject * obj0 = 0 ;
2741 PyObject * obj1 = 0 ;
2742
2743 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_name_set",&obj0,&obj1)) goto fail;
2744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2745 arg2 = (Atom) PyInt_AsLong(obj1);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 if (arg1) (arg1)->net_wm_name = arg2;
2748
2749 Py_INCREF(Py_None); resultobj = Py_None;
2750 return resultobj;
2751 fail:
2752 return NULL;
2753 }
2754
2755
2756 static PyObject *_wrap_Atoms_net_wm_name_get(PyObject *self, PyObject *args) {
2757 PyObject *resultobj;
2758 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2759 Atom result;
2760 PyObject * obj0 = 0 ;
2761
2762 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_name_get",&obj0)) goto fail;
2763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2764 result = (Atom) ((arg1)->net_wm_name);
2765
2766 resultobj = PyInt_FromLong((long)result);
2767 return resultobj;
2768 fail:
2769 return NULL;
2770 }
2771
2772
2773 static PyObject *_wrap_Atoms_net_wm_visible_name_set(PyObject *self, PyObject *args) {
2774 PyObject *resultobj;
2775 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2776 Atom arg2 ;
2777 PyObject * obj0 = 0 ;
2778 PyObject * obj1 = 0 ;
2779
2780 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_name_set",&obj0,&obj1)) goto fail;
2781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2782 arg2 = (Atom) PyInt_AsLong(obj1);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 if (arg1) (arg1)->net_wm_visible_name = arg2;
2785
2786 Py_INCREF(Py_None); resultobj = Py_None;
2787 return resultobj;
2788 fail:
2789 return NULL;
2790 }
2791
2792
2793 static PyObject *_wrap_Atoms_net_wm_visible_name_get(PyObject *self, PyObject *args) {
2794 PyObject *resultobj;
2795 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2796 Atom result;
2797 PyObject * obj0 = 0 ;
2798
2799 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_name_get",&obj0)) goto fail;
2800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2801 result = (Atom) ((arg1)->net_wm_visible_name);
2802
2803 resultobj = PyInt_FromLong((long)result);
2804 return resultobj;
2805 fail:
2806 return NULL;
2807 }
2808
2809
2810 static PyObject *_wrap_Atoms_net_wm_icon_name_set(PyObject *self, PyObject *args) {
2811 PyObject *resultobj;
2812 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2813 Atom arg2 ;
2814 PyObject * obj0 = 0 ;
2815 PyObject * obj1 = 0 ;
2816
2817 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_icon_name_set",&obj0,&obj1)) goto fail;
2818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2819 arg2 = (Atom) PyInt_AsLong(obj1);
2820 if (PyErr_Occurred()) SWIG_fail;
2821 if (arg1) (arg1)->net_wm_icon_name = arg2;
2822
2823 Py_INCREF(Py_None); resultobj = Py_None;
2824 return resultobj;
2825 fail:
2826 return NULL;
2827 }
2828
2829
2830 static PyObject *_wrap_Atoms_net_wm_icon_name_get(PyObject *self, PyObject *args) {
2831 PyObject *resultobj;
2832 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2833 Atom result;
2834 PyObject * obj0 = 0 ;
2835
2836 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_icon_name_get",&obj0)) goto fail;
2837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2838 result = (Atom) ((arg1)->net_wm_icon_name);
2839
2840 resultobj = PyInt_FromLong((long)result);
2841 return resultobj;
2842 fail:
2843 return NULL;
2844 }
2845
2846
2847 static PyObject *_wrap_Atoms_net_wm_visible_icon_name_set(PyObject *self, PyObject *args) {
2848 PyObject *resultobj;
2849 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2850 Atom arg2 ;
2851 PyObject * obj0 = 0 ;
2852 PyObject * obj1 = 0 ;
2853
2854 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_icon_name_set",&obj0,&obj1)) goto fail;
2855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2856 arg2 = (Atom) PyInt_AsLong(obj1);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 if (arg1) (arg1)->net_wm_visible_icon_name = arg2;
2859
2860 Py_INCREF(Py_None); resultobj = Py_None;
2861 return resultobj;
2862 fail:
2863 return NULL;
2864 }
2865
2866
2867 static PyObject *_wrap_Atoms_net_wm_visible_icon_name_get(PyObject *self, PyObject *args) {
2868 PyObject *resultobj;
2869 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2870 Atom result;
2871 PyObject * obj0 = 0 ;
2872
2873 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_icon_name_get",&obj0)) goto fail;
2874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2875 result = (Atom) ((arg1)->net_wm_visible_icon_name);
2876
2877 resultobj = PyInt_FromLong((long)result);
2878 return resultobj;
2879 fail:
2880 return NULL;
2881 }
2882
2883
2884 static PyObject *_wrap_Atoms_net_wm_desktop_set(PyObject *self, PyObject *args) {
2885 PyObject *resultobj;
2886 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2887 Atom arg2 ;
2888 PyObject * obj0 = 0 ;
2889 PyObject * obj1 = 0 ;
2890
2891 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_desktop_set",&obj0,&obj1)) goto fail;
2892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2893 arg2 = (Atom) PyInt_AsLong(obj1);
2894 if (PyErr_Occurred()) SWIG_fail;
2895 if (arg1) (arg1)->net_wm_desktop = arg2;
2896
2897 Py_INCREF(Py_None); resultobj = Py_None;
2898 return resultobj;
2899 fail:
2900 return NULL;
2901 }
2902
2903
2904 static PyObject *_wrap_Atoms_net_wm_desktop_get(PyObject *self, PyObject *args) {
2905 PyObject *resultobj;
2906 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2907 Atom result;
2908 PyObject * obj0 = 0 ;
2909
2910 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_desktop_get",&obj0)) goto fail;
2911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2912 result = (Atom) ((arg1)->net_wm_desktop);
2913
2914 resultobj = PyInt_FromLong((long)result);
2915 return resultobj;
2916 fail:
2917 return NULL;
2918 }
2919
2920
2921 static PyObject *_wrap_Atoms_net_wm_window_type_set(PyObject *self, PyObject *args) {
2922 PyObject *resultobj;
2923 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2924 Atom arg2 ;
2925 PyObject * obj0 = 0 ;
2926 PyObject * obj1 = 0 ;
2927
2928 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_set",&obj0,&obj1)) goto fail;
2929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2930 arg2 = (Atom) PyInt_AsLong(obj1);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 if (arg1) (arg1)->net_wm_window_type = arg2;
2933
2934 Py_INCREF(Py_None); resultobj = Py_None;
2935 return resultobj;
2936 fail:
2937 return NULL;
2938 }
2939
2940
2941 static PyObject *_wrap_Atoms_net_wm_window_type_get(PyObject *self, PyObject *args) {
2942 PyObject *resultobj;
2943 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2944 Atom result;
2945 PyObject * obj0 = 0 ;
2946
2947 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_get",&obj0)) goto fail;
2948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2949 result = (Atom) ((arg1)->net_wm_window_type);
2950
2951 resultobj = PyInt_FromLong((long)result);
2952 return resultobj;
2953 fail:
2954 return NULL;
2955 }
2956
2957
2958 static PyObject *_wrap_Atoms_net_wm_state_set(PyObject *self, PyObject *args) {
2959 PyObject *resultobj;
2960 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2961 Atom arg2 ;
2962 PyObject * obj0 = 0 ;
2963 PyObject * obj1 = 0 ;
2964
2965 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_set",&obj0,&obj1)) goto fail;
2966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2967 arg2 = (Atom) PyInt_AsLong(obj1);
2968 if (PyErr_Occurred()) SWIG_fail;
2969 if (arg1) (arg1)->net_wm_state = arg2;
2970
2971 Py_INCREF(Py_None); resultobj = Py_None;
2972 return resultobj;
2973 fail:
2974 return NULL;
2975 }
2976
2977
2978 static PyObject *_wrap_Atoms_net_wm_state_get(PyObject *self, PyObject *args) {
2979 PyObject *resultobj;
2980 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2981 Atom result;
2982 PyObject * obj0 = 0 ;
2983
2984 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_get",&obj0)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2986 result = (Atom) ((arg1)->net_wm_state);
2987
2988 resultobj = PyInt_FromLong((long)result);
2989 return resultobj;
2990 fail:
2991 return NULL;
2992 }
2993
2994
2995 static PyObject *_wrap_Atoms_net_wm_strut_set(PyObject *self, PyObject *args) {
2996 PyObject *resultobj;
2997 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2998 Atom arg2 ;
2999 PyObject * obj0 = 0 ;
3000 PyObject * obj1 = 0 ;
3001
3002 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_strut_set",&obj0,&obj1)) goto fail;
3003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3004 arg2 = (Atom) PyInt_AsLong(obj1);
3005 if (PyErr_Occurred()) SWIG_fail;
3006 if (arg1) (arg1)->net_wm_strut = arg2;
3007
3008 Py_INCREF(Py_None); resultobj = Py_None;
3009 return resultobj;
3010 fail:
3011 return NULL;
3012 }
3013
3014
3015 static PyObject *_wrap_Atoms_net_wm_strut_get(PyObject *self, PyObject *args) {
3016 PyObject *resultobj;
3017 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3018 Atom result;
3019 PyObject * obj0 = 0 ;
3020
3021 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_strut_get",&obj0)) goto fail;
3022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3023 result = (Atom) ((arg1)->net_wm_strut);
3024
3025 resultobj = PyInt_FromLong((long)result);
3026 return resultobj;
3027 fail:
3028 return NULL;
3029 }
3030
3031
3032 static PyObject *_wrap_Atoms_net_wm_allowed_actions_set(PyObject *self, PyObject *args) {
3033 PyObject *resultobj;
3034 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3035 Atom arg2 ;
3036 PyObject * obj0 = 0 ;
3037 PyObject * obj1 = 0 ;
3038
3039 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_allowed_actions_set",&obj0,&obj1)) goto fail;
3040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3041 arg2 = (Atom) PyInt_AsLong(obj1);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 if (arg1) (arg1)->net_wm_allowed_actions = arg2;
3044
3045 Py_INCREF(Py_None); resultobj = Py_None;
3046 return resultobj;
3047 fail:
3048 return NULL;
3049 }
3050
3051
3052 static PyObject *_wrap_Atoms_net_wm_allowed_actions_get(PyObject *self, PyObject *args) {
3053 PyObject *resultobj;
3054 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3055 Atom result;
3056 PyObject * obj0 = 0 ;
3057
3058 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_allowed_actions_get",&obj0)) goto fail;
3059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3060 result = (Atom) ((arg1)->net_wm_allowed_actions);
3061
3062 resultobj = PyInt_FromLong((long)result);
3063 return resultobj;
3064 fail:
3065 return NULL;
3066 }
3067
3068
3069 static PyObject *_wrap_Atoms_net_wm_window_type_desktop_set(PyObject *self, PyObject *args) {
3070 PyObject *resultobj;
3071 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3072 Atom arg2 ;
3073 PyObject * obj0 = 0 ;
3074 PyObject * obj1 = 0 ;
3075
3076 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_desktop_set",&obj0,&obj1)) goto fail;
3077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3078 arg2 = (Atom) PyInt_AsLong(obj1);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 if (arg1) (arg1)->net_wm_window_type_desktop = arg2;
3081
3082 Py_INCREF(Py_None); resultobj = Py_None;
3083 return resultobj;
3084 fail:
3085 return NULL;
3086 }
3087
3088
3089 static PyObject *_wrap_Atoms_net_wm_window_type_desktop_get(PyObject *self, PyObject *args) {
3090 PyObject *resultobj;
3091 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3092 Atom result;
3093 PyObject * obj0 = 0 ;
3094
3095 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_desktop_get",&obj0)) goto fail;
3096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3097 result = (Atom) ((arg1)->net_wm_window_type_desktop);
3098
3099 resultobj = PyInt_FromLong((long)result);
3100 return resultobj;
3101 fail:
3102 return NULL;
3103 }
3104
3105
3106 static PyObject *_wrap_Atoms_net_wm_window_type_dock_set(PyObject *self, PyObject *args) {
3107 PyObject *resultobj;
3108 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3109 Atom arg2 ;
3110 PyObject * obj0 = 0 ;
3111 PyObject * obj1 = 0 ;
3112
3113 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dock_set",&obj0,&obj1)) goto fail;
3114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3115 arg2 = (Atom) PyInt_AsLong(obj1);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 if (arg1) (arg1)->net_wm_window_type_dock = arg2;
3118
3119 Py_INCREF(Py_None); resultobj = Py_None;
3120 return resultobj;
3121 fail:
3122 return NULL;
3123 }
3124
3125
3126 static PyObject *_wrap_Atoms_net_wm_window_type_dock_get(PyObject *self, PyObject *args) {
3127 PyObject *resultobj;
3128 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3129 Atom result;
3130 PyObject * obj0 = 0 ;
3131
3132 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dock_get",&obj0)) goto fail;
3133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3134 result = (Atom) ((arg1)->net_wm_window_type_dock);
3135
3136 resultobj = PyInt_FromLong((long)result);
3137 return resultobj;
3138 fail:
3139 return NULL;
3140 }
3141
3142
3143 static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_set(PyObject *self, PyObject *args) {
3144 PyObject *resultobj;
3145 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3146 Atom arg2 ;
3147 PyObject * obj0 = 0 ;
3148 PyObject * obj1 = 0 ;
3149
3150 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_toolbar_set",&obj0,&obj1)) goto fail;
3151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3152 arg2 = (Atom) PyInt_AsLong(obj1);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 if (arg1) (arg1)->net_wm_window_type_toolbar = arg2;
3155
3156 Py_INCREF(Py_None); resultobj = Py_None;
3157 return resultobj;
3158 fail:
3159 return NULL;
3160 }
3161
3162
3163 static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_get(PyObject *self, PyObject *args) {
3164 PyObject *resultobj;
3165 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3166 Atom result;
3167 PyObject * obj0 = 0 ;
3168
3169 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_toolbar_get",&obj0)) goto fail;
3170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3171 result = (Atom) ((arg1)->net_wm_window_type_toolbar);
3172
3173 resultobj = PyInt_FromLong((long)result);
3174 return resultobj;
3175 fail:
3176 return NULL;
3177 }
3178
3179
3180 static PyObject *_wrap_Atoms_net_wm_window_type_menu_set(PyObject *self, PyObject *args) {
3181 PyObject *resultobj;
3182 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3183 Atom arg2 ;
3184 PyObject * obj0 = 0 ;
3185 PyObject * obj1 = 0 ;
3186
3187 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_menu_set",&obj0,&obj1)) goto fail;
3188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3189 arg2 = (Atom) PyInt_AsLong(obj1);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 if (arg1) (arg1)->net_wm_window_type_menu = arg2;
3192
3193 Py_INCREF(Py_None); resultobj = Py_None;
3194 return resultobj;
3195 fail:
3196 return NULL;
3197 }
3198
3199
3200 static PyObject *_wrap_Atoms_net_wm_window_type_menu_get(PyObject *self, PyObject *args) {
3201 PyObject *resultobj;
3202 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3203 Atom result;
3204 PyObject * obj0 = 0 ;
3205
3206 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_menu_get",&obj0)) goto fail;
3207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3208 result = (Atom) ((arg1)->net_wm_window_type_menu);
3209
3210 resultobj = PyInt_FromLong((long)result);
3211 return resultobj;
3212 fail:
3213 return NULL;
3214 }
3215
3216
3217 static PyObject *_wrap_Atoms_net_wm_window_type_utility_set(PyObject *self, PyObject *args) {
3218 PyObject *resultobj;
3219 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3220 Atom arg2 ;
3221 PyObject * obj0 = 0 ;
3222 PyObject * obj1 = 0 ;
3223
3224 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_utility_set",&obj0,&obj1)) goto fail;
3225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3226 arg2 = (Atom) PyInt_AsLong(obj1);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 if (arg1) (arg1)->net_wm_window_type_utility = arg2;
3229
3230 Py_INCREF(Py_None); resultobj = Py_None;
3231 return resultobj;
3232 fail:
3233 return NULL;
3234 }
3235
3236
3237 static PyObject *_wrap_Atoms_net_wm_window_type_utility_get(PyObject *self, PyObject *args) {
3238 PyObject *resultobj;
3239 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3240 Atom result;
3241 PyObject * obj0 = 0 ;
3242
3243 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_utility_get",&obj0)) goto fail;
3244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3245 result = (Atom) ((arg1)->net_wm_window_type_utility);
3246
3247 resultobj = PyInt_FromLong((long)result);
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 static PyObject *_wrap_Atoms_net_wm_window_type_splash_set(PyObject *self, PyObject *args) {
3255 PyObject *resultobj;
3256 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3257 Atom arg2 ;
3258 PyObject * obj0 = 0 ;
3259 PyObject * obj1 = 0 ;
3260
3261 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_splash_set",&obj0,&obj1)) goto fail;
3262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3263 arg2 = (Atom) PyInt_AsLong(obj1);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 if (arg1) (arg1)->net_wm_window_type_splash = arg2;
3266
3267 Py_INCREF(Py_None); resultobj = Py_None;
3268 return resultobj;
3269 fail:
3270 return NULL;
3271 }
3272
3273
3274 static PyObject *_wrap_Atoms_net_wm_window_type_splash_get(PyObject *self, PyObject *args) {
3275 PyObject *resultobj;
3276 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3277 Atom result;
3278 PyObject * obj0 = 0 ;
3279
3280 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_splash_get",&obj0)) goto fail;
3281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3282 result = (Atom) ((arg1)->net_wm_window_type_splash);
3283
3284 resultobj = PyInt_FromLong((long)result);
3285 return resultobj;
3286 fail:
3287 return NULL;
3288 }
3289
3290
3291 static PyObject *_wrap_Atoms_net_wm_window_type_dialog_set(PyObject *self, PyObject *args) {
3292 PyObject *resultobj;
3293 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3294 Atom arg2 ;
3295 PyObject * obj0 = 0 ;
3296 PyObject * obj1 = 0 ;
3297
3298 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dialog_set",&obj0,&obj1)) goto fail;
3299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3300 arg2 = (Atom) PyInt_AsLong(obj1);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 if (arg1) (arg1)->net_wm_window_type_dialog = arg2;
3303
3304 Py_INCREF(Py_None); resultobj = Py_None;
3305 return resultobj;
3306 fail:
3307 return NULL;
3308 }
3309
3310
3311 static PyObject *_wrap_Atoms_net_wm_window_type_dialog_get(PyObject *self, PyObject *args) {
3312 PyObject *resultobj;
3313 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3314 Atom result;
3315 PyObject * obj0 = 0 ;
3316
3317 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dialog_get",&obj0)) goto fail;
3318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3319 result = (Atom) ((arg1)->net_wm_window_type_dialog);
3320
3321 resultobj = PyInt_FromLong((long)result);
3322 return resultobj;
3323 fail:
3324 return NULL;
3325 }
3326
3327
3328 static PyObject *_wrap_Atoms_net_wm_window_type_normal_set(PyObject *self, PyObject *args) {
3329 PyObject *resultobj;
3330 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3331 Atom arg2 ;
3332 PyObject * obj0 = 0 ;
3333 PyObject * obj1 = 0 ;
3334
3335 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_normal_set",&obj0,&obj1)) goto fail;
3336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3337 arg2 = (Atom) PyInt_AsLong(obj1);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 if (arg1) (arg1)->net_wm_window_type_normal = arg2;
3340
3341 Py_INCREF(Py_None); resultobj = Py_None;
3342 return resultobj;
3343 fail:
3344 return NULL;
3345 }
3346
3347
3348 static PyObject *_wrap_Atoms_net_wm_window_type_normal_get(PyObject *self, PyObject *args) {
3349 PyObject *resultobj;
3350 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3351 Atom result;
3352 PyObject * obj0 = 0 ;
3353
3354 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_normal_get",&obj0)) goto fail;
3355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3356 result = (Atom) ((arg1)->net_wm_window_type_normal);
3357
3358 resultobj = PyInt_FromLong((long)result);
3359 return resultobj;
3360 fail:
3361 return NULL;
3362 }
3363
3364
3365 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_set(PyObject *self, PyObject *args) {
3366 PyObject *resultobj;
3367 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3368 Atom arg2 ;
3369 PyObject * obj0 = 0 ;
3370 PyObject * obj1 = 0 ;
3371
3372 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topleft_set",&obj0,&obj1)) goto fail;
3373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3374 arg2 = (Atom) PyInt_AsLong(obj1);
3375 if (PyErr_Occurred()) SWIG_fail;
3376 if (arg1) (arg1)->net_wm_moveresize_size_topleft = arg2;
3377
3378 Py_INCREF(Py_None); resultobj = Py_None;
3379 return resultobj;
3380 fail:
3381 return NULL;
3382 }
3383
3384
3385 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_get(PyObject *self, PyObject *args) {
3386 PyObject *resultobj;
3387 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3388 Atom result;
3389 PyObject * obj0 = 0 ;
3390
3391 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topleft_get",&obj0)) goto fail;
3392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3393 result = (Atom) ((arg1)->net_wm_moveresize_size_topleft);
3394
3395 resultobj = PyInt_FromLong((long)result);
3396 return resultobj;
3397 fail:
3398 return NULL;
3399 }
3400
3401
3402 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_set(PyObject *self, PyObject *args) {
3403 PyObject *resultobj;
3404 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3405 Atom arg2 ;
3406 PyObject * obj0 = 0 ;
3407 PyObject * obj1 = 0 ;
3408
3409 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topright_set",&obj0,&obj1)) goto fail;
3410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3411 arg2 = (Atom) PyInt_AsLong(obj1);
3412 if (PyErr_Occurred()) SWIG_fail;
3413 if (arg1) (arg1)->net_wm_moveresize_size_topright = arg2;
3414
3415 Py_INCREF(Py_None); resultobj = Py_None;
3416 return resultobj;
3417 fail:
3418 return NULL;
3419 }
3420
3421
3422 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_get(PyObject *self, PyObject *args) {
3423 PyObject *resultobj;
3424 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3425 Atom result;
3426 PyObject * obj0 = 0 ;
3427
3428 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topright_get",&obj0)) goto fail;
3429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3430 result = (Atom) ((arg1)->net_wm_moveresize_size_topright);
3431
3432 resultobj = PyInt_FromLong((long)result);
3433 return resultobj;
3434 fail:
3435 return NULL;
3436 }
3437
3438
3439 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_set(PyObject *self, PyObject *args) {
3440 PyObject *resultobj;
3441 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3442 Atom arg2 ;
3443 PyObject * obj0 = 0 ;
3444 PyObject * obj1 = 0 ;
3445
3446 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomleft_set",&obj0,&obj1)) goto fail;
3447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3448 arg2 = (Atom) PyInt_AsLong(obj1);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 if (arg1) (arg1)->net_wm_moveresize_size_bottomleft = arg2;
3451
3452 Py_INCREF(Py_None); resultobj = Py_None;
3453 return resultobj;
3454 fail:
3455 return NULL;
3456 }
3457
3458
3459 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_get(PyObject *self, PyObject *args) {
3460 PyObject *resultobj;
3461 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3462 Atom result;
3463 PyObject * obj0 = 0 ;
3464
3465 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomleft_get",&obj0)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3467 result = (Atom) ((arg1)->net_wm_moveresize_size_bottomleft);
3468
3469 resultobj = PyInt_FromLong((long)result);
3470 return resultobj;
3471 fail:
3472 return NULL;
3473 }
3474
3475
3476 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_set(PyObject *self, PyObject *args) {
3477 PyObject *resultobj;
3478 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3479 Atom arg2 ;
3480 PyObject * obj0 = 0 ;
3481 PyObject * obj1 = 0 ;
3482
3483 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomright_set",&obj0,&obj1)) goto fail;
3484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3485 arg2 = (Atom) PyInt_AsLong(obj1);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 if (arg1) (arg1)->net_wm_moveresize_size_bottomright = arg2;
3488
3489 Py_INCREF(Py_None); resultobj = Py_None;
3490 return resultobj;
3491 fail:
3492 return NULL;
3493 }
3494
3495
3496 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_get(PyObject *self, PyObject *args) {
3497 PyObject *resultobj;
3498 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3499 Atom result;
3500 PyObject * obj0 = 0 ;
3501
3502 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomright_get",&obj0)) goto fail;
3503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3504 result = (Atom) ((arg1)->net_wm_moveresize_size_bottomright);
3505
3506 resultobj = PyInt_FromLong((long)result);
3507 return resultobj;
3508 fail:
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_Atoms_net_wm_moveresize_move_set(PyObject *self, PyObject *args) {
3514 PyObject *resultobj;
3515 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3516 Atom arg2 ;
3517 PyObject * obj0 = 0 ;
3518 PyObject * obj1 = 0 ;
3519
3520 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_move_set",&obj0,&obj1)) goto fail;
3521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3522 arg2 = (Atom) PyInt_AsLong(obj1);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 if (arg1) (arg1)->net_wm_moveresize_move = arg2;
3525
3526 Py_INCREF(Py_None); resultobj = Py_None;
3527 return resultobj;
3528 fail:
3529 return NULL;
3530 }
3531
3532
3533 static PyObject *_wrap_Atoms_net_wm_moveresize_move_get(PyObject *self, PyObject *args) {
3534 PyObject *resultobj;
3535 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3536 Atom result;
3537 PyObject * obj0 = 0 ;
3538
3539 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_move_get",&obj0)) goto fail;
3540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3541 result = (Atom) ((arg1)->net_wm_moveresize_move);
3542
3543 resultobj = PyInt_FromLong((long)result);
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 static PyObject *_wrap_Atoms_net_wm_action_move_set(PyObject *self, PyObject *args) {
3551 PyObject *resultobj;
3552 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3553 Atom arg2 ;
3554 PyObject * obj0 = 0 ;
3555 PyObject * obj1 = 0 ;
3556
3557 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_move_set",&obj0,&obj1)) goto fail;
3558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3559 arg2 = (Atom) PyInt_AsLong(obj1);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 if (arg1) (arg1)->net_wm_action_move = arg2;
3562
3563 Py_INCREF(Py_None); resultobj = Py_None;
3564 return resultobj;
3565 fail:
3566 return NULL;
3567 }
3568
3569
3570 static PyObject *_wrap_Atoms_net_wm_action_move_get(PyObject *self, PyObject *args) {
3571 PyObject *resultobj;
3572 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3573 Atom result;
3574 PyObject * obj0 = 0 ;
3575
3576 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_move_get",&obj0)) goto fail;
3577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3578 result = (Atom) ((arg1)->net_wm_action_move);
3579
3580 resultobj = PyInt_FromLong((long)result);
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_Atoms_net_wm_action_resize_set(PyObject *self, PyObject *args) {
3588 PyObject *resultobj;
3589 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3590 Atom arg2 ;
3591 PyObject * obj0 = 0 ;
3592 PyObject * obj1 = 0 ;
3593
3594 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_resize_set",&obj0,&obj1)) goto fail;
3595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3596 arg2 = (Atom) PyInt_AsLong(obj1);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 if (arg1) (arg1)->net_wm_action_resize = arg2;
3599
3600 Py_INCREF(Py_None); resultobj = Py_None;
3601 return resultobj;
3602 fail:
3603 return NULL;
3604 }
3605
3606
3607 static PyObject *_wrap_Atoms_net_wm_action_resize_get(PyObject *self, PyObject *args) {
3608 PyObject *resultobj;
3609 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3610 Atom result;
3611 PyObject * obj0 = 0 ;
3612
3613 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_resize_get",&obj0)) goto fail;
3614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3615 result = (Atom) ((arg1)->net_wm_action_resize);
3616
3617 resultobj = PyInt_FromLong((long)result);
3618 return resultobj;
3619 fail:
3620 return NULL;
3621 }
3622
3623
3624 static PyObject *_wrap_Atoms_net_wm_action_minimize_set(PyObject *self, PyObject *args) {
3625 PyObject *resultobj;
3626 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3627 Atom arg2 ;
3628 PyObject * obj0 = 0 ;
3629 PyObject * obj1 = 0 ;
3630
3631 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_minimize_set",&obj0,&obj1)) goto fail;
3632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3633 arg2 = (Atom) PyInt_AsLong(obj1);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 if (arg1) (arg1)->net_wm_action_minimize = arg2;
3636
3637 Py_INCREF(Py_None); resultobj = Py_None;
3638 return resultobj;
3639 fail:
3640 return NULL;
3641 }
3642
3643
3644 static PyObject *_wrap_Atoms_net_wm_action_minimize_get(PyObject *self, PyObject *args) {
3645 PyObject *resultobj;
3646 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3647 Atom result;
3648 PyObject * obj0 = 0 ;
3649
3650 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_minimize_get",&obj0)) goto fail;
3651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3652 result = (Atom) ((arg1)->net_wm_action_minimize);
3653
3654 resultobj = PyInt_FromLong((long)result);
3655 return resultobj;
3656 fail:
3657 return NULL;
3658 }
3659
3660
3661 static PyObject *_wrap_Atoms_net_wm_action_shade_set(PyObject *self, PyObject *args) {
3662 PyObject *resultobj;
3663 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3664 Atom arg2 ;
3665 PyObject * obj0 = 0 ;
3666 PyObject * obj1 = 0 ;
3667
3668 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_shade_set",&obj0,&obj1)) goto fail;
3669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3670 arg2 = (Atom) PyInt_AsLong(obj1);
3671 if (PyErr_Occurred()) SWIG_fail;
3672 if (arg1) (arg1)->net_wm_action_shade = arg2;
3673
3674 Py_INCREF(Py_None); resultobj = Py_None;
3675 return resultobj;
3676 fail:
3677 return NULL;
3678 }
3679
3680
3681 static PyObject *_wrap_Atoms_net_wm_action_shade_get(PyObject *self, PyObject *args) {
3682 PyObject *resultobj;
3683 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3684 Atom result;
3685 PyObject * obj0 = 0 ;
3686
3687 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_shade_get",&obj0)) goto fail;
3688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3689 result = (Atom) ((arg1)->net_wm_action_shade);
3690
3691 resultobj = PyInt_FromLong((long)result);
3692 return resultobj;
3693 fail:
3694 return NULL;
3695 }
3696
3697
3698 static PyObject *_wrap_Atoms_net_wm_action_stick_set(PyObject *self, PyObject *args) {
3699 PyObject *resultobj;
3700 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3701 Atom arg2 ;
3702 PyObject * obj0 = 0 ;
3703 PyObject * obj1 = 0 ;
3704
3705 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_stick_set",&obj0,&obj1)) goto fail;
3706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3707 arg2 = (Atom) PyInt_AsLong(obj1);
3708 if (PyErr_Occurred()) SWIG_fail;
3709 if (arg1) (arg1)->net_wm_action_stick = arg2;
3710
3711 Py_INCREF(Py_None); resultobj = Py_None;
3712 return resultobj;
3713 fail:
3714 return NULL;
3715 }
3716
3717
3718 static PyObject *_wrap_Atoms_net_wm_action_stick_get(PyObject *self, PyObject *args) {
3719 PyObject *resultobj;
3720 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3721 Atom result;
3722 PyObject * obj0 = 0 ;
3723
3724 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_stick_get",&obj0)) goto fail;
3725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3726 result = (Atom) ((arg1)->net_wm_action_stick);
3727
3728 resultobj = PyInt_FromLong((long)result);
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_set(PyObject *self, PyObject *args) {
3736 PyObject *resultobj;
3737 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3738 Atom arg2 ;
3739 PyObject * obj0 = 0 ;
3740 PyObject * obj1 = 0 ;
3741
3742 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_horz_set",&obj0,&obj1)) goto fail;
3743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3744 arg2 = (Atom) PyInt_AsLong(obj1);
3745 if (PyErr_Occurred()) SWIG_fail;
3746 if (arg1) (arg1)->net_wm_action_maximize_horz = arg2;
3747
3748 Py_INCREF(Py_None); resultobj = Py_None;
3749 return resultobj;
3750 fail:
3751 return NULL;
3752 }
3753
3754
3755 static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_get(PyObject *self, PyObject *args) {
3756 PyObject *resultobj;
3757 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3758 Atom result;
3759 PyObject * obj0 = 0 ;
3760
3761 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_horz_get",&obj0)) goto fail;
3762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3763 result = (Atom) ((arg1)->net_wm_action_maximize_horz);
3764
3765 resultobj = PyInt_FromLong((long)result);
3766 return resultobj;
3767 fail:
3768 return NULL;
3769 }
3770
3771
3772 static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_set(PyObject *self, PyObject *args) {
3773 PyObject *resultobj;
3774 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3775 Atom arg2 ;
3776 PyObject * obj0 = 0 ;
3777 PyObject * obj1 = 0 ;
3778
3779 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_vert_set",&obj0,&obj1)) goto fail;
3780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3781 arg2 = (Atom) PyInt_AsLong(obj1);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 if (arg1) (arg1)->net_wm_action_maximize_vert = arg2;
3784
3785 Py_INCREF(Py_None); resultobj = Py_None;
3786 return resultobj;
3787 fail:
3788 return NULL;
3789 }
3790
3791
3792 static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_get(PyObject *self, PyObject *args) {
3793 PyObject *resultobj;
3794 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3795 Atom result;
3796 PyObject * obj0 = 0 ;
3797
3798 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_vert_get",&obj0)) goto fail;
3799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3800 result = (Atom) ((arg1)->net_wm_action_maximize_vert);
3801
3802 resultobj = PyInt_FromLong((long)result);
3803 return resultobj;
3804 fail:
3805 return NULL;
3806 }
3807
3808
3809 static PyObject *_wrap_Atoms_net_wm_action_fullscreen_set(PyObject *self, PyObject *args) {
3810 PyObject *resultobj;
3811 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3812 Atom arg2 ;
3813 PyObject * obj0 = 0 ;
3814 PyObject * obj1 = 0 ;
3815
3816 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_fullscreen_set",&obj0,&obj1)) goto fail;
3817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3818 arg2 = (Atom) PyInt_AsLong(obj1);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 if (arg1) (arg1)->net_wm_action_fullscreen = arg2;
3821
3822 Py_INCREF(Py_None); resultobj = Py_None;
3823 return resultobj;
3824 fail:
3825 return NULL;
3826 }
3827
3828
3829 static PyObject *_wrap_Atoms_net_wm_action_fullscreen_get(PyObject *self, PyObject *args) {
3830 PyObject *resultobj;
3831 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3832 Atom result;
3833 PyObject * obj0 = 0 ;
3834
3835 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_fullscreen_get",&obj0)) goto fail;
3836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3837 result = (Atom) ((arg1)->net_wm_action_fullscreen);
3838
3839 resultobj = PyInt_FromLong((long)result);
3840 return resultobj;
3841 fail:
3842 return NULL;
3843 }
3844
3845
3846 static PyObject *_wrap_Atoms_net_wm_action_change_desktop_set(PyObject *self, PyObject *args) {
3847 PyObject *resultobj;
3848 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3849 Atom arg2 ;
3850 PyObject * obj0 = 0 ;
3851 PyObject * obj1 = 0 ;
3852
3853 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_change_desktop_set",&obj0,&obj1)) goto fail;
3854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3855 arg2 = (Atom) PyInt_AsLong(obj1);
3856 if (PyErr_Occurred()) SWIG_fail;
3857 if (arg1) (arg1)->net_wm_action_change_desktop = arg2;
3858
3859 Py_INCREF(Py_None); resultobj = Py_None;
3860 return resultobj;
3861 fail:
3862 return NULL;
3863 }
3864
3865
3866 static PyObject *_wrap_Atoms_net_wm_action_change_desktop_get(PyObject *self, PyObject *args) {
3867 PyObject *resultobj;
3868 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3869 Atom result;
3870 PyObject * obj0 = 0 ;
3871
3872 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_change_desktop_get",&obj0)) goto fail;
3873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3874 result = (Atom) ((arg1)->net_wm_action_change_desktop);
3875
3876 resultobj = PyInt_FromLong((long)result);
3877 return resultobj;
3878 fail:
3879 return NULL;
3880 }
3881
3882
3883 static PyObject *_wrap_Atoms_net_wm_action_close_set(PyObject *self, PyObject *args) {
3884 PyObject *resultobj;
3885 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3886 Atom arg2 ;
3887 PyObject * obj0 = 0 ;
3888 PyObject * obj1 = 0 ;
3889
3890 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_close_set",&obj0,&obj1)) goto fail;
3891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3892 arg2 = (Atom) PyInt_AsLong(obj1);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 if (arg1) (arg1)->net_wm_action_close = arg2;
3895
3896 Py_INCREF(Py_None); resultobj = Py_None;
3897 return resultobj;
3898 fail:
3899 return NULL;
3900 }
3901
3902
3903 static PyObject *_wrap_Atoms_net_wm_action_close_get(PyObject *self, PyObject *args) {
3904 PyObject *resultobj;
3905 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3906 Atom result;
3907 PyObject * obj0 = 0 ;
3908
3909 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_close_get",&obj0)) goto fail;
3910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3911 result = (Atom) ((arg1)->net_wm_action_close);
3912
3913 resultobj = PyInt_FromLong((long)result);
3914 return resultobj;
3915 fail:
3916 return NULL;
3917 }
3918
3919
3920 static PyObject *_wrap_Atoms_net_wm_state_modal_set(PyObject *self, PyObject *args) {
3921 PyObject *resultobj;
3922 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3923 Atom arg2 ;
3924 PyObject * obj0 = 0 ;
3925 PyObject * obj1 = 0 ;
3926
3927 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_modal_set",&obj0,&obj1)) goto fail;
3928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3929 arg2 = (Atom) PyInt_AsLong(obj1);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 if (arg1) (arg1)->net_wm_state_modal = arg2;
3932
3933 Py_INCREF(Py_None); resultobj = Py_None;
3934 return resultobj;
3935 fail:
3936 return NULL;
3937 }
3938
3939
3940 static PyObject *_wrap_Atoms_net_wm_state_modal_get(PyObject *self, PyObject *args) {
3941 PyObject *resultobj;
3942 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3943 Atom result;
3944 PyObject * obj0 = 0 ;
3945
3946 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_modal_get",&obj0)) goto fail;
3947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3948 result = (Atom) ((arg1)->net_wm_state_modal);
3949
3950 resultobj = PyInt_FromLong((long)result);
3951 return resultobj;
3952 fail:
3953 return NULL;
3954 }
3955
3956
3957 static PyObject *_wrap_Atoms_net_wm_state_sticky_set(PyObject *self, PyObject *args) {
3958 PyObject *resultobj;
3959 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3960 Atom arg2 ;
3961 PyObject * obj0 = 0 ;
3962 PyObject * obj1 = 0 ;
3963
3964 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_sticky_set",&obj0,&obj1)) goto fail;
3965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3966 arg2 = (Atom) PyInt_AsLong(obj1);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 if (arg1) (arg1)->net_wm_state_sticky = arg2;
3969
3970 Py_INCREF(Py_None); resultobj = Py_None;
3971 return resultobj;
3972 fail:
3973 return NULL;
3974 }
3975
3976
3977 static PyObject *_wrap_Atoms_net_wm_state_sticky_get(PyObject *self, PyObject *args) {
3978 PyObject *resultobj;
3979 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3980 Atom result;
3981 PyObject * obj0 = 0 ;
3982
3983 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_sticky_get",&obj0)) goto fail;
3984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3985 result = (Atom) ((arg1)->net_wm_state_sticky);
3986
3987 resultobj = PyInt_FromLong((long)result);
3988 return resultobj;
3989 fail:
3990 return NULL;
3991 }
3992
3993
3994 static PyObject *_wrap_Atoms_net_wm_state_maximized_vert_set(PyObject *self, PyObject *args) {
3995 PyObject *resultobj;
3996 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3997 Atom arg2 ;
3998 PyObject * obj0 = 0 ;
3999 PyObject * obj1 = 0 ;
4000
4001 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_maximized_vert_set",&obj0,&obj1)) goto fail;
4002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4003 arg2 = (Atom) PyInt_AsLong(obj1);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 if (arg1) (arg1)->net_wm_state_maximized_vert = arg2;
4006
4007 Py_INCREF(Py_None); resultobj = Py_None;
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 static PyObject *_wrap_Atoms_net_wm_state_maximized_vert_get(PyObject *self, PyObject *args) {
4015 PyObject *resultobj;
4016 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4017 Atom result;
4018 PyObject * obj0 = 0 ;
4019
4020 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_maximized_vert_get",&obj0)) goto fail;
4021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4022 result = (Atom) ((arg1)->net_wm_state_maximized_vert);
4023
4024 resultobj = PyInt_FromLong((long)result);
4025 return resultobj;
4026 fail:
4027 return NULL;
4028 }
4029
4030
4031 static PyObject *_wrap_Atoms_net_wm_state_maximized_horz_set(PyObject *self, PyObject *args) {
4032 PyObject *resultobj;
4033 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4034 Atom arg2 ;
4035 PyObject * obj0 = 0 ;
4036 PyObject * obj1 = 0 ;
4037
4038 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_maximized_horz_set",&obj0,&obj1)) goto fail;
4039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4040 arg2 = (Atom) PyInt_AsLong(obj1);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 if (arg1) (arg1)->net_wm_state_maximized_horz = arg2;
4043
4044 Py_INCREF(Py_None); resultobj = Py_None;
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_Atoms_net_wm_state_maximized_horz_get(PyObject *self, PyObject *args) {
4052 PyObject *resultobj;
4053 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4054 Atom result;
4055 PyObject * obj0 = 0 ;
4056
4057 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_maximized_horz_get",&obj0)) goto fail;
4058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4059 result = (Atom) ((arg1)->net_wm_state_maximized_horz);
4060
4061 resultobj = PyInt_FromLong((long)result);
4062 return resultobj;
4063 fail:
4064 return NULL;
4065 }
4066
4067
4068 static PyObject *_wrap_Atoms_net_wm_state_shaded_set(PyObject *self, PyObject *args) {
4069 PyObject *resultobj;
4070 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4071 Atom arg2 ;
4072 PyObject * obj0 = 0 ;
4073 PyObject * obj1 = 0 ;
4074
4075 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_shaded_set",&obj0,&obj1)) goto fail;
4076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4077 arg2 = (Atom) PyInt_AsLong(obj1);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 if (arg1) (arg1)->net_wm_state_shaded = arg2;
4080
4081 Py_INCREF(Py_None); resultobj = Py_None;
4082 return resultobj;
4083 fail:
4084 return NULL;
4085 }
4086
4087
4088 static PyObject *_wrap_Atoms_net_wm_state_shaded_get(PyObject *self, PyObject *args) {
4089 PyObject *resultobj;
4090 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4091 Atom result;
4092 PyObject * obj0 = 0 ;
4093
4094 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_shaded_get",&obj0)) goto fail;
4095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4096 result = (Atom) ((arg1)->net_wm_state_shaded);
4097
4098 resultobj = PyInt_FromLong((long)result);
4099 return resultobj;
4100 fail:
4101 return NULL;
4102 }
4103
4104
4105 static PyObject *_wrap_Atoms_net_wm_state_skip_taskbar_set(PyObject *self, PyObject *args) {
4106 PyObject *resultobj;
4107 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4108 Atom arg2 ;
4109 PyObject * obj0 = 0 ;
4110 PyObject * obj1 = 0 ;
4111
4112 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_skip_taskbar_set",&obj0,&obj1)) goto fail;
4113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4114 arg2 = (Atom) PyInt_AsLong(obj1);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 if (arg1) (arg1)->net_wm_state_skip_taskbar = arg2;
4117
4118 Py_INCREF(Py_None); resultobj = Py_None;
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 static PyObject *_wrap_Atoms_net_wm_state_skip_taskbar_get(PyObject *self, PyObject *args) {
4126 PyObject *resultobj;
4127 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4128 Atom result;
4129 PyObject * obj0 = 0 ;
4130
4131 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_skip_taskbar_get",&obj0)) goto fail;
4132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4133 result = (Atom) ((arg1)->net_wm_state_skip_taskbar);
4134
4135 resultobj = PyInt_FromLong((long)result);
4136 return resultobj;
4137 fail:
4138 return NULL;
4139 }
4140
4141
4142 static PyObject *_wrap_Atoms_net_wm_state_skip_pager_set(PyObject *self, PyObject *args) {
4143 PyObject *resultobj;
4144 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4145 Atom arg2 ;
4146 PyObject * obj0 = 0 ;
4147 PyObject * obj1 = 0 ;
4148
4149 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_skip_pager_set",&obj0,&obj1)) goto fail;
4150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4151 arg2 = (Atom) PyInt_AsLong(obj1);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 if (arg1) (arg1)->net_wm_state_skip_pager = arg2;
4154
4155 Py_INCREF(Py_None); resultobj = Py_None;
4156 return resultobj;
4157 fail:
4158 return NULL;
4159 }
4160
4161
4162 static PyObject *_wrap_Atoms_net_wm_state_skip_pager_get(PyObject *self, PyObject *args) {
4163 PyObject *resultobj;
4164 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4165 Atom result;
4166 PyObject * obj0 = 0 ;
4167
4168 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_skip_pager_get",&obj0)) goto fail;
4169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4170 result = (Atom) ((arg1)->net_wm_state_skip_pager);
4171
4172 resultobj = PyInt_FromLong((long)result);
4173 return resultobj;
4174 fail:
4175 return NULL;
4176 }
4177
4178
4179 static PyObject *_wrap_Atoms_net_wm_state_hidden_set(PyObject *self, PyObject *args) {
4180 PyObject *resultobj;
4181 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4182 Atom arg2 ;
4183 PyObject * obj0 = 0 ;
4184 PyObject * obj1 = 0 ;
4185
4186 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_hidden_set",&obj0,&obj1)) goto fail;
4187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4188 arg2 = (Atom) PyInt_AsLong(obj1);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 if (arg1) (arg1)->net_wm_state_hidden = arg2;
4191
4192 Py_INCREF(Py_None); resultobj = Py_None;
4193 return resultobj;
4194 fail:
4195 return NULL;
4196 }
4197
4198
4199 static PyObject *_wrap_Atoms_net_wm_state_hidden_get(PyObject *self, PyObject *args) {
4200 PyObject *resultobj;
4201 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4202 Atom result;
4203 PyObject * obj0 = 0 ;
4204
4205 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_hidden_get",&obj0)) goto fail;
4206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4207 result = (Atom) ((arg1)->net_wm_state_hidden);
4208
4209 resultobj = PyInt_FromLong((long)result);
4210 return resultobj;
4211 fail:
4212 return NULL;
4213 }
4214
4215
4216 static PyObject *_wrap_Atoms_net_wm_state_fullscreen_set(PyObject *self, PyObject *args) {
4217 PyObject *resultobj;
4218 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4219 Atom arg2 ;
4220 PyObject * obj0 = 0 ;
4221 PyObject * obj1 = 0 ;
4222
4223 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_fullscreen_set",&obj0,&obj1)) goto fail;
4224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4225 arg2 = (Atom) PyInt_AsLong(obj1);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 if (arg1) (arg1)->net_wm_state_fullscreen = arg2;
4228
4229 Py_INCREF(Py_None); resultobj = Py_None;
4230 return resultobj;
4231 fail:
4232 return NULL;
4233 }
4234
4235
4236 static PyObject *_wrap_Atoms_net_wm_state_fullscreen_get(PyObject *self, PyObject *args) {
4237 PyObject *resultobj;
4238 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4239 Atom result;
4240 PyObject * obj0 = 0 ;
4241
4242 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_fullscreen_get",&obj0)) goto fail;
4243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4244 result = (Atom) ((arg1)->net_wm_state_fullscreen);
4245
4246 resultobj = PyInt_FromLong((long)result);
4247 return resultobj;
4248 fail:
4249 return NULL;
4250 }
4251
4252
4253 static PyObject *_wrap_Atoms_net_wm_state_above_set(PyObject *self, PyObject *args) {
4254 PyObject *resultobj;
4255 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4256 Atom arg2 ;
4257 PyObject * obj0 = 0 ;
4258 PyObject * obj1 = 0 ;
4259
4260 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_above_set",&obj0,&obj1)) goto fail;
4261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4262 arg2 = (Atom) PyInt_AsLong(obj1);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 if (arg1) (arg1)->net_wm_state_above = arg2;
4265
4266 Py_INCREF(Py_None); resultobj = Py_None;
4267 return resultobj;
4268 fail:
4269 return NULL;
4270 }
4271
4272
4273 static PyObject *_wrap_Atoms_net_wm_state_above_get(PyObject *self, PyObject *args) {
4274 PyObject *resultobj;
4275 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4276 Atom result;
4277 PyObject * obj0 = 0 ;
4278
4279 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_above_get",&obj0)) goto fail;
4280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4281 result = (Atom) ((arg1)->net_wm_state_above);
4282
4283 resultobj = PyInt_FromLong((long)result);
4284 return resultobj;
4285 fail:
4286 return NULL;
4287 }
4288
4289
4290 static PyObject *_wrap_Atoms_net_wm_state_below_set(PyObject *self, PyObject *args) {
4291 PyObject *resultobj;
4292 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4293 Atom arg2 ;
4294 PyObject * obj0 = 0 ;
4295 PyObject * obj1 = 0 ;
4296
4297 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_below_set",&obj0,&obj1)) goto fail;
4298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4299 arg2 = (Atom) PyInt_AsLong(obj1);
4300 if (PyErr_Occurred()) SWIG_fail;
4301 if (arg1) (arg1)->net_wm_state_below = arg2;
4302
4303 Py_INCREF(Py_None); resultobj = Py_None;
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_Atoms_net_wm_state_below_get(PyObject *self, PyObject *args) {
4311 PyObject *resultobj;
4312 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4313 Atom result;
4314 PyObject * obj0 = 0 ;
4315
4316 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_below_get",&obj0)) goto fail;
4317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4318 result = (Atom) ((arg1)->net_wm_state_below);
4319
4320 resultobj = PyInt_FromLong((long)result);
4321 return resultobj;
4322 fail:
4323 return NULL;
4324 }
4325
4326
4327 static PyObject *_wrap_Atoms_kde_net_system_tray_windows_set(PyObject *self, PyObject *args) {
4328 PyObject *resultobj;
4329 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4330 Atom arg2 ;
4331 PyObject * obj0 = 0 ;
4332 PyObject * obj1 = 0 ;
4333
4334 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_system_tray_windows_set",&obj0,&obj1)) goto fail;
4335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4336 arg2 = (Atom) PyInt_AsLong(obj1);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 if (arg1) (arg1)->kde_net_system_tray_windows = arg2;
4339
4340 Py_INCREF(Py_None); resultobj = Py_None;
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 static PyObject *_wrap_Atoms_kde_net_system_tray_windows_get(PyObject *self, PyObject *args) {
4348 PyObject *resultobj;
4349 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4350 Atom result;
4351 PyObject * obj0 = 0 ;
4352
4353 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_system_tray_windows_get",&obj0)) goto fail;
4354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4355 result = (Atom) ((arg1)->kde_net_system_tray_windows);
4356
4357 resultobj = PyInt_FromLong((long)result);
4358 return resultobj;
4359 fail:
4360 return NULL;
4361 }
4362
4363
4364 static PyObject *_wrap_Atoms_kde_net_wm_system_tray_window_for_set(PyObject *self, PyObject *args) {
4365 PyObject *resultobj;
4366 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4367 Atom arg2 ;
4368 PyObject * obj0 = 0 ;
4369 PyObject * obj1 = 0 ;
4370
4371 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_wm_system_tray_window_for_set",&obj0,&obj1)) goto fail;
4372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4373 arg2 = (Atom) PyInt_AsLong(obj1);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 if (arg1) (arg1)->kde_net_wm_system_tray_window_for = arg2;
4376
4377 Py_INCREF(Py_None); resultobj = Py_None;
4378 return resultobj;
4379 fail:
4380 return NULL;
4381 }
4382
4383
4384 static PyObject *_wrap_Atoms_kde_net_wm_system_tray_window_for_get(PyObject *self, PyObject *args) {
4385 PyObject *resultobj;
4386 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4387 Atom result;
4388 PyObject * obj0 = 0 ;
4389
4390 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_wm_system_tray_window_for_get",&obj0)) goto fail;
4391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4392 result = (Atom) ((arg1)->kde_net_wm_system_tray_window_for);
4393
4394 resultobj = PyInt_FromLong((long)result);
4395 return resultobj;
4396 fail:
4397 return NULL;
4398 }
4399
4400
4401 static PyObject *_wrap_Atoms_kde_net_wm_window_type_override_set(PyObject *self, PyObject *args) {
4402 PyObject *resultobj;
4403 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4404 Atom arg2 ;
4405 PyObject * obj0 = 0 ;
4406 PyObject * obj1 = 0 ;
4407
4408 if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_wm_window_type_override_set",&obj0,&obj1)) goto fail;
4409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4410 arg2 = (Atom) PyInt_AsLong(obj1);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 if (arg1) (arg1)->kde_net_wm_window_type_override = arg2;
4413
4414 Py_INCREF(Py_None); resultobj = Py_None;
4415 return resultobj;
4416 fail:
4417 return NULL;
4418 }
4419
4420
4421 static PyObject *_wrap_Atoms_kde_net_wm_window_type_override_get(PyObject *self, PyObject *args) {
4422 PyObject *resultobj;
4423 otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4424 Atom result;
4425 PyObject * obj0 = 0 ;
4426
4427 if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_wm_window_type_override_get",&obj0)) goto fail;
4428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4429 result = (Atom) ((arg1)->kde_net_wm_window_type_override);
4430
4431 resultobj = PyInt_FromLong((long)result);
4432 return resultobj;
4433 fail:
4434 return NULL;
4435 }
4436
4437
4438 static PyObject * Atoms_swigregister(PyObject *self, PyObject *args) {
4439 PyObject *obj;
4440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4441 SWIG_TypeClientData(SWIGTYPE_p_otk__Atoms, obj);
4442 Py_INCREF(obj);
4443 return Py_BuildValue((char *)"");
4444 }
4445 static PyObject *_wrap_Property_initialize(PyObject *self, PyObject *args) {
4446 PyObject *resultobj;
4447
4448 if(!PyArg_ParseTuple(args,(char *)":Property_initialize")) goto fail;
4449 otk::Property::initialize();
4450
4451 Py_INCREF(Py_None); resultobj = Py_None;
4452 return resultobj;
4453 fail:
4454 return NULL;
4455 }
4456
4457
4458 static PyObject *_wrap_Property_set__SWIG_0(PyObject *self, PyObject *args) {
4459 PyObject *resultobj;
4460 Window arg1 ;
4461 Atom arg2 ;
4462 Atom arg3 ;
4463 unsigned long arg4 ;
4464 PyObject * obj0 = 0 ;
4465 PyObject * obj1 = 0 ;
4466 PyObject * obj2 = 0 ;
4467 PyObject * obj3 = 0 ;
4468
4469 if(!PyArg_ParseTuple(args,(char *)"OOOO:Property_set",&obj0,&obj1,&obj2,&obj3)) goto fail;
4470 arg1 = (Window) PyInt_AsLong(obj0);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 arg2 = (Atom) PyInt_AsLong(obj1);
4473 if (PyErr_Occurred()) SWIG_fail;
4474 arg3 = (Atom) PyInt_AsLong(obj2);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 arg4 = (unsigned long) PyInt_AsLong(obj3);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 otk::Property::set(arg1,arg2,arg3,arg4);
4479
4480 Py_INCREF(Py_None); resultobj = Py_None;
4481 return resultobj;
4482 fail:
4483 return NULL;
4484 }
4485
4486
4487 static PyObject *_wrap_Property_set__SWIG_1(PyObject *self, PyObject *args) {
4488 PyObject *resultobj;
4489 Window arg1 ;
4490 Atom arg2 ;
4491 Atom arg3 ;
4492 unsigned long *arg4 ;
4493 int arg5 ;
4494 PyObject * obj0 = 0 ;
4495 PyObject * obj1 = 0 ;
4496 PyObject * obj2 = 0 ;
4497 PyObject * obj3 = 0 ;
4498
4499 if(!PyArg_ParseTuple(args,(char *)"OOOOi:Property_set",&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
4500 arg1 = (Window) PyInt_AsLong(obj0);
4501 if (PyErr_Occurred()) SWIG_fail;
4502 arg2 = (Atom) PyInt_AsLong(obj1);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 arg3 = (Atom) PyInt_AsLong(obj2);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4507 otk::Property::set(arg1,arg2,arg3,arg4,arg5);
4508
4509 Py_INCREF(Py_None); resultobj = Py_None;
4510 return resultobj;
4511 fail:
4512 return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_Property_set__SWIG_2(PyObject *self, PyObject *args) {
4517 PyObject *resultobj;
4518 Window arg1 ;
4519 Atom arg2 ;
4520 int arg3 ;
4521 otk::ustring *arg4 = 0 ;
4522 otk::ustring temp4 ;
4523 PyObject * obj0 = 0 ;
4524 PyObject * obj1 = 0 ;
4525 PyObject * obj3 = 0 ;
4526
4527 if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_set",&obj0,&obj1,&arg3,&obj3)) goto fail;
4528 arg1 = (Window) PyInt_AsLong(obj0);
4529 if (PyErr_Occurred()) SWIG_fail;
4530 arg2 = (Atom) PyInt_AsLong(obj1);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 {
4533 if (PyString_Check(obj3)) {
4534 temp4 = otk::ustring(PyString_AsString(obj3));
4535 arg4 = &temp4;
4536 }else {
4537 SWIG_exception(SWIG_TypeError, "ustring expected");
4538 }
4539 }
4540 otk::Property::set(arg1,arg2,(otk::Property::StringType )arg3,(otk::ustring const &)*arg4);
4541
4542 Py_INCREF(Py_None); resultobj = Py_None;
4543 return resultobj;
4544 fail:
4545 return NULL;
4546 }
4547
4548
4549 static PyObject *_wrap_Property_set__SWIG_3(PyObject *self, PyObject *args) {
4550 PyObject *resultobj;
4551 Window arg1 ;
4552 Atom arg2 ;
4553 int arg3 ;
4554 otk::Property::StringVect *arg4 = 0 ;
4555 PyObject * obj0 = 0 ;
4556 PyObject * obj1 = 0 ;
4557 PyObject * obj3 = 0 ;
4558
4559 if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_set",&obj0,&obj1,&arg3,&obj3)) goto fail;
4560 arg1 = (Window) PyInt_AsLong(obj0);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 arg2 = (Atom) PyInt_AsLong(obj1);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4565 if (arg4 == NULL) {
4566 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4567 }
4568 otk::Property::set(arg1,arg2,(otk::Property::StringType )arg3,(otk::Property::StringVect const &)*arg4);
4569
4570 Py_INCREF(Py_None); resultobj = Py_None;
4571 return resultobj;
4572 fail:
4573 return NULL;
4574 }
4575
4576
4577 static PyObject *_wrap_Property_set(PyObject *self, PyObject *args) {
4578 int argc;
4579 PyObject *argv[6];
4580 int ii;
4581
4582 argc = PyObject_Length(args);
4583 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
4584 argv[ii] = PyTuple_GetItem(args,ii);
4585 }
4586 if (argc == 4) {
4587 int _v;
4588 {
4589 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4590 }
4591 if (_v) {
4592 {
4593 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4594 }
4595 if (_v) {
4596 {
4597 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4598 }
4599 if (_v) {
4600 {
4601 void *ptr;
4602 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
4603 _v = 0;
4604 PyErr_Clear();
4605 }else {
4606 _v = 1;
4607 }
4608 }
4609 if (_v) {
4610 return _wrap_Property_set__SWIG_3(self,args);
4611 }
4612 }
4613 }
4614 }
4615 }
4616 if (argc == 4) {
4617 int _v;
4618 {
4619 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4620 }
4621 if (_v) {
4622 {
4623 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4624 }
4625 if (_v) {
4626 {
4627 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4628 }
4629 if (_v) {
4630 {
4631 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4632 }
4633 if (_v) {
4634 return _wrap_Property_set__SWIG_0(self,args);
4635 }
4636 }
4637 }
4638 }
4639 }
4640 if (argc == 4) {
4641 int _v;
4642 {
4643 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4644 }
4645 if (_v) {
4646 {
4647 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4648 }
4649 if (_v) {
4650 {
4651 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4652 }
4653 if (_v) {
4654 {
4655 _v = PyString_Check(argv[3]) ? 1 : 0;
4656 }
4657 if (_v) {
4658 return _wrap_Property_set__SWIG_2(self,args);
4659 }
4660 }
4661 }
4662 }
4663 }
4664 if (argc == 5) {
4665 int _v;
4666 {
4667 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4668 }
4669 if (_v) {
4670 {
4671 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4672 }
4673 if (_v) {
4674 {
4675 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4676 }
4677 if (_v) {
4678 {
4679 void *ptr;
4680 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4681 _v = 0;
4682 PyErr_Clear();
4683 }else {
4684 _v = 1;
4685 }
4686 }
4687 if (_v) {
4688 {
4689 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
4690 }
4691 if (_v) {
4692 return _wrap_Property_set__SWIG_1(self,args);
4693 }
4694 }
4695 }
4696 }
4697 }
4698 }
4699
4700 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_set'");
4701 return NULL;
4702 }
4703
4704
4705 static PyObject *_wrap_Property_get__SWIG_0(PyObject *self, PyObject *args) {
4706 PyObject *resultobj;
4707 Window arg1 ;
4708 Atom arg2 ;
4709 Atom arg3 ;
4710 unsigned long *arg4 = (unsigned long *) 0 ;
4711 unsigned long **arg5 = (unsigned long **) 0 ;
4712 bool result;
4713 PyObject * obj0 = 0 ;
4714 PyObject * obj1 = 0 ;
4715 PyObject * obj2 = 0 ;
4716 PyObject * obj3 = 0 ;
4717 PyObject * obj4 = 0 ;
4718
4719 if(!PyArg_ParseTuple(args,(char *)"OOOOO:Property_get",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4720 arg1 = (Window) PyInt_AsLong(obj0);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 arg2 = (Atom) PyInt_AsLong(obj1);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 arg3 = (Atom) PyInt_AsLong(obj2);
4725 if (PyErr_Occurred()) SWIG_fail;
4726 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4727 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4728 result = (bool)otk::Property::get(arg1,arg2,arg3,arg4,arg5);
4729
4730 resultobj = PyInt_FromLong((long)result);
4731 return resultobj;
4732 fail:
4733 return NULL;
4734 }
4735
4736
4737 static PyObject *_wrap_Property_get__SWIG_1(PyObject *self, PyObject *args) {
4738 PyObject *resultobj;
4739 Window arg1 ;
4740 Atom arg2 ;
4741 Atom arg3 ;
4742 unsigned long *arg4 = (unsigned long *) 0 ;
4743 bool result;
4744 PyObject * obj0 = 0 ;
4745 PyObject * obj1 = 0 ;
4746 PyObject * obj2 = 0 ;
4747 PyObject * obj3 = 0 ;
4748
4749 if(!PyArg_ParseTuple(args,(char *)"OOOO:Property_get",&obj0,&obj1,&obj2,&obj3)) goto fail;
4750 arg1 = (Window) PyInt_AsLong(obj0);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 arg2 = (Atom) PyInt_AsLong(obj1);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 arg3 = (Atom) PyInt_AsLong(obj2);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4757 result = (bool)otk::Property::get(arg1,arg2,arg3,arg4);
4758
4759 resultobj = PyInt_FromLong((long)result);
4760 return resultobj;
4761 fail:
4762 return NULL;
4763 }
4764
4765
4766 static PyObject *_wrap_Property_get__SWIG_2(PyObject *self, PyObject *args) {
4767 PyObject *resultobj;
4768 Window arg1 ;
4769 Atom arg2 ;
4770 int arg3 ;
4771 otk::ustring *arg4 = (otk::ustring *) 0 ;
4772 bool result;
4773 PyObject * obj0 = 0 ;
4774 PyObject * obj1 = 0 ;
4775 PyObject * obj3 = 0 ;
4776
4777 if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_get",&obj0,&obj1,&arg3,&obj3)) goto fail;
4778 arg1 = (Window) PyInt_AsLong(obj0);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 arg2 = (Atom) PyInt_AsLong(obj1);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__ustring,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4783 result = (bool)otk::Property::get(arg1,arg2,(otk::Property::StringType )arg3,arg4);
4784
4785 resultobj = PyInt_FromLong((long)result);
4786 return resultobj;
4787 fail:
4788 return NULL;
4789 }
4790
4791
4792 static PyObject *_wrap_Property_get__SWIG_3(PyObject *self, PyObject *args) {
4793 PyObject *resultobj;
4794 Window arg1 ;
4795 Atom arg2 ;
4796 int arg3 ;
4797 unsigned long *arg4 = (unsigned long *) 0 ;
4798 otk::Property::StringVect *arg5 = (otk::Property::StringVect *) 0 ;
4799 bool result;
4800 PyObject * obj0 = 0 ;
4801 PyObject * obj1 = 0 ;
4802 PyObject * obj3 = 0 ;
4803 PyObject * obj4 = 0 ;
4804
4805 if(!PyArg_ParseTuple(args,(char *)"OOiOO:Property_get",&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
4806 arg1 = (Window) PyInt_AsLong(obj0);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 arg2 = (Atom) PyInt_AsLong(obj1);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4811 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4812 result = (bool)otk::Property::get(arg1,arg2,(otk::Property::StringType )arg3,arg4,arg5);
4813
4814 resultobj = PyInt_FromLong((long)result);
4815 return resultobj;
4816 fail:
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_Property_get(PyObject *self, PyObject *args) {
4822 int argc;
4823 PyObject *argv[6];
4824 int ii;
4825
4826 argc = PyObject_Length(args);
4827 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
4828 argv[ii] = PyTuple_GetItem(args,ii);
4829 }
4830 if (argc == 4) {
4831 int _v;
4832 {
4833 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4834 }
4835 if (_v) {
4836 {
4837 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4838 }
4839 if (_v) {
4840 {
4841 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4842 }
4843 if (_v) {
4844 {
4845 void *ptr;
4846 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4847 _v = 0;
4848 PyErr_Clear();
4849 }else {
4850 _v = 1;
4851 }
4852 }
4853 if (_v) {
4854 return _wrap_Property_get__SWIG_1(self,args);
4855 }
4856 }
4857 }
4858 }
4859 }
4860 if (argc == 4) {
4861 int _v;
4862 {
4863 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4864 }
4865 if (_v) {
4866 {
4867 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4868 }
4869 if (_v) {
4870 {
4871 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4872 }
4873 if (_v) {
4874 {
4875 void *ptr;
4876 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_otk__ustring, 0) == -1) {
4877 _v = 0;
4878 PyErr_Clear();
4879 }else {
4880 _v = 1;
4881 }
4882 }
4883 if (_v) {
4884 return _wrap_Property_get__SWIG_2(self,args);
4885 }
4886 }
4887 }
4888 }
4889 }
4890 if (argc == 5) {
4891 int _v;
4892 {
4893 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4894 }
4895 if (_v) {
4896 {
4897 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4898 }
4899 if (_v) {
4900 {
4901 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4902 }
4903 if (_v) {
4904 {
4905 void *ptr;
4906 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4907 _v = 0;
4908 PyErr_Clear();
4909 }else {
4910 _v = 1;
4911 }
4912 }
4913 if (_v) {
4914 {
4915 void *ptr;
4916 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
4917 _v = 0;
4918 PyErr_Clear();
4919 }else {
4920 _v = 1;
4921 }
4922 }
4923 if (_v) {
4924 return _wrap_Property_get__SWIG_0(self,args);
4925 }
4926 }
4927 }
4928 }
4929 }
4930 }
4931 if (argc == 5) {
4932 int _v;
4933 {
4934 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4935 }
4936 if (_v) {
4937 {
4938 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4939 }
4940 if (_v) {
4941 {
4942 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4943 }
4944 if (_v) {
4945 {
4946 void *ptr;
4947 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4948 _v = 0;
4949 PyErr_Clear();
4950 }else {
4951 _v = 1;
4952 }
4953 }
4954 if (_v) {
4955 {
4956 void *ptr;
4957 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
4958 _v = 0;
4959 PyErr_Clear();
4960 }else {
4961 _v = 1;
4962 }
4963 }
4964 if (_v) {
4965 return _wrap_Property_get__SWIG_3(self,args);
4966 }
4967 }
4968 }
4969 }
4970 }
4971 }
4972
4973 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_get'");
4974 return NULL;
4975 }
4976
4977
4978 static PyObject *_wrap_Property_erase(PyObject *self, PyObject *args) {
4979 PyObject *resultobj;
4980 Window arg1 ;
4981 Atom arg2 ;
4982 PyObject * obj0 = 0 ;
4983 PyObject * obj1 = 0 ;
4984
4985 if(!PyArg_ParseTuple(args,(char *)"OO:Property_erase",&obj0,&obj1)) goto fail;
4986 arg1 = (Window) PyInt_AsLong(obj0);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 arg2 = (Atom) PyInt_AsLong(obj1);
4989 if (PyErr_Occurred()) SWIG_fail;
4990 otk::Property::erase(arg1,arg2);
4991
4992 Py_INCREF(Py_None); resultobj = Py_None;
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 static PyObject * Property_swigregister(PyObject *self, PyObject *args) {
5000 PyObject *obj;
5001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5002 SWIG_TypeClientData(SWIGTYPE_p_otk__Property, obj);
5003 Py_INCREF(obj);
5004 return Py_BuildValue((char *)"");
5005 }
5006 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
5007 PyObject *resultobj;
5008 otk::Rect *result;
5009
5010 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
5011 result = (otk::Rect *)new otk::Rect();
5012
5013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
5014 return resultobj;
5015 fail:
5016 return NULL;
5017 }
5018
5019
5020 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
5021 PyObject *resultobj;
5022 int arg1 ;
5023 int arg2 ;
5024 int arg3 ;
5025 int arg4 ;
5026 otk::Rect *result;
5027
5028 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
5029 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
5030
5031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
5032 return resultobj;
5033 fail:
5034 return NULL;
5035 }
5036
5037
5038 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
5039 PyObject *resultobj;
5040 otk::Point *arg1 = 0 ;
5041 otk::Point *arg2 = 0 ;
5042 otk::Rect *result;
5043 PyObject * obj0 = 0 ;
5044 PyObject * obj1 = 0 ;
5045
5046 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
5047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5048 if (arg1 == NULL) {
5049 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5050 }
5051 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5052 if (arg2 == NULL) {
5053 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5054 }
5055 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
5056
5057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
5058 return resultobj;
5059 fail:
5060 return NULL;
5061 }
5062
5063
5064 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
5065 PyObject *resultobj;
5066 otk::Rect *arg1 = 0 ;
5067 otk::Rect *result;
5068 PyObject * obj0 = 0 ;
5069
5070 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
5071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5072 if (arg1 == NULL) {
5073 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5074 }
5075 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
5076
5077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
5078 return resultobj;
5079 fail:
5080 return NULL;
5081 }
5082
5083
5084 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
5085 PyObject *resultobj;
5086 XRectangle *arg1 = 0 ;
5087 otk::Rect *result;
5088 PyObject * obj0 = 0 ;
5089
5090 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
5091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5092 if (arg1 == NULL) {
5093 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5094 }
5095 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
5096
5097 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
5098 return resultobj;
5099 fail:
5100 return NULL;
5101 }
5102
5103
5104 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
5105 int argc;
5106 PyObject *argv[5];
5107 int ii;
5108
5109 argc = PyObject_Length(args);
5110 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5111 argv[ii] = PyTuple_GetItem(args,ii);
5112 }
5113 if (argc == 0) {
5114 return _wrap_new_Rect__SWIG_0(self,args);
5115 }
5116 if (argc == 1) {
5117 int _v;
5118 {
5119 void *ptr;
5120 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5121 _v = 0;
5122 PyErr_Clear();
5123 }else {
5124 _v = 1;
5125 }
5126 }
5127 if (_v) {
5128 return _wrap_new_Rect__SWIG_3(self,args);
5129 }
5130 }
5131 if (argc == 1) {
5132 int _v;
5133 {
5134 void *ptr;
5135 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
5136 _v = 0;
5137 PyErr_Clear();
5138 }else {
5139 _v = 1;
5140 }
5141 }
5142 if (_v) {
5143 return _wrap_new_Rect__SWIG_4(self,args);
5144 }
5145 }
5146 if (argc == 2) {
5147 int _v;
5148 {
5149 void *ptr;
5150 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5151 _v = 0;
5152 PyErr_Clear();
5153 }else {
5154 _v = 1;
5155 }
5156 }
5157 if (_v) {
5158 {
5159 void *ptr;
5160 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5161 _v = 0;
5162 PyErr_Clear();
5163 }else {
5164 _v = 1;
5165 }
5166 }
5167 if (_v) {
5168 return _wrap_new_Rect__SWIG_2(self,args);
5169 }
5170 }
5171 }
5172 if (argc == 4) {
5173 int _v;
5174 {
5175 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
5176 }
5177 if (_v) {
5178 {
5179 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5180 }
5181 if (_v) {
5182 {
5183 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5184 }
5185 if (_v) {
5186 {
5187 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5188 }
5189 if (_v) {
5190 return _wrap_new_Rect__SWIG_1(self,args);
5191 }
5192 }
5193 }
5194 }
5195 }
5196
5197 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
5198 return NULL;
5199 }
5200
5201
5202 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
5203 PyObject *resultobj;
5204 otk::Rect *arg1 = (otk::Rect *) 0 ;
5205 int result;
5206 PyObject * obj0 = 0 ;
5207
5208 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
5209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5210 result = (int)((otk::Rect const *)arg1)->left();
5211
5212 resultobj = PyInt_FromLong((long)result);
5213 return resultobj;
5214 fail:
5215 return NULL;
5216 }
5217
5218
5219 static PyObject *_wrap_Rect_top(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_top",&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)->top();
5228
5229 resultobj = PyInt_FromLong((long)result);
5230 return resultobj;
5231 fail:
5232 return NULL;
5233 }
5234
5235
5236 static PyObject *_wrap_Rect_right(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_right",&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)->right();
5245
5246 resultobj = PyInt_FromLong((long)result);
5247 return resultobj;
5248 fail:
5249 return NULL;
5250 }
5251
5252
5253 static PyObject *_wrap_Rect_bottom(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_bottom",&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)->bottom();
5262
5263 resultobj = PyInt_FromLong((long)result);
5264 return resultobj;
5265 fail:
5266 return NULL;
5267 }
5268
5269
5270 static PyObject *_wrap_Rect_x(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_x",&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)->x();
5279
5280 resultobj = PyInt_FromLong((long)result);
5281 return resultobj;
5282 fail:
5283 return NULL;
5284 }
5285
5286
5287 static PyObject *_wrap_Rect_y(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_y",&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)->y();
5296
5297 resultobj = PyInt_FromLong((long)result);
5298 return resultobj;
5299 fail:
5300 return NULL;
5301 }
5302
5303
5304 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
5305 PyObject *resultobj;
5306 otk::Rect *arg1 = (otk::Rect *) 0 ;
5307 otk::Point result;
5308 PyObject * obj0 = 0 ;
5309
5310 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
5311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5312 result = ((otk::Rect const *)arg1)->location();
5313
5314 {
5315 otk::Point * resultptr;
5316 resultptr = new otk::Point((otk::Point &) result);
5317 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
5318 }
5319 return resultobj;
5320 fail:
5321 return NULL;
5322 }
5323
5324
5325 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
5326 PyObject *resultobj;
5327 otk::Rect *arg1 = (otk::Rect *) 0 ;
5328 int arg2 ;
5329 PyObject * obj0 = 0 ;
5330
5331 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
5332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5333 (arg1)->setX(arg2);
5334
5335 Py_INCREF(Py_None); resultobj = Py_None;
5336 return resultobj;
5337 fail:
5338 return NULL;
5339 }
5340
5341
5342 static PyObject *_wrap_Rect_setY(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_setY",&obj0,&arg2)) goto fail;
5349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5350 (arg1)->setY(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_setPos__SWIG_0(PyObject *self, PyObject *args) {
5360 PyObject *resultobj;
5361 otk::Rect *arg1 = (otk::Rect *) 0 ;
5362 int arg2 ;
5363 int arg3 ;
5364 PyObject * obj0 = 0 ;
5365
5366 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
5367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5368 (arg1)->setPos(arg2,arg3);
5369
5370 Py_INCREF(Py_None); resultobj = Py_None;
5371 return resultobj;
5372 fail:
5373 return NULL;
5374 }
5375
5376
5377 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
5378 PyObject *resultobj;
5379 otk::Rect *arg1 = (otk::Rect *) 0 ;
5380 otk::Point *arg2 = 0 ;
5381 PyObject * obj0 = 0 ;
5382 PyObject * obj1 = 0 ;
5383
5384 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
5385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5387 if (arg2 == NULL) {
5388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5389 }
5390 (arg1)->setPos((otk::Point const &)*arg2);
5391
5392 Py_INCREF(Py_None); resultobj = Py_None;
5393 return resultobj;
5394 fail:
5395 return NULL;
5396 }
5397
5398
5399 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
5400 int argc;
5401 PyObject *argv[4];
5402 int ii;
5403
5404 argc = PyObject_Length(args);
5405 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5406 argv[ii] = PyTuple_GetItem(args,ii);
5407 }
5408 if (argc == 2) {
5409 int _v;
5410 {
5411 void *ptr;
5412 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5413 _v = 0;
5414 PyErr_Clear();
5415 }else {
5416 _v = 1;
5417 }
5418 }
5419 if (_v) {
5420 {
5421 void *ptr;
5422 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5423 _v = 0;
5424 PyErr_Clear();
5425 }else {
5426 _v = 1;
5427 }
5428 }
5429 if (_v) {
5430 return _wrap_Rect_setPos__SWIG_1(self,args);
5431 }
5432 }
5433 }
5434 if (argc == 3) {
5435 int _v;
5436 {
5437 void *ptr;
5438 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5439 _v = 0;
5440 PyErr_Clear();
5441 }else {
5442 _v = 1;
5443 }
5444 }
5445 if (_v) {
5446 {
5447 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5448 }
5449 if (_v) {
5450 {
5451 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5452 }
5453 if (_v) {
5454 return _wrap_Rect_setPos__SWIG_0(self,args);
5455 }
5456 }
5457 }
5458 }
5459
5460 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
5461 return NULL;
5462 }
5463
5464
5465 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
5466 PyObject *resultobj;
5467 otk::Rect *arg1 = (otk::Rect *) 0 ;
5468 int result;
5469 PyObject * obj0 = 0 ;
5470
5471 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
5472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5473 result = (int)((otk::Rect const *)arg1)->width();
5474
5475 resultobj = PyInt_FromLong((long)result);
5476 return resultobj;
5477 fail:
5478 return NULL;
5479 }
5480
5481
5482 static PyObject *_wrap_Rect_height(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_height",&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)->height();
5491
5492 resultobj = PyInt_FromLong((long)result);
5493 return resultobj;
5494 fail:
5495 return NULL;
5496 }
5497
5498
5499 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
5500 PyObject *resultobj;
5501 otk::Rect *arg1 = (otk::Rect *) 0 ;
5502 otk::Point result;
5503 PyObject * obj0 = 0 ;
5504
5505 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
5506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5507 result = ((otk::Rect const *)arg1)->size();
5508
5509 {
5510 otk::Point * resultptr;
5511 resultptr = new otk::Point((otk::Point &) result);
5512 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
5513 }
5514 return resultobj;
5515 fail:
5516 return NULL;
5517 }
5518
5519
5520 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
5521 PyObject *resultobj;
5522 otk::Rect *arg1 = (otk::Rect *) 0 ;
5523 int arg2 ;
5524 PyObject * obj0 = 0 ;
5525
5526 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
5527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5528 (arg1)->setWidth(arg2);
5529
5530 Py_INCREF(Py_None); resultobj = Py_None;
5531 return resultobj;
5532 fail:
5533 return NULL;
5534 }
5535
5536
5537 static PyObject *_wrap_Rect_setHeight(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_setHeight",&obj0,&arg2)) goto fail;
5544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5545 (arg1)->setHeight(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_setSize__SWIG_0(PyObject *self, PyObject *args) {
5555 PyObject *resultobj;
5556 otk::Rect *arg1 = (otk::Rect *) 0 ;
5557 int arg2 ;
5558 int arg3 ;
5559 PyObject * obj0 = 0 ;
5560
5561 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
5562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5563 (arg1)->setSize(arg2,arg3);
5564
5565 Py_INCREF(Py_None); resultobj = Py_None;
5566 return resultobj;
5567 fail:
5568 return NULL;
5569 }
5570
5571
5572 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
5573 PyObject *resultobj;
5574 otk::Rect *arg1 = (otk::Rect *) 0 ;
5575 otk::Point *arg2 = 0 ;
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj1 = 0 ;
5578
5579 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
5580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5582 if (arg2 == NULL) {
5583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5584 }
5585 (arg1)->setSize((otk::Point const &)*arg2);
5586
5587 Py_INCREF(Py_None); resultobj = Py_None;
5588 return resultobj;
5589 fail:
5590 return NULL;
5591 }
5592
5593
5594 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
5595 int argc;
5596 PyObject *argv[4];
5597 int ii;
5598
5599 argc = PyObject_Length(args);
5600 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5601 argv[ii] = PyTuple_GetItem(args,ii);
5602 }
5603 if (argc == 2) {
5604 int _v;
5605 {
5606 void *ptr;
5607 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5608 _v = 0;
5609 PyErr_Clear();
5610 }else {
5611 _v = 1;
5612 }
5613 }
5614 if (_v) {
5615 {
5616 void *ptr;
5617 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5618 _v = 0;
5619 PyErr_Clear();
5620 }else {
5621 _v = 1;
5622 }
5623 }
5624 if (_v) {
5625 return _wrap_Rect_setSize__SWIG_1(self,args);
5626 }
5627 }
5628 }
5629 if (argc == 3) {
5630 int _v;
5631 {
5632 void *ptr;
5633 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5634 _v = 0;
5635 PyErr_Clear();
5636 }else {
5637 _v = 1;
5638 }
5639 }
5640 if (_v) {
5641 {
5642 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5643 }
5644 if (_v) {
5645 {
5646 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5647 }
5648 if (_v) {
5649 return _wrap_Rect_setSize__SWIG_0(self,args);
5650 }
5651 }
5652 }
5653 }
5654
5655 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
5656 return NULL;
5657 }
5658
5659
5660 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
5661 PyObject *resultobj;
5662 otk::Rect *arg1 = (otk::Rect *) 0 ;
5663 int arg2 ;
5664 int arg3 ;
5665 int arg4 ;
5666 int arg5 ;
5667 PyObject * obj0 = 0 ;
5668
5669 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
5670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5671 (arg1)->setRect(arg2,arg3,arg4,arg5);
5672
5673 Py_INCREF(Py_None); resultobj = Py_None;
5674 return resultobj;
5675 fail:
5676 return NULL;
5677 }
5678
5679
5680 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
5681 PyObject *resultobj;
5682 otk::Rect *arg1 = (otk::Rect *) 0 ;
5683 otk::Point *arg2 = 0 ;
5684 otk::Point *arg3 = 0 ;
5685 PyObject * obj0 = 0 ;
5686 PyObject * obj1 = 0 ;
5687 PyObject * obj2 = 0 ;
5688
5689 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
5690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5692 if (arg2 == NULL) {
5693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5694 }
5695 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5696 if (arg3 == NULL) {
5697 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5698 }
5699 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
5700
5701 Py_INCREF(Py_None); resultobj = Py_None;
5702 return resultobj;
5703 fail:
5704 return NULL;
5705 }
5706
5707
5708 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
5709 int argc;
5710 PyObject *argv[6];
5711 int ii;
5712
5713 argc = PyObject_Length(args);
5714 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
5715 argv[ii] = PyTuple_GetItem(args,ii);
5716 }
5717 if (argc == 3) {
5718 int _v;
5719 {
5720 void *ptr;
5721 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5722 _v = 0;
5723 PyErr_Clear();
5724 }else {
5725 _v = 1;
5726 }
5727 }
5728 if (_v) {
5729 {
5730 void *ptr;
5731 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5732 _v = 0;
5733 PyErr_Clear();
5734 }else {
5735 _v = 1;
5736 }
5737 }
5738 if (_v) {
5739 {
5740 void *ptr;
5741 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5742 _v = 0;
5743 PyErr_Clear();
5744 }else {
5745 _v = 1;
5746 }
5747 }
5748 if (_v) {
5749 return _wrap_Rect_setRect__SWIG_1(self,args);
5750 }
5751 }
5752 }
5753 }
5754 if (argc == 5) {
5755 int _v;
5756 {
5757 void *ptr;
5758 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5759 _v = 0;
5760 PyErr_Clear();
5761 }else {
5762 _v = 1;
5763 }
5764 }
5765 if (_v) {
5766 {
5767 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5768 }
5769 if (_v) {
5770 {
5771 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5772 }
5773 if (_v) {
5774 {
5775 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5776 }
5777 if (_v) {
5778 {
5779 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
5780 }
5781 if (_v) {
5782 return _wrap_Rect_setRect__SWIG_0(self,args);
5783 }
5784 }
5785 }
5786 }
5787 }
5788 }
5789
5790 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
5791 return NULL;
5792 }
5793
5794
5795 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
5796 PyObject *resultobj;
5797 otk::Rect *arg1 = (otk::Rect *) 0 ;
5798 int arg2 ;
5799 int arg3 ;
5800 int arg4 ;
5801 int arg5 ;
5802 PyObject * obj0 = 0 ;
5803
5804 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
5805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5806 (arg1)->setCoords(arg2,arg3,arg4,arg5);
5807
5808 Py_INCREF(Py_None); resultobj = Py_None;
5809 return resultobj;
5810 fail:
5811 return NULL;
5812 }
5813
5814
5815 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
5816 PyObject *resultobj;
5817 otk::Rect *arg1 = (otk::Rect *) 0 ;
5818 otk::Point *arg2 = 0 ;
5819 otk::Point *arg3 = 0 ;
5820 PyObject * obj0 = 0 ;
5821 PyObject * obj1 = 0 ;
5822 PyObject * obj2 = 0 ;
5823
5824 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
5825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5826 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5827 if (arg2 == NULL) {
5828 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5829 }
5830 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5831 if (arg3 == NULL) {
5832 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5833 }
5834 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
5835
5836 Py_INCREF(Py_None); resultobj = Py_None;
5837 return resultobj;
5838 fail:
5839 return NULL;
5840 }
5841
5842
5843 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
5844 int argc;
5845 PyObject *argv[6];
5846 int ii;
5847
5848 argc = PyObject_Length(args);
5849 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
5850 argv[ii] = PyTuple_GetItem(args,ii);
5851 }
5852 if (argc == 3) {
5853 int _v;
5854 {
5855 void *ptr;
5856 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5857 _v = 0;
5858 PyErr_Clear();
5859 }else {
5860 _v = 1;
5861 }
5862 }
5863 if (_v) {
5864 {
5865 void *ptr;
5866 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5867 _v = 0;
5868 PyErr_Clear();
5869 }else {
5870 _v = 1;
5871 }
5872 }
5873 if (_v) {
5874 {
5875 void *ptr;
5876 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5877 _v = 0;
5878 PyErr_Clear();
5879 }else {
5880 _v = 1;
5881 }
5882 }
5883 if (_v) {
5884 return _wrap_Rect_setCoords__SWIG_1(self,args);
5885 }
5886 }
5887 }
5888 }
5889 if (argc == 5) {
5890 int _v;
5891 {
5892 void *ptr;
5893 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5894 _v = 0;
5895 PyErr_Clear();
5896 }else {
5897 _v = 1;
5898 }
5899 }
5900 if (_v) {
5901 {
5902 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5903 }
5904 if (_v) {
5905 {
5906 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5907 }
5908 if (_v) {
5909 {
5910 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5911 }
5912 if (_v) {
5913 {
5914 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
5915 }
5916 if (_v) {
5917 return _wrap_Rect_setCoords__SWIG_0(self,args);
5918 }
5919 }
5920 }
5921 }
5922 }
5923 }
5924
5925 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
5926 return NULL;
5927 }
5928
5929
5930 static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args) {
5931 PyObject *resultobj;
5932 otk::Rect *arg1 = (otk::Rect *) 0 ;
5933 otk::Rect *arg2 = 0 ;
5934 bool result;
5935 PyObject * obj0 = 0 ;
5936 PyObject * obj1 = 0 ;
5937
5938 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___eq__",&obj0,&obj1)) goto fail;
5939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5941 if (arg2 == NULL) {
5942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5943 }
5944 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
5945
5946 resultobj = PyInt_FromLong((long)result);
5947 return resultobj;
5948 fail:
5949 return NULL;
5950 }
5951
5952
5953 static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args) {
5954 PyObject *resultobj;
5955 otk::Rect *arg1 = (otk::Rect *) 0 ;
5956 otk::Rect *arg2 = 0 ;
5957 bool result;
5958 PyObject * obj0 = 0 ;
5959 PyObject * obj1 = 0 ;
5960
5961 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ne__",&obj0,&obj1)) goto fail;
5962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5963 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5964 if (arg2 == NULL) {
5965 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5966 }
5967 result = (bool)(arg1)->operator !=((otk::Rect const &)*arg2);
5968
5969 resultobj = PyInt_FromLong((long)result);
5970 return resultobj;
5971 fail:
5972 return NULL;
5973 }
5974
5975
5976 static PyObject *_wrap_Rect___or__(PyObject *self, PyObject *args) {
5977 PyObject *resultobj;
5978 otk::Rect *arg1 = (otk::Rect *) 0 ;
5979 otk::Rect *arg2 = 0 ;
5980 otk::Rect result;
5981 PyObject * obj0 = 0 ;
5982 PyObject * obj1 = 0 ;
5983
5984 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___or__",&obj0,&obj1)) goto fail;
5985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5986 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5987 if (arg2 == NULL) {
5988 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5989 }
5990 result = ((otk::Rect const *)arg1)->operator |((otk::Rect const &)*arg2);
5991
5992 {
5993 otk::Rect * resultptr;
5994 resultptr = new otk::Rect((otk::Rect &) result);
5995 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
5996 }
5997 return resultobj;
5998 fail:
5999 return NULL;
6000 }
6001
6002
6003 static PyObject *_wrap_Rect___and__(PyObject *self, PyObject *args) {
6004 PyObject *resultobj;
6005 otk::Rect *arg1 = (otk::Rect *) 0 ;
6006 otk::Rect *arg2 = 0 ;
6007 otk::Rect result;
6008 PyObject * obj0 = 0 ;
6009 PyObject * obj1 = 0 ;
6010
6011 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___and__",&obj0,&obj1)) goto fail;
6012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6014 if (arg2 == NULL) {
6015 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6016 }
6017 result = ((otk::Rect const *)arg1)->operator &((otk::Rect const &)*arg2);
6018
6019 {
6020 otk::Rect * resultptr;
6021 resultptr = new otk::Rect((otk::Rect &) result);
6022 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
6023 }
6024 return resultobj;
6025 fail:
6026 return NULL;
6027 }
6028
6029
6030 static PyObject *_wrap_Rect___ior__(PyObject *self, PyObject *args) {
6031 PyObject *resultobj;
6032 otk::Rect *arg1 = (otk::Rect *) 0 ;
6033 otk::Rect *arg2 = 0 ;
6034 otk::Rect *result;
6035 PyObject * obj0 = 0 ;
6036 PyObject * obj1 = 0 ;
6037
6038 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ior__",&obj0,&obj1)) goto fail;
6039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6041 if (arg2 == NULL) {
6042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6043 }
6044 {
6045 otk::Rect &_result_ref = (arg1)->operator |=((otk::Rect const &)*arg2);
6046 result = (otk::Rect *) &_result_ref;
6047 }
6048
6049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
6050 return resultobj;
6051 fail:
6052 return NULL;
6053 }
6054
6055
6056 static PyObject *_wrap_Rect___iand__(PyObject *self, PyObject *args) {
6057 PyObject *resultobj;
6058 otk::Rect *arg1 = (otk::Rect *) 0 ;
6059 otk::Rect *arg2 = 0 ;
6060 otk::Rect *result;
6061 PyObject * obj0 = 0 ;
6062 PyObject * obj1 = 0 ;
6063
6064 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___iand__",&obj0,&obj1)) goto fail;
6065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6067 if (arg2 == NULL) {
6068 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6069 }
6070 {
6071 otk::Rect &_result_ref = (arg1)->operator &=((otk::Rect const &)*arg2);
6072 result = (otk::Rect *) &_result_ref;
6073 }
6074
6075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
6076 return resultobj;
6077 fail:
6078 return NULL;
6079 }
6080
6081
6082 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
6083 PyObject *resultobj;
6084 otk::Rect *arg1 = (otk::Rect *) 0 ;
6085 bool result;
6086 PyObject * obj0 = 0 ;
6087
6088 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
6089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6090 result = (bool)((otk::Rect const *)arg1)->valid();
6091
6092 resultobj = PyInt_FromLong((long)result);
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
6100 PyObject *resultobj;
6101 otk::Rect *arg1 = (otk::Rect *) 0 ;
6102 otk::Rect *arg2 = 0 ;
6103 bool result;
6104 PyObject * obj0 = 0 ;
6105 PyObject * obj1 = 0 ;
6106
6107 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
6108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6110 if (arg2 == NULL) {
6111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6112 }
6113 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
6114
6115 resultobj = PyInt_FromLong((long)result);
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
6123 PyObject *resultobj;
6124 otk::Rect *arg1 = (otk::Rect *) 0 ;
6125 int arg2 ;
6126 int arg3 ;
6127 bool result;
6128 PyObject * obj0 = 0 ;
6129
6130 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
6131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6132 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
6133
6134 resultobj = PyInt_FromLong((long)result);
6135 return resultobj;
6136 fail:
6137 return NULL;
6138 }
6139
6140
6141 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
6142 PyObject *resultobj;
6143 otk::Rect *arg1 = (otk::Rect *) 0 ;
6144 otk::Point *arg2 = 0 ;
6145 bool result;
6146 PyObject * obj0 = 0 ;
6147 PyObject * obj1 = 0 ;
6148
6149 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
6150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6152 if (arg2 == NULL) {
6153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6154 }
6155 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
6156
6157 resultobj = PyInt_FromLong((long)result);
6158 return resultobj;
6159 fail:
6160 return NULL;
6161 }
6162
6163
6164 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
6165 PyObject *resultobj;
6166 otk::Rect *arg1 = (otk::Rect *) 0 ;
6167 otk::Rect *arg2 = 0 ;
6168 bool result;
6169 PyObject * obj0 = 0 ;
6170 PyObject * obj1 = 0 ;
6171
6172 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
6173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6175 if (arg2 == NULL) {
6176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6177 }
6178 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
6179
6180 resultobj = PyInt_FromLong((long)result);
6181 return resultobj;
6182 fail:
6183 return NULL;
6184 }
6185
6186
6187 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
6188 int argc;
6189 PyObject *argv[4];
6190 int ii;
6191
6192 argc = PyObject_Length(args);
6193 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6194 argv[ii] = PyTuple_GetItem(args,ii);
6195 }
6196 if (argc == 2) {
6197 int _v;
6198 {
6199 void *ptr;
6200 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6201 _v = 0;
6202 PyErr_Clear();
6203 }else {
6204 _v = 1;
6205 }
6206 }
6207 if (_v) {
6208 {
6209 void *ptr;
6210 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
6211 _v = 0;
6212 PyErr_Clear();
6213 }else {
6214 _v = 1;
6215 }
6216 }
6217 if (_v) {
6218 return _wrap_Rect_contains__SWIG_1(self,args);
6219 }
6220 }
6221 }
6222 if (argc == 2) {
6223 int _v;
6224 {
6225 void *ptr;
6226 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6227 _v = 0;
6228 PyErr_Clear();
6229 }else {
6230 _v = 1;
6231 }
6232 }
6233 if (_v) {
6234 {
6235 void *ptr;
6236 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6237 _v = 0;
6238 PyErr_Clear();
6239 }else {
6240 _v = 1;
6241 }
6242 }
6243 if (_v) {
6244 return _wrap_Rect_contains__SWIG_2(self,args);
6245 }
6246 }
6247 }
6248 if (argc == 3) {
6249 int _v;
6250 {
6251 void *ptr;
6252 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6253 _v = 0;
6254 PyErr_Clear();
6255 }else {
6256 _v = 1;
6257 }
6258 }
6259 if (_v) {
6260 {
6261 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6262 }
6263 if (_v) {
6264 {
6265 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6266 }
6267 if (_v) {
6268 return _wrap_Rect_contains__SWIG_0(self,args);
6269 }
6270 }
6271 }
6272 }
6273
6274 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
6275 return NULL;
6276 }
6277
6278
6279 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
6280 PyObject *obj;
6281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6282 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
6283 Py_INCREF(obj);
6284 return Py_BuildValue((char *)"");
6285 }
6286 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
6287 PyObject *resultobj;
6288 unsigned int arg1 ;
6289 otk::ScreenInfo *result;
6290 PyObject * obj0 = 0 ;
6291
6292 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
6293 arg1 = (unsigned int) PyInt_AsLong(obj0);
6294 if (PyErr_Occurred()) SWIG_fail;
6295 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
6296
6297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
6298 return resultobj;
6299 fail:
6300 return NULL;
6301 }
6302
6303
6304 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
6305 PyObject *resultobj;
6306 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6307 Visual *result;
6308 PyObject * obj0 = 0 ;
6309
6310 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
6311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6312 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
6313
6314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6315 return resultobj;
6316 fail:
6317 return NULL;
6318 }
6319
6320
6321 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
6322 PyObject *resultobj;
6323 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6324 Window result;
6325 PyObject * obj0 = 0 ;
6326
6327 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
6328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6329 result = (Window)((otk::ScreenInfo const *)arg1)->rootWindow();
6330
6331 resultobj = PyInt_FromLong((long)result);
6332 return resultobj;
6333 fail:
6334 return NULL;
6335 }
6336
6337
6338 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
6339 PyObject *resultobj;
6340 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6341 Colormap result;
6342 PyObject * obj0 = 0 ;
6343
6344 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
6345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6346 result = (Colormap)((otk::ScreenInfo const *)arg1)->colormap();
6347
6348 resultobj = PyInt_FromLong((long)result);
6349 return resultobj;
6350 fail:
6351 return NULL;
6352 }
6353
6354
6355 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
6356 PyObject *resultobj;
6357 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6358 int result;
6359 PyObject * obj0 = 0 ;
6360
6361 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
6362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6363 result = (int)((otk::ScreenInfo const *)arg1)->depth();
6364
6365 resultobj = PyInt_FromLong((long)result);
6366 return resultobj;
6367 fail:
6368 return NULL;
6369 }
6370
6371
6372 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
6373 PyObject *resultobj;
6374 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6375 unsigned int result;
6376 PyObject * obj0 = 0 ;
6377
6378 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
6379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6380 result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
6381
6382 resultobj = PyInt_FromLong((long)result);
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
6390 PyObject *resultobj;
6391 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6392 otk::Rect *result;
6393 PyObject * obj0 = 0 ;
6394
6395 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
6396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6397 {
6398 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
6399 result = (otk::Rect *) &_result_ref;
6400 }
6401
6402 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
6403 return resultobj;
6404 fail:
6405 return NULL;
6406 }
6407
6408
6409 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
6410 PyObject *resultobj;
6411 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6412 unsigned int result;
6413 PyObject * obj0 = 0 ;
6414
6415 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
6416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6417 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
6418
6419 resultobj = PyInt_FromLong((long)result);
6420 return resultobj;
6421 fail:
6422 return NULL;
6423 }
6424
6425
6426 static PyObject *_wrap_ScreenInfo_height(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_height",&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)->height();
6435
6436 resultobj = PyInt_FromLong((long)result);
6437 return resultobj;
6438 fail:
6439 return NULL;
6440 }
6441
6442
6443 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
6444 PyObject *resultobj;
6445 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6446 std::string *result;
6447 PyObject * obj0 = 0 ;
6448
6449 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 {
6452 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
6453 result = (std::string *) &_result_ref;
6454 }
6455
6456 {
6457 resultobj = PyString_FromString(result->c_str());
6458 }
6459 return resultobj;
6460 fail:
6461 return NULL;
6462 }
6463
6464
6465 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
6466 PyObject *obj;
6467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6468 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
6469 Py_INCREF(obj);
6470 return Py_BuildValue((char *)"");
6471 }
6472 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
6473 PyObject *resultobj;
6474 otk::Strut *arg1 = (otk::Strut *) 0 ;
6475 unsigned int arg2 ;
6476 PyObject * obj0 = 0 ;
6477 PyObject * obj1 = 0 ;
6478
6479 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
6480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6481 arg2 = (unsigned int) PyInt_AsLong(obj1);
6482 if (PyErr_Occurred()) SWIG_fail;
6483 if (arg1) (arg1)->top = arg2;
6484
6485 Py_INCREF(Py_None); resultobj = Py_None;
6486 return resultobj;
6487 fail:
6488 return NULL;
6489 }
6490
6491
6492 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
6493 PyObject *resultobj;
6494 otk::Strut *arg1 = (otk::Strut *) 0 ;
6495 unsigned int result;
6496 PyObject * obj0 = 0 ;
6497
6498 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
6499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6500 result = (unsigned int) ((arg1)->top);
6501
6502 resultobj = PyInt_FromLong((long)result);
6503 return resultobj;
6504 fail:
6505 return NULL;
6506 }
6507
6508
6509 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
6510 PyObject *resultobj;
6511 otk::Strut *arg1 = (otk::Strut *) 0 ;
6512 unsigned int arg2 ;
6513 PyObject * obj0 = 0 ;
6514 PyObject * obj1 = 0 ;
6515
6516 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
6517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6518 arg2 = (unsigned int) PyInt_AsLong(obj1);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 if (arg1) (arg1)->bottom = arg2;
6521
6522 Py_INCREF(Py_None); resultobj = Py_None;
6523 return resultobj;
6524 fail:
6525 return NULL;
6526 }
6527
6528
6529 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
6530 PyObject *resultobj;
6531 otk::Strut *arg1 = (otk::Strut *) 0 ;
6532 unsigned int result;
6533 PyObject * obj0 = 0 ;
6534
6535 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
6536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6537 result = (unsigned int) ((arg1)->bottom);
6538
6539 resultobj = PyInt_FromLong((long)result);
6540 return resultobj;
6541 fail:
6542 return NULL;
6543 }
6544
6545
6546 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
6547 PyObject *resultobj;
6548 otk::Strut *arg1 = (otk::Strut *) 0 ;
6549 unsigned int arg2 ;
6550 PyObject * obj0 = 0 ;
6551 PyObject * obj1 = 0 ;
6552
6553 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
6554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6555 arg2 = (unsigned int) PyInt_AsLong(obj1);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 if (arg1) (arg1)->left = arg2;
6558
6559 Py_INCREF(Py_None); resultobj = Py_None;
6560 return resultobj;
6561 fail:
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
6567 PyObject *resultobj;
6568 otk::Strut *arg1 = (otk::Strut *) 0 ;
6569 unsigned int result;
6570 PyObject * obj0 = 0 ;
6571
6572 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
6573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6574 result = (unsigned int) ((arg1)->left);
6575
6576 resultobj = PyInt_FromLong((long)result);
6577 return resultobj;
6578 fail:
6579 return NULL;
6580 }
6581
6582
6583 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
6584 PyObject *resultobj;
6585 otk::Strut *arg1 = (otk::Strut *) 0 ;
6586 unsigned int arg2 ;
6587 PyObject * obj0 = 0 ;
6588 PyObject * obj1 = 0 ;
6589
6590 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
6591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6592 arg2 = (unsigned int) PyInt_AsLong(obj1);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 if (arg1) (arg1)->right = arg2;
6595
6596 Py_INCREF(Py_None); resultobj = Py_None;
6597 return resultobj;
6598 fail:
6599 return NULL;
6600 }
6601
6602
6603 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
6604 PyObject *resultobj;
6605 otk::Strut *arg1 = (otk::Strut *) 0 ;
6606 unsigned int result;
6607 PyObject * obj0 = 0 ;
6608
6609 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
6610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6611 result = (unsigned int) ((arg1)->right);
6612
6613 resultobj = PyInt_FromLong((long)result);
6614 return resultobj;
6615 fail:
6616 return NULL;
6617 }
6618
6619
6620 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
6621 PyObject *resultobj;
6622 otk::Strut *result;
6623
6624 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
6625 result = (otk::Strut *)new otk::Strut();
6626
6627 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
6628 return resultobj;
6629 fail:
6630 return NULL;
6631 }
6632
6633
6634 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
6635 PyObject *resultobj;
6636 int arg1 ;
6637 int arg2 ;
6638 int arg3 ;
6639 int arg4 ;
6640 otk::Strut *result;
6641
6642 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
6643 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
6644
6645 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
6646 return resultobj;
6647 fail:
6648 return NULL;
6649 }
6650
6651
6652 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
6653 int argc;
6654 PyObject *argv[5];
6655 int ii;
6656
6657 argc = PyObject_Length(args);
6658 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6659 argv[ii] = PyTuple_GetItem(args,ii);
6660 }
6661 if (argc == 0) {
6662 return _wrap_new_Strut__SWIG_0(self,args);
6663 }
6664 if (argc == 4) {
6665 int _v;
6666 {
6667 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6668 }
6669 if (_v) {
6670 {
6671 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6672 }
6673 if (_v) {
6674 {
6675 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6676 }
6677 if (_v) {
6678 {
6679 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
6680 }
6681 if (_v) {
6682 return _wrap_new_Strut__SWIG_1(self,args);
6683 }
6684 }
6685 }
6686 }
6687 }
6688
6689 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
6690 return NULL;
6691 }
6692
6693
6694 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
6695 PyObject *obj;
6696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6697 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
6698 Py_INCREF(obj);
6699 return Py_BuildValue((char *)"");
6700 }
6701 static PyObject *_wrap_EventHandler_handle(PyObject *self, PyObject *args) {
6702 PyObject *resultobj;
6703 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6704 XEvent *arg2 = 0 ;
6705 PyObject * obj0 = 0 ;
6706 PyObject * obj1 = 0 ;
6707
6708 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_handle",&obj0,&obj1)) goto fail;
6709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6711 if (arg2 == NULL) {
6712 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6713 }
6714 (arg1)->handle((XEvent const &)*arg2);
6715
6716 Py_INCREF(Py_None); resultobj = Py_None;
6717 return resultobj;
6718 fail:
6719 return NULL;
6720 }
6721
6722
6723 static PyObject *_wrap_EventHandler_keyPressHandler(PyObject *self, PyObject *args) {
6724 PyObject *resultobj;
6725 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6726 XKeyEvent *arg2 = 0 ;
6727 PyObject * obj0 = 0 ;
6728 PyObject * obj1 = 0 ;
6729
6730 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
6731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6733 if (arg2 == NULL) {
6734 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6735 }
6736 (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
6737
6738 Py_INCREF(Py_None); resultobj = Py_None;
6739 return resultobj;
6740 fail:
6741 return NULL;
6742 }
6743
6744
6745 static PyObject *_wrap_EventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
6746 PyObject *resultobj;
6747 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6748 XKeyEvent *arg2 = 0 ;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751
6752 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
6753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6754 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6755 if (arg2 == NULL) {
6756 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6757 }
6758 (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
6759
6760 Py_INCREF(Py_None); resultobj = Py_None;
6761 return resultobj;
6762 fail:
6763 return NULL;
6764 }
6765
6766
6767 static PyObject *_wrap_EventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
6768 PyObject *resultobj;
6769 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6770 XButtonEvent *arg2 = 0 ;
6771 PyObject * obj0 = 0 ;
6772 PyObject * obj1 = 0 ;
6773
6774 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
6775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6777 if (arg2 == NULL) {
6778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6779 }
6780 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
6781
6782 Py_INCREF(Py_None); resultobj = Py_None;
6783 return resultobj;
6784 fail:
6785 return NULL;
6786 }
6787
6788
6789 static PyObject *_wrap_EventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
6790 PyObject *resultobj;
6791 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6792 XButtonEvent *arg2 = 0 ;
6793 PyObject * obj0 = 0 ;
6794 PyObject * obj1 = 0 ;
6795
6796 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
6797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6798 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6799 if (arg2 == NULL) {
6800 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6801 }
6802 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
6803
6804 Py_INCREF(Py_None); resultobj = Py_None;
6805 return resultobj;
6806 fail:
6807 return NULL;
6808 }
6809
6810
6811 static PyObject *_wrap_EventHandler_motionHandler(PyObject *self, PyObject *args) {
6812 PyObject *resultobj;
6813 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6814 XMotionEvent *arg2 = 0 ;
6815 PyObject * obj0 = 0 ;
6816 PyObject * obj1 = 0 ;
6817
6818 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_motionHandler",&obj0,&obj1)) goto fail;
6819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6820 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6821 if (arg2 == NULL) {
6822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6823 }
6824 (arg1)->motionHandler((XMotionEvent const &)*arg2);
6825
6826 Py_INCREF(Py_None); resultobj = Py_None;
6827 return resultobj;
6828 fail:
6829 return NULL;
6830 }
6831
6832
6833 static PyObject *_wrap_EventHandler_enterHandler(PyObject *self, PyObject *args) {
6834 PyObject *resultobj;
6835 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6836 XCrossingEvent *arg2 = 0 ;
6837 PyObject * obj0 = 0 ;
6838 PyObject * obj1 = 0 ;
6839
6840 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_enterHandler",&obj0,&obj1)) goto fail;
6841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6843 if (arg2 == NULL) {
6844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6845 }
6846 (arg1)->enterHandler((XCrossingEvent const &)*arg2);
6847
6848 Py_INCREF(Py_None); resultobj = Py_None;
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 static PyObject *_wrap_EventHandler_leaveHandler(PyObject *self, PyObject *args) {
6856 PyObject *resultobj;
6857 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6858 XCrossingEvent *arg2 = 0 ;
6859 PyObject * obj0 = 0 ;
6860 PyObject * obj1 = 0 ;
6861
6862 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_leaveHandler",&obj0,&obj1)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6864 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6865 if (arg2 == NULL) {
6866 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6867 }
6868 (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
6869
6870 Py_INCREF(Py_None); resultobj = Py_None;
6871 return resultobj;
6872 fail:
6873 return NULL;
6874 }
6875
6876
6877 static PyObject *_wrap_EventHandler_focusHandler(PyObject *self, PyObject *args) {
6878 PyObject *resultobj;
6879 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6880 XFocusChangeEvent *arg2 = 0 ;
6881 PyObject * obj0 = 0 ;
6882 PyObject * obj1 = 0 ;
6883
6884 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_focusHandler",&obj0,&obj1)) goto fail;
6885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6887 if (arg2 == NULL) {
6888 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6889 }
6890 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
6891
6892 Py_INCREF(Py_None); resultobj = Py_None;
6893 return resultobj;
6894 fail:
6895 return NULL;
6896 }
6897
6898
6899 static PyObject *_wrap_EventHandler_unfocusHandler(PyObject *self, PyObject *args) {
6900 PyObject *resultobj;
6901 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6902 XFocusChangeEvent *arg2 = 0 ;
6903 PyObject * obj0 = 0 ;
6904 PyObject * obj1 = 0 ;
6905
6906 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
6907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6908 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6909 if (arg2 == NULL) {
6910 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6911 }
6912 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
6913
6914 Py_INCREF(Py_None); resultobj = Py_None;
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_EventHandler_exposeHandler(PyObject *self, PyObject *args) {
6922 PyObject *resultobj;
6923 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6924 XExposeEvent *arg2 = 0 ;
6925 PyObject * obj0 = 0 ;
6926 PyObject * obj1 = 0 ;
6927
6928 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_exposeHandler",&obj0,&obj1)) goto fail;
6929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6931 if (arg2 == NULL) {
6932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6933 }
6934 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
6935
6936 Py_INCREF(Py_None); resultobj = Py_None;
6937 return resultobj;
6938 fail:
6939 return NULL;
6940 }
6941
6942
6943 static PyObject *_wrap_EventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
6944 PyObject *resultobj;
6945 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6946 XGraphicsExposeEvent *arg2 = 0 ;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949
6950 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
6951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6952 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6953 if (arg2 == NULL) {
6954 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6955 }
6956 (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
6957
6958 Py_INCREF(Py_None); resultobj = Py_None;
6959 return resultobj;
6960 fail:
6961 return NULL;
6962 }
6963
6964
6965 static PyObject *_wrap_EventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
6966 PyObject *resultobj;
6967 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6968 XNoExposeEvent *arg2 = 0 ;
6969 PyObject * obj0 = 0 ;
6970 PyObject * obj1 = 0 ;
6971
6972 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
6973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6975 if (arg2 == NULL) {
6976 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6977 }
6978 (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
6979
6980 Py_INCREF(Py_None); resultobj = Py_None;
6981 return resultobj;
6982 fail:
6983 return NULL;
6984 }
6985
6986
6987 static PyObject *_wrap_EventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
6988 PyObject *resultobj;
6989 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6990 XCirculateRequestEvent *arg2 = 0 ;
6991 PyObject * obj0 = 0 ;
6992 PyObject * obj1 = 0 ;
6993
6994 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
6995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6997 if (arg2 == NULL) {
6998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6999 }
7000 (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
7001
7002 Py_INCREF(Py_None); resultobj = Py_None;
7003 return resultobj;
7004 fail:
7005 return NULL;
7006 }
7007
7008
7009 static PyObject *_wrap_EventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
7010 PyObject *resultobj;
7011 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7012 XConfigureRequestEvent *arg2 = 0 ;
7013 PyObject * obj0 = 0 ;
7014 PyObject * obj1 = 0 ;
7015
7016 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
7017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7018 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7019 if (arg2 == NULL) {
7020 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7021 }
7022 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
7023
7024 Py_INCREF(Py_None); resultobj = Py_None;
7025 return resultobj;
7026 fail:
7027 return NULL;
7028 }
7029
7030
7031 static PyObject *_wrap_EventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
7032 PyObject *resultobj;
7033 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7034 XMapRequestEvent *arg2 = 0 ;
7035 PyObject * obj0 = 0 ;
7036 PyObject * obj1 = 0 ;
7037
7038 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
7039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7041 if (arg2 == NULL) {
7042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7043 }
7044 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
7045
7046 Py_INCREF(Py_None); resultobj = Py_None;
7047 return resultobj;
7048 fail:
7049 return NULL;
7050 }
7051
7052
7053 static PyObject *_wrap_EventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
7054 PyObject *resultobj;
7055 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7056 XResizeRequestEvent *arg2 = 0 ;
7057 PyObject * obj0 = 0 ;
7058 PyObject * obj1 = 0 ;
7059
7060 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
7061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7063 if (arg2 == NULL) {
7064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7065 }
7066 (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
7067
7068 Py_INCREF(Py_None); resultobj = Py_None;
7069 return resultobj;
7070 fail:
7071 return NULL;
7072 }
7073
7074
7075 static PyObject *_wrap_EventHandler_circulateHandler(PyObject *self, PyObject *args) {
7076 PyObject *resultobj;
7077 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7078 XCirculateEvent *arg2 = 0 ;
7079 PyObject * obj0 = 0 ;
7080 PyObject * obj1 = 0 ;
7081
7082 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateHandler",&obj0,&obj1)) goto fail;
7083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7085 if (arg2 == NULL) {
7086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7087 }
7088 (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
7089
7090 Py_INCREF(Py_None); resultobj = Py_None;
7091 return resultobj;
7092 fail:
7093 return NULL;
7094 }
7095
7096
7097 static PyObject *_wrap_EventHandler_configureHandler(PyObject *self, PyObject *args) {
7098 PyObject *resultobj;
7099 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7100 XConfigureEvent *arg2 = 0 ;
7101 PyObject * obj0 = 0 ;
7102 PyObject * obj1 = 0 ;
7103
7104 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureHandler",&obj0,&obj1)) goto fail;
7105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7107 if (arg2 == NULL) {
7108 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7109 }
7110 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
7111
7112 Py_INCREF(Py_None); resultobj = Py_None;
7113 return resultobj;
7114 fail:
7115 return NULL;
7116 }
7117
7118
7119 static PyObject *_wrap_EventHandler_createHandler(PyObject *self, PyObject *args) {
7120 PyObject *resultobj;
7121 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7122 XCreateWindowEvent *arg2 = 0 ;
7123 PyObject * obj0 = 0 ;
7124 PyObject * obj1 = 0 ;
7125
7126 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_createHandler",&obj0,&obj1)) goto fail;
7127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7128 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7129 if (arg2 == NULL) {
7130 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7131 }
7132 (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
7133
7134 Py_INCREF(Py_None); resultobj = Py_None;
7135 return resultobj;
7136 fail:
7137 return NULL;
7138 }
7139
7140
7141 static PyObject *_wrap_EventHandler_destroyHandler(PyObject *self, PyObject *args) {
7142 PyObject *resultobj;
7143 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7144 XDestroyWindowEvent *arg2 = 0 ;
7145 PyObject * obj0 = 0 ;
7146 PyObject * obj1 = 0 ;
7147
7148 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_destroyHandler",&obj0,&obj1)) goto fail;
7149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7150 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7151 if (arg2 == NULL) {
7152 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7153 }
7154 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
7155
7156 Py_INCREF(Py_None); resultobj = Py_None;
7157 return resultobj;
7158 fail:
7159 return NULL;
7160 }
7161
7162
7163 static PyObject *_wrap_EventHandler_gravityHandler(PyObject *self, PyObject *args) {
7164 PyObject *resultobj;
7165 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7166 XGravityEvent *arg2 = 0 ;
7167 PyObject * obj0 = 0 ;
7168 PyObject * obj1 = 0 ;
7169
7170 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_gravityHandler",&obj0,&obj1)) goto fail;
7171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7172 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7173 if (arg2 == NULL) {
7174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7175 }
7176 (arg1)->gravityHandler((XGravityEvent const &)*arg2);
7177
7178 Py_INCREF(Py_None); resultobj = Py_None;
7179 return resultobj;
7180 fail:
7181 return NULL;
7182 }
7183
7184
7185 static PyObject *_wrap_EventHandler_mapHandler(PyObject *self, PyObject *args) {
7186 PyObject *resultobj;
7187 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7188 XMapEvent *arg2 = 0 ;
7189 PyObject * obj0 = 0 ;
7190 PyObject * obj1 = 0 ;
7191
7192 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapHandler",&obj0,&obj1)) goto fail;
7193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7195 if (arg2 == NULL) {
7196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7197 }
7198 (arg1)->mapHandler((XMapEvent const &)*arg2);
7199
7200 Py_INCREF(Py_None); resultobj = Py_None;
7201 return resultobj;
7202 fail:
7203 return NULL;
7204 }
7205
7206
7207 static PyObject *_wrap_EventHandler_mappingHandler(PyObject *self, PyObject *args) {
7208 PyObject *resultobj;
7209 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7210 XMappingEvent *arg2 = 0 ;
7211 PyObject * obj0 = 0 ;
7212 PyObject * obj1 = 0 ;
7213
7214 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mappingHandler",&obj0,&obj1)) goto fail;
7215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7217 if (arg2 == NULL) {
7218 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7219 }
7220 (arg1)->mappingHandler((XMappingEvent const &)*arg2);
7221
7222 Py_INCREF(Py_None); resultobj = Py_None;
7223 return resultobj;
7224 fail:
7225 return NULL;
7226 }
7227
7228
7229 static PyObject *_wrap_EventHandler_reparentHandler(PyObject *self, PyObject *args) {
7230 PyObject *resultobj;
7231 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7232 XReparentEvent *arg2 = 0 ;
7233 PyObject * obj0 = 0 ;
7234 PyObject * obj1 = 0 ;
7235
7236 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_reparentHandler",&obj0,&obj1)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7239 if (arg2 == NULL) {
7240 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7241 }
7242 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
7243
7244 Py_INCREF(Py_None); resultobj = Py_None;
7245 return resultobj;
7246 fail:
7247 return NULL;
7248 }
7249
7250
7251 static PyObject *_wrap_EventHandler_unmapHandler(PyObject *self, PyObject *args) {
7252 PyObject *resultobj;
7253 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7254 XUnmapEvent *arg2 = 0 ;
7255 PyObject * obj0 = 0 ;
7256 PyObject * obj1 = 0 ;
7257
7258 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unmapHandler",&obj0,&obj1)) goto fail;
7259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7261 if (arg2 == NULL) {
7262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7263 }
7264 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
7265
7266 Py_INCREF(Py_None); resultobj = Py_None;
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 static PyObject *_wrap_EventHandler_visibilityHandler(PyObject *self, PyObject *args) {
7274 PyObject *resultobj;
7275 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7276 XVisibilityEvent *arg2 = 0 ;
7277 PyObject * obj0 = 0 ;
7278 PyObject * obj1 = 0 ;
7279
7280 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
7281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7283 if (arg2 == NULL) {
7284 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7285 }
7286 (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
7287
7288 Py_INCREF(Py_None); resultobj = Py_None;
7289 return resultobj;
7290 fail:
7291 return NULL;
7292 }
7293
7294
7295 static PyObject *_wrap_EventHandler_colorMapHandler(PyObject *self, PyObject *args) {
7296 PyObject *resultobj;
7297 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7298 XColormapEvent *arg2 = 0 ;
7299 PyObject * obj0 = 0 ;
7300 PyObject * obj1 = 0 ;
7301
7302 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
7303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7305 if (arg2 == NULL) {
7306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7307 }
7308 (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
7309
7310 Py_INCREF(Py_None); resultobj = Py_None;
7311 return resultobj;
7312 fail:
7313 return NULL;
7314 }
7315
7316
7317 static PyObject *_wrap_EventHandler_propertyHandler(PyObject *self, PyObject *args) {
7318 PyObject *resultobj;
7319 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7320 XPropertyEvent *arg2 = 0 ;
7321 PyObject * obj0 = 0 ;
7322 PyObject * obj1 = 0 ;
7323
7324 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_propertyHandler",&obj0,&obj1)) goto fail;
7325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7326 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7327 if (arg2 == NULL) {
7328 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7329 }
7330 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
7331
7332 Py_INCREF(Py_None); resultobj = Py_None;
7333 return resultobj;
7334 fail:
7335 return NULL;
7336 }
7337
7338
7339 static PyObject *_wrap_EventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
7340 PyObject *resultobj;
7341 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7342 XSelectionClearEvent *arg2 = 0 ;
7343 PyObject * obj0 = 0 ;
7344 PyObject * obj1 = 0 ;
7345
7346 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
7347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7349 if (arg2 == NULL) {
7350 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7351 }
7352 (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
7353
7354 Py_INCREF(Py_None); resultobj = Py_None;
7355 return resultobj;
7356 fail:
7357 return NULL;
7358 }
7359
7360
7361 static PyObject *_wrap_EventHandler_selectionHandler(PyObject *self, PyObject *args) {
7362 PyObject *resultobj;
7363 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7364 XSelectionEvent *arg2 = 0 ;
7365 PyObject * obj0 = 0 ;
7366 PyObject * obj1 = 0 ;
7367
7368 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionHandler",&obj0,&obj1)) goto fail;
7369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7370 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7371 if (arg2 == NULL) {
7372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7373 }
7374 (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
7375
7376 Py_INCREF(Py_None); resultobj = Py_None;
7377 return resultobj;
7378 fail:
7379 return NULL;
7380 }
7381
7382
7383 static PyObject *_wrap_EventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
7384 PyObject *resultobj;
7385 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7386 XSelectionRequestEvent *arg2 = 0 ;
7387 PyObject * obj0 = 0 ;
7388 PyObject * obj1 = 0 ;
7389
7390 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
7391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7392 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7393 if (arg2 == NULL) {
7394 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7395 }
7396 (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
7397
7398 Py_INCREF(Py_None); resultobj = Py_None;
7399 return resultobj;
7400 fail:
7401 return NULL;
7402 }
7403
7404
7405 static PyObject *_wrap_EventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
7406 PyObject *resultobj;
7407 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7408 XClientMessageEvent *arg2 = 0 ;
7409 PyObject * obj0 = 0 ;
7410 PyObject * obj1 = 0 ;
7411
7412 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
7413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7414 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7415 if (arg2 == NULL) {
7416 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7417 }
7418 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
7419
7420 Py_INCREF(Py_None); resultobj = Py_None;
7421 return resultobj;
7422 fail:
7423 return NULL;
7424 }
7425
7426
7427 static PyObject *_wrap_delete_EventHandler(PyObject *self, PyObject *args) {
7428 PyObject *resultobj;
7429 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7430 PyObject * obj0 = 0 ;
7431
7432 if(!PyArg_ParseTuple(args,(char *)"O:delete_EventHandler",&obj0)) goto fail;
7433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7434 delete arg1;
7435
7436 Py_INCREF(Py_None); resultobj = Py_None;
7437 return resultobj;
7438 fail:
7439 return NULL;
7440 }
7441
7442
7443 static PyObject * EventHandler_swigregister(PyObject *self, PyObject *args) {
7444 PyObject *obj;
7445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7446 SWIG_TypeClientData(SWIGTYPE_p_otk__EventHandler, obj);
7447 Py_INCREF(obj);
7448 return Py_BuildValue((char *)"");
7449 }
7450 static PyObject *_wrap_new_EventDispatcher(PyObject *self, PyObject *args) {
7451 PyObject *resultobj;
7452 otk::EventDispatcher *result;
7453
7454 if(!PyArg_ParseTuple(args,(char *)":new_EventDispatcher")) goto fail;
7455 result = (otk::EventDispatcher *)new otk::EventDispatcher();
7456
7457 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventDispatcher, 1);
7458 return resultobj;
7459 fail:
7460 return NULL;
7461 }
7462
7463
7464 static PyObject *_wrap_delete_EventDispatcher(PyObject *self, PyObject *args) {
7465 PyObject *resultobj;
7466 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7467 PyObject * obj0 = 0 ;
7468
7469 if(!PyArg_ParseTuple(args,(char *)"O:delete_EventDispatcher",&obj0)) goto fail;
7470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7471 delete arg1;
7472
7473 Py_INCREF(Py_None); resultobj = Py_None;
7474 return resultobj;
7475 fail:
7476 return NULL;
7477 }
7478
7479
7480 static PyObject *_wrap_EventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
7481 PyObject *resultobj;
7482 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7483 PyObject * obj0 = 0 ;
7484
7485 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_clearAllHandlers",&obj0)) goto fail;
7486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7487 (arg1)->clearAllHandlers();
7488
7489 Py_INCREF(Py_None); resultobj = Py_None;
7490 return resultobj;
7491 fail:
7492 return NULL;
7493 }
7494
7495
7496 static PyObject *_wrap_EventDispatcher_registerHandler(PyObject *self, PyObject *args) {
7497 PyObject *resultobj;
7498 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7499 Window arg2 ;
7500 otk::EventHandler *arg3 = (otk::EventHandler *) 0 ;
7501 PyObject * obj0 = 0 ;
7502 PyObject * obj1 = 0 ;
7503 PyObject * obj2 = 0 ;
7504
7505 if(!PyArg_ParseTuple(args,(char *)"OOO:EventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
7506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7507 arg2 = (Window) PyInt_AsLong(obj1);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7510 (arg1)->registerHandler(arg2,arg3);
7511
7512 Py_INCREF(Py_None); resultobj = Py_None;
7513 return resultobj;
7514 fail:
7515 return NULL;
7516 }
7517
7518
7519 static PyObject *_wrap_EventDispatcher_clearHandler(PyObject *self, PyObject *args) {
7520 PyObject *resultobj;
7521 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7522 Window arg2 ;
7523 PyObject * obj0 = 0 ;
7524 PyObject * obj1 = 0 ;
7525
7526 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
7527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7528 arg2 = (Window) PyInt_AsLong(obj1);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 (arg1)->clearHandler(arg2);
7531
7532 Py_INCREF(Py_None); resultobj = Py_None;
7533 return resultobj;
7534 fail:
7535 return NULL;
7536 }
7537
7538
7539 static PyObject *_wrap_EventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
7540 PyObject *resultobj;
7541 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7542 PyObject * obj0 = 0 ;
7543
7544 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_dispatchEvents",&obj0)) goto fail;
7545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7546 (arg1)->dispatchEvents();
7547
7548 Py_INCREF(Py_None); resultobj = Py_None;
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 static PyObject *_wrap_EventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
7556 PyObject *resultobj;
7557 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7558 otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
7559 PyObject * obj0 = 0 ;
7560 PyObject * obj1 = 0 ;
7561
7562 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
7563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7565 (arg1)->setFallbackHandler(arg2);
7566
7567 Py_INCREF(Py_None); resultobj = Py_None;
7568 return resultobj;
7569 fail:
7570 return NULL;
7571 }
7572
7573
7574 static PyObject *_wrap_EventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
7575 PyObject *resultobj;
7576 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7577 otk::EventHandler *result;
7578 PyObject * obj0 = 0 ;
7579
7580 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getFallbackHandler",&obj0)) goto fail;
7581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7582 result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getFallbackHandler();
7583
7584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
7585 return resultobj;
7586 fail:
7587 return NULL;
7588 }
7589
7590
7591 static PyObject *_wrap_EventDispatcher_setMasterHandler(PyObject *self, PyObject *args) {
7592 PyObject *resultobj;
7593 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7594 otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
7595 PyObject * obj0 = 0 ;
7596 PyObject * obj1 = 0 ;
7597
7598 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
7599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7601 (arg1)->setMasterHandler(arg2);
7602
7603 Py_INCREF(Py_None); resultobj = Py_None;
7604 return resultobj;
7605 fail:
7606 return NULL;
7607 }
7608
7609
7610 static PyObject *_wrap_EventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
7611 PyObject *resultobj;
7612 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7613 otk::EventHandler *result;
7614 PyObject * obj0 = 0 ;
7615
7616 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getMasterHandler",&obj0)) goto fail;
7617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7618 result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getMasterHandler();
7619
7620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
7621 return resultobj;
7622 fail:
7623 return NULL;
7624 }
7625
7626
7627 static PyObject *_wrap_EventDispatcher_findHandler(PyObject *self, PyObject *args) {
7628 PyObject *resultobj;
7629 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7630 Window arg2 ;
7631 otk::EventHandler *result;
7632 PyObject * obj0 = 0 ;
7633 PyObject * obj1 = 0 ;
7634
7635 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_findHandler",&obj0,&obj1)) goto fail;
7636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7637 arg2 = (Window) PyInt_AsLong(obj1);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 result = (otk::EventHandler *)(arg1)->findHandler(arg2);
7640
7641 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
7642 return resultobj;
7643 fail:
7644 return NULL;
7645 }
7646
7647
7648 static PyObject *_wrap_EventDispatcher_lastTime(PyObject *self, PyObject *args) {
7649 PyObject *resultobj;
7650 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7651 Time result;
7652 PyObject * obj0 = 0 ;
7653
7654 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_lastTime",&obj0)) goto fail;
7655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7656 result = (Time)((otk::EventDispatcher const *)arg1)->lastTime();
7657
7658 resultobj = PyInt_FromLong((long)result);
7659 return resultobj;
7660 fail:
7661 return NULL;
7662 }
7663
7664
7665 static PyObject * EventDispatcher_swigregister(PyObject *self, PyObject *args) {
7666 PyObject *obj;
7667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7668 SWIG_TypeClientData(SWIGTYPE_p_otk__EventDispatcher, obj);
7669 Py_INCREF(obj);
7670 return Py_BuildValue((char *)"");
7671 }
7672 static PyObject *_wrap_Cursors_session_set(PyObject *self, PyObject *args) {
7673 PyObject *resultobj;
7674 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7675 Cursor arg2 ;
7676 PyObject * obj0 = 0 ;
7677 PyObject * obj1 = 0 ;
7678
7679 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_session_set",&obj0,&obj1)) goto fail;
7680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7681 arg2 = (Cursor) PyInt_AsLong(obj1);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 if (arg1) (arg1)->session = arg2;
7684
7685 Py_INCREF(Py_None); resultobj = Py_None;
7686 return resultobj;
7687 fail:
7688 return NULL;
7689 }
7690
7691
7692 static PyObject *_wrap_Cursors_session_get(PyObject *self, PyObject *args) {
7693 PyObject *resultobj;
7694 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7695 Cursor result;
7696 PyObject * obj0 = 0 ;
7697
7698 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_session_get",&obj0)) goto fail;
7699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7700 result = (Cursor) ((arg1)->session);
7701
7702 resultobj = PyInt_FromLong((long)result);
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap_Cursors_move_set(PyObject *self, PyObject *args) {
7710 PyObject *resultobj;
7711 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7712 Cursor arg2 ;
7713 PyObject * obj0 = 0 ;
7714 PyObject * obj1 = 0 ;
7715
7716 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_move_set",&obj0,&obj1)) goto fail;
7717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7718 arg2 = (Cursor) PyInt_AsLong(obj1);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 if (arg1) (arg1)->move = arg2;
7721
7722 Py_INCREF(Py_None); resultobj = Py_None;
7723 return resultobj;
7724 fail:
7725 return NULL;
7726 }
7727
7728
7729 static PyObject *_wrap_Cursors_move_get(PyObject *self, PyObject *args) {
7730 PyObject *resultobj;
7731 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7732 Cursor result;
7733 PyObject * obj0 = 0 ;
7734
7735 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_move_get",&obj0)) goto fail;
7736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7737 result = (Cursor) ((arg1)->move);
7738
7739 resultobj = PyInt_FromLong((long)result);
7740 return resultobj;
7741 fail:
7742 return NULL;
7743 }
7744
7745
7746 static PyObject *_wrap_Cursors_ll_angle_set(PyObject *self, PyObject *args) {
7747 PyObject *resultobj;
7748 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7749 Cursor arg2 ;
7750 PyObject * obj0 = 0 ;
7751 PyObject * obj1 = 0 ;
7752
7753 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ll_angle_set",&obj0,&obj1)) goto fail;
7754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7755 arg2 = (Cursor) PyInt_AsLong(obj1);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 if (arg1) (arg1)->ll_angle = arg2;
7758
7759 Py_INCREF(Py_None); resultobj = Py_None;
7760 return resultobj;
7761 fail:
7762 return NULL;
7763 }
7764
7765
7766 static PyObject *_wrap_Cursors_ll_angle_get(PyObject *self, PyObject *args) {
7767 PyObject *resultobj;
7768 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7769 Cursor result;
7770 PyObject * obj0 = 0 ;
7771
7772 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ll_angle_get",&obj0)) goto fail;
7773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7774 result = (Cursor) ((arg1)->ll_angle);
7775
7776 resultobj = PyInt_FromLong((long)result);
7777 return resultobj;
7778 fail:
7779 return NULL;
7780 }
7781
7782
7783 static PyObject *_wrap_Cursors_lr_angle_set(PyObject *self, PyObject *args) {
7784 PyObject *resultobj;
7785 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7786 Cursor arg2 ;
7787 PyObject * obj0 = 0 ;
7788 PyObject * obj1 = 0 ;
7789
7790 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_lr_angle_set",&obj0,&obj1)) goto fail;
7791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7792 arg2 = (Cursor) PyInt_AsLong(obj1);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 if (arg1) (arg1)->lr_angle = arg2;
7795
7796 Py_INCREF(Py_None); resultobj = Py_None;
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 static PyObject *_wrap_Cursors_lr_angle_get(PyObject *self, PyObject *args) {
7804 PyObject *resultobj;
7805 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7806 Cursor result;
7807 PyObject * obj0 = 0 ;
7808
7809 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_lr_angle_get",&obj0)) goto fail;
7810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7811 result = (Cursor) ((arg1)->lr_angle);
7812
7813 resultobj = PyInt_FromLong((long)result);
7814 return resultobj;
7815 fail:
7816 return NULL;
7817 }
7818
7819
7820 static PyObject *_wrap_Cursors_ul_angle_set(PyObject *self, PyObject *args) {
7821 PyObject *resultobj;
7822 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7823 Cursor arg2 ;
7824 PyObject * obj0 = 0 ;
7825 PyObject * obj1 = 0 ;
7826
7827 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ul_angle_set",&obj0,&obj1)) goto fail;
7828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7829 arg2 = (Cursor) PyInt_AsLong(obj1);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 if (arg1) (arg1)->ul_angle = arg2;
7832
7833 Py_INCREF(Py_None); resultobj = Py_None;
7834 return resultobj;
7835 fail:
7836 return NULL;
7837 }
7838
7839
7840 static PyObject *_wrap_Cursors_ul_angle_get(PyObject *self, PyObject *args) {
7841 PyObject *resultobj;
7842 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7843 Cursor result;
7844 PyObject * obj0 = 0 ;
7845
7846 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ul_angle_get",&obj0)) goto fail;
7847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7848 result = (Cursor) ((arg1)->ul_angle);
7849
7850 resultobj = PyInt_FromLong((long)result);
7851 return resultobj;
7852 fail:
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_Cursors_ur_angle_set(PyObject *self, PyObject *args) {
7858 PyObject *resultobj;
7859 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7860 Cursor arg2 ;
7861 PyObject * obj0 = 0 ;
7862 PyObject * obj1 = 0 ;
7863
7864 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ur_angle_set",&obj0,&obj1)) goto fail;
7865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7866 arg2 = (Cursor) PyInt_AsLong(obj1);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 if (arg1) (arg1)->ur_angle = arg2;
7869
7870 Py_INCREF(Py_None); resultobj = Py_None;
7871 return resultobj;
7872 fail:
7873 return NULL;
7874 }
7875
7876
7877 static PyObject *_wrap_Cursors_ur_angle_get(PyObject *self, PyObject *args) {
7878 PyObject *resultobj;
7879 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7880 Cursor result;
7881 PyObject * obj0 = 0 ;
7882
7883 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ur_angle_get",&obj0)) goto fail;
7884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7885 result = (Cursor) ((arg1)->ur_angle);
7886
7887 resultobj = PyInt_FromLong((long)result);
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 static PyObject * Cursors_swigregister(PyObject *self, PyObject *args) {
7895 PyObject *obj;
7896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7897 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors, obj);
7898 Py_INCREF(obj);
7899 return Py_BuildValue((char *)"");
7900 }
7901 static PyObject *_wrap_Openbox_state(PyObject *self, PyObject *args) {
7902 PyObject *resultobj;
7903 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7904 int result;
7905 PyObject * obj0 = 0 ;
7906
7907 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_state",&obj0)) goto fail;
7908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7909 result = (int)((ob::Openbox const *)arg1)->state();
7910
7911 resultobj = PyInt_FromLong((long)result);
7912 return resultobj;
7913 fail:
7914 return NULL;
7915 }
7916
7917
7918 static PyObject *_wrap_Openbox_actions(PyObject *self, PyObject *args) {
7919 PyObject *resultobj;
7920 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7921 ob::Actions *result;
7922 PyObject * obj0 = 0 ;
7923
7924 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_actions",&obj0)) goto fail;
7925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7926 result = (ob::Actions *)((ob::Openbox const *)arg1)->actions();
7927
7928 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Actions, 0);
7929 return resultobj;
7930 fail:
7931 return NULL;
7932 }
7933
7934
7935 static PyObject *_wrap_Openbox_bindings(PyObject *self, PyObject *args) {
7936 PyObject *resultobj;
7937 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7938 ob::Bindings *result;
7939 PyObject * obj0 = 0 ;
7940
7941 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_bindings",&obj0)) goto fail;
7942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7943 result = (ob::Bindings *)((ob::Openbox const *)arg1)->bindings();
7944
7945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Bindings, 0);
7946 return resultobj;
7947 fail:
7948 return NULL;
7949 }
7950
7951
7952 static PyObject *_wrap_Openbox_screen(PyObject *self, PyObject *args) {
7953 PyObject *resultobj;
7954 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7955 int arg2 ;
7956 ob::Screen *result;
7957 PyObject * obj0 = 0 ;
7958
7959 if(!PyArg_ParseTuple(args,(char *)"Oi:Openbox_screen",&obj0,&arg2)) goto fail;
7960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7961 result = (ob::Screen *)(arg1)->screen(arg2);
7962
7963 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
7964 return resultobj;
7965 fail:
7966 return NULL;
7967 }
7968
7969
7970 static PyObject *_wrap_Openbox_screenCount(PyObject *self, PyObject *args) {
7971 PyObject *resultobj;
7972 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7973 int result;
7974 PyObject * obj0 = 0 ;
7975
7976 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_screenCount",&obj0)) goto fail;
7977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7978 result = (int)((ob::Openbox const *)arg1)->screenCount();
7979
7980 resultobj = PyInt_FromLong((long)result);
7981 return resultobj;
7982 fail:
7983 return NULL;
7984 }
7985
7986
7987 static PyObject *_wrap_Openbox_cursors(PyObject *self, PyObject *args) {
7988 PyObject *resultobj;
7989 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7990 ob::Cursors *result;
7991 PyObject * obj0 = 0 ;
7992
7993 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_cursors",&obj0)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7995 {
7996 ob::Cursors const &_result_ref = ((ob::Openbox const *)arg1)->cursors();
7997 result = (ob::Cursors *) &_result_ref;
7998 }
7999
8000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Cursors, 0);
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 static PyObject *_wrap_Openbox_addClient(PyObject *self, PyObject *args) {
8008 PyObject *resultobj;
8009 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8010 Window arg2 ;
8011 ob::Client *arg3 = (ob::Client *) 0 ;
8012 PyObject * obj0 = 0 ;
8013 PyObject * obj1 = 0 ;
8014 PyObject * obj2 = 0 ;
8015
8016 if(!PyArg_ParseTuple(args,(char *)"OOO:Openbox_addClient",&obj0,&obj1,&obj2)) goto fail;
8017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8018 arg2 = (Window) PyInt_AsLong(obj1);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8021 (arg1)->addClient(arg2,arg3);
8022
8023 Py_INCREF(Py_None); resultobj = Py_None;
8024 return resultobj;
8025 fail:
8026 return NULL;
8027 }
8028
8029
8030 static PyObject *_wrap_Openbox_removeClient(PyObject *self, PyObject *args) {
8031 PyObject *resultobj;
8032 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8033 Window arg2 ;
8034 PyObject * obj0 = 0 ;
8035 PyObject * obj1 = 0 ;
8036
8037 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_removeClient",&obj0,&obj1)) goto fail;
8038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8039 arg2 = (Window) PyInt_AsLong(obj1);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 (arg1)->removeClient(arg2);
8042
8043 Py_INCREF(Py_None); resultobj = Py_None;
8044 return resultobj;
8045 fail:
8046 return NULL;
8047 }
8048
8049
8050 static PyObject *_wrap_Openbox_findClient(PyObject *self, PyObject *args) {
8051 PyObject *resultobj;
8052 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8053 Window arg2 ;
8054 ob::Client *result;
8055 PyObject * obj0 = 0 ;
8056 PyObject * obj1 = 0 ;
8057
8058 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_findClient",&obj0,&obj1)) goto fail;
8059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8060 arg2 = (Window) PyInt_AsLong(obj1);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 result = (ob::Client *)(arg1)->findClient(arg2);
8063
8064 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
8065 return resultobj;
8066 fail:
8067 return NULL;
8068 }
8069
8070
8071 static PyObject *_wrap_Openbox_focusedClient(PyObject *self, PyObject *args) {
8072 PyObject *resultobj;
8073 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8074 ob::Client *result;
8075 PyObject * obj0 = 0 ;
8076
8077 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedClient",&obj0)) goto fail;
8078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8079 result = (ob::Client *)(arg1)->focusedClient();
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_setFocusedClient(PyObject *self, PyObject *args) {
8089 PyObject *resultobj;
8090 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8091 ob::Client *arg2 = (ob::Client *) 0 ;
8092 PyObject * obj0 = 0 ;
8093 PyObject * obj1 = 0 ;
8094
8095 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_setFocusedClient",&obj0,&obj1)) goto fail;
8096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8098 (arg1)->setFocusedClient(arg2);
8099
8100 Py_INCREF(Py_None); resultobj = Py_None;
8101 return resultobj;
8102 fail:
8103 return NULL;
8104 }
8105
8106
8107 static PyObject *_wrap_Openbox_focusedScreen(PyObject *self, PyObject *args) {
8108 PyObject *resultobj;
8109 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8110 ob::Screen *result;
8111 PyObject * obj0 = 0 ;
8112
8113 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedScreen",&obj0)) goto fail;
8114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8115 result = (ob::Screen *)(arg1)->focusedScreen();
8116
8117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
8118 return resultobj;
8119 fail:
8120 return NULL;
8121 }
8122
8123
8124 static PyObject *_wrap_Openbox_shutdown(PyObject *self, PyObject *args) {
8125 PyObject *resultobj;
8126 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8127 PyObject * obj0 = 0 ;
8128
8129 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_shutdown",&obj0)) goto fail;
8130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8131 (arg1)->shutdown();
8132
8133 Py_INCREF(Py_None); resultobj = Py_None;
8134 return resultobj;
8135 fail:
8136 return NULL;
8137 }
8138
8139
8140 static PyObject *_wrap_Openbox_restart(PyObject *self, PyObject *args) {
8141 PyObject *resultobj;
8142 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8143 std::string const &arg2_defvalue = "" ;
8144 std::string *arg2 = (std::string *) &arg2_defvalue ;
8145 std::string temp2 ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148
8149 if(!PyArg_ParseTuple(args,(char *)"O|O:Openbox_restart",&obj0,&obj1)) goto fail;
8150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8151 if (obj1) {
8152 {
8153 if (PyString_Check(obj1)) {
8154 temp2 = std::string(PyString_AsString(obj1));
8155 arg2 = &temp2;
8156 }else {
8157 SWIG_exception(SWIG_TypeError, "string expected");
8158 }
8159 }
8160 }
8161 (arg1)->restart((std::string const &)*arg2);
8162
8163 Py_INCREF(Py_None); resultobj = Py_None;
8164 return resultobj;
8165 fail:
8166 return NULL;
8167 }
8168
8169
8170 static PyObject *_wrap_Openbox_execute(PyObject *self, PyObject *args) {
8171 PyObject *resultobj;
8172 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8173 int arg2 ;
8174 std::string *arg3 = 0 ;
8175 std::string temp3 ;
8176 PyObject * obj0 = 0 ;
8177 PyObject * obj2 = 0 ;
8178
8179 if(!PyArg_ParseTuple(args,(char *)"OiO:Openbox_execute",&obj0,&arg2,&obj2)) goto fail;
8180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8181 {
8182 if (PyString_Check(obj2)) {
8183 temp3 = std::string(PyString_AsString(obj2));
8184 arg3 = &temp3;
8185 }else {
8186 SWIG_exception(SWIG_TypeError, "string expected");
8187 }
8188 }
8189 (arg1)->execute(arg2,(std::string const &)*arg3);
8190
8191 Py_INCREF(Py_None); resultobj = Py_None;
8192 return resultobj;
8193 fail:
8194 return NULL;
8195 }
8196
8197
8198 static PyObject * Openbox_swigregister(PyObject *self, PyObject *args) {
8199 PyObject *obj;
8200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8201 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox, obj);
8202 Py_INCREF(obj);
8203 return Py_BuildValue((char *)"");
8204 }
8205 static PyObject *_wrap_Screen_client(PyObject *self, PyObject *args) {
8206 PyObject *resultobj;
8207 ob::Screen *arg1 = (ob::Screen *) 0 ;
8208 int arg2 ;
8209 ob::Client *result;
8210 PyObject * obj0 = 0 ;
8211
8212 if(!PyArg_ParseTuple(args,(char *)"Oi:Screen_client",&obj0,&arg2)) goto fail;
8213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8214 result = (ob::Client *)ob_Screen_client(arg1,arg2);
8215
8216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
8217 return resultobj;
8218 fail:
8219 return NULL;
8220 }
8221
8222
8223 static PyObject *_wrap_Screen_clientCount(PyObject *self, PyObject *args) {
8224 PyObject *resultobj;
8225 ob::Screen *arg1 = (ob::Screen *) 0 ;
8226 int result;
8227 PyObject * obj0 = 0 ;
8228
8229 if(!PyArg_ParseTuple(args,(char *)"O:Screen_clientCount",&obj0)) goto fail;
8230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8231 result = (int)ob_Screen_clientCount((ob::Screen const *)arg1);
8232
8233 resultobj = PyInt_FromLong((long)result);
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_Screen_number(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_number",&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 const *)arg1)->number();
8249
8250 resultobj = PyInt_FromLong((long)result);
8251 return resultobj;
8252 fail:
8253 return NULL;
8254 }
8255
8256
8257 static PyObject *_wrap_Screen_managed(PyObject *self, PyObject *args) {
8258 PyObject *resultobj;
8259 ob::Screen *arg1 = (ob::Screen *) 0 ;
8260 bool result;
8261 PyObject * obj0 = 0 ;
8262
8263 if(!PyArg_ParseTuple(args,(char *)"O:Screen_managed",&obj0)) goto fail;
8264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8265 result = (bool)((ob::Screen const *)arg1)->managed();
8266
8267 resultobj = PyInt_FromLong((long)result);
8268 return resultobj;
8269 fail:
8270 return NULL;
8271 }
8272
8273
8274 static PyObject *_wrap_Screen_imageControl(PyObject *self, PyObject *args) {
8275 PyObject *resultobj;
8276 ob::Screen *arg1 = (ob::Screen *) 0 ;
8277 otk::ImageControl *result;
8278 PyObject * obj0 = 0 ;
8279
8280 if(!PyArg_ParseTuple(args,(char *)"O:Screen_imageControl",&obj0)) goto fail;
8281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8282 result = (otk::ImageControl *)(arg1)->imageControl();
8283
8284 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ImageControl, 0);
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::Style *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::Style *)((ob::Screen const *)arg1)->style();
8320
8321 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 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)((ob::Client const *)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 * Client_swigregister(PyObject *self, PyObject *args) {
9567 PyObject *obj;
9568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9569 SWIG_TypeClientData(SWIGTYPE_p_ob__Client, obj);
9570 Py_INCREF(obj);
9571 return Py_BuildValue((char *)"");
9572 }
9573 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args) {
9574 PyObject *resultobj;
9575 ob::Client *arg1 = (ob::Client *) 0 ;
9576 otk::Style *arg2 = (otk::Style *) 0 ;
9577 ob::Frame *result;
9578 PyObject * obj0 = 0 ;
9579 PyObject * obj1 = 0 ;
9580
9581 if(!PyArg_ParseTuple(args,(char *)"OO:new_Frame",&obj0,&obj1)) goto fail;
9582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9584 result = (ob::Frame *)new ob::Frame(arg1,arg2);
9585
9586 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Frame, 1);
9587 return resultobj;
9588 fail:
9589 return NULL;
9590 }
9591
9592
9593 static PyObject *_wrap_delete_Frame(PyObject *self, PyObject *args) {
9594 PyObject *resultobj;
9595 ob::Frame *arg1 = (ob::Frame *) 0 ;
9596 PyObject * obj0 = 0 ;
9597
9598 if(!PyArg_ParseTuple(args,(char *)"O:delete_Frame",&obj0)) goto fail;
9599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9600 delete arg1;
9601
9602 Py_INCREF(Py_None); resultobj = Py_None;
9603 return resultobj;
9604 fail:
9605 return NULL;
9606 }
9607
9608
9609 static PyObject *_wrap_Frame_size(PyObject *self, PyObject *args) {
9610 PyObject *resultobj;
9611 ob::Frame *arg1 = (ob::Frame *) 0 ;
9612 otk::Strut *result;
9613 PyObject * obj0 = 0 ;
9614
9615 if(!PyArg_ParseTuple(args,(char *)"O:Frame_size",&obj0)) goto fail;
9616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9617 {
9618 otk::Strut const &_result_ref = ((ob::Frame const *)arg1)->size();
9619 result = (otk::Strut *) &_result_ref;
9620 }
9621
9622 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
9623 return resultobj;
9624 fail:
9625 return NULL;
9626 }
9627
9628
9629 static PyObject *_wrap_Frame_setStyle(PyObject *self, PyObject *args) {
9630 PyObject *resultobj;
9631 ob::Frame *arg1 = (ob::Frame *) 0 ;
9632 otk::Style *arg2 = (otk::Style *) 0 ;
9633 PyObject * obj0 = 0 ;
9634 PyObject * obj1 = 0 ;
9635
9636 if(!PyArg_ParseTuple(args,(char *)"OO:Frame_setStyle",&obj0,&obj1)) goto fail;
9637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9639 (arg1)->setStyle(arg2);
9640
9641 Py_INCREF(Py_None); resultobj = Py_None;
9642 return resultobj;
9643 fail:
9644 return NULL;
9645 }
9646
9647
9648 static PyObject *_wrap_Frame_adjust(PyObject *self, PyObject *args) {
9649 PyObject *resultobj;
9650 ob::Frame *arg1 = (ob::Frame *) 0 ;
9651 PyObject * obj0 = 0 ;
9652
9653 if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjust",&obj0)) goto fail;
9654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9655 (arg1)->adjust();
9656
9657 Py_INCREF(Py_None); resultobj = Py_None;
9658 return resultobj;
9659 fail:
9660 return NULL;
9661 }
9662
9663
9664 static PyObject *_wrap_Frame_focus(PyObject *self, PyObject *args) {
9665 PyObject *resultobj;
9666 ob::Frame *arg1 = (ob::Frame *) 0 ;
9667 PyObject * obj0 = 0 ;
9668
9669 if(!PyArg_ParseTuple(args,(char *)"O:Frame_focus",&obj0)) goto fail;
9670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9671 (arg1)->focus();
9672
9673 Py_INCREF(Py_None); resultobj = Py_None;
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_Frame_unfocus(PyObject *self, PyObject *args) {
9681 PyObject *resultobj;
9682 ob::Frame *arg1 = (ob::Frame *) 0 ;
9683 PyObject * obj0 = 0 ;
9684
9685 if(!PyArg_ParseTuple(args,(char *)"O:Frame_unfocus",&obj0)) goto fail;
9686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9687 (arg1)->unfocus();
9688
9689 Py_INCREF(Py_None); resultobj = Py_None;
9690 return resultobj;
9691 fail:
9692 return NULL;
9693 }
9694
9695
9696 static PyObject *_wrap_Frame_setTitle(PyObject *self, PyObject *args) {
9697 PyObject *resultobj;
9698 ob::Frame *arg1 = (ob::Frame *) 0 ;
9699 otk::ustring *arg2 = 0 ;
9700 otk::ustring temp2 ;
9701 PyObject * obj0 = 0 ;
9702 PyObject * obj1 = 0 ;
9703
9704 if(!PyArg_ParseTuple(args,(char *)"OO:Frame_setTitle",&obj0,&obj1)) goto fail;
9705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9706 {
9707 if (PyString_Check(obj1)) {
9708 temp2 = otk::ustring(PyString_AsString(obj1));
9709 arg2 = &temp2;
9710 }else {
9711 SWIG_exception(SWIG_TypeError, "ustring expected");
9712 }
9713 }
9714 (arg1)->setTitle((otk::ustring const &)*arg2);
9715
9716 Py_INCREF(Py_None); resultobj = Py_None;
9717 return resultobj;
9718 fail:
9719 return NULL;
9720 }
9721
9722
9723 static PyObject *_wrap_Frame_grabClient(PyObject *self, PyObject *args) {
9724 PyObject *resultobj;
9725 ob::Frame *arg1 = (ob::Frame *) 0 ;
9726 PyObject * obj0 = 0 ;
9727
9728 if(!PyArg_ParseTuple(args,(char *)"O:Frame_grabClient",&obj0)) goto fail;
9729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9730 (arg1)->grabClient();
9731
9732 Py_INCREF(Py_None); resultobj = Py_None;
9733 return resultobj;
9734 fail:
9735 return NULL;
9736 }
9737
9738
9739 static PyObject *_wrap_Frame_releaseClient(PyObject *self, PyObject *args) {
9740 PyObject *resultobj;
9741 ob::Frame *arg1 = (ob::Frame *) 0 ;
9742 PyObject * obj0 = 0 ;
9743
9744 if(!PyArg_ParseTuple(args,(char *)"O:Frame_releaseClient",&obj0)) goto fail;
9745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9746 (arg1)->releaseClient();
9747
9748 Py_INCREF(Py_None); resultobj = Py_None;
9749 return resultobj;
9750 fail:
9751 return NULL;
9752 }
9753
9754
9755 static PyObject *_wrap_Frame_adjustSize(PyObject *self, PyObject *args) {
9756 PyObject *resultobj;
9757 ob::Frame *arg1 = (ob::Frame *) 0 ;
9758 PyObject * obj0 = 0 ;
9759
9760 if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjustSize",&obj0)) goto fail;
9761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9762 (arg1)->adjustSize();
9763
9764 Py_INCREF(Py_None); resultobj = Py_None;
9765 return resultobj;
9766 fail:
9767 return NULL;
9768 }
9769
9770
9771 static PyObject *_wrap_Frame_adjustPosition(PyObject *self, PyObject *args) {
9772 PyObject *resultobj;
9773 ob::Frame *arg1 = (ob::Frame *) 0 ;
9774 PyObject * obj0 = 0 ;
9775
9776 if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjustPosition",&obj0)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9778 (arg1)->adjustPosition();
9779
9780 Py_INCREF(Py_None); resultobj = Py_None;
9781 return resultobj;
9782 fail:
9783 return NULL;
9784 }
9785
9786
9787 static PyObject *_wrap_Frame_adjustShape(PyObject *self, PyObject *args) {
9788 PyObject *resultobj;
9789 ob::Frame *arg1 = (ob::Frame *) 0 ;
9790 PyObject * obj0 = 0 ;
9791
9792 if(!PyArg_ParseTuple(args,(char *)"O:Frame_adjustShape",&obj0)) goto fail;
9793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9794 (arg1)->adjustShape();
9795
9796 Py_INCREF(Py_None); resultobj = Py_None;
9797 return resultobj;
9798 fail:
9799 return NULL;
9800 }
9801
9802
9803 static PyObject *_wrap_Frame_clientGravity(PyObject *self, PyObject *args) {
9804 PyObject *resultobj;
9805 ob::Frame *arg1 = (ob::Frame *) 0 ;
9806 int *arg2 = 0 ;
9807 int *arg3 = 0 ;
9808 PyObject * obj0 = 0 ;
9809 PyObject * obj1 = 0 ;
9810 PyObject * obj2 = 0 ;
9811
9812 if(!PyArg_ParseTuple(args,(char *)"OOO:Frame_clientGravity",&obj0,&obj1,&obj2)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9815 if (arg2 == NULL) {
9816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9817 }
9818 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9819 if (arg3 == NULL) {
9820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9821 }
9822 (arg1)->clientGravity(*arg2,*arg3);
9823
9824 Py_INCREF(Py_None); resultobj = Py_None;
9825 return resultobj;
9826 fail:
9827 return NULL;
9828 }
9829
9830
9831 static PyObject *_wrap_Frame_frameGravity(PyObject *self, PyObject *args) {
9832 PyObject *resultobj;
9833 ob::Frame *arg1 = (ob::Frame *) 0 ;
9834 int *arg2 = 0 ;
9835 int *arg3 = 0 ;
9836 PyObject * obj0 = 0 ;
9837 PyObject * obj1 = 0 ;
9838 PyObject * obj2 = 0 ;
9839
9840 if(!PyArg_ParseTuple(args,(char *)"OOO:Frame_frameGravity",&obj0,&obj1,&obj2)) goto fail;
9841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9843 if (arg2 == NULL) {
9844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9845 }
9846 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9847 if (arg3 == NULL) {
9848 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9849 }
9850 (arg1)->frameGravity(*arg2,*arg3);
9851
9852 Py_INCREF(Py_None); resultobj = Py_None;
9853 return resultobj;
9854 fail:
9855 return NULL;
9856 }
9857
9858
9859 static PyObject *_wrap_Frame_plate(PyObject *self, PyObject *args) {
9860 PyObject *resultobj;
9861 ob::Frame *arg1 = (ob::Frame *) 0 ;
9862 Window result;
9863 PyObject * obj0 = 0 ;
9864
9865 if(!PyArg_ParseTuple(args,(char *)"O:Frame_plate",&obj0)) goto fail;
9866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9867 result = (Window)((ob::Frame const *)arg1)->plate();
9868
9869 resultobj = PyInt_FromLong((long)result);
9870 return resultobj;
9871 fail:
9872 return NULL;
9873 }
9874
9875
9876 static PyObject *_wrap_Frame_titlebar(PyObject *self, PyObject *args) {
9877 PyObject *resultobj;
9878 ob::Frame *arg1 = (ob::Frame *) 0 ;
9879 Window result;
9880 PyObject * obj0 = 0 ;
9881
9882 if(!PyArg_ParseTuple(args,(char *)"O:Frame_titlebar",&obj0)) goto fail;
9883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9884 result = (Window)((ob::Frame const *)arg1)->titlebar();
9885
9886 resultobj = PyInt_FromLong((long)result);
9887 return resultobj;
9888 fail:
9889 return NULL;
9890 }
9891
9892
9893 static PyObject *_wrap_Frame_label(PyObject *self, PyObject *args) {
9894 PyObject *resultobj;
9895 ob::Frame *arg1 = (ob::Frame *) 0 ;
9896 Window result;
9897 PyObject * obj0 = 0 ;
9898
9899 if(!PyArg_ParseTuple(args,(char *)"O:Frame_label",&obj0)) goto fail;
9900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9901 result = (Window)((ob::Frame const *)arg1)->label();
9902
9903 resultobj = PyInt_FromLong((long)result);
9904 return resultobj;
9905 fail:
9906 return NULL;
9907 }
9908
9909
9910 static PyObject *_wrap_Frame_button_close(PyObject *self, PyObject *args) {
9911 PyObject *resultobj;
9912 ob::Frame *arg1 = (ob::Frame *) 0 ;
9913 Window result;
9914 PyObject * obj0 = 0 ;
9915
9916 if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_close",&obj0)) goto fail;
9917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9918 result = (Window)((ob::Frame const *)arg1)->button_close();
9919
9920 resultobj = PyInt_FromLong((long)result);
9921 return resultobj;
9922 fail:
9923 return NULL;
9924 }
9925
9926
9927 static PyObject *_wrap_Frame_button_iconify(PyObject *self, PyObject *args) {
9928 PyObject *resultobj;
9929 ob::Frame *arg1 = (ob::Frame *) 0 ;
9930 Window result;
9931 PyObject * obj0 = 0 ;
9932
9933 if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_iconify",&obj0)) goto fail;
9934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9935 result = (Window)((ob::Frame const *)arg1)->button_iconify();
9936
9937 resultobj = PyInt_FromLong((long)result);
9938 return resultobj;
9939 fail:
9940 return NULL;
9941 }
9942
9943
9944 static PyObject *_wrap_Frame_button_max(PyObject *self, PyObject *args) {
9945 PyObject *resultobj;
9946 ob::Frame *arg1 = (ob::Frame *) 0 ;
9947 Window result;
9948 PyObject * obj0 = 0 ;
9949
9950 if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_max",&obj0)) goto fail;
9951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9952 result = (Window)((ob::Frame const *)arg1)->button_max();
9953
9954 resultobj = PyInt_FromLong((long)result);
9955 return resultobj;
9956 fail:
9957 return NULL;
9958 }
9959
9960
9961 static PyObject *_wrap_Frame_button_stick(PyObject *self, PyObject *args) {
9962 PyObject *resultobj;
9963 ob::Frame *arg1 = (ob::Frame *) 0 ;
9964 Window result;
9965 PyObject * obj0 = 0 ;
9966
9967 if(!PyArg_ParseTuple(args,(char *)"O:Frame_button_stick",&obj0)) goto fail;
9968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9969 result = (Window)((ob::Frame const *)arg1)->button_stick();
9970
9971 resultobj = PyInt_FromLong((long)result);
9972 return resultobj;
9973 fail:
9974 return NULL;
9975 }
9976
9977
9978 static PyObject *_wrap_Frame_handle(PyObject *self, PyObject *args) {
9979 PyObject *resultobj;
9980 ob::Frame *arg1 = (ob::Frame *) 0 ;
9981 Window result;
9982 PyObject * obj0 = 0 ;
9983
9984 if(!PyArg_ParseTuple(args,(char *)"O:Frame_handle",&obj0)) goto fail;
9985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9986 result = (Window)((ob::Frame const *)arg1)->handle();
9987
9988 resultobj = PyInt_FromLong((long)result);
9989 return resultobj;
9990 fail:
9991 return NULL;
9992 }
9993
9994
9995 static PyObject *_wrap_Frame_grip_left(PyObject *self, PyObject *args) {
9996 PyObject *resultobj;
9997 ob::Frame *arg1 = (ob::Frame *) 0 ;
9998 Window result;
9999 PyObject * obj0 = 0 ;
10000
10001 if(!PyArg_ParseTuple(args,(char *)"O:Frame_grip_left",&obj0)) goto fail;
10002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10003 result = (Window)((ob::Frame const *)arg1)->grip_left();
10004
10005 resultobj = PyInt_FromLong((long)result);
10006 return resultobj;
10007 fail:
10008 return NULL;
10009 }
10010
10011
10012 static PyObject *_wrap_Frame_grip_right(PyObject *self, PyObject *args) {
10013 PyObject *resultobj;
10014 ob::Frame *arg1 = (ob::Frame *) 0 ;
10015 Window result;
10016 PyObject * obj0 = 0 ;
10017
10018 if(!PyArg_ParseTuple(args,(char *)"O:Frame_grip_right",&obj0)) goto fail;
10019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10020 result = (Window)((ob::Frame const *)arg1)->grip_right();
10021
10022 resultobj = PyInt_FromLong((long)result);
10023 return resultobj;
10024 fail:
10025 return NULL;
10026 }
10027
10028
10029 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
10030 PyObject *obj;
10031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10032 SWIG_TypeClientData(SWIGTYPE_p_ob__Frame, obj);
10033 Py_INCREF(obj);
10034 return Py_BuildValue((char *)"");
10035 }
10036 static PyObject *_wrap_MouseData_screen_set(PyObject *self, PyObject *args) {
10037 PyObject *resultobj;
10038 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10039 int arg2 ;
10040 PyObject * obj0 = 0 ;
10041
10042 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_screen_set",&obj0,&arg2)) goto fail;
10043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10044 if (arg1) (arg1)->screen = arg2;
10045
10046 Py_INCREF(Py_None); resultobj = Py_None;
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 static PyObject *_wrap_MouseData_screen_get(PyObject *self, PyObject *args) {
10054 PyObject *resultobj;
10055 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10056 int result;
10057 PyObject * obj0 = 0 ;
10058
10059 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_screen_get",&obj0)) goto fail;
10060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10061 result = (int) ((arg1)->screen);
10062
10063 resultobj = PyInt_FromLong((long)result);
10064 return resultobj;
10065 fail:
10066 return NULL;
10067 }
10068
10069
10070 static PyObject *_wrap_MouseData_client_set(PyObject *self, PyObject *args) {
10071 PyObject *resultobj;
10072 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10073 ob::Client *arg2 = (ob::Client *) 0 ;
10074 PyObject * obj0 = 0 ;
10075 PyObject * obj1 = 0 ;
10076
10077 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_client_set",&obj0,&obj1)) goto fail;
10078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
10080 if (arg1) (arg1)->client = arg2;
10081
10082 Py_INCREF(Py_None); resultobj = Py_None;
10083 return resultobj;
10084 fail:
10085 return NULL;
10086 }
10087
10088
10089 static PyObject *_wrap_MouseData_client_get(PyObject *self, PyObject *args) {
10090 PyObject *resultobj;
10091 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10092 ob::Client *result;
10093 PyObject * obj0 = 0 ;
10094
10095 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_client_get",&obj0)) goto fail;
10096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10097 result = (ob::Client *) ((arg1)->client);
10098
10099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
10100 return resultobj;
10101 fail:
10102 return NULL;
10103 }
10104
10105
10106 static PyObject *_wrap_MouseData_time_set(PyObject *self, PyObject *args) {
10107 PyObject *resultobj;
10108 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10109 Time arg2 ;
10110 PyObject * obj0 = 0 ;
10111 PyObject * obj1 = 0 ;
10112
10113 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_time_set",&obj0,&obj1)) goto fail;
10114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10115 arg2 = (Time) PyInt_AsLong(obj1);
10116 if (PyErr_Occurred()) SWIG_fail;
10117 if (arg1) (arg1)->time = arg2;
10118
10119 Py_INCREF(Py_None); resultobj = Py_None;
10120 return resultobj;
10121 fail:
10122 return NULL;
10123 }
10124
10125
10126 static PyObject *_wrap_MouseData_time_get(PyObject *self, PyObject *args) {
10127 PyObject *resultobj;
10128 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10129 Time result;
10130 PyObject * obj0 = 0 ;
10131
10132 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_time_get",&obj0)) goto fail;
10133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10134 result = (Time) ((arg1)->time);
10135
10136 resultobj = PyInt_FromLong((long)result);
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_MouseData_state_set(PyObject *self, PyObject *args) {
10144 PyObject *resultobj;
10145 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10146 unsigned int arg2 ;
10147 PyObject * obj0 = 0 ;
10148 PyObject * obj1 = 0 ;
10149
10150 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_state_set",&obj0,&obj1)) goto fail;
10151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10152 arg2 = (unsigned int) PyInt_AsLong(obj1);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 if (arg1) (arg1)->state = arg2;
10155
10156 Py_INCREF(Py_None); resultobj = Py_None;
10157 return resultobj;
10158 fail:
10159 return NULL;
10160 }
10161
10162
10163 static PyObject *_wrap_MouseData_state_get(PyObject *self, PyObject *args) {
10164 PyObject *resultobj;
10165 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10166 unsigned int result;
10167 PyObject * obj0 = 0 ;
10168
10169 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_state_get",&obj0)) goto fail;
10170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10171 result = (unsigned int) ((arg1)->state);
10172
10173 resultobj = PyInt_FromLong((long)result);
10174 return resultobj;
10175 fail:
10176 return NULL;
10177 }
10178
10179
10180 static PyObject *_wrap_MouseData_button_set(PyObject *self, PyObject *args) {
10181 PyObject *resultobj;
10182 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10183 unsigned int arg2 ;
10184 PyObject * obj0 = 0 ;
10185 PyObject * obj1 = 0 ;
10186
10187 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_button_set",&obj0,&obj1)) goto fail;
10188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10189 arg2 = (unsigned int) PyInt_AsLong(obj1);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 if (arg1) (arg1)->button = arg2;
10192
10193 Py_INCREF(Py_None); resultobj = Py_None;
10194 return resultobj;
10195 fail:
10196 return NULL;
10197 }
10198
10199
10200 static PyObject *_wrap_MouseData_button_get(PyObject *self, PyObject *args) {
10201 PyObject *resultobj;
10202 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10203 unsigned int result;
10204 PyObject * obj0 = 0 ;
10205
10206 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_button_get",&obj0)) goto fail;
10207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10208 result = (unsigned int) ((arg1)->button);
10209
10210 resultobj = PyInt_FromLong((long)result);
10211 return resultobj;
10212 fail:
10213 return NULL;
10214 }
10215
10216
10217 static PyObject *_wrap_MouseData_context_set(PyObject *self, PyObject *args) {
10218 PyObject *resultobj;
10219 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10220 int arg2 ;
10221 PyObject * obj0 = 0 ;
10222
10223 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_context_set",&obj0,&arg2)) goto fail;
10224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10225 if (arg1) (arg1)->context = (ob::MouseContext )arg2;
10226
10227 Py_INCREF(Py_None); resultobj = Py_None;
10228 return resultobj;
10229 fail:
10230 return NULL;
10231 }
10232
10233
10234 static PyObject *_wrap_MouseData_context_get(PyObject *self, PyObject *args) {
10235 PyObject *resultobj;
10236 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10237 int result;
10238 PyObject * obj0 = 0 ;
10239
10240 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_context_get",&obj0)) goto fail;
10241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10242 result = (int) ((arg1)->context);
10243
10244 resultobj = PyInt_FromLong((long)result);
10245 return resultobj;
10246 fail:
10247 return NULL;
10248 }
10249
10250
10251 static PyObject *_wrap_MouseData_action_set(PyObject *self, PyObject *args) {
10252 PyObject *resultobj;
10253 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10254 int arg2 ;
10255 PyObject * obj0 = 0 ;
10256
10257 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_action_set",&obj0,&arg2)) goto fail;
10258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10259 if (arg1) (arg1)->action = (ob::MouseAction )arg2;
10260
10261 Py_INCREF(Py_None); resultobj = Py_None;
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 static PyObject *_wrap_MouseData_action_get(PyObject *self, PyObject *args) {
10269 PyObject *resultobj;
10270 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10271 int result;
10272 PyObject * obj0 = 0 ;
10273
10274 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_action_get",&obj0)) goto fail;
10275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10276 result = (int) ((arg1)->action);
10277
10278 resultobj = PyInt_FromLong((long)result);
10279 return resultobj;
10280 fail:
10281 return NULL;
10282 }
10283
10284
10285 static PyObject *_wrap_MouseData_xroot_set(PyObject *self, PyObject *args) {
10286 PyObject *resultobj;
10287 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10288 int arg2 ;
10289 PyObject * obj0 = 0 ;
10290
10291 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_xroot_set",&obj0,&arg2)) goto fail;
10292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10293 if (arg1) (arg1)->xroot = arg2;
10294
10295 Py_INCREF(Py_None); resultobj = Py_None;
10296 return resultobj;
10297 fail:
10298 return NULL;
10299 }
10300
10301
10302 static PyObject *_wrap_MouseData_xroot_get(PyObject *self, PyObject *args) {
10303 PyObject *resultobj;
10304 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10305 int result;
10306 PyObject * obj0 = 0 ;
10307
10308 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_xroot_get",&obj0)) goto fail;
10309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10310 result = (int) ((arg1)->xroot);
10311
10312 resultobj = PyInt_FromLong((long)result);
10313 return resultobj;
10314 fail:
10315 return NULL;
10316 }
10317
10318
10319 static PyObject *_wrap_MouseData_yroot_set(PyObject *self, PyObject *args) {
10320 PyObject *resultobj;
10321 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10322 int arg2 ;
10323 PyObject * obj0 = 0 ;
10324
10325 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_yroot_set",&obj0,&arg2)) goto fail;
10326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10327 if (arg1) (arg1)->yroot = arg2;
10328
10329 Py_INCREF(Py_None); resultobj = Py_None;
10330 return resultobj;
10331 fail:
10332 return NULL;
10333 }
10334
10335
10336 static PyObject *_wrap_MouseData_yroot_get(PyObject *self, PyObject *args) {
10337 PyObject *resultobj;
10338 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10339 int result;
10340 PyObject * obj0 = 0 ;
10341
10342 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_yroot_get",&obj0)) goto fail;
10343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10344 result = (int) ((arg1)->yroot);
10345
10346 resultobj = PyInt_FromLong((long)result);
10347 return resultobj;
10348 fail:
10349 return NULL;
10350 }
10351
10352
10353 static PyObject *_wrap_MouseData_pressx_set(PyObject *self, PyObject *args) {
10354 PyObject *resultobj;
10355 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10356 int arg2 ;
10357 PyObject * obj0 = 0 ;
10358
10359 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressx_set",&obj0,&arg2)) goto fail;
10360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10361 if (arg1) (arg1)->pressx = arg2;
10362
10363 Py_INCREF(Py_None); resultobj = Py_None;
10364 return resultobj;
10365 fail:
10366 return NULL;
10367 }
10368
10369
10370 static PyObject *_wrap_MouseData_pressx_get(PyObject *self, PyObject *args) {
10371 PyObject *resultobj;
10372 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10373 int result;
10374 PyObject * obj0 = 0 ;
10375
10376 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressx_get",&obj0)) goto fail;
10377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10378 result = (int) ((arg1)->pressx);
10379
10380 resultobj = PyInt_FromLong((long)result);
10381 return resultobj;
10382 fail:
10383 return NULL;
10384 }
10385
10386
10387 static PyObject *_wrap_MouseData_pressy_set(PyObject *self, PyObject *args) {
10388 PyObject *resultobj;
10389 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10390 int arg2 ;
10391 PyObject * obj0 = 0 ;
10392
10393 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressy_set",&obj0,&arg2)) goto fail;
10394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10395 if (arg1) (arg1)->pressy = arg2;
10396
10397 Py_INCREF(Py_None); resultobj = Py_None;
10398 return resultobj;
10399 fail:
10400 return NULL;
10401 }
10402
10403
10404 static PyObject *_wrap_MouseData_pressy_get(PyObject *self, PyObject *args) {
10405 PyObject *resultobj;
10406 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10407 int result;
10408 PyObject * obj0 = 0 ;
10409
10410 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressy_get",&obj0)) goto fail;
10411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10412 result = (int) ((arg1)->pressy);
10413
10414 resultobj = PyInt_FromLong((long)result);
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 static PyObject *_wrap_MouseData_press_clientx_set(PyObject *self, PyObject *args) {
10422 PyObject *resultobj;
10423 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10424 int arg2 ;
10425 PyObject * obj0 = 0 ;
10426
10427 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientx_set",&obj0,&arg2)) goto fail;
10428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10429 if (arg1) (arg1)->press_clientx = arg2;
10430
10431 Py_INCREF(Py_None); resultobj = Py_None;
10432 return resultobj;
10433 fail:
10434 return NULL;
10435 }
10436
10437
10438 static PyObject *_wrap_MouseData_press_clientx_get(PyObject *self, PyObject *args) {
10439 PyObject *resultobj;
10440 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10441 int result;
10442 PyObject * obj0 = 0 ;
10443
10444 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientx_get",&obj0)) goto fail;
10445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10446 result = (int) ((arg1)->press_clientx);
10447
10448 resultobj = PyInt_FromLong((long)result);
10449 return resultobj;
10450 fail:
10451 return NULL;
10452 }
10453
10454
10455 static PyObject *_wrap_MouseData_press_clienty_set(PyObject *self, PyObject *args) {
10456 PyObject *resultobj;
10457 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10458 int arg2 ;
10459 PyObject * obj0 = 0 ;
10460
10461 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clienty_set",&obj0,&arg2)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10463 if (arg1) (arg1)->press_clienty = arg2;
10464
10465 Py_INCREF(Py_None); resultobj = Py_None;
10466 return resultobj;
10467 fail:
10468 return NULL;
10469 }
10470
10471
10472 static PyObject *_wrap_MouseData_press_clienty_get(PyObject *self, PyObject *args) {
10473 PyObject *resultobj;
10474 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10475 int result;
10476 PyObject * obj0 = 0 ;
10477
10478 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clienty_get",&obj0)) goto fail;
10479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10480 result = (int) ((arg1)->press_clienty);
10481
10482 resultobj = PyInt_FromLong((long)result);
10483 return resultobj;
10484 fail:
10485 return NULL;
10486 }
10487
10488
10489 static PyObject *_wrap_MouseData_press_clientwidth_set(PyObject *self, PyObject *args) {
10490 PyObject *resultobj;
10491 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10492 int arg2 ;
10493 PyObject * obj0 = 0 ;
10494
10495 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientwidth_set",&obj0,&arg2)) goto fail;
10496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10497 if (arg1) (arg1)->press_clientwidth = arg2;
10498
10499 Py_INCREF(Py_None); resultobj = Py_None;
10500 return resultobj;
10501 fail:
10502 return NULL;
10503 }
10504
10505
10506 static PyObject *_wrap_MouseData_press_clientwidth_get(PyObject *self, PyObject *args) {
10507 PyObject *resultobj;
10508 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10509 int result;
10510 PyObject * obj0 = 0 ;
10511
10512 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientwidth_get",&obj0)) goto fail;
10513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10514 result = (int) ((arg1)->press_clientwidth);
10515
10516 resultobj = PyInt_FromLong((long)result);
10517 return resultobj;
10518 fail:
10519 return NULL;
10520 }
10521
10522
10523 static PyObject *_wrap_MouseData_press_clientheight_set(PyObject *self, PyObject *args) {
10524 PyObject *resultobj;
10525 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10526 int arg2 ;
10527 PyObject * obj0 = 0 ;
10528
10529 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientheight_set",&obj0,&arg2)) goto fail;
10530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10531 if (arg1) (arg1)->press_clientheight = arg2;
10532
10533 Py_INCREF(Py_None); resultobj = Py_None;
10534 return resultobj;
10535 fail:
10536 return NULL;
10537 }
10538
10539
10540 static PyObject *_wrap_MouseData_press_clientheight_get(PyObject *self, PyObject *args) {
10541 PyObject *resultobj;
10542 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
10543 int result;
10544 PyObject * obj0 = 0 ;
10545
10546 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientheight_get",&obj0)) goto fail;
10547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10548 result = (int) ((arg1)->press_clientheight);
10549
10550 resultobj = PyInt_FromLong((long)result);
10551 return resultobj;
10552 fail:
10553 return NULL;
10554 }
10555
10556
10557 static PyObject *_wrap_new_MouseData__SWIG_0(PyObject *self, PyObject *args) {
10558 PyObject *resultobj;
10559 int arg1 ;
10560 ob::Client *arg2 = (ob::Client *) 0 ;
10561 Time arg3 ;
10562 unsigned int arg4 ;
10563 unsigned int arg5 ;
10564 int arg6 ;
10565 int arg7 ;
10566 int arg8 ;
10567 int arg9 ;
10568 otk::Point *arg10 = 0 ;
10569 otk::Rect *arg11 = 0 ;
10570 ob::MouseData *result;
10571 PyObject * obj1 = 0 ;
10572 PyObject * obj2 = 0 ;
10573 PyObject * obj3 = 0 ;
10574 PyObject * obj4 = 0 ;
10575 PyObject * obj9 = 0 ;
10576 PyObject * obj10 = 0 ;
10577
10578 if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
10579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10580 arg3 = (Time) PyInt_AsLong(obj2);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 arg4 = (unsigned int) PyInt_AsLong(obj3);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 arg5 = (unsigned int) PyInt_AsLong(obj4);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10587 if (arg10 == NULL) {
10588 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10589 }
10590 if ((SWIG_ConvertPtr(obj10,(void **) &arg11, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10591 if (arg11 == NULL) {
10592 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10593 }
10594 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);
10595
10596 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
10597 return resultobj;
10598 fail:
10599 return NULL;
10600 }
10601
10602
10603 static PyObject *_wrap_new_MouseData__SWIG_1(PyObject *self, PyObject *args) {
10604 PyObject *resultobj;
10605 int arg1 ;
10606 ob::Client *arg2 = (ob::Client *) 0 ;
10607 Time arg3 ;
10608 unsigned int arg4 ;
10609 unsigned int arg5 ;
10610 int arg6 ;
10611 int arg7 ;
10612 ob::MouseData *result;
10613 PyObject * obj1 = 0 ;
10614 PyObject * obj2 = 0 ;
10615 PyObject * obj3 = 0 ;
10616 PyObject * obj4 = 0 ;
10617
10618 if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
10619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10620 arg3 = (Time) PyInt_AsLong(obj2);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 arg4 = (unsigned int) PyInt_AsLong(obj3);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 arg5 = (unsigned int) PyInt_AsLong(obj4);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
10627
10628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
10629 return resultobj;
10630 fail:
10631 return NULL;
10632 }
10633
10634
10635 static PyObject *_wrap_new_MouseData(PyObject *self, PyObject *args) {
10636 int argc;
10637 PyObject *argv[12];
10638 int ii;
10639
10640 argc = PyObject_Length(args);
10641 for (ii = 0; (ii < argc) && (ii < 11); ii++) {
10642 argv[ii] = PyTuple_GetItem(args,ii);
10643 }
10644 if (argc == 7) {
10645 int _v;
10646 {
10647 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
10648 }
10649 if (_v) {
10650 {
10651 void *ptr;
10652 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
10653 _v = 0;
10654 PyErr_Clear();
10655 }else {
10656 _v = 1;
10657 }
10658 }
10659 if (_v) {
10660 {
10661 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
10662 }
10663 if (_v) {
10664 {
10665 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
10666 }
10667 if (_v) {
10668 {
10669 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
10670 }
10671 if (_v) {
10672 {
10673 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
10674 }
10675 if (_v) {
10676 {
10677 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
10678 }
10679 if (_v) {
10680 return _wrap_new_MouseData__SWIG_1(self,args);
10681 }
10682 }
10683 }
10684 }
10685 }
10686 }
10687 }
10688 }
10689 if (argc == 11) {
10690 int _v;
10691 {
10692 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
10693 }
10694 if (_v) {
10695 {
10696 void *ptr;
10697 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
10698 _v = 0;
10699 PyErr_Clear();
10700 }else {
10701 _v = 1;
10702 }
10703 }
10704 if (_v) {
10705 {
10706 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
10707 }
10708 if (_v) {
10709 {
10710 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
10711 }
10712 if (_v) {
10713 {
10714 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
10715 }
10716 if (_v) {
10717 {
10718 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
10719 }
10720 if (_v) {
10721 {
10722 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
10723 }
10724 if (_v) {
10725 {
10726 _v = (PyInt_Check(argv[7]) || PyLong_Check(argv[7])) ? 1 : 0;
10727 }
10728 if (_v) {
10729 {
10730 _v = (PyInt_Check(argv[8]) || PyLong_Check(argv[8])) ? 1 : 0;
10731 }
10732 if (_v) {
10733 {
10734 void *ptr;
10735 if (SWIG_ConvertPtr(argv[9], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
10736 _v = 0;
10737 PyErr_Clear();
10738 }else {
10739 _v = 1;
10740 }
10741 }
10742 if (_v) {
10743 {
10744 void *ptr;
10745 if (SWIG_ConvertPtr(argv[10], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
10746 _v = 0;
10747 PyErr_Clear();
10748 }else {
10749 _v = 1;
10750 }
10751 }
10752 if (_v) {
10753 return _wrap_new_MouseData__SWIG_0(self,args);
10754 }
10755 }
10756 }
10757 }
10758 }
10759 }
10760 }
10761 }
10762 }
10763 }
10764 }
10765 }
10766
10767 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_MouseData'");
10768 return NULL;
10769 }
10770
10771
10772 static PyObject * MouseData_swigregister(PyObject *self, PyObject *args) {
10773 PyObject *obj;
10774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10775 SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData, obj);
10776 Py_INCREF(obj);
10777 return Py_BuildValue((char *)"");
10778 }
10779 static PyObject *_wrap_EventData_screen_set(PyObject *self, PyObject *args) {
10780 PyObject *resultobj;
10781 ob::EventData *arg1 = (ob::EventData *) 0 ;
10782 int arg2 ;
10783 PyObject * obj0 = 0 ;
10784
10785 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_screen_set",&obj0,&arg2)) goto fail;
10786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10787 if (arg1) (arg1)->screen = arg2;
10788
10789 Py_INCREF(Py_None); resultobj = Py_None;
10790 return resultobj;
10791 fail:
10792 return NULL;
10793 }
10794
10795
10796 static PyObject *_wrap_EventData_screen_get(PyObject *self, PyObject *args) {
10797 PyObject *resultobj;
10798 ob::EventData *arg1 = (ob::EventData *) 0 ;
10799 int result;
10800 PyObject * obj0 = 0 ;
10801
10802 if(!PyArg_ParseTuple(args,(char *)"O:EventData_screen_get",&obj0)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10804 result = (int) ((arg1)->screen);
10805
10806 resultobj = PyInt_FromLong((long)result);
10807 return resultobj;
10808 fail:
10809 return NULL;
10810 }
10811
10812
10813 static PyObject *_wrap_EventData_client_set(PyObject *self, PyObject *args) {
10814 PyObject *resultobj;
10815 ob::EventData *arg1 = (ob::EventData *) 0 ;
10816 ob::Client *arg2 = (ob::Client *) 0 ;
10817 PyObject * obj0 = 0 ;
10818 PyObject * obj1 = 0 ;
10819
10820 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_client_set",&obj0,&obj1)) goto fail;
10821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10822 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
10823 if (arg1) (arg1)->client = arg2;
10824
10825 Py_INCREF(Py_None); resultobj = Py_None;
10826 return resultobj;
10827 fail:
10828 return NULL;
10829 }
10830
10831
10832 static PyObject *_wrap_EventData_client_get(PyObject *self, PyObject *args) {
10833 PyObject *resultobj;
10834 ob::EventData *arg1 = (ob::EventData *) 0 ;
10835 ob::Client *result;
10836 PyObject * obj0 = 0 ;
10837
10838 if(!PyArg_ParseTuple(args,(char *)"O:EventData_client_get",&obj0)) goto fail;
10839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10840 result = (ob::Client *) ((arg1)->client);
10841
10842 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
10843 return resultobj;
10844 fail:
10845 return NULL;
10846 }
10847
10848
10849 static PyObject *_wrap_EventData_state_set(PyObject *self, PyObject *args) {
10850 PyObject *resultobj;
10851 ob::EventData *arg1 = (ob::EventData *) 0 ;
10852 unsigned int arg2 ;
10853 PyObject * obj0 = 0 ;
10854 PyObject * obj1 = 0 ;
10855
10856 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_state_set",&obj0,&obj1)) goto fail;
10857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10858 arg2 = (unsigned int) PyInt_AsLong(obj1);
10859 if (PyErr_Occurred()) SWIG_fail;
10860 if (arg1) (arg1)->state = arg2;
10861
10862 Py_INCREF(Py_None); resultobj = Py_None;
10863 return resultobj;
10864 fail:
10865 return NULL;
10866 }
10867
10868
10869 static PyObject *_wrap_EventData_state_get(PyObject *self, PyObject *args) {
10870 PyObject *resultobj;
10871 ob::EventData *arg1 = (ob::EventData *) 0 ;
10872 unsigned int result;
10873 PyObject * obj0 = 0 ;
10874
10875 if(!PyArg_ParseTuple(args,(char *)"O:EventData_state_get",&obj0)) goto fail;
10876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10877 result = (unsigned int) ((arg1)->state);
10878
10879 resultobj = PyInt_FromLong((long)result);
10880 return resultobj;
10881 fail:
10882 return NULL;
10883 }
10884
10885
10886 static PyObject *_wrap_EventData_action_set(PyObject *self, PyObject *args) {
10887 PyObject *resultobj;
10888 ob::EventData *arg1 = (ob::EventData *) 0 ;
10889 int arg2 ;
10890 PyObject * obj0 = 0 ;
10891
10892 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_action_set",&obj0,&arg2)) goto fail;
10893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10894 if (arg1) (arg1)->action = (ob::EventAction )arg2;
10895
10896 Py_INCREF(Py_None); resultobj = Py_None;
10897 return resultobj;
10898 fail:
10899 return NULL;
10900 }
10901
10902
10903 static PyObject *_wrap_EventData_action_get(PyObject *self, PyObject *args) {
10904 PyObject *resultobj;
10905 ob::EventData *arg1 = (ob::EventData *) 0 ;
10906 int result;
10907 PyObject * obj0 = 0 ;
10908
10909 if(!PyArg_ParseTuple(args,(char *)"O:EventData_action_get",&obj0)) goto fail;
10910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10911 result = (int) ((arg1)->action);
10912
10913 resultobj = PyInt_FromLong((long)result);
10914 return resultobj;
10915 fail:
10916 return NULL;
10917 }
10918
10919
10920 static PyObject *_wrap_new_EventData(PyObject *self, PyObject *args) {
10921 PyObject *resultobj;
10922 int arg1 ;
10923 ob::Client *arg2 = (ob::Client *) 0 ;
10924 int arg3 ;
10925 unsigned int arg4 ;
10926 ob::EventData *result;
10927 PyObject * obj1 = 0 ;
10928 PyObject * obj3 = 0 ;
10929
10930 if(!PyArg_ParseTuple(args,(char *)"iOiO:new_EventData",&arg1,&obj1,&arg3,&obj3)) goto fail;
10931 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10932 arg4 = (unsigned int) PyInt_AsLong(obj3);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 result = (ob::EventData *)new ob::EventData(arg1,arg2,(ob::EventAction )arg3,arg4);
10935
10936 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__EventData, 1);
10937 return resultobj;
10938 fail:
10939 return NULL;
10940 }
10941
10942
10943 static PyObject * EventData_swigregister(PyObject *self, PyObject *args) {
10944 PyObject *obj;
10945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10946 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData, obj);
10947 Py_INCREF(obj);
10948 return Py_BuildValue((char *)"");
10949 }
10950 static PyObject *_wrap_KeyData_screen_set(PyObject *self, PyObject *args) {
10951 PyObject *resultobj;
10952 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10953 int arg2 ;
10954 PyObject * obj0 = 0 ;
10955
10956 if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_screen_set",&obj0,&arg2)) goto fail;
10957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10958 if (arg1) (arg1)->screen = arg2;
10959
10960 Py_INCREF(Py_None); resultobj = Py_None;
10961 return resultobj;
10962 fail:
10963 return NULL;
10964 }
10965
10966
10967 static PyObject *_wrap_KeyData_screen_get(PyObject *self, PyObject *args) {
10968 PyObject *resultobj;
10969 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10970 int result;
10971 PyObject * obj0 = 0 ;
10972
10973 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_screen_get",&obj0)) goto fail;
10974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10975 result = (int) ((arg1)->screen);
10976
10977 resultobj = PyInt_FromLong((long)result);
10978 return resultobj;
10979 fail:
10980 return NULL;
10981 }
10982
10983
10984 static PyObject *_wrap_KeyData_client_set(PyObject *self, PyObject *args) {
10985 PyObject *resultobj;
10986 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10987 ob::Client *arg2 = (ob::Client *) 0 ;
10988 PyObject * obj0 = 0 ;
10989 PyObject * obj1 = 0 ;
10990
10991 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_client_set",&obj0,&obj1)) goto fail;
10992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10993 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
10994 if (arg1) (arg1)->client = arg2;
10995
10996 Py_INCREF(Py_None); resultobj = Py_None;
10997 return resultobj;
10998 fail:
10999 return NULL;
11000 }
11001
11002
11003 static PyObject *_wrap_KeyData_client_get(PyObject *self, PyObject *args) {
11004 PyObject *resultobj;
11005 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11006 ob::Client *result;
11007 PyObject * obj0 = 0 ;
11008
11009 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_client_get",&obj0)) goto fail;
11010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11011 result = (ob::Client *) ((arg1)->client);
11012
11013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
11014 return resultobj;
11015 fail:
11016 return NULL;
11017 }
11018
11019
11020 static PyObject *_wrap_KeyData_time_set(PyObject *self, PyObject *args) {
11021 PyObject *resultobj;
11022 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11023 Time arg2 ;
11024 PyObject * obj0 = 0 ;
11025 PyObject * obj1 = 0 ;
11026
11027 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_time_set",&obj0,&obj1)) goto fail;
11028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11029 arg2 = (Time) PyInt_AsLong(obj1);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 if (arg1) (arg1)->time = arg2;
11032
11033 Py_INCREF(Py_None); resultobj = Py_None;
11034 return resultobj;
11035 fail:
11036 return NULL;
11037 }
11038
11039
11040 static PyObject *_wrap_KeyData_time_get(PyObject *self, PyObject *args) {
11041 PyObject *resultobj;
11042 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11043 Time result;
11044 PyObject * obj0 = 0 ;
11045
11046 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_time_get",&obj0)) goto fail;
11047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11048 result = (Time) ((arg1)->time);
11049
11050 resultobj = PyInt_FromLong((long)result);
11051 return resultobj;
11052 fail:
11053 return NULL;
11054 }
11055
11056
11057 static PyObject *_wrap_KeyData_state_set(PyObject *self, PyObject *args) {
11058 PyObject *resultobj;
11059 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11060 unsigned int arg2 ;
11061 PyObject * obj0 = 0 ;
11062 PyObject * obj1 = 0 ;
11063
11064 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_state_set",&obj0,&obj1)) goto fail;
11065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11066 arg2 = (unsigned int) PyInt_AsLong(obj1);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 if (arg1) (arg1)->state = arg2;
11069
11070 Py_INCREF(Py_None); resultobj = Py_None;
11071 return resultobj;
11072 fail:
11073 return NULL;
11074 }
11075
11076
11077 static PyObject *_wrap_KeyData_state_get(PyObject *self, PyObject *args) {
11078 PyObject *resultobj;
11079 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11080 unsigned int result;
11081 PyObject * obj0 = 0 ;
11082
11083 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_state_get",&obj0)) goto fail;
11084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11085 result = (unsigned int) ((arg1)->state);
11086
11087 resultobj = PyInt_FromLong((long)result);
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_KeyData_key_set(PyObject *self, PyObject *args) {
11095 PyObject *resultobj;
11096 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11097 std::string *arg2 = (std::string *) 0 ;
11098 PyObject * obj0 = 0 ;
11099 PyObject * obj1 = 0 ;
11100
11101 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_key_set",&obj0,&obj1)) goto fail;
11102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11104 if (arg1) (arg1)->key = *arg2;
11105
11106 Py_INCREF(Py_None); resultobj = Py_None;
11107 return resultobj;
11108 fail:
11109 return NULL;
11110 }
11111
11112
11113 static PyObject *_wrap_KeyData_key_get(PyObject *self, PyObject *args) {
11114 PyObject *resultobj;
11115 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
11116 std::string *result;
11117 PyObject * obj0 = 0 ;
11118
11119 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_key_get",&obj0)) goto fail;
11120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11121 result = (std::string *)& ((arg1)->key);
11122
11123 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__string, 0);
11124 return resultobj;
11125 fail:
11126 return NULL;
11127 }
11128
11129
11130 static PyObject *_wrap_new_KeyData(PyObject *self, PyObject *args) {
11131 PyObject *resultobj;
11132 int arg1 ;
11133 ob::Client *arg2 = (ob::Client *) 0 ;
11134 Time arg3 ;
11135 unsigned int arg4 ;
11136 unsigned int arg5 ;
11137 ob::KeyData *result;
11138 PyObject * obj1 = 0 ;
11139 PyObject * obj2 = 0 ;
11140 PyObject * obj3 = 0 ;
11141 PyObject * obj4 = 0 ;
11142
11143 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_KeyData",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
11144 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11145 arg3 = (Time) PyInt_AsLong(obj2);
11146 if (PyErr_Occurred()) SWIG_fail;
11147 arg4 = (unsigned int) PyInt_AsLong(obj3);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 arg5 = (unsigned int) PyInt_AsLong(obj4);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 result = (ob::KeyData *)new ob::KeyData(arg1,arg2,arg3,arg4,arg5);
11152
11153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__KeyData, 1);
11154 return resultobj;
11155 fail:
11156 return NULL;
11157 }
11158
11159
11160 static PyObject * KeyData_swigregister(PyObject *self, PyObject *args) {
11161 PyObject *obj;
11162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11163 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData, obj);
11164 Py_INCREF(obj);
11165 return Py_BuildValue((char *)"");
11166 }
11167 static PyObject *_wrap_mbind(PyObject *self, PyObject *args) {
11168 PyObject *resultobj;
11169 std::string *arg1 = 0 ;
11170 int arg2 ;
11171 int arg3 ;
11172 PyObject *arg4 = (PyObject *) 0 ;
11173 PyObject *result;
11174 std::string temp1 ;
11175 PyObject * obj0 = 0 ;
11176 PyObject * obj3 = 0 ;
11177
11178 if(!PyArg_ParseTuple(args,(char *)"OiiO:mbind",&obj0,&arg2,&arg3,&obj3)) goto fail;
11179 {
11180 if (PyString_Check(obj0)) {
11181 temp1 = std::string(PyString_AsString(obj0));
11182 arg1 = &temp1;
11183 }else {
11184 SWIG_exception(SWIG_TypeError, "string expected");
11185 }
11186 }
11187 arg4 = obj3;
11188 result = (PyObject *)ob::mbind((std::string const &)*arg1,(ob::MouseContext )arg2,(ob::MouseAction )arg3,arg4);
11189
11190 resultobj = result;
11191 return resultobj;
11192 fail:
11193 return NULL;
11194 }
11195
11196
11197 static PyObject *_wrap_kbind(PyObject *self, PyObject *args) {
11198 PyObject *resultobj;
11199 PyObject *arg1 = (PyObject *) 0 ;
11200 int arg2 ;
11201 PyObject *arg3 = (PyObject *) 0 ;
11202 PyObject *result;
11203 PyObject * obj0 = 0 ;
11204 PyObject * obj2 = 0 ;
11205
11206 if(!PyArg_ParseTuple(args,(char *)"OiO:kbind",&obj0,&arg2,&obj2)) goto fail;
11207 arg1 = obj0;
11208 arg3 = obj2;
11209 result = (PyObject *)ob::kbind(arg1,(ob::KeyContext )arg2,arg3);
11210
11211 resultobj = result;
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 static PyObject *_wrap_ebind(PyObject *self, PyObject *args) {
11219 PyObject *resultobj;
11220 int arg1 ;
11221 PyObject *arg2 = (PyObject *) 0 ;
11222 PyObject *result;
11223 PyObject * obj1 = 0 ;
11224
11225 if(!PyArg_ParseTuple(args,(char *)"iO:ebind",&arg1,&obj1)) goto fail;
11226 arg2 = obj1;
11227 result = (PyObject *)ob::ebind((ob::EventAction )arg1,arg2);
11228
11229 resultobj = result;
11230 return resultobj;
11231 fail:
11232 return NULL;
11233 }
11234
11235
11236 static PyObject *_wrap_set_reset_key(PyObject *self, PyObject *args) {
11237 PyObject *resultobj;
11238 std::string *arg1 = 0 ;
11239 std::string temp1 ;
11240 PyObject * obj0 = 0 ;
11241
11242 if(!PyArg_ParseTuple(args,(char *)"O:set_reset_key",&obj0)) goto fail;
11243 {
11244 if (PyString_Check(obj0)) {
11245 temp1 = std::string(PyString_AsString(obj0));
11246 arg1 = &temp1;
11247 }else {
11248 SWIG_exception(SWIG_TypeError, "string expected");
11249 }
11250 }
11251 ob::set_reset_key((std::string const &)*arg1);
11252
11253 Py_INCREF(Py_None); resultobj = Py_None;
11254 return resultobj;
11255 fail:
11256 return NULL;
11257 }
11258
11259
11260 static PyObject *_wrap_send_client_msg(PyObject *self, PyObject *args) {
11261 PyObject *resultobj;
11262 Window arg1 ;
11263 Atom arg2 ;
11264 Window arg3 ;
11265 long arg4 ;
11266 long arg5 = (long) 0 ;
11267 long arg6 = (long) 0 ;
11268 long arg7 = (long) 0 ;
11269 long arg8 = (long) 0 ;
11270 PyObject *result;
11271 PyObject * obj0 = 0 ;
11272 PyObject * obj1 = 0 ;
11273 PyObject * obj2 = 0 ;
11274
11275 if(!PyArg_ParseTuple(args,(char *)"OOOl|llll:send_client_msg",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
11276 arg1 = (Window) PyInt_AsLong(obj0);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 arg2 = (Atom) PyInt_AsLong(obj1);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 arg3 = (Window) PyInt_AsLong(obj2);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 result = (PyObject *)ob::send_client_msg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
11283
11284 resultobj = result;
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 static PyMethodDef SwigMethods[] = {
11292 { (char *)"Openbox_instance", _wrap_Openbox_instance, METH_VARARGS },
11293 { (char *)"Display_instance", _wrap_Display_instance, METH_VARARGS },
11294 { (char *)"Property_atoms", _wrap_Property_atoms, METH_VARARGS },
11295 { (char *)"new_Display", _wrap_new_Display, METH_VARARGS },
11296 { (char *)"delete_Display", _wrap_delete_Display, METH_VARARGS },
11297 { (char *)"Display_gcCache", _wrap_Display_gcCache, METH_VARARGS },
11298 { (char *)"Display_screenInfo", _wrap_Display_screenInfo, METH_VARARGS },
11299 { (char *)"Display_findScreen", _wrap_Display_findScreen, METH_VARARGS },
11300 { (char *)"Display_xkb", _wrap_Display_xkb, METH_VARARGS },
11301 { (char *)"Display_xkbEventBase", _wrap_Display_xkbEventBase, METH_VARARGS },
11302 { (char *)"Display_shape", _wrap_Display_shape, METH_VARARGS },
11303 { (char *)"Display_shapeEventBase", _wrap_Display_shapeEventBase, METH_VARARGS },
11304 { (char *)"Display_xinerama", _wrap_Display_xinerama, METH_VARARGS },
11305 { (char *)"Display_numLockMask", _wrap_Display_numLockMask, METH_VARARGS },
11306 { (char *)"Display_scrollLockMask", _wrap_Display_scrollLockMask, METH_VARARGS },
11307 { (char *)"Display___mul__", _wrap_Display___mul__, METH_VARARGS },
11308 { (char *)"Display_grab", _wrap_Display_grab, METH_VARARGS },
11309 { (char *)"Display_ungrab", _wrap_Display_ungrab, METH_VARARGS },
11310 { (char *)"Display_grabButton", _wrap_Display_grabButton, METH_VARARGS },
11311 { (char *)"Display_ungrabButton", _wrap_Display_ungrabButton, METH_VARARGS },
11312 { (char *)"Display_grabKey", _wrap_Display_grabKey, METH_VARARGS },
11313 { (char *)"Display_ungrabKey", _wrap_Display_ungrabKey, METH_VARARGS },
11314 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
11315 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
11316 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
11317 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
11318 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
11319 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
11320 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
11321 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
11322 { (char *)"Atoms_cardinal_set", _wrap_Atoms_cardinal_set, METH_VARARGS },
11323 { (char *)"Atoms_cardinal_get", _wrap_Atoms_cardinal_get, METH_VARARGS },
11324 { (char *)"Atoms_window_set", _wrap_Atoms_window_set, METH_VARARGS },
11325 { (char *)"Atoms_window_get", _wrap_Atoms_window_get, METH_VARARGS },
11326 { (char *)"Atoms_pixmap_set", _wrap_Atoms_pixmap_set, METH_VARARGS },
11327 { (char *)"Atoms_pixmap_get", _wrap_Atoms_pixmap_get, METH_VARARGS },
11328 { (char *)"Atoms_atom_set", _wrap_Atoms_atom_set, METH_VARARGS },
11329 { (char *)"Atoms_atom_get", _wrap_Atoms_atom_get, METH_VARARGS },
11330 { (char *)"Atoms_string_set", _wrap_Atoms_string_set, METH_VARARGS },
11331 { (char *)"Atoms_string_get", _wrap_Atoms_string_get, METH_VARARGS },
11332 { (char *)"Atoms_utf8_set", _wrap_Atoms_utf8_set, METH_VARARGS },
11333 { (char *)"Atoms_utf8_get", _wrap_Atoms_utf8_get, METH_VARARGS },
11334 { (char *)"Atoms_openbox_pid_set", _wrap_Atoms_openbox_pid_set, METH_VARARGS },
11335 { (char *)"Atoms_openbox_pid_get", _wrap_Atoms_openbox_pid_get, METH_VARARGS },
11336 { (char *)"Atoms_wm_colormap_windows_set", _wrap_Atoms_wm_colormap_windows_set, METH_VARARGS },
11337 { (char *)"Atoms_wm_colormap_windows_get", _wrap_Atoms_wm_colormap_windows_get, METH_VARARGS },
11338 { (char *)"Atoms_wm_protocols_set", _wrap_Atoms_wm_protocols_set, METH_VARARGS },
11339 { (char *)"Atoms_wm_protocols_get", _wrap_Atoms_wm_protocols_get, METH_VARARGS },
11340 { (char *)"Atoms_wm_state_set", _wrap_Atoms_wm_state_set, METH_VARARGS },
11341 { (char *)"Atoms_wm_state_get", _wrap_Atoms_wm_state_get, METH_VARARGS },
11342 { (char *)"Atoms_wm_delete_window_set", _wrap_Atoms_wm_delete_window_set, METH_VARARGS },
11343 { (char *)"Atoms_wm_delete_window_get", _wrap_Atoms_wm_delete_window_get, METH_VARARGS },
11344 { (char *)"Atoms_wm_take_focus_set", _wrap_Atoms_wm_take_focus_set, METH_VARARGS },
11345 { (char *)"Atoms_wm_take_focus_get", _wrap_Atoms_wm_take_focus_get, METH_VARARGS },
11346 { (char *)"Atoms_wm_change_state_set", _wrap_Atoms_wm_change_state_set, METH_VARARGS },
11347 { (char *)"Atoms_wm_change_state_get", _wrap_Atoms_wm_change_state_get, METH_VARARGS },
11348 { (char *)"Atoms_wm_name_set", _wrap_Atoms_wm_name_set, METH_VARARGS },
11349 { (char *)"Atoms_wm_name_get", _wrap_Atoms_wm_name_get, METH_VARARGS },
11350 { (char *)"Atoms_wm_icon_name_set", _wrap_Atoms_wm_icon_name_set, METH_VARARGS },
11351 { (char *)"Atoms_wm_icon_name_get", _wrap_Atoms_wm_icon_name_get, METH_VARARGS },
11352 { (char *)"Atoms_wm_class_set", _wrap_Atoms_wm_class_set, METH_VARARGS },
11353 { (char *)"Atoms_wm_class_get", _wrap_Atoms_wm_class_get, METH_VARARGS },
11354 { (char *)"Atoms_wm_window_role_set", _wrap_Atoms_wm_window_role_set, METH_VARARGS },
11355 { (char *)"Atoms_wm_window_role_get", _wrap_Atoms_wm_window_role_get, METH_VARARGS },
11356 { (char *)"Atoms_motif_wm_hints_set", _wrap_Atoms_motif_wm_hints_set, METH_VARARGS },
11357 { (char *)"Atoms_motif_wm_hints_get", _wrap_Atoms_motif_wm_hints_get, METH_VARARGS },
11358 { (char *)"Atoms_openbox_show_root_menu_set", _wrap_Atoms_openbox_show_root_menu_set, METH_VARARGS },
11359 { (char *)"Atoms_openbox_show_root_menu_get", _wrap_Atoms_openbox_show_root_menu_get, METH_VARARGS },
11360 { (char *)"Atoms_openbox_show_workspace_menu_set", _wrap_Atoms_openbox_show_workspace_menu_set, METH_VARARGS },
11361 { (char *)"Atoms_openbox_show_workspace_menu_get", _wrap_Atoms_openbox_show_workspace_menu_get, METH_VARARGS },
11362 { (char *)"Atoms_net_supported_set", _wrap_Atoms_net_supported_set, METH_VARARGS },
11363 { (char *)"Atoms_net_supported_get", _wrap_Atoms_net_supported_get, METH_VARARGS },
11364 { (char *)"Atoms_net_client_list_set", _wrap_Atoms_net_client_list_set, METH_VARARGS },
11365 { (char *)"Atoms_net_client_list_get", _wrap_Atoms_net_client_list_get, METH_VARARGS },
11366 { (char *)"Atoms_net_client_list_stacking_set", _wrap_Atoms_net_client_list_stacking_set, METH_VARARGS },
11367 { (char *)"Atoms_net_client_list_stacking_get", _wrap_Atoms_net_client_list_stacking_get, METH_VARARGS },
11368 { (char *)"Atoms_net_number_of_desktops_set", _wrap_Atoms_net_number_of_desktops_set, METH_VARARGS },
11369 { (char *)"Atoms_net_number_of_desktops_get", _wrap_Atoms_net_number_of_desktops_get, METH_VARARGS },
11370 { (char *)"Atoms_net_desktop_geometry_set", _wrap_Atoms_net_desktop_geometry_set, METH_VARARGS },
11371 { (char *)"Atoms_net_desktop_geometry_get", _wrap_Atoms_net_desktop_geometry_get, METH_VARARGS },
11372 { (char *)"Atoms_net_desktop_viewport_set", _wrap_Atoms_net_desktop_viewport_set, METH_VARARGS },
11373 { (char *)"Atoms_net_desktop_viewport_get", _wrap_Atoms_net_desktop_viewport_get, METH_VARARGS },
11374 { (char *)"Atoms_net_current_desktop_set", _wrap_Atoms_net_current_desktop_set, METH_VARARGS },
11375 { (char *)"Atoms_net_current_desktop_get", _wrap_Atoms_net_current_desktop_get, METH_VARARGS },
11376 { (char *)"Atoms_net_desktop_names_set", _wrap_Atoms_net_desktop_names_set, METH_VARARGS },
11377 { (char *)"Atoms_net_desktop_names_get", _wrap_Atoms_net_desktop_names_get, METH_VARARGS },
11378 { (char *)"Atoms_net_active_window_set", _wrap_Atoms_net_active_window_set, METH_VARARGS },
11379 { (char *)"Atoms_net_active_window_get", _wrap_Atoms_net_active_window_get, METH_VARARGS },
11380 { (char *)"Atoms_net_workarea_set", _wrap_Atoms_net_workarea_set, METH_VARARGS },
11381 { (char *)"Atoms_net_workarea_get", _wrap_Atoms_net_workarea_get, METH_VARARGS },
11382 { (char *)"Atoms_net_supporting_wm_check_set", _wrap_Atoms_net_supporting_wm_check_set, METH_VARARGS },
11383 { (char *)"Atoms_net_supporting_wm_check_get", _wrap_Atoms_net_supporting_wm_check_get, METH_VARARGS },
11384 { (char *)"Atoms_net_close_window_set", _wrap_Atoms_net_close_window_set, METH_VARARGS },
11385 { (char *)"Atoms_net_close_window_get", _wrap_Atoms_net_close_window_get, METH_VARARGS },
11386 { (char *)"Atoms_net_wm_moveresize_set", _wrap_Atoms_net_wm_moveresize_set, METH_VARARGS },
11387 { (char *)"Atoms_net_wm_moveresize_get", _wrap_Atoms_net_wm_moveresize_get, METH_VARARGS },
11388 { (char *)"Atoms_net_wm_name_set", _wrap_Atoms_net_wm_name_set, METH_VARARGS },
11389 { (char *)"Atoms_net_wm_name_get", _wrap_Atoms_net_wm_name_get, METH_VARARGS },
11390 { (char *)"Atoms_net_wm_visible_name_set", _wrap_Atoms_net_wm_visible_name_set, METH_VARARGS },
11391 { (char *)"Atoms_net_wm_visible_name_get", _wrap_Atoms_net_wm_visible_name_get, METH_VARARGS },
11392 { (char *)"Atoms_net_wm_icon_name_set", _wrap_Atoms_net_wm_icon_name_set, METH_VARARGS },
11393 { (char *)"Atoms_net_wm_icon_name_get", _wrap_Atoms_net_wm_icon_name_get, METH_VARARGS },
11394 { (char *)"Atoms_net_wm_visible_icon_name_set", _wrap_Atoms_net_wm_visible_icon_name_set, METH_VARARGS },
11395 { (char *)"Atoms_net_wm_visible_icon_name_get", _wrap_Atoms_net_wm_visible_icon_name_get, METH_VARARGS },
11396 { (char *)"Atoms_net_wm_desktop_set", _wrap_Atoms_net_wm_desktop_set, METH_VARARGS },
11397 { (char *)"Atoms_net_wm_desktop_get", _wrap_Atoms_net_wm_desktop_get, METH_VARARGS },
11398 { (char *)"Atoms_net_wm_window_type_set", _wrap_Atoms_net_wm_window_type_set, METH_VARARGS },
11399 { (char *)"Atoms_net_wm_window_type_get", _wrap_Atoms_net_wm_window_type_get, METH_VARARGS },
11400 { (char *)"Atoms_net_wm_state_set", _wrap_Atoms_net_wm_state_set, METH_VARARGS },
11401 { (char *)"Atoms_net_wm_state_get", _wrap_Atoms_net_wm_state_get, METH_VARARGS },
11402 { (char *)"Atoms_net_wm_strut_set", _wrap_Atoms_net_wm_strut_set, METH_VARARGS },
11403 { (char *)"Atoms_net_wm_strut_get", _wrap_Atoms_net_wm_strut_get, METH_VARARGS },
11404 { (char *)"Atoms_net_wm_allowed_actions_set", _wrap_Atoms_net_wm_allowed_actions_set, METH_VARARGS },
11405 { (char *)"Atoms_net_wm_allowed_actions_get", _wrap_Atoms_net_wm_allowed_actions_get, METH_VARARGS },
11406 { (char *)"Atoms_net_wm_window_type_desktop_set", _wrap_Atoms_net_wm_window_type_desktop_set, METH_VARARGS },
11407 { (char *)"Atoms_net_wm_window_type_desktop_get", _wrap_Atoms_net_wm_window_type_desktop_get, METH_VARARGS },
11408 { (char *)"Atoms_net_wm_window_type_dock_set", _wrap_Atoms_net_wm_window_type_dock_set, METH_VARARGS },
11409 { (char *)"Atoms_net_wm_window_type_dock_get", _wrap_Atoms_net_wm_window_type_dock_get, METH_VARARGS },
11410 { (char *)"Atoms_net_wm_window_type_toolbar_set", _wrap_Atoms_net_wm_window_type_toolbar_set, METH_VARARGS },
11411 { (char *)"Atoms_net_wm_window_type_toolbar_get", _wrap_Atoms_net_wm_window_type_toolbar_get, METH_VARARGS },
11412 { (char *)"Atoms_net_wm_window_type_menu_set", _wrap_Atoms_net_wm_window_type_menu_set, METH_VARARGS },
11413 { (char *)"Atoms_net_wm_window_type_menu_get", _wrap_Atoms_net_wm_window_type_menu_get, METH_VARARGS },
11414 { (char *)"Atoms_net_wm_window_type_utility_set", _wrap_Atoms_net_wm_window_type_utility_set, METH_VARARGS },
11415 { (char *)"Atoms_net_wm_window_type_utility_get", _wrap_Atoms_net_wm_window_type_utility_get, METH_VARARGS },
11416 { (char *)"Atoms_net_wm_window_type_splash_set", _wrap_Atoms_net_wm_window_type_splash_set, METH_VARARGS },
11417 { (char *)"Atoms_net_wm_window_type_splash_get", _wrap_Atoms_net_wm_window_type_splash_get, METH_VARARGS },
11418 { (char *)"Atoms_net_wm_window_type_dialog_set", _wrap_Atoms_net_wm_window_type_dialog_set, METH_VARARGS },
11419 { (char *)"Atoms_net_wm_window_type_dialog_get", _wrap_Atoms_net_wm_window_type_dialog_get, METH_VARARGS },
11420 { (char *)"Atoms_net_wm_window_type_normal_set", _wrap_Atoms_net_wm_window_type_normal_set, METH_VARARGS },
11421 { (char *)"Atoms_net_wm_window_type_normal_get", _wrap_Atoms_net_wm_window_type_normal_get, METH_VARARGS },
11422 { (char *)"Atoms_net_wm_moveresize_size_topleft_set", _wrap_Atoms_net_wm_moveresize_size_topleft_set, METH_VARARGS },
11423 { (char *)"Atoms_net_wm_moveresize_size_topleft_get", _wrap_Atoms_net_wm_moveresize_size_topleft_get, METH_VARARGS },
11424 { (char *)"Atoms_net_wm_moveresize_size_topright_set", _wrap_Atoms_net_wm_moveresize_size_topright_set, METH_VARARGS },
11425 { (char *)"Atoms_net_wm_moveresize_size_topright_get", _wrap_Atoms_net_wm_moveresize_size_topright_get, METH_VARARGS },
11426 { (char *)"Atoms_net_wm_moveresize_size_bottomleft_set", _wrap_Atoms_net_wm_moveresize_size_bottomleft_set, METH_VARARGS },
11427 { (char *)"Atoms_net_wm_moveresize_size_bottomleft_get", _wrap_Atoms_net_wm_moveresize_size_bottomleft_get, METH_VARARGS },
11428 { (char *)"Atoms_net_wm_moveresize_size_bottomright_set", _wrap_Atoms_net_wm_moveresize_size_bottomright_set, METH_VARARGS },
11429 { (char *)"Atoms_net_wm_moveresize_size_bottomright_get", _wrap_Atoms_net_wm_moveresize_size_bottomright_get, METH_VARARGS },
11430 { (char *)"Atoms_net_wm_moveresize_move_set", _wrap_Atoms_net_wm_moveresize_move_set, METH_VARARGS },
11431 { (char *)"Atoms_net_wm_moveresize_move_get", _wrap_Atoms_net_wm_moveresize_move_get, METH_VARARGS },
11432 { (char *)"Atoms_net_wm_action_move_set", _wrap_Atoms_net_wm_action_move_set, METH_VARARGS },
11433 { (char *)"Atoms_net_wm_action_move_get", _wrap_Atoms_net_wm_action_move_get, METH_VARARGS },
11434 { (char *)"Atoms_net_wm_action_resize_set", _wrap_Atoms_net_wm_action_resize_set, METH_VARARGS },
11435 { (char *)"Atoms_net_wm_action_resize_get", _wrap_Atoms_net_wm_action_resize_get, METH_VARARGS },
11436 { (char *)"Atoms_net_wm_action_minimize_set", _wrap_Atoms_net_wm_action_minimize_set, METH_VARARGS },
11437 { (char *)"Atoms_net_wm_action_minimize_get", _wrap_Atoms_net_wm_action_minimize_get, METH_VARARGS },
11438 { (char *)"Atoms_net_wm_action_shade_set", _wrap_Atoms_net_wm_action_shade_set, METH_VARARGS },
11439 { (char *)"Atoms_net_wm_action_shade_get", _wrap_Atoms_net_wm_action_shade_get, METH_VARARGS },
11440 { (char *)"Atoms_net_wm_action_stick_set", _wrap_Atoms_net_wm_action_stick_set, METH_VARARGS },
11441 { (char *)"Atoms_net_wm_action_stick_get", _wrap_Atoms_net_wm_action_stick_get, METH_VARARGS },
11442 { (char *)"Atoms_net_wm_action_maximize_horz_set", _wrap_Atoms_net_wm_action_maximize_horz_set, METH_VARARGS },
11443 { (char *)"Atoms_net_wm_action_maximize_horz_get", _wrap_Atoms_net_wm_action_maximize_horz_get, METH_VARARGS },
11444 { (char *)"Atoms_net_wm_action_maximize_vert_set", _wrap_Atoms_net_wm_action_maximize_vert_set, METH_VARARGS },
11445 { (char *)"Atoms_net_wm_action_maximize_vert_get", _wrap_Atoms_net_wm_action_maximize_vert_get, METH_VARARGS },
11446 { (char *)"Atoms_net_wm_action_fullscreen_set", _wrap_Atoms_net_wm_action_fullscreen_set, METH_VARARGS },
11447 { (char *)"Atoms_net_wm_action_fullscreen_get", _wrap_Atoms_net_wm_action_fullscreen_get, METH_VARARGS },
11448 { (char *)"Atoms_net_wm_action_change_desktop_set", _wrap_Atoms_net_wm_action_change_desktop_set, METH_VARARGS },
11449 { (char *)"Atoms_net_wm_action_change_desktop_get", _wrap_Atoms_net_wm_action_change_desktop_get, METH_VARARGS },
11450 { (char *)"Atoms_net_wm_action_close_set", _wrap_Atoms_net_wm_action_close_set, METH_VARARGS },
11451 { (char *)"Atoms_net_wm_action_close_get", _wrap_Atoms_net_wm_action_close_get, METH_VARARGS },
11452 { (char *)"Atoms_net_wm_state_modal_set", _wrap_Atoms_net_wm_state_modal_set, METH_VARARGS },
11453 { (char *)"Atoms_net_wm_state_modal_get", _wrap_Atoms_net_wm_state_modal_get, METH_VARARGS },
11454 { (char *)"Atoms_net_wm_state_sticky_set", _wrap_Atoms_net_wm_state_sticky_set, METH_VARARGS },
11455 { (char *)"Atoms_net_wm_state_sticky_get", _wrap_Atoms_net_wm_state_sticky_get, METH_VARARGS },
11456 { (char *)"Atoms_net_wm_state_maximized_vert_set", _wrap_Atoms_net_wm_state_maximized_vert_set, METH_VARARGS },
11457 { (char *)"Atoms_net_wm_state_maximized_vert_get", _wrap_Atoms_net_wm_state_maximized_vert_get, METH_VARARGS },
11458 { (char *)"Atoms_net_wm_state_maximized_horz_set", _wrap_Atoms_net_wm_state_maximized_horz_set, METH_VARARGS },
11459 { (char *)"Atoms_net_wm_state_maximized_horz_get", _wrap_Atoms_net_wm_state_maximized_horz_get, METH_VARARGS },
11460 { (char *)"Atoms_net_wm_state_shaded_set", _wrap_Atoms_net_wm_state_shaded_set, METH_VARARGS },
11461 { (char *)"Atoms_net_wm_state_shaded_get", _wrap_Atoms_net_wm_state_shaded_get, METH_VARARGS },
11462 { (char *)"Atoms_net_wm_state_skip_taskbar_set", _wrap_Atoms_net_wm_state_skip_taskbar_set, METH_VARARGS },
11463 { (char *)"Atoms_net_wm_state_skip_taskbar_get", _wrap_Atoms_net_wm_state_skip_taskbar_get, METH_VARARGS },
11464 { (char *)"Atoms_net_wm_state_skip_pager_set", _wrap_Atoms_net_wm_state_skip_pager_set, METH_VARARGS },
11465 { (char *)"Atoms_net_wm_state_skip_pager_get", _wrap_Atoms_net_wm_state_skip_pager_get, METH_VARARGS },
11466 { (char *)"Atoms_net_wm_state_hidden_set", _wrap_Atoms_net_wm_state_hidden_set, METH_VARARGS },
11467 { (char *)"Atoms_net_wm_state_hidden_get", _wrap_Atoms_net_wm_state_hidden_get, METH_VARARGS },
11468 { (char *)"Atoms_net_wm_state_fullscreen_set", _wrap_Atoms_net_wm_state_fullscreen_set, METH_VARARGS },
11469 { (char *)"Atoms_net_wm_state_fullscreen_get", _wrap_Atoms_net_wm_state_fullscreen_get, METH_VARARGS },
11470 { (char *)"Atoms_net_wm_state_above_set", _wrap_Atoms_net_wm_state_above_set, METH_VARARGS },
11471 { (char *)"Atoms_net_wm_state_above_get", _wrap_Atoms_net_wm_state_above_get, METH_VARARGS },
11472 { (char *)"Atoms_net_wm_state_below_set", _wrap_Atoms_net_wm_state_below_set, METH_VARARGS },
11473 { (char *)"Atoms_net_wm_state_below_get", _wrap_Atoms_net_wm_state_below_get, METH_VARARGS },
11474 { (char *)"Atoms_kde_net_system_tray_windows_set", _wrap_Atoms_kde_net_system_tray_windows_set, METH_VARARGS },
11475 { (char *)"Atoms_kde_net_system_tray_windows_get", _wrap_Atoms_kde_net_system_tray_windows_get, METH_VARARGS },
11476 { (char *)"Atoms_kde_net_wm_system_tray_window_for_set", _wrap_Atoms_kde_net_wm_system_tray_window_for_set, METH_VARARGS },
11477 { (char *)"Atoms_kde_net_wm_system_tray_window_for_get", _wrap_Atoms_kde_net_wm_system_tray_window_for_get, METH_VARARGS },
11478 { (char *)"Atoms_kde_net_wm_window_type_override_set", _wrap_Atoms_kde_net_wm_window_type_override_set, METH_VARARGS },
11479 { (char *)"Atoms_kde_net_wm_window_type_override_get", _wrap_Atoms_kde_net_wm_window_type_override_get, METH_VARARGS },
11480 { (char *)"Atoms_swigregister", Atoms_swigregister, METH_VARARGS },
11481 { (char *)"Property_initialize", _wrap_Property_initialize, METH_VARARGS },
11482 { (char *)"Property_set", _wrap_Property_set, METH_VARARGS },
11483 { (char *)"Property_get", _wrap_Property_get, METH_VARARGS },
11484 { (char *)"Property_erase", _wrap_Property_erase, METH_VARARGS },
11485 { (char *)"Property_swigregister", Property_swigregister, METH_VARARGS },
11486 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
11487 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
11488 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
11489 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
11490 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
11491 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
11492 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
11493 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
11494 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
11495 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
11496 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
11497 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
11498 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
11499 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
11500 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
11501 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
11502 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
11503 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
11504 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
11505 { (char *)"Rect___eq__", _wrap_Rect___eq__, METH_VARARGS },
11506 { (char *)"Rect___ne__", _wrap_Rect___ne__, METH_VARARGS },
11507 { (char *)"Rect___or__", _wrap_Rect___or__, METH_VARARGS },
11508 { (char *)"Rect___and__", _wrap_Rect___and__, METH_VARARGS },
11509 { (char *)"Rect___ior__", _wrap_Rect___ior__, METH_VARARGS },
11510 { (char *)"Rect___iand__", _wrap_Rect___iand__, METH_VARARGS },
11511 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
11512 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
11513 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
11514 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
11515 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
11516 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
11517 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
11518 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
11519 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
11520 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
11521 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
11522 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
11523 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
11524 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
11525 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
11526 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
11527 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
11528 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
11529 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
11530 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
11531 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
11532 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
11533 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
11534 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
11535 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
11536 { (char *)"EventHandler_handle", _wrap_EventHandler_handle, METH_VARARGS },
11537 { (char *)"EventHandler_keyPressHandler", _wrap_EventHandler_keyPressHandler, METH_VARARGS },
11538 { (char *)"EventHandler_keyReleaseHandler", _wrap_EventHandler_keyReleaseHandler, METH_VARARGS },
11539 { (char *)"EventHandler_buttonPressHandler", _wrap_EventHandler_buttonPressHandler, METH_VARARGS },
11540 { (char *)"EventHandler_buttonReleaseHandler", _wrap_EventHandler_buttonReleaseHandler, METH_VARARGS },
11541 { (char *)"EventHandler_motionHandler", _wrap_EventHandler_motionHandler, METH_VARARGS },
11542 { (char *)"EventHandler_enterHandler", _wrap_EventHandler_enterHandler, METH_VARARGS },
11543 { (char *)"EventHandler_leaveHandler", _wrap_EventHandler_leaveHandler, METH_VARARGS },
11544 { (char *)"EventHandler_focusHandler", _wrap_EventHandler_focusHandler, METH_VARARGS },
11545 { (char *)"EventHandler_unfocusHandler", _wrap_EventHandler_unfocusHandler, METH_VARARGS },
11546 { (char *)"EventHandler_exposeHandler", _wrap_EventHandler_exposeHandler, METH_VARARGS },
11547 { (char *)"EventHandler_graphicsExposeHandler", _wrap_EventHandler_graphicsExposeHandler, METH_VARARGS },
11548 { (char *)"EventHandler_noExposeEventHandler", _wrap_EventHandler_noExposeEventHandler, METH_VARARGS },
11549 { (char *)"EventHandler_circulateRequestHandler", _wrap_EventHandler_circulateRequestHandler, METH_VARARGS },
11550 { (char *)"EventHandler_configureRequestHandler", _wrap_EventHandler_configureRequestHandler, METH_VARARGS },
11551 { (char *)"EventHandler_mapRequestHandler", _wrap_EventHandler_mapRequestHandler, METH_VARARGS },
11552 { (char *)"EventHandler_resizeRequestHandler", _wrap_EventHandler_resizeRequestHandler, METH_VARARGS },
11553 { (char *)"EventHandler_circulateHandler", _wrap_EventHandler_circulateHandler, METH_VARARGS },
11554 { (char *)"EventHandler_configureHandler", _wrap_EventHandler_configureHandler, METH_VARARGS },
11555 { (char *)"EventHandler_createHandler", _wrap_EventHandler_createHandler, METH_VARARGS },
11556 { (char *)"EventHandler_destroyHandler", _wrap_EventHandler_destroyHandler, METH_VARARGS },
11557 { (char *)"EventHandler_gravityHandler", _wrap_EventHandler_gravityHandler, METH_VARARGS },
11558 { (char *)"EventHandler_mapHandler", _wrap_EventHandler_mapHandler, METH_VARARGS },
11559 { (char *)"EventHandler_mappingHandler", _wrap_EventHandler_mappingHandler, METH_VARARGS },
11560 { (char *)"EventHandler_reparentHandler", _wrap_EventHandler_reparentHandler, METH_VARARGS },
11561 { (char *)"EventHandler_unmapHandler", _wrap_EventHandler_unmapHandler, METH_VARARGS },
11562 { (char *)"EventHandler_visibilityHandler", _wrap_EventHandler_visibilityHandler, METH_VARARGS },
11563 { (char *)"EventHandler_colorMapHandler", _wrap_EventHandler_colorMapHandler, METH_VARARGS },
11564 { (char *)"EventHandler_propertyHandler", _wrap_EventHandler_propertyHandler, METH_VARARGS },
11565 { (char *)"EventHandler_selectionClearHandler", _wrap_EventHandler_selectionClearHandler, METH_VARARGS },
11566 { (char *)"EventHandler_selectionHandler", _wrap_EventHandler_selectionHandler, METH_VARARGS },
11567 { (char *)"EventHandler_selectionRequestHandler", _wrap_EventHandler_selectionRequestHandler, METH_VARARGS },
11568 { (char *)"EventHandler_clientMessageHandler", _wrap_EventHandler_clientMessageHandler, METH_VARARGS },
11569 { (char *)"delete_EventHandler", _wrap_delete_EventHandler, METH_VARARGS },
11570 { (char *)"EventHandler_swigregister", EventHandler_swigregister, METH_VARARGS },
11571 { (char *)"new_EventDispatcher", _wrap_new_EventDispatcher, METH_VARARGS },
11572 { (char *)"delete_EventDispatcher", _wrap_delete_EventDispatcher, METH_VARARGS },
11573 { (char *)"EventDispatcher_clearAllHandlers", _wrap_EventDispatcher_clearAllHandlers, METH_VARARGS },
11574 { (char *)"EventDispatcher_registerHandler", _wrap_EventDispatcher_registerHandler, METH_VARARGS },
11575 { (char *)"EventDispatcher_clearHandler", _wrap_EventDispatcher_clearHandler, METH_VARARGS },
11576 { (char *)"EventDispatcher_dispatchEvents", _wrap_EventDispatcher_dispatchEvents, METH_VARARGS },
11577 { (char *)"EventDispatcher_setFallbackHandler", _wrap_EventDispatcher_setFallbackHandler, METH_VARARGS },
11578 { (char *)"EventDispatcher_getFallbackHandler", _wrap_EventDispatcher_getFallbackHandler, METH_VARARGS },
11579 { (char *)"EventDispatcher_setMasterHandler", _wrap_EventDispatcher_setMasterHandler, METH_VARARGS },
11580 { (char *)"EventDispatcher_getMasterHandler", _wrap_EventDispatcher_getMasterHandler, METH_VARARGS },
11581 { (char *)"EventDispatcher_findHandler", _wrap_EventDispatcher_findHandler, METH_VARARGS },
11582 { (char *)"EventDispatcher_lastTime", _wrap_EventDispatcher_lastTime, METH_VARARGS },
11583 { (char *)"EventDispatcher_swigregister", EventDispatcher_swigregister, METH_VARARGS },
11584 { (char *)"Cursors_session_set", _wrap_Cursors_session_set, METH_VARARGS },
11585 { (char *)"Cursors_session_get", _wrap_Cursors_session_get, METH_VARARGS },
11586 { (char *)"Cursors_move_set", _wrap_Cursors_move_set, METH_VARARGS },
11587 { (char *)"Cursors_move_get", _wrap_Cursors_move_get, METH_VARARGS },
11588 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set, METH_VARARGS },
11589 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get, METH_VARARGS },
11590 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set, METH_VARARGS },
11591 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get, METH_VARARGS },
11592 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set, METH_VARARGS },
11593 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get, METH_VARARGS },
11594 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set, METH_VARARGS },
11595 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get, METH_VARARGS },
11596 { (char *)"Cursors_swigregister", Cursors_swigregister, METH_VARARGS },
11597 { (char *)"Openbox_state", _wrap_Openbox_state, METH_VARARGS },
11598 { (char *)"Openbox_actions", _wrap_Openbox_actions, METH_VARARGS },
11599 { (char *)"Openbox_bindings", _wrap_Openbox_bindings, METH_VARARGS },
11600 { (char *)"Openbox_screen", _wrap_Openbox_screen, METH_VARARGS },
11601 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount, METH_VARARGS },
11602 { (char *)"Openbox_cursors", _wrap_Openbox_cursors, METH_VARARGS },
11603 { (char *)"Openbox_addClient", _wrap_Openbox_addClient, METH_VARARGS },
11604 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient, METH_VARARGS },
11605 { (char *)"Openbox_findClient", _wrap_Openbox_findClient, METH_VARARGS },
11606 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient, METH_VARARGS },
11607 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient, METH_VARARGS },
11608 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen, METH_VARARGS },
11609 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown, METH_VARARGS },
11610 { (char *)"Openbox_restart", _wrap_Openbox_restart, METH_VARARGS },
11611 { (char *)"Openbox_execute", _wrap_Openbox_execute, METH_VARARGS },
11612 { (char *)"Openbox_swigregister", Openbox_swigregister, METH_VARARGS },
11613 { (char *)"Screen_client", _wrap_Screen_client, METH_VARARGS },
11614 { (char *)"Screen_clientCount", _wrap_Screen_clientCount, METH_VARARGS },
11615 { (char *)"Screen_number", _wrap_Screen_number, METH_VARARGS },
11616 { (char *)"Screen_managed", _wrap_Screen_managed, METH_VARARGS },
11617 { (char *)"Screen_imageControl", _wrap_Screen_imageControl, METH_VARARGS },
11618 { (char *)"Screen_area", _wrap_Screen_area, METH_VARARGS },
11619 { (char *)"Screen_style", _wrap_Screen_style, METH_VARARGS },
11620 { (char *)"Screen_focuswindow", _wrap_Screen_focuswindow, METH_VARARGS },
11621 { (char *)"Screen_desktop", _wrap_Screen_desktop, METH_VARARGS },
11622 { (char *)"Screen_numDesktops", _wrap_Screen_numDesktops, METH_VARARGS },
11623 { (char *)"Screen_updateStrut", _wrap_Screen_updateStrut, METH_VARARGS },
11624 { (char *)"Screen_manageExisting", _wrap_Screen_manageExisting, METH_VARARGS },
11625 { (char *)"Screen_manageWindow", _wrap_Screen_manageWindow, METH_VARARGS },
11626 { (char *)"Screen_unmanageWindow", _wrap_Screen_unmanageWindow, METH_VARARGS },
11627 { (char *)"Screen_raiseWindow", _wrap_Screen_raiseWindow, METH_VARARGS },
11628 { (char *)"Screen_lowerWindow", _wrap_Screen_lowerWindow, METH_VARARGS },
11629 { (char *)"Screen_setDesktopName", _wrap_Screen_setDesktopName, METH_VARARGS },
11630 { (char *)"Screen_propertyHandler", _wrap_Screen_propertyHandler, METH_VARARGS },
11631 { (char *)"Screen_clientMessageHandler", _wrap_Screen_clientMessageHandler, METH_VARARGS },
11632 { (char *)"Screen_mapRequestHandler", _wrap_Screen_mapRequestHandler, METH_VARARGS },
11633 { (char *)"Screen_swigregister", Screen_swigregister, METH_VARARGS },
11634 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set, METH_VARARGS },
11635 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get, METH_VARARGS },
11636 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set, METH_VARARGS },
11637 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get, METH_VARARGS },
11638 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set, METH_VARARGS },
11639 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get, METH_VARARGS },
11640 { (char *)"MwmHints_swigregister", MwmHints_swigregister, METH_VARARGS },
11641 { (char *)"Client_frame_set", _wrap_Client_frame_set, METH_VARARGS },
11642 { (char *)"Client_frame_get", _wrap_Client_frame_get, METH_VARARGS },
11643 { (char *)"Client_ignore_unmaps_set", _wrap_Client_ignore_unmaps_set, METH_VARARGS },
11644 { (char *)"Client_ignore_unmaps_get", _wrap_Client_ignore_unmaps_get, METH_VARARGS },
11645 { (char *)"Client_screen", _wrap_Client_screen, METH_VARARGS },
11646 { (char *)"Client_window", _wrap_Client_window, METH_VARARGS },
11647 { (char *)"Client_type", _wrap_Client_type, METH_VARARGS },
11648 { (char *)"Client_normal", _wrap_Client_normal, METH_VARARGS },
11649 { (char *)"Client_desktop", _wrap_Client_desktop, METH_VARARGS },
11650 { (char *)"Client_title", _wrap_Client_title, METH_VARARGS },
11651 { (char *)"Client_iconTitle", _wrap_Client_iconTitle, METH_VARARGS },
11652 { (char *)"Client_appName", _wrap_Client_appName, METH_VARARGS },
11653 { (char *)"Client_appClass", _wrap_Client_appClass, METH_VARARGS },
11654 { (char *)"Client_role", _wrap_Client_role, METH_VARARGS },
11655 { (char *)"Client_canFocus", _wrap_Client_canFocus, METH_VARARGS },
11656 { (char *)"Client_urgent", _wrap_Client_urgent, METH_VARARGS },
11657 { (char *)"Client_focusNotify", _wrap_Client_focusNotify, METH_VARARGS },
11658 { (char *)"Client_shaped", _wrap_Client_shaped, METH_VARARGS },
11659 { (char *)"Client_gravity", _wrap_Client_gravity, METH_VARARGS },
11660 { (char *)"Client_positionRequested", _wrap_Client_positionRequested, METH_VARARGS },
11661 { (char *)"Client_decorations", _wrap_Client_decorations, METH_VARARGS },
11662 { (char *)"Client_funtions", _wrap_Client_funtions, METH_VARARGS },
11663 { (char *)"Client_transientFor", _wrap_Client_transientFor, METH_VARARGS },
11664 { (char *)"Client_modal", _wrap_Client_modal, METH_VARARGS },
11665 { (char *)"Client_shaded", _wrap_Client_shaded, METH_VARARGS },
11666 { (char *)"Client_fullscreen", _wrap_Client_fullscreen, METH_VARARGS },
11667 { (char *)"Client_iconic", _wrap_Client_iconic, METH_VARARGS },
11668 { (char *)"Client_maxVert", _wrap_Client_maxVert, METH_VARARGS },
11669 { (char *)"Client_maxHorz", _wrap_Client_maxHorz, METH_VARARGS },
11670 { (char *)"Client_layer", _wrap_Client_layer, METH_VARARGS },
11671 { (char *)"Client_applyStartupState", _wrap_Client_applyStartupState, METH_VARARGS },
11672 { (char *)"Client_toggleClientBorder", _wrap_Client_toggleClientBorder, METH_VARARGS },
11673 { (char *)"Client_area", _wrap_Client_area, METH_VARARGS },
11674 { (char *)"Client_strut", _wrap_Client_strut, METH_VARARGS },
11675 { (char *)"Client_move", _wrap_Client_move, METH_VARARGS },
11676 { (char *)"Client_resize", _wrap_Client_resize, METH_VARARGS },
11677 { (char *)"Client_focus", _wrap_Client_focus, METH_VARARGS },
11678 { (char *)"Client_unfocus", _wrap_Client_unfocus, METH_VARARGS },
11679 { (char *)"Client_focusHandler", _wrap_Client_focusHandler, METH_VARARGS },
11680 { (char *)"Client_unfocusHandler", _wrap_Client_unfocusHandler, METH_VARARGS },
11681 { (char *)"Client_propertyHandler", _wrap_Client_propertyHandler, METH_VARARGS },
11682 { (char *)"Client_clientMessageHandler", _wrap_Client_clientMessageHandler, METH_VARARGS },
11683 { (char *)"Client_configureRequestHandler", _wrap_Client_configureRequestHandler, METH_VARARGS },
11684 { (char *)"Client_unmapHandler", _wrap_Client_unmapHandler, METH_VARARGS },
11685 { (char *)"Client_destroyHandler", _wrap_Client_destroyHandler, METH_VARARGS },
11686 { (char *)"Client_reparentHandler", _wrap_Client_reparentHandler, METH_VARARGS },
11687 { (char *)"Client_swigregister", Client_swigregister, METH_VARARGS },
11688 { (char *)"new_Frame", _wrap_new_Frame, METH_VARARGS },
11689 { (char *)"delete_Frame", _wrap_delete_Frame, METH_VARARGS },
11690 { (char *)"Frame_size", _wrap_Frame_size, METH_VARARGS },
11691 { (char *)"Frame_setStyle", _wrap_Frame_setStyle, METH_VARARGS },
11692 { (char *)"Frame_adjust", _wrap_Frame_adjust, METH_VARARGS },
11693 { (char *)"Frame_focus", _wrap_Frame_focus, METH_VARARGS },
11694 { (char *)"Frame_unfocus", _wrap_Frame_unfocus, METH_VARARGS },
11695 { (char *)"Frame_setTitle", _wrap_Frame_setTitle, METH_VARARGS },
11696 { (char *)"Frame_grabClient", _wrap_Frame_grabClient, METH_VARARGS },
11697 { (char *)"Frame_releaseClient", _wrap_Frame_releaseClient, METH_VARARGS },
11698 { (char *)"Frame_adjustSize", _wrap_Frame_adjustSize, METH_VARARGS },
11699 { (char *)"Frame_adjustPosition", _wrap_Frame_adjustPosition, METH_VARARGS },
11700 { (char *)"Frame_adjustShape", _wrap_Frame_adjustShape, METH_VARARGS },
11701 { (char *)"Frame_clientGravity", _wrap_Frame_clientGravity, METH_VARARGS },
11702 { (char *)"Frame_frameGravity", _wrap_Frame_frameGravity, METH_VARARGS },
11703 { (char *)"Frame_plate", _wrap_Frame_plate, METH_VARARGS },
11704 { (char *)"Frame_titlebar", _wrap_Frame_titlebar, METH_VARARGS },
11705 { (char *)"Frame_label", _wrap_Frame_label, METH_VARARGS },
11706 { (char *)"Frame_button_close", _wrap_Frame_button_close, METH_VARARGS },
11707 { (char *)"Frame_button_iconify", _wrap_Frame_button_iconify, METH_VARARGS },
11708 { (char *)"Frame_button_max", _wrap_Frame_button_max, METH_VARARGS },
11709 { (char *)"Frame_button_stick", _wrap_Frame_button_stick, METH_VARARGS },
11710 { (char *)"Frame_handle", _wrap_Frame_handle, METH_VARARGS },
11711 { (char *)"Frame_grip_left", _wrap_Frame_grip_left, METH_VARARGS },
11712 { (char *)"Frame_grip_right", _wrap_Frame_grip_right, METH_VARARGS },
11713 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
11714 { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set, METH_VARARGS },
11715 { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get, METH_VARARGS },
11716 { (char *)"MouseData_client_set", _wrap_MouseData_client_set, METH_VARARGS },
11717 { (char *)"MouseData_client_get", _wrap_MouseData_client_get, METH_VARARGS },
11718 { (char *)"MouseData_time_set", _wrap_MouseData_time_set, METH_VARARGS },
11719 { (char *)"MouseData_time_get", _wrap_MouseData_time_get, METH_VARARGS },
11720 { (char *)"MouseData_state_set", _wrap_MouseData_state_set, METH_VARARGS },
11721 { (char *)"MouseData_state_get", _wrap_MouseData_state_get, METH_VARARGS },
11722 { (char *)"MouseData_button_set", _wrap_MouseData_button_set, METH_VARARGS },
11723 { (char *)"MouseData_button_get", _wrap_MouseData_button_get, METH_VARARGS },
11724 { (char *)"MouseData_context_set", _wrap_MouseData_context_set, METH_VARARGS },
11725 { (char *)"MouseData_context_get", _wrap_MouseData_context_get, METH_VARARGS },
11726 { (char *)"MouseData_action_set", _wrap_MouseData_action_set, METH_VARARGS },
11727 { (char *)"MouseData_action_get", _wrap_MouseData_action_get, METH_VARARGS },
11728 { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set, METH_VARARGS },
11729 { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get, METH_VARARGS },
11730 { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set, METH_VARARGS },
11731 { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get, METH_VARARGS },
11732 { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set, METH_VARARGS },
11733 { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get, METH_VARARGS },
11734 { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set, METH_VARARGS },
11735 { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get, METH_VARARGS },
11736 { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set, METH_VARARGS },
11737 { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get, METH_VARARGS },
11738 { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set, METH_VARARGS },
11739 { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get, METH_VARARGS },
11740 { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set, METH_VARARGS },
11741 { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get, METH_VARARGS },
11742 { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set, METH_VARARGS },
11743 { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get, METH_VARARGS },
11744 { (char *)"new_MouseData", _wrap_new_MouseData, METH_VARARGS },
11745 { (char *)"MouseData_swigregister", MouseData_swigregister, METH_VARARGS },
11746 { (char *)"EventData_screen_set", _wrap_EventData_screen_set, METH_VARARGS },
11747 { (char *)"EventData_screen_get", _wrap_EventData_screen_get, METH_VARARGS },
11748 { (char *)"EventData_client_set", _wrap_EventData_client_set, METH_VARARGS },
11749 { (char *)"EventData_client_get", _wrap_EventData_client_get, METH_VARARGS },
11750 { (char *)"EventData_state_set", _wrap_EventData_state_set, METH_VARARGS },
11751 { (char *)"EventData_state_get", _wrap_EventData_state_get, METH_VARARGS },
11752 { (char *)"EventData_action_set", _wrap_EventData_action_set, METH_VARARGS },
11753 { (char *)"EventData_action_get", _wrap_EventData_action_get, METH_VARARGS },
11754 { (char *)"new_EventData", _wrap_new_EventData, METH_VARARGS },
11755 { (char *)"EventData_swigregister", EventData_swigregister, METH_VARARGS },
11756 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set, METH_VARARGS },
11757 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get, METH_VARARGS },
11758 { (char *)"KeyData_client_set", _wrap_KeyData_client_set, METH_VARARGS },
11759 { (char *)"KeyData_client_get", _wrap_KeyData_client_get, METH_VARARGS },
11760 { (char *)"KeyData_time_set", _wrap_KeyData_time_set, METH_VARARGS },
11761 { (char *)"KeyData_time_get", _wrap_KeyData_time_get, METH_VARARGS },
11762 { (char *)"KeyData_state_set", _wrap_KeyData_state_set, METH_VARARGS },
11763 { (char *)"KeyData_state_get", _wrap_KeyData_state_get, METH_VARARGS },
11764 { (char *)"KeyData_key_set", _wrap_KeyData_key_set, METH_VARARGS },
11765 { (char *)"KeyData_key_get", _wrap_KeyData_key_get, METH_VARARGS },
11766 { (char *)"new_KeyData", _wrap_new_KeyData, METH_VARARGS },
11767 { (char *)"KeyData_swigregister", KeyData_swigregister, METH_VARARGS },
11768 { (char *)"mbind", _wrap_mbind, METH_VARARGS },
11769 { (char *)"kbind", _wrap_kbind, METH_VARARGS },
11770 { (char *)"ebind", _wrap_ebind, METH_VARARGS },
11771 { (char *)"set_reset_key", _wrap_set_reset_key, METH_VARARGS },
11772 { (char *)"send_client_msg", _wrap_send_client_msg, METH_VARARGS },
11773 { NULL, NULL }
11774 };
11775
11776
11777 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11778
11779 static void *_p_ob__FrameTo_p_otk__Widget(void *x) {
11780 return (void *)((otk::Widget *) ((ob::Frame *) x));
11781 }
11782 static void *_p_ob__ActionsTo_p_otk__EventHandler(void *x) {
11783 return (void *)((otk::EventHandler *) ((ob::Actions *) x));
11784 }
11785 static void *_p_ob__FrameTo_p_otk__EventHandler(void *x) {
11786 return (void *)((otk::EventHandler *) (otk::Widget *) ((ob::Frame *) x));
11787 }
11788 static void *_p_otk__WidgetTo_p_otk__EventHandler(void *x) {
11789 return (void *)((otk::EventHandler *) ((otk::Widget *) x));
11790 }
11791 static void *_p_ob__OpenboxTo_p_otk__EventHandler(void *x) {
11792 return (void *)((otk::EventHandler *) ((ob::Openbox *) x));
11793 }
11794 static void *_p_ob__ScreenTo_p_otk__EventHandler(void *x) {
11795 return (void *)((otk::EventHandler *) ((ob::Screen *) x));
11796 }
11797 static void *_p_ob__ClientTo_p_otk__EventHandler(void *x) {
11798 return (void *)((otk::EventHandler *) ((ob::Client *) x));
11799 }
11800 static void *_p_ob__OpenboxTo_p_otk__EventDispatcher(void *x) {
11801 return (void *)((otk::EventDispatcher *) ((ob::Openbox *) x));
11802 }
11803 static void *_p_ob__FrameTo_p_ob__WidgetBase(void *x) {
11804 return (void *)((ob::WidgetBase *) ((ob::Frame *) x));
11805 }
11806 static void *_p_ob__ScreenTo_p_ob__WidgetBase(void *x) {
11807 return (void *)((ob::WidgetBase *) ((ob::Screen *) x));
11808 }
11809 static void *_p_ob__ClientTo_p_ob__WidgetBase(void *x) {
11810 return (void *)((ob::WidgetBase *) ((ob::Client *) x));
11811 }
11812 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
11813 static swig_type_info _swigt__p_ob__Client[] = {{"_p_ob__Client", 0, "ob::Client *", 0},{"_p_ob__Client"},{0}};
11814 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
11815 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
11816 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
11817 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
11818 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
11819 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
11820 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
11821 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
11822 static swig_type_info _swigt__p_ob__MouseData[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
11823 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
11824 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
11825 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
11826 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
11827 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
11828 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
11829 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
11830 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
11831 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
11832 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
11833 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
11834 static swig_type_info _swigt__p_ob__Cursors[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
11835 static swig_type_info _swigt__p_otk__ImageControl[] = {{"_p_otk__ImageControl", 0, "otk::ImageControl *", 0},{"_p_otk__ImageControl"},{0}};
11836 static swig_type_info _swigt__p_ob__MwmHints[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
11837 static swig_type_info _swigt__p_ob__Screen[] = {{"_p_ob__Screen", 0, "ob::Screen *", 0},{"_p_ob__Screen"},{0}};
11838 static swig_type_info _swigt__p_ob__Frame[] = {{"_p_ob__Frame", 0, "ob::Frame *", 0},{"_p_ob__Frame"},{0}};
11839 static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
11840 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
11841 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
11842 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
11843 static swig_type_info _swigt__p_otk__ustring[] = {{"_p_otk__ustring", 0, "otk::ustring *", 0},{"_p_otk__ustring"},{0}};
11844 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
11845 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
11846 static swig_type_info _swigt__p_otk__Display[] = {{"_p_otk__Display", 0, "otk::Display *", 0},{"_p_otk__Display"},{0}};
11847 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
11848 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
11849 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
11850 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}};
11851 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
11852 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}};
11853 static swig_type_info _swigt__p_otk__GCCache[] = {{"_p_otk__GCCache", 0, "otk::GCCache *", 0},{"_p_otk__GCCache"},{0}};
11854 static swig_type_info _swigt__p_ob__Bindings[] = {{"_p_ob__Bindings", 0, "ob::Bindings *", 0},{"_p_ob__Bindings"},{0}};
11855 static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
11856 static swig_type_info _swigt__p_ob__Actions[] = {{"_p_ob__Actions", 0, "ob::Actions *", 0},{"_p_ob__Actions"},{0}};
11857 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}};
11858 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
11859 static swig_type_info _swigt__p_otk__Property[] = {{"_p_otk__Property", 0, "otk::Property *", 0},{"_p_otk__Property"},{0}};
11860 static swig_type_info _swigt__p_PyObject[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
11861 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
11862 static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
11863 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
11864 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
11865 static swig_type_info _swigt__p_otk__Property__StringVect[] = {{"_p_otk__Property__StringVect", 0, "otk::Property::StringVect *", 0},{"_p_otk__Property__StringVect"},{0}};
11866 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}};
11867 static swig_type_info _swigt__p_otk__Atoms[] = {{"_p_otk__Atoms", 0, "otk::Atoms *", 0},{"_p_otk__Atoms"},{0}};
11868 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
11869 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11870 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
11871 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
11872 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
11873 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
11874 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
11875 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
11876
11877 static swig_type_info *swig_types_initial[] = {
11878 _swigt__p_otk__Point,
11879 _swigt__p_ob__Client,
11880 _swigt__p_XMapEvent,
11881 _swigt__p_XUnmapEvent,
11882 _swigt__p_XColormapEvent,
11883 _swigt__p_XNoExposeEvent,
11884 _swigt__p_XGraphicsExposeEvent,
11885 _swigt__p_XExposeEvent,
11886 _swigt__p_XFocusChangeEvent,
11887 _swigt__p_XClientMessageEvent,
11888 _swigt__p_ob__MouseData,
11889 _swigt__p_XSelectionClearEvent,
11890 _swigt__p_otk__Rect,
11891 _swigt__p_Visual,
11892 _swigt__p_XResizeRequestEvent,
11893 _swigt__p_XMapRequestEvent,
11894 _swigt__p_XConfigureRequestEvent,
11895 _swigt__p_XCirculateRequestEvent,
11896 _swigt__p_XGravityEvent,
11897 _swigt__p_XVisibilityEvent,
11898 _swigt__p_XPropertyEvent,
11899 _swigt__p_XSelectionRequestEvent,
11900 _swigt__p_ob__Cursors,
11901 _swigt__p_otk__ImageControl,
11902 _swigt__p_ob__MwmHints,
11903 _swigt__p_ob__Screen,
11904 _swigt__p_ob__Frame,
11905 _swigt__p_ob__KeyData,
11906 _swigt__p_XCirculateEvent,
11907 _swigt__p_XConfigureEvent,
11908 _swigt__p_XRectangle,
11909 _swigt__p_otk__ustring,
11910 _swigt__p_std__string,
11911 _swigt__p_XCrossingEvent,
11912 _swigt__p_otk__Display,
11913 _swigt__p_Display,
11914 _swigt__p_XMappingEvent,
11915 _swigt__p_otk__Style,
11916 _swigt__p_otk__EventHandler,
11917 _swigt__p_XReparentEvent,
11918 _swigt__p_otk__EventDispatcher,
11919 _swigt__p_otk__GCCache,
11920 _swigt__p_ob__Bindings,
11921 _swigt__p_ob__Openbox,
11922 _swigt__p_ob__Actions,
11923 _swigt__p_otk__Widget,
11924 _swigt__p_XEvent,
11925 _swigt__p_otk__Property,
11926 _swigt__p_PyObject,
11927 _swigt__p_otk__ScreenInfo,
11928 _swigt__p_ob__EventData,
11929 _swigt__p_XCreateWindowEvent,
11930 _swigt__p_XDestroyWindowEvent,
11931 _swigt__p_otk__Property__StringVect,
11932 _swigt__p_ob__WidgetBase,
11933 _swigt__p_otk__Atoms,
11934 _swigt__p_XKeyEvent,
11935 _swigt__p_int,
11936 _swigt__p_otk__Strut,
11937 _swigt__p_unsigned_long,
11938 _swigt__p_p_unsigned_long,
11939 _swigt__p_XMotionEvent,
11940 _swigt__p_XButtonEvent,
11941 _swigt__p_XSelectionEvent,
11942 0
11943 };
11944
11945
11946 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11947
11948 static swig_const_info swig_const_table[] = {
11949 { SWIG_PY_INT, (char *)"Property_ascii", (long) otk::Property::ascii, 0, 0, 0},
11950 { SWIG_PY_INT, (char *)"Property_utf8", (long) otk::Property::utf8, 0, 0, 0},
11951 { SWIG_PY_INT, (char *)"Property_NUM_STRING_TYPE", (long) otk::Property::NUM_STRING_TYPE, 0, 0, 0},
11952 { SWIG_PY_INT, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting, 0, 0, 0},
11953 { SWIG_PY_INT, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal, 0, 0, 0},
11954 { SWIG_PY_INT, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting, 0, 0, 0},
11955 { SWIG_PY_INT, (char *)"Screen_event_mask", (long) ob::Screen::event_mask, 0, 0, 0},
11956 { SWIG_PY_INT, (char *)"MwmHints_elements", (long) ob::MwmHints::elements, 0, 0, 0},
11957 { SWIG_PY_INT, (char *)"Client_Layer_Icon", (long) ob::Client::Layer_Icon, 0, 0, 0},
11958 { SWIG_PY_INT, (char *)"Client_Layer_Desktop", (long) ob::Client::Layer_Desktop, 0, 0, 0},
11959 { SWIG_PY_INT, (char *)"Client_Layer_Below", (long) ob::Client::Layer_Below, 0, 0, 0},
11960 { SWIG_PY_INT, (char *)"Client_Layer_Normal", (long) ob::Client::Layer_Normal, 0, 0, 0},
11961 { SWIG_PY_INT, (char *)"Client_Layer_Above", (long) ob::Client::Layer_Above, 0, 0, 0},
11962 { SWIG_PY_INT, (char *)"Client_Layer_Top", (long) ob::Client::Layer_Top, 0, 0, 0},
11963 { SWIG_PY_INT, (char *)"Client_Layer_Fullscreen", (long) ob::Client::Layer_Fullscreen, 0, 0, 0},
11964 { SWIG_PY_INT, (char *)"Client_Layer_Internal", (long) ob::Client::Layer_Internal, 0, 0, 0},
11965 { SWIG_PY_INT, (char *)"Client_NUM_LAYERS", (long) ob::Client::NUM_LAYERS, 0, 0, 0},
11966 { SWIG_PY_INT, (char *)"Client_TopLeft", (long) ob::Client::TopLeft, 0, 0, 0},
11967 { SWIG_PY_INT, (char *)"Client_TopRight", (long) ob::Client::TopRight, 0, 0, 0},
11968 { SWIG_PY_INT, (char *)"Client_BottomLeft", (long) ob::Client::BottomLeft, 0, 0, 0},
11969 { SWIG_PY_INT, (char *)"Client_BottomRight", (long) ob::Client::BottomRight, 0, 0, 0},
11970 { SWIG_PY_INT, (char *)"Client_Type_Desktop", (long) ob::Client::Type_Desktop, 0, 0, 0},
11971 { SWIG_PY_INT, (char *)"Client_Type_Dock", (long) ob::Client::Type_Dock, 0, 0, 0},
11972 { SWIG_PY_INT, (char *)"Client_Type_Toolbar", (long) ob::Client::Type_Toolbar, 0, 0, 0},
11973 { SWIG_PY_INT, (char *)"Client_Type_Menu", (long) ob::Client::Type_Menu, 0, 0, 0},
11974 { SWIG_PY_INT, (char *)"Client_Type_Utility", (long) ob::Client::Type_Utility, 0, 0, 0},
11975 { SWIG_PY_INT, (char *)"Client_Type_Splash", (long) ob::Client::Type_Splash, 0, 0, 0},
11976 { SWIG_PY_INT, (char *)"Client_Type_Dialog", (long) ob::Client::Type_Dialog, 0, 0, 0},
11977 { SWIG_PY_INT, (char *)"Client_Type_Normal", (long) ob::Client::Type_Normal, 0, 0, 0},
11978 { SWIG_PY_INT, (char *)"Client_MwmFlag_Functions", (long) ob::Client::MwmFlag_Functions, 0, 0, 0},
11979 { SWIG_PY_INT, (char *)"Client_MwmFlag_Decorations", (long) ob::Client::MwmFlag_Decorations, 0, 0, 0},
11980 { SWIG_PY_INT, (char *)"Client_MwmFunc_All", (long) ob::Client::MwmFunc_All, 0, 0, 0},
11981 { SWIG_PY_INT, (char *)"Client_MwmFunc_Resize", (long) ob::Client::MwmFunc_Resize, 0, 0, 0},
11982 { SWIG_PY_INT, (char *)"Client_MwmFunc_Move", (long) ob::Client::MwmFunc_Move, 0, 0, 0},
11983 { SWIG_PY_INT, (char *)"Client_MwmFunc_Iconify", (long) ob::Client::MwmFunc_Iconify, 0, 0, 0},
11984 { SWIG_PY_INT, (char *)"Client_MwmFunc_Maximize", (long) ob::Client::MwmFunc_Maximize, 0, 0, 0},
11985 { SWIG_PY_INT, (char *)"Client_MwmDecor_All", (long) ob::Client::MwmDecor_All, 0, 0, 0},
11986 { SWIG_PY_INT, (char *)"Client_MwmDecor_Border", (long) ob::Client::MwmDecor_Border, 0, 0, 0},
11987 { SWIG_PY_INT, (char *)"Client_MwmDecor_Handle", (long) ob::Client::MwmDecor_Handle, 0, 0, 0},
11988 { SWIG_PY_INT, (char *)"Client_MwmDecor_Title", (long) ob::Client::MwmDecor_Title, 0, 0, 0},
11989 { SWIG_PY_INT, (char *)"Client_MwmDecor_Iconify", (long) ob::Client::MwmDecor_Iconify, 0, 0, 0},
11990 { SWIG_PY_INT, (char *)"Client_MwmDecor_Maximize", (long) ob::Client::MwmDecor_Maximize, 0, 0, 0},
11991 { SWIG_PY_INT, (char *)"Client_Func_Resize", (long) ob::Client::Func_Resize, 0, 0, 0},
11992 { SWIG_PY_INT, (char *)"Client_Func_Move", (long) ob::Client::Func_Move, 0, 0, 0},
11993 { SWIG_PY_INT, (char *)"Client_Func_Iconify", (long) ob::Client::Func_Iconify, 0, 0, 0},
11994 { SWIG_PY_INT, (char *)"Client_Func_Maximize", (long) ob::Client::Func_Maximize, 0, 0, 0},
11995 { SWIG_PY_INT, (char *)"Client_Func_Shade", (long) ob::Client::Func_Shade, 0, 0, 0},
11996 { SWIG_PY_INT, (char *)"Client_Func_Fullscreen", (long) ob::Client::Func_Fullscreen, 0, 0, 0},
11997 { SWIG_PY_INT, (char *)"Client_Func_Close", (long) ob::Client::Func_Close, 0, 0, 0},
11998 { SWIG_PY_INT, (char *)"Client_Decor_Titlebar", (long) ob::Client::Decor_Titlebar, 0, 0, 0},
11999 { SWIG_PY_INT, (char *)"Client_Decor_Handle", (long) ob::Client::Decor_Handle, 0, 0, 0},
12000 { SWIG_PY_INT, (char *)"Client_Decor_Border", (long) ob::Client::Decor_Border, 0, 0, 0},
12001 { SWIG_PY_INT, (char *)"Client_Decor_Iconify", (long) ob::Client::Decor_Iconify, 0, 0, 0},
12002 { SWIG_PY_INT, (char *)"Client_Decor_Maximize", (long) ob::Client::Decor_Maximize, 0, 0, 0},
12003 { SWIG_PY_INT, (char *)"Client_Decor_Sticky", (long) ob::Client::Decor_Sticky, 0, 0, 0},
12004 { SWIG_PY_INT, (char *)"Client_Decor_Close", (long) ob::Client::Decor_Close, 0, 0, 0},
12005 { SWIG_PY_INT, (char *)"Client_State_Remove", (long) ob::Client::State_Remove, 0, 0, 0},
12006 { SWIG_PY_INT, (char *)"Client_State_Add", (long) ob::Client::State_Add, 0, 0, 0},
12007 { SWIG_PY_INT, (char *)"Client_State_Toggle", (long) ob::Client::State_Toggle, 0, 0, 0},
12008 { SWIG_PY_INT, (char *)"Client_event_mask", (long) ob::Client::event_mask, 0, 0, 0},
12009 { SWIG_PY_INT, (char *)"Client_no_propagate_mask", (long) ob::Client::no_propagate_mask, 0, 0, 0},
12010 { SWIG_PY_INT, (char *)"Frame_event_mask", (long) ob::Frame::event_mask, 0, 0, 0},
12011 { SWIG_PY_INT, (char *)"MC_Frame", (long) ob::MC_Frame, 0, 0, 0},
12012 { SWIG_PY_INT, (char *)"MC_Titlebar", (long) ob::MC_Titlebar, 0, 0, 0},
12013 { SWIG_PY_INT, (char *)"MC_Handle", (long) ob::MC_Handle, 0, 0, 0},
12014 { SWIG_PY_INT, (char *)"MC_Window", (long) ob::MC_Window, 0, 0, 0},
12015 { SWIG_PY_INT, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton, 0, 0, 0},
12016 { SWIG_PY_INT, (char *)"MC_CloseButton", (long) ob::MC_CloseButton, 0, 0, 0},
12017 { SWIG_PY_INT, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton, 0, 0, 0},
12018 { SWIG_PY_INT, (char *)"MC_StickyButton", (long) ob::MC_StickyButton, 0, 0, 0},
12019 { SWIG_PY_INT, (char *)"MC_Grip", (long) ob::MC_Grip, 0, 0, 0},
12020 { SWIG_PY_INT, (char *)"MC_Root", (long) ob::MC_Root, 0, 0, 0},
12021 { SWIG_PY_INT, (char *)"MC_MenuItem", (long) ob::MC_MenuItem, 0, 0, 0},
12022 { SWIG_PY_INT, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT, 0, 0, 0},
12023 { SWIG_PY_INT, (char *)"MousePress", (long) ob::MousePress, 0, 0, 0},
12024 { SWIG_PY_INT, (char *)"MouseClick", (long) ob::MouseClick, 0, 0, 0},
12025 { SWIG_PY_INT, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick, 0, 0, 0},
12026 { SWIG_PY_INT, (char *)"MouseMotion", (long) ob::MouseMotion, 0, 0, 0},
12027 { SWIG_PY_INT, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION, 0, 0, 0},
12028 { SWIG_PY_INT, (char *)"KC_Menu", (long) ob::KC_Menu, 0, 0, 0},
12029 { SWIG_PY_INT, (char *)"KC_All", (long) ob::KC_All, 0, 0, 0},
12030 { SWIG_PY_INT, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT, 0, 0, 0},
12031 { SWIG_PY_INT, (char *)"EventEnterWindow", (long) ob::EventEnterWindow, 0, 0, 0},
12032 { SWIG_PY_INT, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow, 0, 0, 0},
12033 { SWIG_PY_INT, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow, 0, 0, 0},
12034 { SWIG_PY_INT, (char *)"EventNewWindow", (long) ob::EventNewWindow, 0, 0, 0},
12035 { SWIG_PY_INT, (char *)"EventCloseWindow", (long) ob::EventCloseWindow, 0, 0, 0},
12036 { SWIG_PY_INT, (char *)"EventStartup", (long) ob::EventStartup, 0, 0, 0},
12037 { SWIG_PY_INT, (char *)"EventShutdown", (long) ob::EventShutdown, 0, 0, 0},
12038 { SWIG_PY_INT, (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0},
12039 { SWIG_PY_INT, (char *)"EventBell", (long) ob::EventBell, 0, 0, 0},
12040 { SWIG_PY_INT, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0},
12041 { SWIG_PY_INT, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
12042 { SWIG_PY_INT, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
12043 { SWIG_PY_INT, (char *)"None", (long) 0L, 0, 0, 0},
12044 { SWIG_PY_INT, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
12045 { SWIG_PY_INT, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
12046 { SWIG_PY_INT, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
12047 { SWIG_PY_INT, (char *)"InputFocus", (long) 1L, 0, 0, 0},
12048 { SWIG_PY_INT, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
12049 { SWIG_PY_INT, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
12050 { SWIG_PY_INT, (char *)"AnyKey", (long) 0L, 0, 0, 0},
12051 { SWIG_PY_INT, (char *)"AnyButton", (long) 0L, 0, 0, 0},
12052 { SWIG_PY_INT, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
12053 { SWIG_PY_INT, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
12054 { SWIG_PY_INT, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
12055 { SWIG_PY_INT, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
12056 { SWIG_PY_INT, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
12057 { SWIG_PY_INT, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
12058 { SWIG_PY_INT, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
12059 { SWIG_PY_INT, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
12060 { SWIG_PY_INT, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
12061 { SWIG_PY_INT, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
12062 { SWIG_PY_INT, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
12063 { SWIG_PY_INT, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
12064 { SWIG_PY_INT, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
12065 { SWIG_PY_INT, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
12066 { SWIG_PY_INT, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
12067 { SWIG_PY_INT, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
12068 { SWIG_PY_INT, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
12069 { SWIG_PY_INT, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
12070 { SWIG_PY_INT, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
12071 { SWIG_PY_INT, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
12072 { SWIG_PY_INT, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
12073 { SWIG_PY_INT, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
12074 { SWIG_PY_INT, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
12075 { SWIG_PY_INT, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
12076 { SWIG_PY_INT, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
12077 { SWIG_PY_INT, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
12078 { SWIG_PY_INT, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
12079 { SWIG_PY_INT, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
12080 { SWIG_PY_INT, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
12081 { SWIG_PY_INT, (char *)"KeyPress", (long) 2, 0, 0, 0},
12082 { SWIG_PY_INT, (char *)"KeyRelease", (long) 3, 0, 0, 0},
12083 { SWIG_PY_INT, (char *)"ButtonPress", (long) 4, 0, 0, 0},
12084 { SWIG_PY_INT, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
12085 { SWIG_PY_INT, (char *)"MotionNotify", (long) 6, 0, 0, 0},
12086 { SWIG_PY_INT, (char *)"EnterNotify", (long) 7, 0, 0, 0},
12087 { SWIG_PY_INT, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
12088 { SWIG_PY_INT, (char *)"FocusIn", (long) 9, 0, 0, 0},
12089 { SWIG_PY_INT, (char *)"FocusOut", (long) 10, 0, 0, 0},
12090 { SWIG_PY_INT, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
12091 { SWIG_PY_INT, (char *)"Expose", (long) 12, 0, 0, 0},
12092 { SWIG_PY_INT, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
12093 { SWIG_PY_INT, (char *)"NoExpose", (long) 14, 0, 0, 0},
12094 { SWIG_PY_INT, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
12095 { SWIG_PY_INT, (char *)"CreateNotify", (long) 16, 0, 0, 0},
12096 { SWIG_PY_INT, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
12097 { SWIG_PY_INT, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
12098 { SWIG_PY_INT, (char *)"MapNotify", (long) 19, 0, 0, 0},
12099 { SWIG_PY_INT, (char *)"MapRequest", (long) 20, 0, 0, 0},
12100 { SWIG_PY_INT, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
12101 { SWIG_PY_INT, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
12102 { SWIG_PY_INT, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
12103 { SWIG_PY_INT, (char *)"GravityNotify", (long) 24, 0, 0, 0},
12104 { SWIG_PY_INT, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
12105 { SWIG_PY_INT, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
12106 { SWIG_PY_INT, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
12107 { SWIG_PY_INT, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
12108 { SWIG_PY_INT, (char *)"SelectionClear", (long) 29, 0, 0, 0},
12109 { SWIG_PY_INT, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
12110 { SWIG_PY_INT, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
12111 { SWIG_PY_INT, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
12112 { SWIG_PY_INT, (char *)"ClientMessage", (long) 33, 0, 0, 0},
12113 { SWIG_PY_INT, (char *)"MappingNotify", (long) 34, 0, 0, 0},
12114 { SWIG_PY_INT, (char *)"LASTEvent", (long) 35, 0, 0, 0},
12115 { SWIG_PY_INT, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
12116 { SWIG_PY_INT, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
12117 { SWIG_PY_INT, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
12118 { SWIG_PY_INT, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
12119 { SWIG_PY_INT, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
12120 { SWIG_PY_INT, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
12121 { SWIG_PY_INT, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
12122 { SWIG_PY_INT, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
12123 { SWIG_PY_INT, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
12124 { SWIG_PY_INT, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
12125 { SWIG_PY_INT, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
12126 { SWIG_PY_INT, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
12127 { SWIG_PY_INT, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
12128 { SWIG_PY_INT, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
12129 { SWIG_PY_INT, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
12130 { SWIG_PY_INT, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
12131 { SWIG_PY_INT, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
12132 { SWIG_PY_INT, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
12133 { SWIG_PY_INT, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
12134 { SWIG_PY_INT, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
12135 { SWIG_PY_INT, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
12136 { SWIG_PY_INT, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
12137 { SWIG_PY_INT, (char *)"Button1", (long) 1, 0, 0, 0},
12138 { SWIG_PY_INT, (char *)"Button2", (long) 2, 0, 0, 0},
12139 { SWIG_PY_INT, (char *)"Button3", (long) 3, 0, 0, 0},
12140 { SWIG_PY_INT, (char *)"Button4", (long) 4, 0, 0, 0},
12141 { SWIG_PY_INT, (char *)"Button5", (long) 5, 0, 0, 0},
12142 { SWIG_PY_INT, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
12143 { SWIG_PY_INT, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
12144 { SWIG_PY_INT, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
12145 { SWIG_PY_INT, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
12146 { SWIG_PY_INT, (char *)"NotifyHint", (long) 1, 0, 0, 0},
12147 { SWIG_PY_INT, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
12148 { SWIG_PY_INT, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
12149 { SWIG_PY_INT, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
12150 { SWIG_PY_INT, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
12151 { SWIG_PY_INT, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
12152 { SWIG_PY_INT, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
12153 { SWIG_PY_INT, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
12154 { SWIG_PY_INT, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
12155 { SWIG_PY_INT, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
12156 { SWIG_PY_INT, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
12157 { SWIG_PY_INT, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
12158 { SWIG_PY_INT, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
12159 { SWIG_PY_INT, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
12160 { SWIG_PY_INT, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
12161 { SWIG_PY_INT, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
12162 { SWIG_PY_INT, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
12163 { SWIG_PY_INT, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
12164 { SWIG_PY_INT, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
12165 { SWIG_PY_INT, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
12166 { SWIG_PY_INT, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
12167 { SWIG_PY_INT, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
12168 { SWIG_PY_INT, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
12169 { SWIG_PY_INT, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
12170 { SWIG_PY_INT, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
12171 { SWIG_PY_INT, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
12172 { SWIG_PY_INT, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
12173 { SWIG_PY_INT, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
12174 { SWIG_PY_INT, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
12175 { SWIG_PY_INT, (char *)"SyncPointer", (long) 1, 0, 0, 0},
12176 { SWIG_PY_INT, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
12177 { SWIG_PY_INT, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
12178 { SWIG_PY_INT, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
12179 { SWIG_PY_INT, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
12180 { SWIG_PY_INT, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
12181 { SWIG_PY_INT, (char *)"SyncBoth", (long) 7, 0, 0, 0},
12182 { SWIG_PY_INT, (char *)"RevertToParent", (long) 2, 0, 0, 0},
12183 { SWIG_PY_INT, (char *)"Success", (long) 0, 0, 0, 0},
12184 { SWIG_PY_INT, (char *)"BadRequest", (long) 1, 0, 0, 0},
12185 { SWIG_PY_INT, (char *)"BadValue", (long) 2, 0, 0, 0},
12186 { SWIG_PY_INT, (char *)"BadWindow", (long) 3, 0, 0, 0},
12187 { SWIG_PY_INT, (char *)"BadPixmap", (long) 4, 0, 0, 0},
12188 { SWIG_PY_INT, (char *)"BadAtom", (long) 5, 0, 0, 0},
12189 { SWIG_PY_INT, (char *)"BadCursor", (long) 6, 0, 0, 0},
12190 { SWIG_PY_INT, (char *)"BadFont", (long) 7, 0, 0, 0},
12191 { SWIG_PY_INT, (char *)"BadMatch", (long) 8, 0, 0, 0},
12192 { SWIG_PY_INT, (char *)"BadDrawable", (long) 9, 0, 0, 0},
12193 { SWIG_PY_INT, (char *)"BadAccess", (long) 10, 0, 0, 0},
12194 { SWIG_PY_INT, (char *)"BadAlloc", (long) 11, 0, 0, 0},
12195 { SWIG_PY_INT, (char *)"BadColor", (long) 12, 0, 0, 0},
12196 { SWIG_PY_INT, (char *)"BadGC", (long) 13, 0, 0, 0},
12197 { SWIG_PY_INT, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
12198 { SWIG_PY_INT, (char *)"BadName", (long) 15, 0, 0, 0},
12199 { SWIG_PY_INT, (char *)"BadLength", (long) 16, 0, 0, 0},
12200 { SWIG_PY_INT, (char *)"BadImplementation", (long) 17, 0, 0, 0},
12201 { SWIG_PY_INT, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
12202 { SWIG_PY_INT, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
12203 { SWIG_PY_INT, (char *)"InputOutput", (long) 1, 0, 0, 0},
12204 { SWIG_PY_INT, (char *)"InputOnly", (long) 2, 0, 0, 0},
12205 { SWIG_PY_INT, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
12206 { SWIG_PY_INT, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
12207 { SWIG_PY_INT, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
12208 { SWIG_PY_INT, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
12209 { SWIG_PY_INT, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
12210 { SWIG_PY_INT, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
12211 { SWIG_PY_INT, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
12212 { SWIG_PY_INT, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
12213 { SWIG_PY_INT, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
12214 { SWIG_PY_INT, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
12215 { SWIG_PY_INT, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
12216 { SWIG_PY_INT, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
12217 { SWIG_PY_INT, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
12218 { SWIG_PY_INT, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
12219 { SWIG_PY_INT, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
12220 { SWIG_PY_INT, (char *)"CWX", (long) (1<<0), 0, 0, 0},
12221 { SWIG_PY_INT, (char *)"CWY", (long) (1<<1), 0, 0, 0},
12222 { SWIG_PY_INT, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
12223 { SWIG_PY_INT, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
12224 { SWIG_PY_INT, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
12225 { SWIG_PY_INT, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
12226 { SWIG_PY_INT, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
12227 { SWIG_PY_INT, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
12228 { SWIG_PY_INT, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
12229 { SWIG_PY_INT, (char *)"NorthGravity", (long) 2, 0, 0, 0},
12230 { SWIG_PY_INT, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
12231 { SWIG_PY_INT, (char *)"WestGravity", (long) 4, 0, 0, 0},
12232 { SWIG_PY_INT, (char *)"CenterGravity", (long) 5, 0, 0, 0},
12233 { SWIG_PY_INT, (char *)"EastGravity", (long) 6, 0, 0, 0},
12234 { SWIG_PY_INT, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
12235 { SWIG_PY_INT, (char *)"SouthGravity", (long) 8, 0, 0, 0},
12236 { SWIG_PY_INT, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
12237 { SWIG_PY_INT, (char *)"StaticGravity", (long) 10, 0, 0, 0},
12238 { SWIG_PY_INT, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
12239 { SWIG_PY_INT, (char *)"NotUseful", (long) 0, 0, 0, 0},
12240 { SWIG_PY_INT, (char *)"WhenMapped", (long) 1, 0, 0, 0},
12241 { SWIG_PY_INT, (char *)"Always", (long) 2, 0, 0, 0},
12242 { SWIG_PY_INT, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
12243 { SWIG_PY_INT, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
12244 { SWIG_PY_INT, (char *)"IsViewable", (long) 2, 0, 0, 0},
12245 { SWIG_PY_INT, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
12246 { SWIG_PY_INT, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
12247 { SWIG_PY_INT, (char *)"DestroyAll", (long) 0, 0, 0, 0},
12248 { SWIG_PY_INT, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
12249 { SWIG_PY_INT, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
12250 { SWIG_PY_INT, (char *)"Above", (long) 0, 0, 0, 0},
12251 { SWIG_PY_INT, (char *)"Below", (long) 1, 0, 0, 0},
12252 { SWIG_PY_INT, (char *)"TopIf", (long) 2, 0, 0, 0},
12253 { SWIG_PY_INT, (char *)"BottomIf", (long) 3, 0, 0, 0},
12254 { SWIG_PY_INT, (char *)"Opposite", (long) 4, 0, 0, 0},
12255 { SWIG_PY_INT, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
12256 { SWIG_PY_INT, (char *)"LowerHighest", (long) 1, 0, 0, 0},
12257 { SWIG_PY_INT, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
12258 { SWIG_PY_INT, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
12259 { SWIG_PY_INT, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
12260 { SWIG_PY_INT, (char *)"GXclear", (long) 0x0, 0, 0, 0},
12261 { SWIG_PY_INT, (char *)"GXand", (long) 0x1, 0, 0, 0},
12262 { SWIG_PY_INT, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
12263 { SWIG_PY_INT, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
12264 { SWIG_PY_INT, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
12265 { SWIG_PY_INT, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
12266 { SWIG_PY_INT, (char *)"GXxor", (long) 0x6, 0, 0, 0},
12267 { SWIG_PY_INT, (char *)"GXor", (long) 0x7, 0, 0, 0},
12268 { SWIG_PY_INT, (char *)"GXnor", (long) 0x8, 0, 0, 0},
12269 { SWIG_PY_INT, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
12270 { SWIG_PY_INT, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
12271 { SWIG_PY_INT, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
12272 { SWIG_PY_INT, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
12273 { SWIG_PY_INT, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
12274 { SWIG_PY_INT, (char *)"GXnand", (long) 0xe, 0, 0, 0},
12275 { SWIG_PY_INT, (char *)"GXset", (long) 0xf, 0, 0, 0},
12276 { SWIG_PY_INT, (char *)"LineSolid", (long) 0, 0, 0, 0},
12277 { SWIG_PY_INT, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
12278 { SWIG_PY_INT, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
12279 { SWIG_PY_INT, (char *)"CapNotLast", (long) 0, 0, 0, 0},
12280 { SWIG_PY_INT, (char *)"CapButt", (long) 1, 0, 0, 0},
12281 { SWIG_PY_INT, (char *)"CapRound", (long) 2, 0, 0, 0},
12282 { SWIG_PY_INT, (char *)"CapProjecting", (long) 3, 0, 0, 0},
12283 { SWIG_PY_INT, (char *)"JoinMiter", (long) 0, 0, 0, 0},
12284 { SWIG_PY_INT, (char *)"JoinRound", (long) 1, 0, 0, 0},
12285 { SWIG_PY_INT, (char *)"JoinBevel", (long) 2, 0, 0, 0},
12286 { SWIG_PY_INT, (char *)"FillSolid", (long) 0, 0, 0, 0},
12287 { SWIG_PY_INT, (char *)"FillTiled", (long) 1, 0, 0, 0},
12288 { SWIG_PY_INT, (char *)"FillStippled", (long) 2, 0, 0, 0},
12289 { SWIG_PY_INT, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
12290 { SWIG_PY_INT, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
12291 { SWIG_PY_INT, (char *)"WindingRule", (long) 1, 0, 0, 0},
12292 { SWIG_PY_INT, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
12293 { SWIG_PY_INT, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
12294 { SWIG_PY_INT, (char *)"Unsorted", (long) 0, 0, 0, 0},
12295 { SWIG_PY_INT, (char *)"YSorted", (long) 1, 0, 0, 0},
12296 { SWIG_PY_INT, (char *)"YXSorted", (long) 2, 0, 0, 0},
12297 { SWIG_PY_INT, (char *)"YXBanded", (long) 3, 0, 0, 0},
12298 { SWIG_PY_INT, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
12299 { SWIG_PY_INT, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
12300 { SWIG_PY_INT, (char *)"Complex", (long) 0, 0, 0, 0},
12301 { SWIG_PY_INT, (char *)"Nonconvex", (long) 1, 0, 0, 0},
12302 { SWIG_PY_INT, (char *)"Convex", (long) 2, 0, 0, 0},
12303 { SWIG_PY_INT, (char *)"ArcChord", (long) 0, 0, 0, 0},
12304 { SWIG_PY_INT, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
12305 { SWIG_PY_INT, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
12306 { SWIG_PY_INT, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
12307 { SWIG_PY_INT, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
12308 { SWIG_PY_INT, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
12309 { SWIG_PY_INT, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
12310 { SWIG_PY_INT, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
12311 { SWIG_PY_INT, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
12312 { SWIG_PY_INT, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
12313 { SWIG_PY_INT, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
12314 { SWIG_PY_INT, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
12315 { SWIG_PY_INT, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
12316 { SWIG_PY_INT, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
12317 { SWIG_PY_INT, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
12318 { SWIG_PY_INT, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
12319 { SWIG_PY_INT, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
12320 { SWIG_PY_INT, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
12321 { SWIG_PY_INT, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
12322 { SWIG_PY_INT, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
12323 { SWIG_PY_INT, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
12324 { SWIG_PY_INT, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
12325 { SWIG_PY_INT, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
12326 { SWIG_PY_INT, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
12327 { SWIG_PY_INT, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
12328 { SWIG_PY_INT, (char *)"GCLastBit", (long) 22, 0, 0, 0},
12329 { SWIG_PY_INT, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
12330 { SWIG_PY_INT, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
12331 { SWIG_PY_INT, (char *)"FontChange", (long) 255, 0, 0, 0},
12332 { SWIG_PY_INT, (char *)"XYBitmap", (long) 0, 0, 0, 0},
12333 { SWIG_PY_INT, (char *)"XYPixmap", (long) 1, 0, 0, 0},
12334 { SWIG_PY_INT, (char *)"ZPixmap", (long) 2, 0, 0, 0},
12335 { SWIG_PY_INT, (char *)"AllocNone", (long) 0, 0, 0, 0},
12336 { SWIG_PY_INT, (char *)"AllocAll", (long) 1, 0, 0, 0},
12337 { SWIG_PY_INT, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
12338 { SWIG_PY_INT, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
12339 { SWIG_PY_INT, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
12340 { SWIG_PY_INT, (char *)"CursorShape", (long) 0, 0, 0, 0},
12341 { SWIG_PY_INT, (char *)"TileShape", (long) 1, 0, 0, 0},
12342 { SWIG_PY_INT, (char *)"StippleShape", (long) 2, 0, 0, 0},
12343 { SWIG_PY_INT, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
12344 { SWIG_PY_INT, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
12345 { SWIG_PY_INT, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
12346 { SWIG_PY_INT, (char *)"LedModeOff", (long) 0, 0, 0, 0},
12347 { SWIG_PY_INT, (char *)"LedModeOn", (long) 1, 0, 0, 0},
12348 { SWIG_PY_INT, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
12349 { SWIG_PY_INT, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
12350 { SWIG_PY_INT, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
12351 { SWIG_PY_INT, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
12352 { SWIG_PY_INT, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
12353 { SWIG_PY_INT, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
12354 { SWIG_PY_INT, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
12355 { SWIG_PY_INT, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
12356 { SWIG_PY_INT, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
12357 { SWIG_PY_INT, (char *)"MappingBusy", (long) 1, 0, 0, 0},
12358 { SWIG_PY_INT, (char *)"MappingFailed", (long) 2, 0, 0, 0},
12359 { SWIG_PY_INT, (char *)"MappingModifier", (long) 0, 0, 0, 0},
12360 { SWIG_PY_INT, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
12361 { SWIG_PY_INT, (char *)"MappingPointer", (long) 2, 0, 0, 0},
12362 { SWIG_PY_INT, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
12363 { SWIG_PY_INT, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
12364 { SWIG_PY_INT, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
12365 { SWIG_PY_INT, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
12366 { SWIG_PY_INT, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
12367 { SWIG_PY_INT, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
12368 { SWIG_PY_INT, (char *)"AllowExposures", (long) 1, 0, 0, 0},
12369 { SWIG_PY_INT, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
12370 { SWIG_PY_INT, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
12371 { SWIG_PY_INT, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
12372 { SWIG_PY_INT, (char *)"HostInsert", (long) 0, 0, 0, 0},
12373 { SWIG_PY_INT, (char *)"HostDelete", (long) 1, 0, 0, 0},
12374 { SWIG_PY_INT, (char *)"EnableAccess", (long) 1, 0, 0, 0},
12375 { SWIG_PY_INT, (char *)"DisableAccess", (long) 0, 0, 0, 0},
12376 { SWIG_PY_INT, (char *)"StaticGray", (long) 0, 0, 0, 0},
12377 { SWIG_PY_INT, (char *)"GrayScale", (long) 1, 0, 0, 0},
12378 { SWIG_PY_INT, (char *)"StaticColor", (long) 2, 0, 0, 0},
12379 { SWIG_PY_INT, (char *)"PseudoColor", (long) 3, 0, 0, 0},
12380 { SWIG_PY_INT, (char *)"TrueColor", (long) 4, 0, 0, 0},
12381 { SWIG_PY_INT, (char *)"DirectColor", (long) 5, 0, 0, 0},
12382 { SWIG_PY_INT, (char *)"LSBFirst", (long) 0, 0, 0, 0},
12383 { SWIG_PY_INT, (char *)"MSBFirst", (long) 1, 0, 0, 0},
12384 {0}};
12385
12386 #ifdef __cplusplus
12387 }
12388 #endif
12389
12390 #ifdef __cplusplus
12391 extern "C"
12392 #endif
12393 SWIGEXPORT(void) SWIG_init(void) {
12394 static PyObject *SWIG_globals = 0;
12395 static int typeinit = 0;
12396 PyObject *m, *d;
12397 int i;
12398 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12399 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12400 d = PyModule_GetDict(m);
12401
12402 if (!typeinit) {
12403 for (i = 0; swig_types_initial[i]; i++) {
12404 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
12405 }
12406 typeinit = 1;
12407 }
12408 SWIG_InstallConstants(d,swig_const_table);
12409
12410 }
12411
This page took 0.672334 seconds and 4 git commands to generate.