]> Dogcows Code - chaz/openbox/blob - src/openbox_wrap.cc
removing all prefixes completed
[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_XConfigureEvent swig_types[28]
677 #define SWIGTYPE_p_XCirculateEvent swig_types[29]
678 #define SWIGTYPE_p_XRectangle swig_types[30]
679 #define SWIGTYPE_p_std__string swig_types[31]
680 #define SWIGTYPE_p_XCrossingEvent swig_types[32]
681 #define SWIGTYPE_p_Display swig_types[33]
682 #define SWIGTYPE_p_otk__Display swig_types[34]
683 #define SWIGTYPE_p_XMappingEvent swig_types[35]
684 #define SWIGTYPE_p_otk__Style swig_types[36]
685 #define SWIGTYPE_p_otk__EventHandler swig_types[37]
686 #define SWIGTYPE_p_XReparentEvent swig_types[38]
687 #define SWIGTYPE_p_otk__EventDispatcher swig_types[39]
688 #define SWIGTYPE_p_otk__GCCache swig_types[40]
689 #define SWIGTYPE_p_ob__Bindings swig_types[41]
690 #define SWIGTYPE_p_ob__Openbox swig_types[42]
691 #define SWIGTYPE_p_ob__Actions swig_types[43]
692 #define SWIGTYPE_p_XEvent swig_types[44]
693 #define SWIGTYPE_p_otk__Property swig_types[45]
694 #define SWIGTYPE_p_PyObject swig_types[46]
695 #define SWIGTYPE_p_otk__ScreenInfo swig_types[47]
696 #define SWIGTYPE_p_ob__EventData swig_types[48]
697 #define SWIGTYPE_p_XCreateWindowEvent swig_types[49]
698 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[50]
699 #define SWIGTYPE_p_otk__Property__StringVect swig_types[51]
700 #define SWIGTYPE_p_ob__WidgetBase swig_types[52]
701 #define SWIGTYPE_p_XKeyEvent swig_types[53]
702 #define SWIGTYPE_p_otk__Strut swig_types[54]
703 #define SWIGTYPE_p_unsigned_long swig_types[55]
704 #define SWIGTYPE_p_p_unsigned_long swig_types[56]
705 #define SWIGTYPE_p_XMotionEvent swig_types[57]
706 #define SWIGTYPE_p_XButtonEvent swig_types[58]
707 #define SWIGTYPE_p_XSelectionEvent swig_types[59]
708 #define SWIGTYPE_p_otk__TimerQueueManager swig_types[60]
709 static swig_type_info *swig_types[62];
710
711 /* -------- TYPES TABLE (END) -------- */
712
713
714 /*-----------------------------------------------
715 @(target):= _openbox.so
716 ------------------------------------------------*/
717 #define SWIG_init init_openbox
718
719 #define SWIG_name "_openbox"
720
721 #ifdef HAVE_CONFIG_H
722 # include "../config.h"
723 #endif
724
725 #include "openbox.hh"
726 #include "screen.hh"
727 #include "client.hh"
728 #include "bindings.hh"
729 #include "actions.hh"
730 #include "python.hh"
731 #include "otk/otk.hh"
732
733
734 #define SWIG_MemoryError 1
735 #define SWIG_IOError 2
736 #define SWIG_RuntimeError 3
737 #define SWIG_IndexError 4
738 #define SWIG_TypeError 5
739 #define SWIG_DivisionByZero 6
740 #define SWIG_OverflowError 7
741 #define SWIG_SyntaxError 8
742 #define SWIG_ValueError 9
743 #define SWIG_SystemError 10
744 #define SWIG_UnknownError 99
745
746
747 static void _SWIG_exception(int code, const char *msg) {
748 switch(code) {
749 case SWIG_MemoryError:
750 PyErr_SetString(PyExc_MemoryError,msg);
751 break;
752 case SWIG_IOError:
753 PyErr_SetString(PyExc_IOError,msg);
754 break;
755 case SWIG_RuntimeError:
756 PyErr_SetString(PyExc_RuntimeError,msg);
757 break;
758 case SWIG_IndexError:
759 PyErr_SetString(PyExc_IndexError,msg);
760 break;
761 case SWIG_TypeError:
762 PyErr_SetString(PyExc_TypeError,msg);
763 break;
764 case SWIG_DivisionByZero:
765 PyErr_SetString(PyExc_ZeroDivisionError,msg);
766 break;
767 case SWIG_OverflowError:
768 PyErr_SetString(PyExc_OverflowError,msg);
769 break;
770 case SWIG_SyntaxError:
771 PyErr_SetString(PyExc_SyntaxError,msg);
772 break;
773 case SWIG_ValueError:
774 PyErr_SetString(PyExc_ValueError,msg);
775 break;
776 case SWIG_SystemError:
777 PyErr_SetString(PyExc_SystemError,msg);
778 break;
779 default:
780 PyErr_SetString(PyExc_RuntimeError,msg);
781 break;
782 }
783 }
784
785 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
786
787
788 #include <string>
789
790
791 #include <string>
792
793 PyObject* SwigInt_FromBool(bool b) {
794 return PyInt_FromLong(b ? 1L : 0L);
795 }
796 double SwigNumber_Check(PyObject* o) {
797 return PyFloat_Check(o) || PyInt_Check(o);
798 }
799 double SwigNumber_AsDouble(PyObject* o) {
800 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
801 }
802 PyObject* SwigString_FromString(const std::string& s) {
803 return PyString_FromString(s.c_str());
804 }
805 std::string SwigString_AsString(PyObject* o) {
806 return std::string(PyString_AsString(o));
807 }
808
809
810 #include <vector>
811 #include <algorithm>
812 #include <stdexcept>
813
814
815 ob::Openbox *Openbox_instance() { return ob::Openbox::instance; }
816
817
818 namespace ob {
819 void python_callback(PyObject *func, MouseData *data)
820 {
821 PyObject *arglist;
822 PyObject *result;
823
824 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
825 SWIGTYPE_p_ob__MouseData,
826 0));
827
828 // call the callback
829 result = PyEval_CallObject(func, arglist);
830 if (!result || PyErr_Occurred()) {
831 // an exception occured in the script, display it
832 PyErr_Print();
833 }
834
835 Py_XDECREF(result);
836 Py_DECREF(arglist);
837 }
838
839 void python_callback(PyObject *func, EventData *data)
840 {
841 PyObject *arglist;
842 PyObject *result;
843
844 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
845 SWIGTYPE_p_ob__EventData,
846 0));
847
848 // call the callback
849 result = PyEval_CallObject(func, arglist);
850 if (!result || PyErr_Occurred()) {
851 // an exception occured in the script, display it
852 PyErr_Print();
853 }
854
855 Py_XDECREF(result);
856 Py_DECREF(arglist);
857 }
858
859 void python_callback(PyObject *func, KeyData *data)
860 {
861 PyObject *arglist;
862 PyObject *result;
863
864 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
865 SWIGTYPE_p_ob__KeyData,
866 0));
867
868 // call the callback
869 result = PyEval_CallObject(func, arglist);
870 if (!result || PyErr_Occurred()) {
871 // an exception occured in the script, display it
872 PyErr_Print();
873 }
874
875 Py_XDECREF(result);
876 Py_DECREF(arglist);
877 }
878
879 }
880
881
882 #include <iterator>
883
884
885 Display *Display_display() { return otk::Display::display; }
886
887 ob::Client *ob_Screen_client(ob::Screen *self,int i){
888 if (i >= (int)self->clients.size())
889 return NULL;
890 ob::Client::List::iterator it = self->clients.begin();
891 std::advance(it,i);
892 return *it;
893 }
894 int ob_Screen_clientCount(ob::Screen const *self){
895 return (int) self->clients.size();
896 }
897 #ifdef __cplusplus
898 extern "C" {
899 #endif
900 static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
901 PyObject *resultobj;
902 ob::Openbox *result;
903
904 if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
905 result = (ob::Openbox *)Openbox_instance();
906
907 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
908 return resultobj;
909 fail:
910 return NULL;
911 }
912
913
914 static PyObject *_wrap_Display_display(PyObject *self, PyObject *args) {
915 PyObject *resultobj;
916 Display *result;
917
918 if(!PyArg_ParseTuple(args,(char *)":Display_display")) goto fail;
919 result = (Display *)Display_display();
920
921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
922 return resultobj;
923 fail:
924 return NULL;
925 }
926
927
928 static PyObject *_wrap_Display_initialize(PyObject *self, PyObject *args) {
929 PyObject *resultobj;
930 char *arg1 ;
931
932 if(!PyArg_ParseTuple(args,(char *)"s:Display_initialize",&arg1)) goto fail;
933 otk::Display::initialize(arg1);
934
935 Py_INCREF(Py_None); resultobj = Py_None;
936 return resultobj;
937 fail:
938 return NULL;
939 }
940
941
942 static PyObject *_wrap_Display_destroy(PyObject *self, PyObject *args) {
943 PyObject *resultobj;
944
945 if(!PyArg_ParseTuple(args,(char *)":Display_destroy")) goto fail;
946 otk::Display::destroy();
947
948 Py_INCREF(Py_None); resultobj = Py_None;
949 return resultobj;
950 fail:
951 return NULL;
952 }
953
954
955 static PyObject *_wrap_Display_gcCache(PyObject *self, PyObject *args) {
956 PyObject *resultobj;
957 otk::GCCache *result;
958
959 if(!PyArg_ParseTuple(args,(char *)":Display_gcCache")) goto fail;
960 result = (otk::GCCache *)otk::Display::gcCache();
961
962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__GCCache, 0);
963 return resultobj;
964 fail:
965 return NULL;
966 }
967
968
969 static PyObject *_wrap_Display_screenInfo(PyObject *self, PyObject *args) {
970 PyObject *resultobj;
971 int arg1 ;
972 otk::ScreenInfo *result;
973
974 if(!PyArg_ParseTuple(args,(char *)"i:Display_screenInfo",&arg1)) goto fail;
975 result = (otk::ScreenInfo *)otk::Display::screenInfo(arg1);
976
977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
978 return resultobj;
979 fail:
980 return NULL;
981 }
982
983
984 static PyObject *_wrap_Display_findScreen(PyObject *self, PyObject *args) {
985 PyObject *resultobj;
986 Window arg1 ;
987 otk::ScreenInfo *result;
988 PyObject * obj0 = 0 ;
989
990 if(!PyArg_ParseTuple(args,(char *)"O:Display_findScreen",&obj0)) goto fail;
991 arg1 = (Window) PyInt_AsLong(obj0);
992 if (PyErr_Occurred()) SWIG_fail;
993 result = (otk::ScreenInfo *)otk::Display::findScreen(arg1);
994
995 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
996 return resultobj;
997 fail:
998 return NULL;
999 }
1000
1001
1002 static PyObject *_wrap_Display_xkb(PyObject *self, PyObject *args) {
1003 PyObject *resultobj;
1004 bool result;
1005
1006 if(!PyArg_ParseTuple(args,(char *)":Display_xkb")) goto fail;
1007 result = (bool)otk::Display::xkb();
1008
1009 resultobj = PyInt_FromLong((long)result);
1010 return resultobj;
1011 fail:
1012 return NULL;
1013 }
1014
1015
1016 static PyObject *_wrap_Display_xkbEventBase(PyObject *self, PyObject *args) {
1017 PyObject *resultobj;
1018 int result;
1019
1020 if(!PyArg_ParseTuple(args,(char *)":Display_xkbEventBase")) goto fail;
1021 result = (int)otk::Display::xkbEventBase();
1022
1023 resultobj = PyInt_FromLong((long)result);
1024 return resultobj;
1025 fail:
1026 return NULL;
1027 }
1028
1029
1030 static PyObject *_wrap_Display_shape(PyObject *self, PyObject *args) {
1031 PyObject *resultobj;
1032 bool result;
1033
1034 if(!PyArg_ParseTuple(args,(char *)":Display_shape")) goto fail;
1035 result = (bool)otk::Display::shape();
1036
1037 resultobj = PyInt_FromLong((long)result);
1038 return resultobj;
1039 fail:
1040 return NULL;
1041 }
1042
1043
1044 static PyObject *_wrap_Display_shapeEventBase(PyObject *self, PyObject *args) {
1045 PyObject *resultobj;
1046 int result;
1047
1048 if(!PyArg_ParseTuple(args,(char *)":Display_shapeEventBase")) goto fail;
1049 result = (int)otk::Display::shapeEventBase();
1050
1051 resultobj = PyInt_FromLong((long)result);
1052 return resultobj;
1053 fail:
1054 return NULL;
1055 }
1056
1057
1058 static PyObject *_wrap_Display_xinerama(PyObject *self, PyObject *args) {
1059 PyObject *resultobj;
1060 bool result;
1061
1062 if(!PyArg_ParseTuple(args,(char *)":Display_xinerama")) goto fail;
1063 result = (bool)otk::Display::xinerama();
1064
1065 resultobj = PyInt_FromLong((long)result);
1066 return resultobj;
1067 fail:
1068 return NULL;
1069 }
1070
1071
1072 static PyObject *_wrap_Display_numLockMask(PyObject *self, PyObject *args) {
1073 PyObject *resultobj;
1074 unsigned int result;
1075
1076 if(!PyArg_ParseTuple(args,(char *)":Display_numLockMask")) goto fail;
1077 result = (unsigned int)otk::Display::numLockMask();
1078
1079 resultobj = PyInt_FromLong((long)result);
1080 return resultobj;
1081 fail:
1082 return NULL;
1083 }
1084
1085
1086 static PyObject *_wrap_Display_scrollLockMask(PyObject *self, PyObject *args) {
1087 PyObject *resultobj;
1088 unsigned int result;
1089
1090 if(!PyArg_ParseTuple(args,(char *)":Display_scrollLockMask")) goto fail;
1091 result = (unsigned int)otk::Display::scrollLockMask();
1092
1093 resultobj = PyInt_FromLong((long)result);
1094 return resultobj;
1095 fail:
1096 return NULL;
1097 }
1098
1099
1100 static PyObject *_wrap_Display_grab(PyObject *self, PyObject *args) {
1101 PyObject *resultobj;
1102
1103 if(!PyArg_ParseTuple(args,(char *)":Display_grab")) goto fail;
1104 otk::Display::grab();
1105
1106 Py_INCREF(Py_None); resultobj = Py_None;
1107 return resultobj;
1108 fail:
1109 return NULL;
1110 }
1111
1112
1113 static PyObject *_wrap_Display_ungrab(PyObject *self, PyObject *args) {
1114 PyObject *resultobj;
1115
1116 if(!PyArg_ParseTuple(args,(char *)":Display_ungrab")) goto fail;
1117 otk::Display::ungrab();
1118
1119 Py_INCREF(Py_None); resultobj = Py_None;
1120 return resultobj;
1121 fail:
1122 return NULL;
1123 }
1124
1125
1126 static PyObject *_wrap_Display_grabButton(PyObject *self, PyObject *args) {
1127 PyObject *resultobj;
1128 unsigned int arg1 ;
1129 unsigned int arg2 ;
1130 Window arg3 ;
1131 bool arg4 ;
1132 unsigned int arg5 ;
1133 int arg6 ;
1134 int arg7 ;
1135 Window arg8 ;
1136 Cursor arg9 ;
1137 bool arg10 ;
1138 PyObject * obj0 = 0 ;
1139 PyObject * obj1 = 0 ;
1140 PyObject * obj2 = 0 ;
1141 PyObject * obj3 = 0 ;
1142 PyObject * obj4 = 0 ;
1143 PyObject * obj7 = 0 ;
1144 PyObject * obj8 = 0 ;
1145 PyObject * obj9 = 0 ;
1146
1147 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiOOO:Display_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7,&obj8,&obj9)) goto fail;
1148 arg1 = (unsigned int) PyInt_AsLong(obj0);
1149 if (PyErr_Occurred()) SWIG_fail;
1150 arg2 = (unsigned int) PyInt_AsLong(obj1);
1151 if (PyErr_Occurred()) SWIG_fail;
1152 arg3 = (Window) PyInt_AsLong(obj2);
1153 if (PyErr_Occurred()) SWIG_fail;
1154 arg4 = (bool) PyInt_AsLong(obj3);
1155 if (PyErr_Occurred()) SWIG_fail;
1156 arg5 = (unsigned int) PyInt_AsLong(obj4);
1157 if (PyErr_Occurred()) SWIG_fail;
1158 arg8 = (Window) PyInt_AsLong(obj7);
1159 if (PyErr_Occurred()) SWIG_fail;
1160 arg9 = (Cursor) PyInt_AsLong(obj8);
1161 if (PyErr_Occurred()) SWIG_fail;
1162 arg10 = (bool) PyInt_AsLong(obj9);
1163 if (PyErr_Occurred()) SWIG_fail;
1164 otk::Display::grabButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
1165
1166 Py_INCREF(Py_None); resultobj = Py_None;
1167 return resultobj;
1168 fail:
1169 return NULL;
1170 }
1171
1172
1173 static PyObject *_wrap_Display_ungrabButton(PyObject *self, PyObject *args) {
1174 PyObject *resultobj;
1175 unsigned int arg1 ;
1176 unsigned int arg2 ;
1177 Window arg3 ;
1178 PyObject * obj0 = 0 ;
1179 PyObject * obj1 = 0 ;
1180 PyObject * obj2 = 0 ;
1181
1182 if(!PyArg_ParseTuple(args,(char *)"OOO:Display_ungrabButton",&obj0,&obj1,&obj2)) goto fail;
1183 arg1 = (unsigned int) PyInt_AsLong(obj0);
1184 if (PyErr_Occurred()) SWIG_fail;
1185 arg2 = (unsigned int) PyInt_AsLong(obj1);
1186 if (PyErr_Occurred()) SWIG_fail;
1187 arg3 = (Window) PyInt_AsLong(obj2);
1188 if (PyErr_Occurred()) SWIG_fail;
1189 otk::Display::ungrabButton(arg1,arg2,arg3);
1190
1191 Py_INCREF(Py_None); resultobj = Py_None;
1192 return resultobj;
1193 fail:
1194 return NULL;
1195 }
1196
1197
1198 static PyObject *_wrap_Display_grabKey(PyObject *self, PyObject *args) {
1199 PyObject *resultobj;
1200 unsigned int arg1 ;
1201 unsigned int arg2 ;
1202 Window arg3 ;
1203 bool arg4 ;
1204 int arg5 ;
1205 int arg6 ;
1206 bool arg7 ;
1207 PyObject * obj0 = 0 ;
1208 PyObject * obj1 = 0 ;
1209 PyObject * obj2 = 0 ;
1210 PyObject * obj3 = 0 ;
1211 PyObject * obj6 = 0 ;
1212
1213 if(!PyArg_ParseTuple(args,(char *)"OOOOiiO:Display_grabKey",&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
1214 arg1 = (unsigned int) PyInt_AsLong(obj0);
1215 if (PyErr_Occurred()) SWIG_fail;
1216 arg2 = (unsigned int) PyInt_AsLong(obj1);
1217 if (PyErr_Occurred()) SWIG_fail;
1218 arg3 = (Window) PyInt_AsLong(obj2);
1219 if (PyErr_Occurred()) SWIG_fail;
1220 arg4 = (bool) PyInt_AsLong(obj3);
1221 if (PyErr_Occurred()) SWIG_fail;
1222 arg7 = (bool) PyInt_AsLong(obj6);
1223 if (PyErr_Occurred()) SWIG_fail;
1224 otk::Display::grabKey(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
1225
1226 Py_INCREF(Py_None); resultobj = Py_None;
1227 return resultobj;
1228 fail:
1229 return NULL;
1230 }
1231
1232
1233 static PyObject *_wrap_Display_ungrabKey(PyObject *self, PyObject *args) {
1234 PyObject *resultobj;
1235 unsigned int arg1 ;
1236 unsigned int arg2 ;
1237 Window arg3 ;
1238 PyObject * obj0 = 0 ;
1239 PyObject * obj1 = 0 ;
1240 PyObject * obj2 = 0 ;
1241
1242 if(!PyArg_ParseTuple(args,(char *)"OOO:Display_ungrabKey",&obj0,&obj1,&obj2)) goto fail;
1243 arg1 = (unsigned int) PyInt_AsLong(obj0);
1244 if (PyErr_Occurred()) SWIG_fail;
1245 arg2 = (unsigned int) PyInt_AsLong(obj1);
1246 if (PyErr_Occurred()) SWIG_fail;
1247 arg3 = (Window) PyInt_AsLong(obj2);
1248 if (PyErr_Occurred()) SWIG_fail;
1249 otk::Display::ungrabKey(arg1,arg2,arg3);
1250
1251 Py_INCREF(Py_None); resultobj = Py_None;
1252 return resultobj;
1253 fail:
1254 return NULL;
1255 }
1256
1257
1258 static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
1259 PyObject *obj;
1260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1261 SWIG_TypeClientData(SWIGTYPE_p_otk__Display, obj);
1262 Py_INCREF(obj);
1263 return Py_BuildValue((char *)"");
1264 }
1265 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
1266 PyObject *resultobj;
1267 otk::Point *result;
1268
1269 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
1270 result = (otk::Point *)new otk::Point();
1271
1272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1273 return resultobj;
1274 fail:
1275 return NULL;
1276 }
1277
1278
1279 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
1280 PyObject *resultobj;
1281 int arg1 ;
1282 int arg2 ;
1283 otk::Point *result;
1284
1285 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
1286 result = (otk::Point *)new otk::Point(arg1,arg2);
1287
1288 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1289 return resultobj;
1290 fail:
1291 return NULL;
1292 }
1293
1294
1295 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
1296 int argc;
1297 PyObject *argv[3];
1298 int ii;
1299
1300 argc = PyObject_Length(args);
1301 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
1302 argv[ii] = PyTuple_GetItem(args,ii);
1303 }
1304 if (argc == 0) {
1305 return _wrap_new_Point__SWIG_0(self,args);
1306 }
1307 if (argc == 2) {
1308 int _v;
1309 {
1310 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
1311 }
1312 if (_v) {
1313 {
1314 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1315 }
1316 if (_v) {
1317 return _wrap_new_Point__SWIG_1(self,args);
1318 }
1319 }
1320 }
1321
1322 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
1323 return NULL;
1324 }
1325
1326
1327 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
1328 PyObject *resultobj;
1329 otk::Point *arg1 = (otk::Point *) 0 ;
1330 int arg2 ;
1331 PyObject * obj0 = 0 ;
1332
1333 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
1334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1335 (arg1)->setX(arg2);
1336
1337 Py_INCREF(Py_None); resultobj = Py_None;
1338 return resultobj;
1339 fail:
1340 return NULL;
1341 }
1342
1343
1344 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
1345 PyObject *resultobj;
1346 otk::Point *arg1 = (otk::Point *) 0 ;
1347 int result;
1348 PyObject * obj0 = 0 ;
1349
1350 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
1351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1352 result = (int)((otk::Point const *)arg1)->x();
1353
1354 resultobj = PyInt_FromLong((long)result);
1355 return resultobj;
1356 fail:
1357 return NULL;
1358 }
1359
1360
1361 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
1362 PyObject *resultobj;
1363 otk::Point *arg1 = (otk::Point *) 0 ;
1364 int arg2 ;
1365 PyObject * obj0 = 0 ;
1366
1367 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
1368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1369 (arg1)->setY(arg2);
1370
1371 Py_INCREF(Py_None); resultobj = Py_None;
1372 return resultobj;
1373 fail:
1374 return NULL;
1375 }
1376
1377
1378 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
1379 PyObject *resultobj;
1380 otk::Point *arg1 = (otk::Point *) 0 ;
1381 int result;
1382 PyObject * obj0 = 0 ;
1383
1384 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
1385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1386 result = (int)((otk::Point const *)arg1)->y();
1387
1388 resultobj = PyInt_FromLong((long)result);
1389 return resultobj;
1390 fail:
1391 return NULL;
1392 }
1393
1394
1395 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
1396 PyObject *resultobj;
1397 otk::Point *arg1 = (otk::Point *) 0 ;
1398 int arg2 ;
1399 int arg3 ;
1400 PyObject * obj0 = 0 ;
1401
1402 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
1403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1404 (arg1)->setPoint(arg2,arg3);
1405
1406 Py_INCREF(Py_None); resultobj = Py_None;
1407 return resultobj;
1408 fail:
1409 return NULL;
1410 }
1411
1412
1413 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
1414 PyObject *obj;
1415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1416 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
1417 Py_INCREF(obj);
1418 return Py_BuildValue((char *)"");
1419 }
1420 static PyObject *_wrap_new_Property(PyObject *self, PyObject *args) {
1421 PyObject *resultobj;
1422 otk::Property *result;
1423
1424 if(!PyArg_ParseTuple(args,(char *)":new_Property")) goto fail;
1425 result = (otk::Property *)new otk::Property();
1426
1427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Property, 1);
1428 return resultobj;
1429 fail:
1430 return NULL;
1431 }
1432
1433
1434 static PyObject *_wrap_delete_Property(PyObject *self, PyObject *args) {
1435 PyObject *resultobj;
1436 otk::Property *arg1 = (otk::Property *) 0 ;
1437 PyObject * obj0 = 0 ;
1438
1439 if(!PyArg_ParseTuple(args,(char *)"O:delete_Property",&obj0)) goto fail;
1440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1441 delete arg1;
1442
1443 Py_INCREF(Py_None); resultobj = Py_None;
1444 return resultobj;
1445 fail:
1446 return NULL;
1447 }
1448
1449
1450 static PyObject *_wrap_Property_set__SWIG_0(PyObject *self, PyObject *args) {
1451 PyObject *resultobj;
1452 otk::Property *arg1 = (otk::Property *) 0 ;
1453 Window arg2 ;
1454 int arg3 ;
1455 int arg4 ;
1456 unsigned long arg5 ;
1457 PyObject * obj0 = 0 ;
1458 PyObject * obj1 = 0 ;
1459 PyObject * obj4 = 0 ;
1460
1461 if(!PyArg_ParseTuple(args,(char *)"OOiiO:Property_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
1462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1463 arg2 = (Window) PyInt_AsLong(obj1);
1464 if (PyErr_Occurred()) SWIG_fail;
1465 arg5 = (unsigned long) PyInt_AsLong(obj4);
1466 if (PyErr_Occurred()) SWIG_fail;
1467 ((otk::Property const *)arg1)->set(arg2,(otk::Property::Atoms )arg3,(otk::Property::Atoms )arg4,arg5);
1468
1469 Py_INCREF(Py_None); resultobj = Py_None;
1470 return resultobj;
1471 fail:
1472 return NULL;
1473 }
1474
1475
1476 static PyObject *_wrap_Property_set__SWIG_1(PyObject *self, PyObject *args) {
1477 PyObject *resultobj;
1478 otk::Property *arg1 = (otk::Property *) 0 ;
1479 Window arg2 ;
1480 int arg3 ;
1481 int arg4 ;
1482 unsigned long *arg5 ;
1483 int arg6 ;
1484 PyObject * obj0 = 0 ;
1485 PyObject * obj1 = 0 ;
1486 PyObject * obj4 = 0 ;
1487
1488 if(!PyArg_ParseTuple(args,(char *)"OOiiOi:Property_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
1489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1490 arg2 = (Window) PyInt_AsLong(obj1);
1491 if (PyErr_Occurred()) SWIG_fail;
1492 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1493 ((otk::Property const *)arg1)->set(arg2,(otk::Property::Atoms )arg3,(otk::Property::Atoms )arg4,arg5,arg6);
1494
1495 Py_INCREF(Py_None); resultobj = Py_None;
1496 return resultobj;
1497 fail:
1498 return NULL;
1499 }
1500
1501
1502 static PyObject *_wrap_Property_set__SWIG_2(PyObject *self, PyObject *args) {
1503 PyObject *resultobj;
1504 otk::Property *arg1 = (otk::Property *) 0 ;
1505 Window arg2 ;
1506 int arg3 ;
1507 int arg4 ;
1508 std::string *arg5 = 0 ;
1509 std::string temp5 ;
1510 PyObject * obj0 = 0 ;
1511 PyObject * obj1 = 0 ;
1512 PyObject * obj4 = 0 ;
1513
1514 if(!PyArg_ParseTuple(args,(char *)"OOiiO:Property_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
1515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1516 arg2 = (Window) PyInt_AsLong(obj1);
1517 if (PyErr_Occurred()) SWIG_fail;
1518 {
1519 if (PyString_Check(obj4)) {
1520 temp5 = std::string(PyString_AsString(obj4));
1521 arg5 = &temp5;
1522 }else {
1523 SWIG_exception(SWIG_TypeError, "string expected");
1524 }
1525 }
1526 ((otk::Property const *)arg1)->set(arg2,(otk::Property::Atoms )arg3,(otk::Property::StringType )arg4,(std::string const &)*arg5);
1527
1528 Py_INCREF(Py_None); resultobj = Py_None;
1529 return resultobj;
1530 fail:
1531 return NULL;
1532 }
1533
1534
1535 static PyObject *_wrap_Property_set__SWIG_3(PyObject *self, PyObject *args) {
1536 PyObject *resultobj;
1537 otk::Property *arg1 = (otk::Property *) 0 ;
1538 Window arg2 ;
1539 int arg3 ;
1540 int arg4 ;
1541 otk::Property::StringVect *arg5 = 0 ;
1542 PyObject * obj0 = 0 ;
1543 PyObject * obj1 = 0 ;
1544 PyObject * obj4 = 0 ;
1545
1546 if(!PyArg_ParseTuple(args,(char *)"OOiiO:Property_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
1547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1548 arg2 = (Window) PyInt_AsLong(obj1);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1551 if (arg5 == NULL) {
1552 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1553 }
1554 ((otk::Property const *)arg1)->set(arg2,(otk::Property::Atoms )arg3,(otk::Property::StringType )arg4,(otk::Property::StringVect const &)*arg5);
1555
1556 Py_INCREF(Py_None); resultobj = Py_None;
1557 return resultobj;
1558 fail:
1559 return NULL;
1560 }
1561
1562
1563 static PyObject *_wrap_Property_set(PyObject *self, PyObject *args) {
1564 int argc;
1565 PyObject *argv[7];
1566 int ii;
1567
1568 argc = PyObject_Length(args);
1569 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
1570 argv[ii] = PyTuple_GetItem(args,ii);
1571 }
1572 if (argc == 5) {
1573 int _v;
1574 {
1575 void *ptr;
1576 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1577 _v = 0;
1578 PyErr_Clear();
1579 }else {
1580 _v = 1;
1581 }
1582 }
1583 if (_v) {
1584 {
1585 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1586 }
1587 if (_v) {
1588 {
1589 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1590 }
1591 if (_v) {
1592 {
1593 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1594 }
1595 if (_v) {
1596 {
1597 void *ptr;
1598 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
1599 _v = 0;
1600 PyErr_Clear();
1601 }else {
1602 _v = 1;
1603 }
1604 }
1605 if (_v) {
1606 return _wrap_Property_set__SWIG_3(self,args);
1607 }
1608 }
1609 }
1610 }
1611 }
1612 }
1613 if (argc == 5) {
1614 int _v;
1615 {
1616 void *ptr;
1617 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1618 _v = 0;
1619 PyErr_Clear();
1620 }else {
1621 _v = 1;
1622 }
1623 }
1624 if (_v) {
1625 {
1626 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1627 }
1628 if (_v) {
1629 {
1630 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1631 }
1632 if (_v) {
1633 {
1634 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1635 }
1636 if (_v) {
1637 {
1638 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
1639 }
1640 if (_v) {
1641 return _wrap_Property_set__SWIG_0(self,args);
1642 }
1643 }
1644 }
1645 }
1646 }
1647 }
1648 if (argc == 5) {
1649 int _v;
1650 {
1651 void *ptr;
1652 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1653 _v = 0;
1654 PyErr_Clear();
1655 }else {
1656 _v = 1;
1657 }
1658 }
1659 if (_v) {
1660 {
1661 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1662 }
1663 if (_v) {
1664 {
1665 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1666 }
1667 if (_v) {
1668 {
1669 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1670 }
1671 if (_v) {
1672 {
1673 _v = PyString_Check(argv[4]) ? 1 : 0;
1674 }
1675 if (_v) {
1676 return _wrap_Property_set__SWIG_2(self,args);
1677 }
1678 }
1679 }
1680 }
1681 }
1682 }
1683 if (argc == 6) {
1684 int _v;
1685 {
1686 void *ptr;
1687 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1688 _v = 0;
1689 PyErr_Clear();
1690 }else {
1691 _v = 1;
1692 }
1693 }
1694 if (_v) {
1695 {
1696 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1697 }
1698 if (_v) {
1699 {
1700 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1701 }
1702 if (_v) {
1703 {
1704 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1705 }
1706 if (_v) {
1707 {
1708 void *ptr;
1709 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
1710 _v = 0;
1711 PyErr_Clear();
1712 }else {
1713 _v = 1;
1714 }
1715 }
1716 if (_v) {
1717 {
1718 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
1719 }
1720 if (_v) {
1721 return _wrap_Property_set__SWIG_1(self,args);
1722 }
1723 }
1724 }
1725 }
1726 }
1727 }
1728 }
1729
1730 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_set'");
1731 return NULL;
1732 }
1733
1734
1735 static PyObject *_wrap_Property_get__SWIG_0(PyObject *self, PyObject *args) {
1736 PyObject *resultobj;
1737 otk::Property *arg1 = (otk::Property *) 0 ;
1738 Window arg2 ;
1739 int arg3 ;
1740 int arg4 ;
1741 unsigned long *arg5 = (unsigned long *) 0 ;
1742 unsigned long **arg6 = (unsigned long **) 0 ;
1743 bool result;
1744 PyObject * obj0 = 0 ;
1745 PyObject * obj1 = 0 ;
1746 PyObject * obj4 = 0 ;
1747 PyObject * obj5 = 0 ;
1748
1749 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:Property_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
1750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1751 arg2 = (Window) PyInt_AsLong(obj1);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1754 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1755 result = (bool)((otk::Property const *)arg1)->get(arg2,(otk::Property::Atoms )arg3,(otk::Property::Atoms )arg4,arg5,arg6);
1756
1757 resultobj = PyInt_FromLong((long)result);
1758 return resultobj;
1759 fail:
1760 return NULL;
1761 }
1762
1763
1764 static PyObject *_wrap_Property_get__SWIG_1(PyObject *self, PyObject *args) {
1765 PyObject *resultobj;
1766 otk::Property *arg1 = (otk::Property *) 0 ;
1767 Window arg2 ;
1768 int arg3 ;
1769 int arg4 ;
1770 unsigned long *arg5 = (unsigned long *) 0 ;
1771 bool result;
1772 PyObject * obj0 = 0 ;
1773 PyObject * obj1 = 0 ;
1774 PyObject * obj4 = 0 ;
1775
1776 if(!PyArg_ParseTuple(args,(char *)"OOiiO:Property_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
1777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1778 arg2 = (Window) PyInt_AsLong(obj1);
1779 if (PyErr_Occurred()) SWIG_fail;
1780 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1781 result = (bool)((otk::Property const *)arg1)->get(arg2,(otk::Property::Atoms )arg3,(otk::Property::Atoms )arg4,arg5);
1782
1783 resultobj = PyInt_FromLong((long)result);
1784 return resultobj;
1785 fail:
1786 return NULL;
1787 }
1788
1789
1790 static PyObject *_wrap_Property_get__SWIG_2(PyObject *self, PyObject *args) {
1791 PyObject *resultobj;
1792 otk::Property *arg1 = (otk::Property *) 0 ;
1793 Window arg2 ;
1794 int arg3 ;
1795 int arg4 ;
1796 std::string *arg5 = (std::string *) 0 ;
1797 bool result;
1798 PyObject * obj0 = 0 ;
1799 PyObject * obj1 = 0 ;
1800 PyObject * obj4 = 0 ;
1801
1802 if(!PyArg_ParseTuple(args,(char *)"OOiiO:Property_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
1803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1804 arg2 = (Window) PyInt_AsLong(obj1);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1807 result = (bool)((otk::Property const *)arg1)->get(arg2,(otk::Property::Atoms )arg3,(otk::Property::StringType )arg4,arg5);
1808
1809 resultobj = PyInt_FromLong((long)result);
1810 return resultobj;
1811 fail:
1812 return NULL;
1813 }
1814
1815
1816 static PyObject *_wrap_Property_get__SWIG_3(PyObject *self, PyObject *args) {
1817 PyObject *resultobj;
1818 otk::Property *arg1 = (otk::Property *) 0 ;
1819 Window arg2 ;
1820 int arg3 ;
1821 int arg4 ;
1822 unsigned long *arg5 = (unsigned long *) 0 ;
1823 otk::Property::StringVect *arg6 = (otk::Property::StringVect *) 0 ;
1824 bool result;
1825 PyObject * obj0 = 0 ;
1826 PyObject * obj1 = 0 ;
1827 PyObject * obj4 = 0 ;
1828 PyObject * obj5 = 0 ;
1829
1830 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:Property_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
1831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1832 arg2 = (Window) PyInt_AsLong(obj1);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1835 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1836 result = (bool)((otk::Property const *)arg1)->get(arg2,(otk::Property::Atoms )arg3,(otk::Property::StringType )arg4,arg5,arg6);
1837
1838 resultobj = PyInt_FromLong((long)result);
1839 return resultobj;
1840 fail:
1841 return NULL;
1842 }
1843
1844
1845 static PyObject *_wrap_Property_get(PyObject *self, PyObject *args) {
1846 int argc;
1847 PyObject *argv[7];
1848 int ii;
1849
1850 argc = PyObject_Length(args);
1851 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
1852 argv[ii] = PyTuple_GetItem(args,ii);
1853 }
1854 if (argc == 5) {
1855 int _v;
1856 {
1857 void *ptr;
1858 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1859 _v = 0;
1860 PyErr_Clear();
1861 }else {
1862 _v = 1;
1863 }
1864 }
1865 if (_v) {
1866 {
1867 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1868 }
1869 if (_v) {
1870 {
1871 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1872 }
1873 if (_v) {
1874 {
1875 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1876 }
1877 if (_v) {
1878 {
1879 void *ptr;
1880 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
1881 _v = 0;
1882 PyErr_Clear();
1883 }else {
1884 _v = 1;
1885 }
1886 }
1887 if (_v) {
1888 return _wrap_Property_get__SWIG_1(self,args);
1889 }
1890 }
1891 }
1892 }
1893 }
1894 }
1895 if (argc == 5) {
1896 int _v;
1897 {
1898 void *ptr;
1899 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1900 _v = 0;
1901 PyErr_Clear();
1902 }else {
1903 _v = 1;
1904 }
1905 }
1906 if (_v) {
1907 {
1908 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1909 }
1910 if (_v) {
1911 {
1912 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1913 }
1914 if (_v) {
1915 {
1916 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1917 }
1918 if (_v) {
1919 {
1920 void *ptr;
1921 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
1922 _v = 0;
1923 PyErr_Clear();
1924 }else {
1925 _v = 1;
1926 }
1927 }
1928 if (_v) {
1929 return _wrap_Property_get__SWIG_2(self,args);
1930 }
1931 }
1932 }
1933 }
1934 }
1935 }
1936 if (argc == 6) {
1937 int _v;
1938 {
1939 void *ptr;
1940 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1941 _v = 0;
1942 PyErr_Clear();
1943 }else {
1944 _v = 1;
1945 }
1946 }
1947 if (_v) {
1948 {
1949 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1950 }
1951 if (_v) {
1952 {
1953 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1954 }
1955 if (_v) {
1956 {
1957 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1958 }
1959 if (_v) {
1960 {
1961 void *ptr;
1962 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
1963 _v = 0;
1964 PyErr_Clear();
1965 }else {
1966 _v = 1;
1967 }
1968 }
1969 if (_v) {
1970 {
1971 void *ptr;
1972 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
1973 _v = 0;
1974 PyErr_Clear();
1975 }else {
1976 _v = 1;
1977 }
1978 }
1979 if (_v) {
1980 return _wrap_Property_get__SWIG_0(self,args);
1981 }
1982 }
1983 }
1984 }
1985 }
1986 }
1987 }
1988 if (argc == 6) {
1989 int _v;
1990 {
1991 void *ptr;
1992 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1993 _v = 0;
1994 PyErr_Clear();
1995 }else {
1996 _v = 1;
1997 }
1998 }
1999 if (_v) {
2000 {
2001 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2002 }
2003 if (_v) {
2004 {
2005 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2006 }
2007 if (_v) {
2008 {
2009 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2010 }
2011 if (_v) {
2012 {
2013 void *ptr;
2014 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
2015 _v = 0;
2016 PyErr_Clear();
2017 }else {
2018 _v = 1;
2019 }
2020 }
2021 if (_v) {
2022 {
2023 void *ptr;
2024 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
2025 _v = 0;
2026 PyErr_Clear();
2027 }else {
2028 _v = 1;
2029 }
2030 }
2031 if (_v) {
2032 return _wrap_Property_get__SWIG_3(self,args);
2033 }
2034 }
2035 }
2036 }
2037 }
2038 }
2039 }
2040
2041 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_get'");
2042 return NULL;
2043 }
2044
2045
2046 static PyObject *_wrap_Property_erase(PyObject *self, PyObject *args) {
2047 PyObject *resultobj;
2048 otk::Property *arg1 = (otk::Property *) 0 ;
2049 Window arg2 ;
2050 int arg3 ;
2051 PyObject * obj0 = 0 ;
2052 PyObject * obj1 = 0 ;
2053
2054 if(!PyArg_ParseTuple(args,(char *)"OOi:Property_erase",&obj0,&obj1,&arg3)) goto fail;
2055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2056 arg2 = (Window) PyInt_AsLong(obj1);
2057 if (PyErr_Occurred()) SWIG_fail;
2058 ((otk::Property const *)arg1)->erase(arg2,(otk::Property::Atoms )arg3);
2059
2060 Py_INCREF(Py_None); resultobj = Py_None;
2061 return resultobj;
2062 fail:
2063 return NULL;
2064 }
2065
2066
2067 static PyObject *_wrap_Property_atom(PyObject *self, PyObject *args) {
2068 PyObject *resultobj;
2069 otk::Property *arg1 = (otk::Property *) 0 ;
2070 int arg2 ;
2071 Atom result;
2072 PyObject * obj0 = 0 ;
2073
2074 if(!PyArg_ParseTuple(args,(char *)"Oi:Property_atom",&obj0,&arg2)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2076 result = (Atom)((otk::Property const *)arg1)->atom((otk::Property::Atoms )arg2);
2077
2078 resultobj = PyInt_FromLong((long)result);
2079 return resultobj;
2080 fail:
2081 return NULL;
2082 }
2083
2084
2085 static PyObject * Property_swigregister(PyObject *self, PyObject *args) {
2086 PyObject *obj;
2087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2088 SWIG_TypeClientData(SWIGTYPE_p_otk__Property, obj);
2089 Py_INCREF(obj);
2090 return Py_BuildValue((char *)"");
2091 }
2092 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
2093 PyObject *resultobj;
2094 otk::Rect *result;
2095
2096 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
2097 result = (otk::Rect *)new otk::Rect();
2098
2099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
2100 return resultobj;
2101 fail:
2102 return NULL;
2103 }
2104
2105
2106 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
2107 PyObject *resultobj;
2108 int arg1 ;
2109 int arg2 ;
2110 int arg3 ;
2111 int arg4 ;
2112 otk::Rect *result;
2113
2114 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
2115 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
2116
2117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
2118 return resultobj;
2119 fail:
2120 return NULL;
2121 }
2122
2123
2124 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
2125 PyObject *resultobj;
2126 otk::Point *arg1 = 0 ;
2127 otk::Point *arg2 = 0 ;
2128 otk::Rect *result;
2129 PyObject * obj0 = 0 ;
2130 PyObject * obj1 = 0 ;
2131
2132 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
2133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2134 if (arg1 == NULL) {
2135 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2136 }
2137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2138 if (arg2 == NULL) {
2139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2140 }
2141 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
2142
2143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
2144 return resultobj;
2145 fail:
2146 return NULL;
2147 }
2148
2149
2150 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
2151 PyObject *resultobj;
2152 otk::Rect *arg1 = 0 ;
2153 otk::Rect *result;
2154 PyObject * obj0 = 0 ;
2155
2156 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
2157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2158 if (arg1 == NULL) {
2159 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2160 }
2161 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
2162
2163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
2164 return resultobj;
2165 fail:
2166 return NULL;
2167 }
2168
2169
2170 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
2171 PyObject *resultobj;
2172 XRectangle *arg1 = 0 ;
2173 otk::Rect *result;
2174 PyObject * obj0 = 0 ;
2175
2176 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
2177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2178 if (arg1 == NULL) {
2179 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2180 }
2181 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
2182
2183 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
2184 return resultobj;
2185 fail:
2186 return NULL;
2187 }
2188
2189
2190 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
2191 int argc;
2192 PyObject *argv[5];
2193 int ii;
2194
2195 argc = PyObject_Length(args);
2196 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
2197 argv[ii] = PyTuple_GetItem(args,ii);
2198 }
2199 if (argc == 0) {
2200 return _wrap_new_Rect__SWIG_0(self,args);
2201 }
2202 if (argc == 1) {
2203 int _v;
2204 {
2205 void *ptr;
2206 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2207 _v = 0;
2208 PyErr_Clear();
2209 }else {
2210 _v = 1;
2211 }
2212 }
2213 if (_v) {
2214 return _wrap_new_Rect__SWIG_3(self,args);
2215 }
2216 }
2217 if (argc == 1) {
2218 int _v;
2219 {
2220 void *ptr;
2221 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
2222 _v = 0;
2223 PyErr_Clear();
2224 }else {
2225 _v = 1;
2226 }
2227 }
2228 if (_v) {
2229 return _wrap_new_Rect__SWIG_4(self,args);
2230 }
2231 }
2232 if (argc == 2) {
2233 int _v;
2234 {
2235 void *ptr;
2236 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2237 _v = 0;
2238 PyErr_Clear();
2239 }else {
2240 _v = 1;
2241 }
2242 }
2243 if (_v) {
2244 {
2245 void *ptr;
2246 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2247 _v = 0;
2248 PyErr_Clear();
2249 }else {
2250 _v = 1;
2251 }
2252 }
2253 if (_v) {
2254 return _wrap_new_Rect__SWIG_2(self,args);
2255 }
2256 }
2257 }
2258 if (argc == 4) {
2259 int _v;
2260 {
2261 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
2262 }
2263 if (_v) {
2264 {
2265 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2266 }
2267 if (_v) {
2268 {
2269 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2270 }
2271 if (_v) {
2272 {
2273 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2274 }
2275 if (_v) {
2276 return _wrap_new_Rect__SWIG_1(self,args);
2277 }
2278 }
2279 }
2280 }
2281 }
2282
2283 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
2284 return NULL;
2285 }
2286
2287
2288 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
2289 PyObject *resultobj;
2290 otk::Rect *arg1 = (otk::Rect *) 0 ;
2291 int result;
2292 PyObject * obj0 = 0 ;
2293
2294 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
2295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2296 result = (int)((otk::Rect const *)arg1)->left();
2297
2298 resultobj = PyInt_FromLong((long)result);
2299 return resultobj;
2300 fail:
2301 return NULL;
2302 }
2303
2304
2305 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
2306 PyObject *resultobj;
2307 otk::Rect *arg1 = (otk::Rect *) 0 ;
2308 int result;
2309 PyObject * obj0 = 0 ;
2310
2311 if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
2312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2313 result = (int)((otk::Rect const *)arg1)->top();
2314
2315 resultobj = PyInt_FromLong((long)result);
2316 return resultobj;
2317 fail:
2318 return NULL;
2319 }
2320
2321
2322 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
2323 PyObject *resultobj;
2324 otk::Rect *arg1 = (otk::Rect *) 0 ;
2325 int result;
2326 PyObject * obj0 = 0 ;
2327
2328 if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
2329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2330 result = (int)((otk::Rect const *)arg1)->right();
2331
2332 resultobj = PyInt_FromLong((long)result);
2333 return resultobj;
2334 fail:
2335 return NULL;
2336 }
2337
2338
2339 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
2340 PyObject *resultobj;
2341 otk::Rect *arg1 = (otk::Rect *) 0 ;
2342 int result;
2343 PyObject * obj0 = 0 ;
2344
2345 if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
2346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2347 result = (int)((otk::Rect const *)arg1)->bottom();
2348
2349 resultobj = PyInt_FromLong((long)result);
2350 return resultobj;
2351 fail:
2352 return NULL;
2353 }
2354
2355
2356 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
2357 PyObject *resultobj;
2358 otk::Rect *arg1 = (otk::Rect *) 0 ;
2359 int result;
2360 PyObject * obj0 = 0 ;
2361
2362 if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
2363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2364 result = (int)((otk::Rect const *)arg1)->x();
2365
2366 resultobj = PyInt_FromLong((long)result);
2367 return resultobj;
2368 fail:
2369 return NULL;
2370 }
2371
2372
2373 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
2374 PyObject *resultobj;
2375 otk::Rect *arg1 = (otk::Rect *) 0 ;
2376 int result;
2377 PyObject * obj0 = 0 ;
2378
2379 if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
2380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2381 result = (int)((otk::Rect const *)arg1)->y();
2382
2383 resultobj = PyInt_FromLong((long)result);
2384 return resultobj;
2385 fail:
2386 return NULL;
2387 }
2388
2389
2390 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
2391 PyObject *resultobj;
2392 otk::Rect *arg1 = (otk::Rect *) 0 ;
2393 otk::Point result;
2394 PyObject * obj0 = 0 ;
2395
2396 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
2397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2398 result = ((otk::Rect const *)arg1)->location();
2399
2400 {
2401 otk::Point * resultptr;
2402 resultptr = new otk::Point((otk::Point &) result);
2403 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
2404 }
2405 return resultobj;
2406 fail:
2407 return NULL;
2408 }
2409
2410
2411 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
2412 PyObject *resultobj;
2413 otk::Rect *arg1 = (otk::Rect *) 0 ;
2414 int arg2 ;
2415 PyObject * obj0 = 0 ;
2416
2417 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2419 (arg1)->setX(arg2);
2420
2421 Py_INCREF(Py_None); resultobj = Py_None;
2422 return resultobj;
2423 fail:
2424 return NULL;
2425 }
2426
2427
2428 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
2429 PyObject *resultobj;
2430 otk::Rect *arg1 = (otk::Rect *) 0 ;
2431 int arg2 ;
2432 PyObject * obj0 = 0 ;
2433
2434 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
2435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2436 (arg1)->setY(arg2);
2437
2438 Py_INCREF(Py_None); resultobj = Py_None;
2439 return resultobj;
2440 fail:
2441 return NULL;
2442 }
2443
2444
2445 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
2446 PyObject *resultobj;
2447 otk::Rect *arg1 = (otk::Rect *) 0 ;
2448 int arg2 ;
2449 int arg3 ;
2450 PyObject * obj0 = 0 ;
2451
2452 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
2453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2454 (arg1)->setPos(arg2,arg3);
2455
2456 Py_INCREF(Py_None); resultobj = Py_None;
2457 return resultobj;
2458 fail:
2459 return NULL;
2460 }
2461
2462
2463 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
2464 PyObject *resultobj;
2465 otk::Rect *arg1 = (otk::Rect *) 0 ;
2466 otk::Point *arg2 = 0 ;
2467 PyObject * obj0 = 0 ;
2468 PyObject * obj1 = 0 ;
2469
2470 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
2471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2473 if (arg2 == NULL) {
2474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2475 }
2476 (arg1)->setPos((otk::Point const &)*arg2);
2477
2478 Py_INCREF(Py_None); resultobj = Py_None;
2479 return resultobj;
2480 fail:
2481 return NULL;
2482 }
2483
2484
2485 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
2486 int argc;
2487 PyObject *argv[4];
2488 int ii;
2489
2490 argc = PyObject_Length(args);
2491 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2492 argv[ii] = PyTuple_GetItem(args,ii);
2493 }
2494 if (argc == 2) {
2495 int _v;
2496 {
2497 void *ptr;
2498 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2499 _v = 0;
2500 PyErr_Clear();
2501 }else {
2502 _v = 1;
2503 }
2504 }
2505 if (_v) {
2506 {
2507 void *ptr;
2508 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2509 _v = 0;
2510 PyErr_Clear();
2511 }else {
2512 _v = 1;
2513 }
2514 }
2515 if (_v) {
2516 return _wrap_Rect_setPos__SWIG_1(self,args);
2517 }
2518 }
2519 }
2520 if (argc == 3) {
2521 int _v;
2522 {
2523 void *ptr;
2524 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2525 _v = 0;
2526 PyErr_Clear();
2527 }else {
2528 _v = 1;
2529 }
2530 }
2531 if (_v) {
2532 {
2533 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2534 }
2535 if (_v) {
2536 {
2537 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2538 }
2539 if (_v) {
2540 return _wrap_Rect_setPos__SWIG_0(self,args);
2541 }
2542 }
2543 }
2544 }
2545
2546 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
2547 return NULL;
2548 }
2549
2550
2551 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
2552 PyObject *resultobj;
2553 otk::Rect *arg1 = (otk::Rect *) 0 ;
2554 int result;
2555 PyObject * obj0 = 0 ;
2556
2557 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
2558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2559 result = (int)((otk::Rect const *)arg1)->width();
2560
2561 resultobj = PyInt_FromLong((long)result);
2562 return resultobj;
2563 fail:
2564 return NULL;
2565 }
2566
2567
2568 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
2569 PyObject *resultobj;
2570 otk::Rect *arg1 = (otk::Rect *) 0 ;
2571 int result;
2572 PyObject * obj0 = 0 ;
2573
2574 if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
2575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2576 result = (int)((otk::Rect const *)arg1)->height();
2577
2578 resultobj = PyInt_FromLong((long)result);
2579 return resultobj;
2580 fail:
2581 return NULL;
2582 }
2583
2584
2585 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
2586 PyObject *resultobj;
2587 otk::Rect *arg1 = (otk::Rect *) 0 ;
2588 otk::Point result;
2589 PyObject * obj0 = 0 ;
2590
2591 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
2592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2593 result = ((otk::Rect const *)arg1)->size();
2594
2595 {
2596 otk::Point * resultptr;
2597 resultptr = new otk::Point((otk::Point &) result);
2598 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
2599 }
2600 return resultobj;
2601 fail:
2602 return NULL;
2603 }
2604
2605
2606 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
2607 PyObject *resultobj;
2608 otk::Rect *arg1 = (otk::Rect *) 0 ;
2609 int arg2 ;
2610 PyObject * obj0 = 0 ;
2611
2612 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
2613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2614 (arg1)->setWidth(arg2);
2615
2616 Py_INCREF(Py_None); resultobj = Py_None;
2617 return resultobj;
2618 fail:
2619 return NULL;
2620 }
2621
2622
2623 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
2624 PyObject *resultobj;
2625 otk::Rect *arg1 = (otk::Rect *) 0 ;
2626 int arg2 ;
2627 PyObject * obj0 = 0 ;
2628
2629 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
2630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2631 (arg1)->setHeight(arg2);
2632
2633 Py_INCREF(Py_None); resultobj = Py_None;
2634 return resultobj;
2635 fail:
2636 return NULL;
2637 }
2638
2639
2640 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
2641 PyObject *resultobj;
2642 otk::Rect *arg1 = (otk::Rect *) 0 ;
2643 int arg2 ;
2644 int arg3 ;
2645 PyObject * obj0 = 0 ;
2646
2647 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
2648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2649 (arg1)->setSize(arg2,arg3);
2650
2651 Py_INCREF(Py_None); resultobj = Py_None;
2652 return resultobj;
2653 fail:
2654 return NULL;
2655 }
2656
2657
2658 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
2659 PyObject *resultobj;
2660 otk::Rect *arg1 = (otk::Rect *) 0 ;
2661 otk::Point *arg2 = 0 ;
2662 PyObject * obj0 = 0 ;
2663 PyObject * obj1 = 0 ;
2664
2665 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
2666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2668 if (arg2 == NULL) {
2669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2670 }
2671 (arg1)->setSize((otk::Point const &)*arg2);
2672
2673 Py_INCREF(Py_None); resultobj = Py_None;
2674 return resultobj;
2675 fail:
2676 return NULL;
2677 }
2678
2679
2680 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
2681 int argc;
2682 PyObject *argv[4];
2683 int ii;
2684
2685 argc = PyObject_Length(args);
2686 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2687 argv[ii] = PyTuple_GetItem(args,ii);
2688 }
2689 if (argc == 2) {
2690 int _v;
2691 {
2692 void *ptr;
2693 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2694 _v = 0;
2695 PyErr_Clear();
2696 }else {
2697 _v = 1;
2698 }
2699 }
2700 if (_v) {
2701 {
2702 void *ptr;
2703 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2704 _v = 0;
2705 PyErr_Clear();
2706 }else {
2707 _v = 1;
2708 }
2709 }
2710 if (_v) {
2711 return _wrap_Rect_setSize__SWIG_1(self,args);
2712 }
2713 }
2714 }
2715 if (argc == 3) {
2716 int _v;
2717 {
2718 void *ptr;
2719 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2720 _v = 0;
2721 PyErr_Clear();
2722 }else {
2723 _v = 1;
2724 }
2725 }
2726 if (_v) {
2727 {
2728 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2729 }
2730 if (_v) {
2731 {
2732 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2733 }
2734 if (_v) {
2735 return _wrap_Rect_setSize__SWIG_0(self,args);
2736 }
2737 }
2738 }
2739 }
2740
2741 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
2742 return NULL;
2743 }
2744
2745
2746 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
2747 PyObject *resultobj;
2748 otk::Rect *arg1 = (otk::Rect *) 0 ;
2749 int arg2 ;
2750 int arg3 ;
2751 int arg4 ;
2752 int arg5 ;
2753 PyObject * obj0 = 0 ;
2754
2755 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2757 (arg1)->setRect(arg2,arg3,arg4,arg5);
2758
2759 Py_INCREF(Py_None); resultobj = Py_None;
2760 return resultobj;
2761 fail:
2762 return NULL;
2763 }
2764
2765
2766 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
2767 PyObject *resultobj;
2768 otk::Rect *arg1 = (otk::Rect *) 0 ;
2769 otk::Point *arg2 = 0 ;
2770 otk::Point *arg3 = 0 ;
2771 PyObject * obj0 = 0 ;
2772 PyObject * obj1 = 0 ;
2773 PyObject * obj2 = 0 ;
2774
2775 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
2776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2778 if (arg2 == NULL) {
2779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2780 }
2781 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2782 if (arg3 == NULL) {
2783 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2784 }
2785 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
2786
2787 Py_INCREF(Py_None); resultobj = Py_None;
2788 return resultobj;
2789 fail:
2790 return NULL;
2791 }
2792
2793
2794 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
2795 int argc;
2796 PyObject *argv[6];
2797 int ii;
2798
2799 argc = PyObject_Length(args);
2800 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2801 argv[ii] = PyTuple_GetItem(args,ii);
2802 }
2803 if (argc == 3) {
2804 int _v;
2805 {
2806 void *ptr;
2807 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2808 _v = 0;
2809 PyErr_Clear();
2810 }else {
2811 _v = 1;
2812 }
2813 }
2814 if (_v) {
2815 {
2816 void *ptr;
2817 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2818 _v = 0;
2819 PyErr_Clear();
2820 }else {
2821 _v = 1;
2822 }
2823 }
2824 if (_v) {
2825 {
2826 void *ptr;
2827 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2828 _v = 0;
2829 PyErr_Clear();
2830 }else {
2831 _v = 1;
2832 }
2833 }
2834 if (_v) {
2835 return _wrap_Rect_setRect__SWIG_1(self,args);
2836 }
2837 }
2838 }
2839 }
2840 if (argc == 5) {
2841 int _v;
2842 {
2843 void *ptr;
2844 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2845 _v = 0;
2846 PyErr_Clear();
2847 }else {
2848 _v = 1;
2849 }
2850 }
2851 if (_v) {
2852 {
2853 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2854 }
2855 if (_v) {
2856 {
2857 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2858 }
2859 if (_v) {
2860 {
2861 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2862 }
2863 if (_v) {
2864 {
2865 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2866 }
2867 if (_v) {
2868 return _wrap_Rect_setRect__SWIG_0(self,args);
2869 }
2870 }
2871 }
2872 }
2873 }
2874 }
2875
2876 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
2877 return NULL;
2878 }
2879
2880
2881 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
2882 PyObject *resultobj;
2883 otk::Rect *arg1 = (otk::Rect *) 0 ;
2884 int arg2 ;
2885 int arg3 ;
2886 int arg4 ;
2887 int arg5 ;
2888 PyObject * obj0 = 0 ;
2889
2890 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2892 (arg1)->setCoords(arg2,arg3,arg4,arg5);
2893
2894 Py_INCREF(Py_None); resultobj = Py_None;
2895 return resultobj;
2896 fail:
2897 return NULL;
2898 }
2899
2900
2901 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
2902 PyObject *resultobj;
2903 otk::Rect *arg1 = (otk::Rect *) 0 ;
2904 otk::Point *arg2 = 0 ;
2905 otk::Point *arg3 = 0 ;
2906 PyObject * obj0 = 0 ;
2907 PyObject * obj1 = 0 ;
2908 PyObject * obj2 = 0 ;
2909
2910 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
2911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2912 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2913 if (arg2 == NULL) {
2914 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2915 }
2916 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2917 if (arg3 == NULL) {
2918 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2919 }
2920 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
2921
2922 Py_INCREF(Py_None); resultobj = Py_None;
2923 return resultobj;
2924 fail:
2925 return NULL;
2926 }
2927
2928
2929 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
2930 int argc;
2931 PyObject *argv[6];
2932 int ii;
2933
2934 argc = PyObject_Length(args);
2935 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2936 argv[ii] = PyTuple_GetItem(args,ii);
2937 }
2938 if (argc == 3) {
2939 int _v;
2940 {
2941 void *ptr;
2942 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2943 _v = 0;
2944 PyErr_Clear();
2945 }else {
2946 _v = 1;
2947 }
2948 }
2949 if (_v) {
2950 {
2951 void *ptr;
2952 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2953 _v = 0;
2954 PyErr_Clear();
2955 }else {
2956 _v = 1;
2957 }
2958 }
2959 if (_v) {
2960 {
2961 void *ptr;
2962 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2963 _v = 0;
2964 PyErr_Clear();
2965 }else {
2966 _v = 1;
2967 }
2968 }
2969 if (_v) {
2970 return _wrap_Rect_setCoords__SWIG_1(self,args);
2971 }
2972 }
2973 }
2974 }
2975 if (argc == 5) {
2976 int _v;
2977 {
2978 void *ptr;
2979 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2980 _v = 0;
2981 PyErr_Clear();
2982 }else {
2983 _v = 1;
2984 }
2985 }
2986 if (_v) {
2987 {
2988 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2989 }
2990 if (_v) {
2991 {
2992 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2993 }
2994 if (_v) {
2995 {
2996 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2997 }
2998 if (_v) {
2999 {
3000 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
3001 }
3002 if (_v) {
3003 return _wrap_Rect_setCoords__SWIG_0(self,args);
3004 }
3005 }
3006 }
3007 }
3008 }
3009 }
3010
3011 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
3012 return NULL;
3013 }
3014
3015
3016 static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args) {
3017 PyObject *resultobj;
3018 otk::Rect *arg1 = (otk::Rect *) 0 ;
3019 otk::Rect *arg2 = 0 ;
3020 bool result;
3021 PyObject * obj0 = 0 ;
3022 PyObject * obj1 = 0 ;
3023
3024 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___eq__",&obj0,&obj1)) goto fail;
3025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3027 if (arg2 == NULL) {
3028 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3029 }
3030 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
3031
3032 resultobj = PyInt_FromLong((long)result);
3033 return resultobj;
3034 fail:
3035 return NULL;
3036 }
3037
3038
3039 static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args) {
3040 PyObject *resultobj;
3041 otk::Rect *arg1 = (otk::Rect *) 0 ;
3042 otk::Rect *arg2 = 0 ;
3043 bool result;
3044 PyObject * obj0 = 0 ;
3045 PyObject * obj1 = 0 ;
3046
3047 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ne__",&obj0,&obj1)) goto fail;
3048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3049 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3050 if (arg2 == NULL) {
3051 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3052 }
3053 result = (bool)(arg1)->operator !=((otk::Rect const &)*arg2);
3054
3055 resultobj = PyInt_FromLong((long)result);
3056 return resultobj;
3057 fail:
3058 return NULL;
3059 }
3060
3061
3062 static PyObject *_wrap_Rect___or__(PyObject *self, PyObject *args) {
3063 PyObject *resultobj;
3064 otk::Rect *arg1 = (otk::Rect *) 0 ;
3065 otk::Rect *arg2 = 0 ;
3066 otk::Rect result;
3067 PyObject * obj0 = 0 ;
3068 PyObject * obj1 = 0 ;
3069
3070 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___or__",&obj0,&obj1)) goto fail;
3071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3073 if (arg2 == NULL) {
3074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3075 }
3076 result = ((otk::Rect const *)arg1)->operator |((otk::Rect const &)*arg2);
3077
3078 {
3079 otk::Rect * resultptr;
3080 resultptr = new otk::Rect((otk::Rect &) result);
3081 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
3082 }
3083 return resultobj;
3084 fail:
3085 return NULL;
3086 }
3087
3088
3089 static PyObject *_wrap_Rect___and__(PyObject *self, PyObject *args) {
3090 PyObject *resultobj;
3091 otk::Rect *arg1 = (otk::Rect *) 0 ;
3092 otk::Rect *arg2 = 0 ;
3093 otk::Rect result;
3094 PyObject * obj0 = 0 ;
3095 PyObject * obj1 = 0 ;
3096
3097 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___and__",&obj0,&obj1)) goto fail;
3098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3099 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3100 if (arg2 == NULL) {
3101 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3102 }
3103 result = ((otk::Rect const *)arg1)->operator &((otk::Rect const &)*arg2);
3104
3105 {
3106 otk::Rect * resultptr;
3107 resultptr = new otk::Rect((otk::Rect &) result);
3108 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
3109 }
3110 return resultobj;
3111 fail:
3112 return NULL;
3113 }
3114
3115
3116 static PyObject *_wrap_Rect___ior__(PyObject *self, PyObject *args) {
3117 PyObject *resultobj;
3118 otk::Rect *arg1 = (otk::Rect *) 0 ;
3119 otk::Rect *arg2 = 0 ;
3120 otk::Rect *result;
3121 PyObject * obj0 = 0 ;
3122 PyObject * obj1 = 0 ;
3123
3124 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ior__",&obj0,&obj1)) goto fail;
3125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 if (arg2 == NULL) {
3128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3129 }
3130 {
3131 otk::Rect &_result_ref = (arg1)->operator |=((otk::Rect const &)*arg2);
3132 result = (otk::Rect *) &_result_ref;
3133 }
3134
3135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
3136 return resultobj;
3137 fail:
3138 return NULL;
3139 }
3140
3141
3142 static PyObject *_wrap_Rect___iand__(PyObject *self, PyObject *args) {
3143 PyObject *resultobj;
3144 otk::Rect *arg1 = (otk::Rect *) 0 ;
3145 otk::Rect *arg2 = 0 ;
3146 otk::Rect *result;
3147 PyObject * obj0 = 0 ;
3148 PyObject * obj1 = 0 ;
3149
3150 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___iand__",&obj0,&obj1)) goto fail;
3151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3153 if (arg2 == NULL) {
3154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3155 }
3156 {
3157 otk::Rect &_result_ref = (arg1)->operator &=((otk::Rect const &)*arg2);
3158 result = (otk::Rect *) &_result_ref;
3159 }
3160
3161 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
3162 return resultobj;
3163 fail:
3164 return NULL;
3165 }
3166
3167
3168 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
3169 PyObject *resultobj;
3170 otk::Rect *arg1 = (otk::Rect *) 0 ;
3171 bool result;
3172 PyObject * obj0 = 0 ;
3173
3174 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
3175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3176 result = (bool)((otk::Rect const *)arg1)->valid();
3177
3178 resultobj = PyInt_FromLong((long)result);
3179 return resultobj;
3180 fail:
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
3186 PyObject *resultobj;
3187 otk::Rect *arg1 = (otk::Rect *) 0 ;
3188 otk::Rect *arg2 = 0 ;
3189 bool result;
3190 PyObject * obj0 = 0 ;
3191 PyObject * obj1 = 0 ;
3192
3193 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
3194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3196 if (arg2 == NULL) {
3197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3198 }
3199 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
3200
3201 resultobj = PyInt_FromLong((long)result);
3202 return resultobj;
3203 fail:
3204 return NULL;
3205 }
3206
3207
3208 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
3209 PyObject *resultobj;
3210 otk::Rect *arg1 = (otk::Rect *) 0 ;
3211 int arg2 ;
3212 int arg3 ;
3213 bool result;
3214 PyObject * obj0 = 0 ;
3215
3216 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
3217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3218 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
3219
3220 resultobj = PyInt_FromLong((long)result);
3221 return resultobj;
3222 fail:
3223 return NULL;
3224 }
3225
3226
3227 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
3228 PyObject *resultobj;
3229 otk::Rect *arg1 = (otk::Rect *) 0 ;
3230 otk::Point *arg2 = 0 ;
3231 bool result;
3232 PyObject * obj0 = 0 ;
3233 PyObject * obj1 = 0 ;
3234
3235 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
3236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3237 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3238 if (arg2 == NULL) {
3239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3240 }
3241 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
3242
3243 resultobj = PyInt_FromLong((long)result);
3244 return resultobj;
3245 fail:
3246 return NULL;
3247 }
3248
3249
3250 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
3251 PyObject *resultobj;
3252 otk::Rect *arg1 = (otk::Rect *) 0 ;
3253 otk::Rect *arg2 = 0 ;
3254 bool result;
3255 PyObject * obj0 = 0 ;
3256 PyObject * obj1 = 0 ;
3257
3258 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
3259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3261 if (arg2 == NULL) {
3262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3263 }
3264 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
3265
3266 resultobj = PyInt_FromLong((long)result);
3267 return resultobj;
3268 fail:
3269 return NULL;
3270 }
3271
3272
3273 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
3274 int argc;
3275 PyObject *argv[4];
3276 int ii;
3277
3278 argc = PyObject_Length(args);
3279 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3280 argv[ii] = PyTuple_GetItem(args,ii);
3281 }
3282 if (argc == 2) {
3283 int _v;
3284 {
3285 void *ptr;
3286 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
3287 _v = 0;
3288 PyErr_Clear();
3289 }else {
3290 _v = 1;
3291 }
3292 }
3293 if (_v) {
3294 {
3295 void *ptr;
3296 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
3297 _v = 0;
3298 PyErr_Clear();
3299 }else {
3300 _v = 1;
3301 }
3302 }
3303 if (_v) {
3304 return _wrap_Rect_contains__SWIG_1(self,args);
3305 }
3306 }
3307 }
3308 if (argc == 2) {
3309 int _v;
3310 {
3311 void *ptr;
3312 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
3313 _v = 0;
3314 PyErr_Clear();
3315 }else {
3316 _v = 1;
3317 }
3318 }
3319 if (_v) {
3320 {
3321 void *ptr;
3322 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
3323 _v = 0;
3324 PyErr_Clear();
3325 }else {
3326 _v = 1;
3327 }
3328 }
3329 if (_v) {
3330 return _wrap_Rect_contains__SWIG_2(self,args);
3331 }
3332 }
3333 }
3334 if (argc == 3) {
3335 int _v;
3336 {
3337 void *ptr;
3338 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
3339 _v = 0;
3340 PyErr_Clear();
3341 }else {
3342 _v = 1;
3343 }
3344 }
3345 if (_v) {
3346 {
3347 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
3348 }
3349 if (_v) {
3350 {
3351 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
3352 }
3353 if (_v) {
3354 return _wrap_Rect_contains__SWIG_0(self,args);
3355 }
3356 }
3357 }
3358 }
3359
3360 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
3361 return NULL;
3362 }
3363
3364
3365 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
3366 PyObject *obj;
3367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3368 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
3369 Py_INCREF(obj);
3370 return Py_BuildValue((char *)"");
3371 }
3372 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
3373 PyObject *resultobj;
3374 unsigned int arg1 ;
3375 otk::ScreenInfo *result;
3376 PyObject * obj0 = 0 ;
3377
3378 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
3379 arg1 = (unsigned int) PyInt_AsLong(obj0);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
3382
3383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
3384 return resultobj;
3385 fail:
3386 return NULL;
3387 }
3388
3389
3390 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
3391 PyObject *resultobj;
3392 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3393 Visual *result;
3394 PyObject * obj0 = 0 ;
3395
3396 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
3397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3398 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
3399
3400 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
3401 return resultobj;
3402 fail:
3403 return NULL;
3404 }
3405
3406
3407 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
3408 PyObject *resultobj;
3409 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3410 Window result;
3411 PyObject * obj0 = 0 ;
3412
3413 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
3414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3415 result = (Window)((otk::ScreenInfo const *)arg1)->rootWindow();
3416
3417 resultobj = PyInt_FromLong((long)result);
3418 return resultobj;
3419 fail:
3420 return NULL;
3421 }
3422
3423
3424 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
3425 PyObject *resultobj;
3426 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3427 Colormap result;
3428 PyObject * obj0 = 0 ;
3429
3430 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
3431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3432 result = (Colormap)((otk::ScreenInfo const *)arg1)->colormap();
3433
3434 resultobj = PyInt_FromLong((long)result);
3435 return resultobj;
3436 fail:
3437 return NULL;
3438 }
3439
3440
3441 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
3442 PyObject *resultobj;
3443 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3444 int result;
3445 PyObject * obj0 = 0 ;
3446
3447 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
3448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3449 result = (int)((otk::ScreenInfo const *)arg1)->depth();
3450
3451 resultobj = PyInt_FromLong((long)result);
3452 return resultobj;
3453 fail:
3454 return NULL;
3455 }
3456
3457
3458 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
3459 PyObject *resultobj;
3460 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3461 unsigned int result;
3462 PyObject * obj0 = 0 ;
3463
3464 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
3465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3466 result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
3467
3468 resultobj = PyInt_FromLong((long)result);
3469 return resultobj;
3470 fail:
3471 return NULL;
3472 }
3473
3474
3475 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
3476 PyObject *resultobj;
3477 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3478 otk::Rect *result;
3479 PyObject * obj0 = 0 ;
3480
3481 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
3482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3483 {
3484 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
3485 result = (otk::Rect *) &_result_ref;
3486 }
3487
3488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
3489 return resultobj;
3490 fail:
3491 return NULL;
3492 }
3493
3494
3495 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
3496 PyObject *resultobj;
3497 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3498 unsigned int result;
3499 PyObject * obj0 = 0 ;
3500
3501 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
3502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3503 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
3504
3505 resultobj = PyInt_FromLong((long)result);
3506 return resultobj;
3507 fail:
3508 return NULL;
3509 }
3510
3511
3512 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
3513 PyObject *resultobj;
3514 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3515 unsigned int result;
3516 PyObject * obj0 = 0 ;
3517
3518 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
3519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3520 result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
3521
3522 resultobj = PyInt_FromLong((long)result);
3523 return resultobj;
3524 fail:
3525 return NULL;
3526 }
3527
3528
3529 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
3530 PyObject *resultobj;
3531 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3532 std::string *result;
3533 PyObject * obj0 = 0 ;
3534
3535 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
3536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3537 {
3538 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
3539 result = (std::string *) &_result_ref;
3540 }
3541
3542 {
3543 resultobj = PyString_FromString(result->c_str());
3544 }
3545 return resultobj;
3546 fail:
3547 return NULL;
3548 }
3549
3550
3551 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
3552 PyObject *obj;
3553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3554 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
3555 Py_INCREF(obj);
3556 return Py_BuildValue((char *)"");
3557 }
3558 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
3559 PyObject *resultobj;
3560 otk::Strut *arg1 = (otk::Strut *) 0 ;
3561 unsigned int arg2 ;
3562 PyObject * obj0 = 0 ;
3563 PyObject * obj1 = 0 ;
3564
3565 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
3566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3567 arg2 = (unsigned int) PyInt_AsLong(obj1);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 if (arg1) (arg1)->top = arg2;
3570
3571 Py_INCREF(Py_None); resultobj = Py_None;
3572 return resultobj;
3573 fail:
3574 return NULL;
3575 }
3576
3577
3578 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
3579 PyObject *resultobj;
3580 otk::Strut *arg1 = (otk::Strut *) 0 ;
3581 unsigned int result;
3582 PyObject * obj0 = 0 ;
3583
3584 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
3585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3586 result = (unsigned int) ((arg1)->top);
3587
3588 resultobj = PyInt_FromLong((long)result);
3589 return resultobj;
3590 fail:
3591 return NULL;
3592 }
3593
3594
3595 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
3596 PyObject *resultobj;
3597 otk::Strut *arg1 = (otk::Strut *) 0 ;
3598 unsigned int arg2 ;
3599 PyObject * obj0 = 0 ;
3600 PyObject * obj1 = 0 ;
3601
3602 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
3603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3604 arg2 = (unsigned int) PyInt_AsLong(obj1);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 if (arg1) (arg1)->bottom = arg2;
3607
3608 Py_INCREF(Py_None); resultobj = Py_None;
3609 return resultobj;
3610 fail:
3611 return NULL;
3612 }
3613
3614
3615 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
3616 PyObject *resultobj;
3617 otk::Strut *arg1 = (otk::Strut *) 0 ;
3618 unsigned int result;
3619 PyObject * obj0 = 0 ;
3620
3621 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
3622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3623 result = (unsigned int) ((arg1)->bottom);
3624
3625 resultobj = PyInt_FromLong((long)result);
3626 return resultobj;
3627 fail:
3628 return NULL;
3629 }
3630
3631
3632 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
3633 PyObject *resultobj;
3634 otk::Strut *arg1 = (otk::Strut *) 0 ;
3635 unsigned int arg2 ;
3636 PyObject * obj0 = 0 ;
3637 PyObject * obj1 = 0 ;
3638
3639 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
3640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3641 arg2 = (unsigned int) PyInt_AsLong(obj1);
3642 if (PyErr_Occurred()) SWIG_fail;
3643 if (arg1) (arg1)->left = arg2;
3644
3645 Py_INCREF(Py_None); resultobj = Py_None;
3646 return resultobj;
3647 fail:
3648 return NULL;
3649 }
3650
3651
3652 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
3653 PyObject *resultobj;
3654 otk::Strut *arg1 = (otk::Strut *) 0 ;
3655 unsigned int result;
3656 PyObject * obj0 = 0 ;
3657
3658 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3660 result = (unsigned int) ((arg1)->left);
3661
3662 resultobj = PyInt_FromLong((long)result);
3663 return resultobj;
3664 fail:
3665 return NULL;
3666 }
3667
3668
3669 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
3670 PyObject *resultobj;
3671 otk::Strut *arg1 = (otk::Strut *) 0 ;
3672 unsigned int arg2 ;
3673 PyObject * obj0 = 0 ;
3674 PyObject * obj1 = 0 ;
3675
3676 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
3677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3678 arg2 = (unsigned int) PyInt_AsLong(obj1);
3679 if (PyErr_Occurred()) SWIG_fail;
3680 if (arg1) (arg1)->right = arg2;
3681
3682 Py_INCREF(Py_None); resultobj = Py_None;
3683 return resultobj;
3684 fail:
3685 return NULL;
3686 }
3687
3688
3689 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
3690 PyObject *resultobj;
3691 otk::Strut *arg1 = (otk::Strut *) 0 ;
3692 unsigned int result;
3693 PyObject * obj0 = 0 ;
3694
3695 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
3696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3697 result = (unsigned int) ((arg1)->right);
3698
3699 resultobj = PyInt_FromLong((long)result);
3700 return resultobj;
3701 fail:
3702 return NULL;
3703 }
3704
3705
3706 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
3707 PyObject *resultobj;
3708 otk::Strut *result;
3709
3710 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
3711 result = (otk::Strut *)new otk::Strut();
3712
3713 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
3714 return resultobj;
3715 fail:
3716 return NULL;
3717 }
3718
3719
3720 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
3721 PyObject *resultobj;
3722 int arg1 ;
3723 int arg2 ;
3724 int arg3 ;
3725 int arg4 ;
3726 otk::Strut *result;
3727
3728 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
3729 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
3730
3731 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
3732 return resultobj;
3733 fail:
3734 return NULL;
3735 }
3736
3737
3738 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
3739 int argc;
3740 PyObject *argv[5];
3741 int ii;
3742
3743 argc = PyObject_Length(args);
3744 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
3745 argv[ii] = PyTuple_GetItem(args,ii);
3746 }
3747 if (argc == 0) {
3748 return _wrap_new_Strut__SWIG_0(self,args);
3749 }
3750 if (argc == 4) {
3751 int _v;
3752 {
3753 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
3754 }
3755 if (_v) {
3756 {
3757 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
3758 }
3759 if (_v) {
3760 {
3761 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
3762 }
3763 if (_v) {
3764 {
3765 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
3766 }
3767 if (_v) {
3768 return _wrap_new_Strut__SWIG_1(self,args);
3769 }
3770 }
3771 }
3772 }
3773 }
3774
3775 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
3776 return NULL;
3777 }
3778
3779
3780 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
3781 PyObject *obj;
3782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3783 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
3784 Py_INCREF(obj);
3785 return Py_BuildValue((char *)"");
3786 }
3787 static PyObject *_wrap_EventHandler_handle(PyObject *self, PyObject *args) {
3788 PyObject *resultobj;
3789 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3790 XEvent *arg2 = 0 ;
3791 PyObject * obj0 = 0 ;
3792 PyObject * obj1 = 0 ;
3793
3794 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_handle",&obj0,&obj1)) goto fail;
3795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3797 if (arg2 == NULL) {
3798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3799 }
3800 (arg1)->handle((XEvent const &)*arg2);
3801
3802 Py_INCREF(Py_None); resultobj = Py_None;
3803 return resultobj;
3804 fail:
3805 return NULL;
3806 }
3807
3808
3809 static PyObject *_wrap_EventHandler_keyPressHandler(PyObject *self, PyObject *args) {
3810 PyObject *resultobj;
3811 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3812 XKeyEvent *arg2 = 0 ;
3813 PyObject * obj0 = 0 ;
3814 PyObject * obj1 = 0 ;
3815
3816 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
3817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3818 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3819 if (arg2 == NULL) {
3820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3821 }
3822 (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
3823
3824 Py_INCREF(Py_None); resultobj = Py_None;
3825 return resultobj;
3826 fail:
3827 return NULL;
3828 }
3829
3830
3831 static PyObject *_wrap_EventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
3832 PyObject *resultobj;
3833 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3834 XKeyEvent *arg2 = 0 ;
3835 PyObject * obj0 = 0 ;
3836 PyObject * obj1 = 0 ;
3837
3838 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
3839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3840 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3841 if (arg2 == NULL) {
3842 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3843 }
3844 (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
3845
3846 Py_INCREF(Py_None); resultobj = Py_None;
3847 return resultobj;
3848 fail:
3849 return NULL;
3850 }
3851
3852
3853 static PyObject *_wrap_EventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
3854 PyObject *resultobj;
3855 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3856 XButtonEvent *arg2 = 0 ;
3857 PyObject * obj0 = 0 ;
3858 PyObject * obj1 = 0 ;
3859
3860 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
3861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3863 if (arg2 == NULL) {
3864 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3865 }
3866 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
3867
3868 Py_INCREF(Py_None); resultobj = Py_None;
3869 return resultobj;
3870 fail:
3871 return NULL;
3872 }
3873
3874
3875 static PyObject *_wrap_EventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
3876 PyObject *resultobj;
3877 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3878 XButtonEvent *arg2 = 0 ;
3879 PyObject * obj0 = 0 ;
3880 PyObject * obj1 = 0 ;
3881
3882 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
3883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3885 if (arg2 == NULL) {
3886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3887 }
3888 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
3889
3890 Py_INCREF(Py_None); resultobj = Py_None;
3891 return resultobj;
3892 fail:
3893 return NULL;
3894 }
3895
3896
3897 static PyObject *_wrap_EventHandler_motionHandler(PyObject *self, PyObject *args) {
3898 PyObject *resultobj;
3899 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3900 XMotionEvent *arg2 = 0 ;
3901 PyObject * obj0 = 0 ;
3902 PyObject * obj1 = 0 ;
3903
3904 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_motionHandler",&obj0,&obj1)) goto fail;
3905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3906 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3907 if (arg2 == NULL) {
3908 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3909 }
3910 (arg1)->motionHandler((XMotionEvent const &)*arg2);
3911
3912 Py_INCREF(Py_None); resultobj = Py_None;
3913 return resultobj;
3914 fail:
3915 return NULL;
3916 }
3917
3918
3919 static PyObject *_wrap_EventHandler_enterHandler(PyObject *self, PyObject *args) {
3920 PyObject *resultobj;
3921 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3922 XCrossingEvent *arg2 = 0 ;
3923 PyObject * obj0 = 0 ;
3924 PyObject * obj1 = 0 ;
3925
3926 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_enterHandler",&obj0,&obj1)) goto fail;
3927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3928 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3929 if (arg2 == NULL) {
3930 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3931 }
3932 (arg1)->enterHandler((XCrossingEvent const &)*arg2);
3933
3934 Py_INCREF(Py_None); resultobj = Py_None;
3935 return resultobj;
3936 fail:
3937 return NULL;
3938 }
3939
3940
3941 static PyObject *_wrap_EventHandler_leaveHandler(PyObject *self, PyObject *args) {
3942 PyObject *resultobj;
3943 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3944 XCrossingEvent *arg2 = 0 ;
3945 PyObject * obj0 = 0 ;
3946 PyObject * obj1 = 0 ;
3947
3948 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_leaveHandler",&obj0,&obj1)) goto fail;
3949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3951 if (arg2 == NULL) {
3952 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3953 }
3954 (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
3955
3956 Py_INCREF(Py_None); resultobj = Py_None;
3957 return resultobj;
3958 fail:
3959 return NULL;
3960 }
3961
3962
3963 static PyObject *_wrap_EventHandler_focusHandler(PyObject *self, PyObject *args) {
3964 PyObject *resultobj;
3965 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3966 XFocusChangeEvent *arg2 = 0 ;
3967 PyObject * obj0 = 0 ;
3968 PyObject * obj1 = 0 ;
3969
3970 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_focusHandler",&obj0,&obj1)) goto fail;
3971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3973 if (arg2 == NULL) {
3974 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3975 }
3976 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
3977
3978 Py_INCREF(Py_None); resultobj = Py_None;
3979 return resultobj;
3980 fail:
3981 return NULL;
3982 }
3983
3984
3985 static PyObject *_wrap_EventHandler_unfocusHandler(PyObject *self, PyObject *args) {
3986 PyObject *resultobj;
3987 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3988 XFocusChangeEvent *arg2 = 0 ;
3989 PyObject * obj0 = 0 ;
3990 PyObject * obj1 = 0 ;
3991
3992 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
3993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3995 if (arg2 == NULL) {
3996 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3997 }
3998 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
3999
4000 Py_INCREF(Py_None); resultobj = Py_None;
4001 return resultobj;
4002 fail:
4003 return NULL;
4004 }
4005
4006
4007 static PyObject *_wrap_EventHandler_exposeHandler(PyObject *self, PyObject *args) {
4008 PyObject *resultobj;
4009 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4010 XExposeEvent *arg2 = 0 ;
4011 PyObject * obj0 = 0 ;
4012 PyObject * obj1 = 0 ;
4013
4014 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_exposeHandler",&obj0,&obj1)) goto fail;
4015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4017 if (arg2 == NULL) {
4018 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4019 }
4020 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
4021
4022 Py_INCREF(Py_None); resultobj = Py_None;
4023 return resultobj;
4024 fail:
4025 return NULL;
4026 }
4027
4028
4029 static PyObject *_wrap_EventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
4030 PyObject *resultobj;
4031 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4032 XGraphicsExposeEvent *arg2 = 0 ;
4033 PyObject * obj0 = 0 ;
4034 PyObject * obj1 = 0 ;
4035
4036 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
4037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4039 if (arg2 == NULL) {
4040 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4041 }
4042 (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*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_EventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
4052 PyObject *resultobj;
4053 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4054 XNoExposeEvent *arg2 = 0 ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057
4058 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
4059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4061 if (arg2 == NULL) {
4062 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4063 }
4064 (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
4065
4066 Py_INCREF(Py_None); resultobj = Py_None;
4067 return resultobj;
4068 fail:
4069 return NULL;
4070 }
4071
4072
4073 static PyObject *_wrap_EventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
4074 PyObject *resultobj;
4075 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4076 XCirculateRequestEvent *arg2 = 0 ;
4077 PyObject * obj0 = 0 ;
4078 PyObject * obj1 = 0 ;
4079
4080 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
4081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4083 if (arg2 == NULL) {
4084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4085 }
4086 (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
4087
4088 Py_INCREF(Py_None); resultobj = Py_None;
4089 return resultobj;
4090 fail:
4091 return NULL;
4092 }
4093
4094
4095 static PyObject *_wrap_EventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
4096 PyObject *resultobj;
4097 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4098 XConfigureRequestEvent *arg2 = 0 ;
4099 PyObject * obj0 = 0 ;
4100 PyObject * obj1 = 0 ;
4101
4102 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
4103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4105 if (arg2 == NULL) {
4106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4107 }
4108 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
4109
4110 Py_INCREF(Py_None); resultobj = Py_None;
4111 return resultobj;
4112 fail:
4113 return NULL;
4114 }
4115
4116
4117 static PyObject *_wrap_EventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
4118 PyObject *resultobj;
4119 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4120 XMapRequestEvent *arg2 = 0 ;
4121 PyObject * obj0 = 0 ;
4122 PyObject * obj1 = 0 ;
4123
4124 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
4125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4127 if (arg2 == NULL) {
4128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4129 }
4130 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
4131
4132 Py_INCREF(Py_None); resultobj = Py_None;
4133 return resultobj;
4134 fail:
4135 return NULL;
4136 }
4137
4138
4139 static PyObject *_wrap_EventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
4140 PyObject *resultobj;
4141 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4142 XResizeRequestEvent *arg2 = 0 ;
4143 PyObject * obj0 = 0 ;
4144 PyObject * obj1 = 0 ;
4145
4146 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
4147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4149 if (arg2 == NULL) {
4150 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4151 }
4152 (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
4153
4154 Py_INCREF(Py_None); resultobj = Py_None;
4155 return resultobj;
4156 fail:
4157 return NULL;
4158 }
4159
4160
4161 static PyObject *_wrap_EventHandler_circulateHandler(PyObject *self, PyObject *args) {
4162 PyObject *resultobj;
4163 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4164 XCirculateEvent *arg2 = 0 ;
4165 PyObject * obj0 = 0 ;
4166 PyObject * obj1 = 0 ;
4167
4168 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateHandler",&obj0,&obj1)) goto fail;
4169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4171 if (arg2 == NULL) {
4172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4173 }
4174 (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
4175
4176 Py_INCREF(Py_None); resultobj = Py_None;
4177 return resultobj;
4178 fail:
4179 return NULL;
4180 }
4181
4182
4183 static PyObject *_wrap_EventHandler_configureHandler(PyObject *self, PyObject *args) {
4184 PyObject *resultobj;
4185 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4186 XConfigureEvent *arg2 = 0 ;
4187 PyObject * obj0 = 0 ;
4188 PyObject * obj1 = 0 ;
4189
4190 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureHandler",&obj0,&obj1)) goto fail;
4191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4193 if (arg2 == NULL) {
4194 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4195 }
4196 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
4197
4198 Py_INCREF(Py_None); resultobj = Py_None;
4199 return resultobj;
4200 fail:
4201 return NULL;
4202 }
4203
4204
4205 static PyObject *_wrap_EventHandler_createHandler(PyObject *self, PyObject *args) {
4206 PyObject *resultobj;
4207 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4208 XCreateWindowEvent *arg2 = 0 ;
4209 PyObject * obj0 = 0 ;
4210 PyObject * obj1 = 0 ;
4211
4212 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_createHandler",&obj0,&obj1)) goto fail;
4213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4215 if (arg2 == NULL) {
4216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4217 }
4218 (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
4219
4220 Py_INCREF(Py_None); resultobj = Py_None;
4221 return resultobj;
4222 fail:
4223 return NULL;
4224 }
4225
4226
4227 static PyObject *_wrap_EventHandler_destroyHandler(PyObject *self, PyObject *args) {
4228 PyObject *resultobj;
4229 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4230 XDestroyWindowEvent *arg2 = 0 ;
4231 PyObject * obj0 = 0 ;
4232 PyObject * obj1 = 0 ;
4233
4234 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_destroyHandler",&obj0,&obj1)) goto fail;
4235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4237 if (arg2 == NULL) {
4238 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4239 }
4240 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
4241
4242 Py_INCREF(Py_None); resultobj = Py_None;
4243 return resultobj;
4244 fail:
4245 return NULL;
4246 }
4247
4248
4249 static PyObject *_wrap_EventHandler_gravityHandler(PyObject *self, PyObject *args) {
4250 PyObject *resultobj;
4251 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4252 XGravityEvent *arg2 = 0 ;
4253 PyObject * obj0 = 0 ;
4254 PyObject * obj1 = 0 ;
4255
4256 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_gravityHandler",&obj0,&obj1)) goto fail;
4257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4259 if (arg2 == NULL) {
4260 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4261 }
4262 (arg1)->gravityHandler((XGravityEvent const &)*arg2);
4263
4264 Py_INCREF(Py_None); resultobj = Py_None;
4265 return resultobj;
4266 fail:
4267 return NULL;
4268 }
4269
4270
4271 static PyObject *_wrap_EventHandler_mapHandler(PyObject *self, PyObject *args) {
4272 PyObject *resultobj;
4273 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4274 XMapEvent *arg2 = 0 ;
4275 PyObject * obj0 = 0 ;
4276 PyObject * obj1 = 0 ;
4277
4278 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapHandler",&obj0,&obj1)) goto fail;
4279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4281 if (arg2 == NULL) {
4282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4283 }
4284 (arg1)->mapHandler((XMapEvent const &)*arg2);
4285
4286 Py_INCREF(Py_None); resultobj = Py_None;
4287 return resultobj;
4288 fail:
4289 return NULL;
4290 }
4291
4292
4293 static PyObject *_wrap_EventHandler_mappingHandler(PyObject *self, PyObject *args) {
4294 PyObject *resultobj;
4295 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4296 XMappingEvent *arg2 = 0 ;
4297 PyObject * obj0 = 0 ;
4298 PyObject * obj1 = 0 ;
4299
4300 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mappingHandler",&obj0,&obj1)) goto fail;
4301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4302 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4303 if (arg2 == NULL) {
4304 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4305 }
4306 (arg1)->mappingHandler((XMappingEvent const &)*arg2);
4307
4308 Py_INCREF(Py_None); resultobj = Py_None;
4309 return resultobj;
4310 fail:
4311 return NULL;
4312 }
4313
4314
4315 static PyObject *_wrap_EventHandler_reparentHandler(PyObject *self, PyObject *args) {
4316 PyObject *resultobj;
4317 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4318 XReparentEvent *arg2 = 0 ;
4319 PyObject * obj0 = 0 ;
4320 PyObject * obj1 = 0 ;
4321
4322 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_reparentHandler",&obj0,&obj1)) goto fail;
4323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4325 if (arg2 == NULL) {
4326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4327 }
4328 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
4329
4330 Py_INCREF(Py_None); resultobj = Py_None;
4331 return resultobj;
4332 fail:
4333 return NULL;
4334 }
4335
4336
4337 static PyObject *_wrap_EventHandler_unmapHandler(PyObject *self, PyObject *args) {
4338 PyObject *resultobj;
4339 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4340 XUnmapEvent *arg2 = 0 ;
4341 PyObject * obj0 = 0 ;
4342 PyObject * obj1 = 0 ;
4343
4344 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unmapHandler",&obj0,&obj1)) goto fail;
4345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4347 if (arg2 == NULL) {
4348 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4349 }
4350 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
4351
4352 Py_INCREF(Py_None); resultobj = Py_None;
4353 return resultobj;
4354 fail:
4355 return NULL;
4356 }
4357
4358
4359 static PyObject *_wrap_EventHandler_visibilityHandler(PyObject *self, PyObject *args) {
4360 PyObject *resultobj;
4361 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4362 XVisibilityEvent *arg2 = 0 ;
4363 PyObject * obj0 = 0 ;
4364 PyObject * obj1 = 0 ;
4365
4366 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
4367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4368 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 if (arg2 == NULL) {
4370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4371 }
4372 (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
4373
4374 Py_INCREF(Py_None); resultobj = Py_None;
4375 return resultobj;
4376 fail:
4377 return NULL;
4378 }
4379
4380
4381 static PyObject *_wrap_EventHandler_colorMapHandler(PyObject *self, PyObject *args) {
4382 PyObject *resultobj;
4383 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4384 XColormapEvent *arg2 = 0 ;
4385 PyObject * obj0 = 0 ;
4386 PyObject * obj1 = 0 ;
4387
4388 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
4389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391 if (arg2 == NULL) {
4392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4393 }
4394 (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
4395
4396 Py_INCREF(Py_None); resultobj = Py_None;
4397 return resultobj;
4398 fail:
4399 return NULL;
4400 }
4401
4402
4403 static PyObject *_wrap_EventHandler_propertyHandler(PyObject *self, PyObject *args) {
4404 PyObject *resultobj;
4405 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4406 XPropertyEvent *arg2 = 0 ;
4407 PyObject * obj0 = 0 ;
4408 PyObject * obj1 = 0 ;
4409
4410 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_propertyHandler",&obj0,&obj1)) goto fail;
4411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4413 if (arg2 == NULL) {
4414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4415 }
4416 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
4417
4418 Py_INCREF(Py_None); resultobj = Py_None;
4419 return resultobj;
4420 fail:
4421 return NULL;
4422 }
4423
4424
4425 static PyObject *_wrap_EventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
4426 PyObject *resultobj;
4427 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4428 XSelectionClearEvent *arg2 = 0 ;
4429 PyObject * obj0 = 0 ;
4430 PyObject * obj1 = 0 ;
4431
4432 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
4433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4435 if (arg2 == NULL) {
4436 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4437 }
4438 (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
4439
4440 Py_INCREF(Py_None); resultobj = Py_None;
4441 return resultobj;
4442 fail:
4443 return NULL;
4444 }
4445
4446
4447 static PyObject *_wrap_EventHandler_selectionHandler(PyObject *self, PyObject *args) {
4448 PyObject *resultobj;
4449 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4450 XSelectionEvent *arg2 = 0 ;
4451 PyObject * obj0 = 0 ;
4452 PyObject * obj1 = 0 ;
4453
4454 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionHandler",&obj0,&obj1)) goto fail;
4455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4457 if (arg2 == NULL) {
4458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4459 }
4460 (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
4461
4462 Py_INCREF(Py_None); resultobj = Py_None;
4463 return resultobj;
4464 fail:
4465 return NULL;
4466 }
4467
4468
4469 static PyObject *_wrap_EventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
4470 PyObject *resultobj;
4471 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4472 XSelectionRequestEvent *arg2 = 0 ;
4473 PyObject * obj0 = 0 ;
4474 PyObject * obj1 = 0 ;
4475
4476 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
4477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4479 if (arg2 == NULL) {
4480 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4481 }
4482 (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
4483
4484 Py_INCREF(Py_None); resultobj = Py_None;
4485 return resultobj;
4486 fail:
4487 return NULL;
4488 }
4489
4490
4491 static PyObject *_wrap_EventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
4492 PyObject *resultobj;
4493 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4494 XClientMessageEvent *arg2 = 0 ;
4495 PyObject * obj0 = 0 ;
4496 PyObject * obj1 = 0 ;
4497
4498 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
4499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4501 if (arg2 == NULL) {
4502 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4503 }
4504 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
4505
4506 Py_INCREF(Py_None); resultobj = Py_None;
4507 return resultobj;
4508 fail:
4509 return NULL;
4510 }
4511
4512
4513 static PyObject *_wrap_delete_EventHandler(PyObject *self, PyObject *args) {
4514 PyObject *resultobj;
4515 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4516 PyObject * obj0 = 0 ;
4517
4518 if(!PyArg_ParseTuple(args,(char *)"O:delete_EventHandler",&obj0)) goto fail;
4519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4520 delete arg1;
4521
4522 Py_INCREF(Py_None); resultobj = Py_None;
4523 return resultobj;
4524 fail:
4525 return NULL;
4526 }
4527
4528
4529 static PyObject * EventHandler_swigregister(PyObject *self, PyObject *args) {
4530 PyObject *obj;
4531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4532 SWIG_TypeClientData(SWIGTYPE_p_otk__EventHandler, obj);
4533 Py_INCREF(obj);
4534 return Py_BuildValue((char *)"");
4535 }
4536 static PyObject *_wrap_new_EventDispatcher(PyObject *self, PyObject *args) {
4537 PyObject *resultobj;
4538 otk::EventDispatcher *result;
4539
4540 if(!PyArg_ParseTuple(args,(char *)":new_EventDispatcher")) goto fail;
4541 result = (otk::EventDispatcher *)new otk::EventDispatcher();
4542
4543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventDispatcher, 1);
4544 return resultobj;
4545 fail:
4546 return NULL;
4547 }
4548
4549
4550 static PyObject *_wrap_delete_EventDispatcher(PyObject *self, PyObject *args) {
4551 PyObject *resultobj;
4552 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4553 PyObject * obj0 = 0 ;
4554
4555 if(!PyArg_ParseTuple(args,(char *)"O:delete_EventDispatcher",&obj0)) goto fail;
4556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4557 delete arg1;
4558
4559 Py_INCREF(Py_None); resultobj = Py_None;
4560 return resultobj;
4561 fail:
4562 return NULL;
4563 }
4564
4565
4566 static PyObject *_wrap_EventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
4567 PyObject *resultobj;
4568 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4569 PyObject * obj0 = 0 ;
4570
4571 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_clearAllHandlers",&obj0)) goto fail;
4572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4573 (arg1)->clearAllHandlers();
4574
4575 Py_INCREF(Py_None); resultobj = Py_None;
4576 return resultobj;
4577 fail:
4578 return NULL;
4579 }
4580
4581
4582 static PyObject *_wrap_EventDispatcher_registerHandler(PyObject *self, PyObject *args) {
4583 PyObject *resultobj;
4584 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4585 Window arg2 ;
4586 otk::EventHandler *arg3 = (otk::EventHandler *) 0 ;
4587 PyObject * obj0 = 0 ;
4588 PyObject * obj1 = 0 ;
4589 PyObject * obj2 = 0 ;
4590
4591 if(!PyArg_ParseTuple(args,(char *)"OOO:EventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
4592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4593 arg2 = (Window) PyInt_AsLong(obj1);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4596 (arg1)->registerHandler(arg2,arg3);
4597
4598 Py_INCREF(Py_None); resultobj = Py_None;
4599 return resultobj;
4600 fail:
4601 return NULL;
4602 }
4603
4604
4605 static PyObject *_wrap_EventDispatcher_clearHandler(PyObject *self, PyObject *args) {
4606 PyObject *resultobj;
4607 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4608 Window arg2 ;
4609 PyObject * obj0 = 0 ;
4610 PyObject * obj1 = 0 ;
4611
4612 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
4613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4614 arg2 = (Window) PyInt_AsLong(obj1);
4615 if (PyErr_Occurred()) SWIG_fail;
4616 (arg1)->clearHandler(arg2);
4617
4618 Py_INCREF(Py_None); resultobj = Py_None;
4619 return resultobj;
4620 fail:
4621 return NULL;
4622 }
4623
4624
4625 static PyObject *_wrap_EventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
4626 PyObject *resultobj;
4627 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4628 PyObject * obj0 = 0 ;
4629
4630 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_dispatchEvents",&obj0)) goto fail;
4631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4632 (arg1)->dispatchEvents();
4633
4634 Py_INCREF(Py_None); resultobj = Py_None;
4635 return resultobj;
4636 fail:
4637 return NULL;
4638 }
4639
4640
4641 static PyObject *_wrap_EventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
4642 PyObject *resultobj;
4643 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4644 otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
4645 PyObject * obj0 = 0 ;
4646 PyObject * obj1 = 0 ;
4647
4648 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
4649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4651 (arg1)->setFallbackHandler(arg2);
4652
4653 Py_INCREF(Py_None); resultobj = Py_None;
4654 return resultobj;
4655 fail:
4656 return NULL;
4657 }
4658
4659
4660 static PyObject *_wrap_EventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
4661 PyObject *resultobj;
4662 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4663 otk::EventHandler *result;
4664 PyObject * obj0 = 0 ;
4665
4666 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getFallbackHandler",&obj0)) goto fail;
4667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4668 result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getFallbackHandler();
4669
4670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
4671 return resultobj;
4672 fail:
4673 return NULL;
4674 }
4675
4676
4677 static PyObject *_wrap_EventDispatcher_setMasterHandler(PyObject *self, PyObject *args) {
4678 PyObject *resultobj;
4679 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4680 otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
4681 PyObject * obj0 = 0 ;
4682 PyObject * obj1 = 0 ;
4683
4684 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
4685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4687 (arg1)->setMasterHandler(arg2);
4688
4689 Py_INCREF(Py_None); resultobj = Py_None;
4690 return resultobj;
4691 fail:
4692 return NULL;
4693 }
4694
4695
4696 static PyObject *_wrap_EventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
4697 PyObject *resultobj;
4698 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4699 otk::EventHandler *result;
4700 PyObject * obj0 = 0 ;
4701
4702 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getMasterHandler",&obj0)) goto fail;
4703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4704 result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getMasterHandler();
4705
4706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
4707 return resultobj;
4708 fail:
4709 return NULL;
4710 }
4711
4712
4713 static PyObject *_wrap_EventDispatcher_findHandler(PyObject *self, PyObject *args) {
4714 PyObject *resultobj;
4715 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4716 Window arg2 ;
4717 otk::EventHandler *result;
4718 PyObject * obj0 = 0 ;
4719 PyObject * obj1 = 0 ;
4720
4721 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_findHandler",&obj0,&obj1)) goto fail;
4722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4723 arg2 = (Window) PyInt_AsLong(obj1);
4724 if (PyErr_Occurred()) SWIG_fail;
4725 result = (otk::EventHandler *)(arg1)->findHandler(arg2);
4726
4727 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
4728 return resultobj;
4729 fail:
4730 return NULL;
4731 }
4732
4733
4734 static PyObject *_wrap_EventDispatcher_lastTime(PyObject *self, PyObject *args) {
4735 PyObject *resultobj;
4736 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4737 Time result;
4738 PyObject * obj0 = 0 ;
4739
4740 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_lastTime",&obj0)) goto fail;
4741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4742 result = (Time)((otk::EventDispatcher const *)arg1)->lastTime();
4743
4744 resultobj = PyInt_FromLong((long)result);
4745 return resultobj;
4746 fail:
4747 return NULL;
4748 }
4749
4750
4751 static PyObject * EventDispatcher_swigregister(PyObject *self, PyObject *args) {
4752 PyObject *obj;
4753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4754 SWIG_TypeClientData(SWIGTYPE_p_otk__EventDispatcher, obj);
4755 Py_INCREF(obj);
4756 return Py_BuildValue((char *)"");
4757 }
4758 static PyObject *_wrap_Cursors_session_set(PyObject *self, PyObject *args) {
4759 PyObject *resultobj;
4760 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4761 Cursor arg2 ;
4762 PyObject * obj0 = 0 ;
4763 PyObject * obj1 = 0 ;
4764
4765 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_session_set",&obj0,&obj1)) goto fail;
4766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4767 arg2 = (Cursor) PyInt_AsLong(obj1);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 if (arg1) (arg1)->session = arg2;
4770
4771 Py_INCREF(Py_None); resultobj = Py_None;
4772 return resultobj;
4773 fail:
4774 return NULL;
4775 }
4776
4777
4778 static PyObject *_wrap_Cursors_session_get(PyObject *self, PyObject *args) {
4779 PyObject *resultobj;
4780 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4781 Cursor result;
4782 PyObject * obj0 = 0 ;
4783
4784 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_session_get",&obj0)) goto fail;
4785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4786 result = (Cursor) ((arg1)->session);
4787
4788 resultobj = PyInt_FromLong((long)result);
4789 return resultobj;
4790 fail:
4791 return NULL;
4792 }
4793
4794
4795 static PyObject *_wrap_Cursors_move_set(PyObject *self, PyObject *args) {
4796 PyObject *resultobj;
4797 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4798 Cursor arg2 ;
4799 PyObject * obj0 = 0 ;
4800 PyObject * obj1 = 0 ;
4801
4802 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_move_set",&obj0,&obj1)) goto fail;
4803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4804 arg2 = (Cursor) PyInt_AsLong(obj1);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 if (arg1) (arg1)->move = arg2;
4807
4808 Py_INCREF(Py_None); resultobj = Py_None;
4809 return resultobj;
4810 fail:
4811 return NULL;
4812 }
4813
4814
4815 static PyObject *_wrap_Cursors_move_get(PyObject *self, PyObject *args) {
4816 PyObject *resultobj;
4817 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4818 Cursor result;
4819 PyObject * obj0 = 0 ;
4820
4821 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_move_get",&obj0)) goto fail;
4822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4823 result = (Cursor) ((arg1)->move);
4824
4825 resultobj = PyInt_FromLong((long)result);
4826 return resultobj;
4827 fail:
4828 return NULL;
4829 }
4830
4831
4832 static PyObject *_wrap_Cursors_ll_angle_set(PyObject *self, PyObject *args) {
4833 PyObject *resultobj;
4834 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4835 Cursor arg2 ;
4836 PyObject * obj0 = 0 ;
4837 PyObject * obj1 = 0 ;
4838
4839 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ll_angle_set",&obj0,&obj1)) goto fail;
4840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4841 arg2 = (Cursor) PyInt_AsLong(obj1);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 if (arg1) (arg1)->ll_angle = arg2;
4844
4845 Py_INCREF(Py_None); resultobj = Py_None;
4846 return resultobj;
4847 fail:
4848 return NULL;
4849 }
4850
4851
4852 static PyObject *_wrap_Cursors_ll_angle_get(PyObject *self, PyObject *args) {
4853 PyObject *resultobj;
4854 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4855 Cursor result;
4856 PyObject * obj0 = 0 ;
4857
4858 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ll_angle_get",&obj0)) goto fail;
4859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4860 result = (Cursor) ((arg1)->ll_angle);
4861
4862 resultobj = PyInt_FromLong((long)result);
4863 return resultobj;
4864 fail:
4865 return NULL;
4866 }
4867
4868
4869 static PyObject *_wrap_Cursors_lr_angle_set(PyObject *self, PyObject *args) {
4870 PyObject *resultobj;
4871 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4872 Cursor arg2 ;
4873 PyObject * obj0 = 0 ;
4874 PyObject * obj1 = 0 ;
4875
4876 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_lr_angle_set",&obj0,&obj1)) goto fail;
4877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4878 arg2 = (Cursor) PyInt_AsLong(obj1);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 if (arg1) (arg1)->lr_angle = arg2;
4881
4882 Py_INCREF(Py_None); resultobj = Py_None;
4883 return resultobj;
4884 fail:
4885 return NULL;
4886 }
4887
4888
4889 static PyObject *_wrap_Cursors_lr_angle_get(PyObject *self, PyObject *args) {
4890 PyObject *resultobj;
4891 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4892 Cursor result;
4893 PyObject * obj0 = 0 ;
4894
4895 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_lr_angle_get",&obj0)) goto fail;
4896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4897 result = (Cursor) ((arg1)->lr_angle);
4898
4899 resultobj = PyInt_FromLong((long)result);
4900 return resultobj;
4901 fail:
4902 return NULL;
4903 }
4904
4905
4906 static PyObject *_wrap_Cursors_ul_angle_set(PyObject *self, PyObject *args) {
4907 PyObject *resultobj;
4908 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4909 Cursor arg2 ;
4910 PyObject * obj0 = 0 ;
4911 PyObject * obj1 = 0 ;
4912
4913 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ul_angle_set",&obj0,&obj1)) goto fail;
4914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4915 arg2 = (Cursor) PyInt_AsLong(obj1);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 if (arg1) (arg1)->ul_angle = arg2;
4918
4919 Py_INCREF(Py_None); resultobj = Py_None;
4920 return resultobj;
4921 fail:
4922 return NULL;
4923 }
4924
4925
4926 static PyObject *_wrap_Cursors_ul_angle_get(PyObject *self, PyObject *args) {
4927 PyObject *resultobj;
4928 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4929 Cursor result;
4930 PyObject * obj0 = 0 ;
4931
4932 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ul_angle_get",&obj0)) goto fail;
4933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4934 result = (Cursor) ((arg1)->ul_angle);
4935
4936 resultobj = PyInt_FromLong((long)result);
4937 return resultobj;
4938 fail:
4939 return NULL;
4940 }
4941
4942
4943 static PyObject *_wrap_Cursors_ur_angle_set(PyObject *self, PyObject *args) {
4944 PyObject *resultobj;
4945 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4946 Cursor arg2 ;
4947 PyObject * obj0 = 0 ;
4948 PyObject * obj1 = 0 ;
4949
4950 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ur_angle_set",&obj0,&obj1)) goto fail;
4951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4952 arg2 = (Cursor) PyInt_AsLong(obj1);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 if (arg1) (arg1)->ur_angle = arg2;
4955
4956 Py_INCREF(Py_None); resultobj = Py_None;
4957 return resultobj;
4958 fail:
4959 return NULL;
4960 }
4961
4962
4963 static PyObject *_wrap_Cursors_ur_angle_get(PyObject *self, PyObject *args) {
4964 PyObject *resultobj;
4965 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4966 Cursor result;
4967 PyObject * obj0 = 0 ;
4968
4969 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ur_angle_get",&obj0)) goto fail;
4970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4971 result = (Cursor) ((arg1)->ur_angle);
4972
4973 resultobj = PyInt_FromLong((long)result);
4974 return resultobj;
4975 fail:
4976 return NULL;
4977 }
4978
4979
4980 static PyObject * Cursors_swigregister(PyObject *self, PyObject *args) {
4981 PyObject *obj;
4982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4983 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors, obj);
4984 Py_INCREF(obj);
4985 return Py_BuildValue((char *)"");
4986 }
4987 static PyObject *_wrap_Openbox_state(PyObject *self, PyObject *args) {
4988 PyObject *resultobj;
4989 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
4990 int result;
4991 PyObject * obj0 = 0 ;
4992
4993 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_state",&obj0)) goto fail;
4994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4995 result = (int)((ob::Openbox const *)arg1)->state();
4996
4997 resultobj = PyInt_FromLong((long)result);
4998 return resultobj;
4999 fail:
5000 return NULL;
5001 }
5002
5003
5004 static PyObject *_wrap_Openbox_timerManager(PyObject *self, PyObject *args) {
5005 PyObject *resultobj;
5006 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5007 otk::TimerQueueManager *result;
5008 PyObject * obj0 = 0 ;
5009
5010 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_timerManager",&obj0)) goto fail;
5011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5012 result = (otk::TimerQueueManager *)(arg1)->timerManager();
5013
5014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__TimerQueueManager, 0);
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 static PyObject *_wrap_Openbox_property(PyObject *self, PyObject *args) {
5022 PyObject *resultobj;
5023 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5024 otk::Property *result;
5025 PyObject * obj0 = 0 ;
5026
5027 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_property",&obj0)) goto fail;
5028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5029 result = (otk::Property *)((ob::Openbox const *)arg1)->property();
5030
5031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Property, 0);
5032 return resultobj;
5033 fail:
5034 return NULL;
5035 }
5036
5037
5038 static PyObject *_wrap_Openbox_actions(PyObject *self, PyObject *args) {
5039 PyObject *resultobj;
5040 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5041 ob::Actions *result;
5042 PyObject * obj0 = 0 ;
5043
5044 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_actions",&obj0)) goto fail;
5045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5046 result = (ob::Actions *)((ob::Openbox const *)arg1)->actions();
5047
5048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Actions, 0);
5049 return resultobj;
5050 fail:
5051 return NULL;
5052 }
5053
5054
5055 static PyObject *_wrap_Openbox_bindings(PyObject *self, PyObject *args) {
5056 PyObject *resultobj;
5057 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5058 ob::Bindings *result;
5059 PyObject * obj0 = 0 ;
5060
5061 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_bindings",&obj0)) goto fail;
5062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5063 result = (ob::Bindings *)((ob::Openbox const *)arg1)->bindings();
5064
5065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Bindings, 0);
5066 return resultobj;
5067 fail:
5068 return NULL;
5069 }
5070
5071
5072 static PyObject *_wrap_Openbox_screen(PyObject *self, PyObject *args) {
5073 PyObject *resultobj;
5074 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5075 int arg2 ;
5076 ob::Screen *result;
5077 PyObject * obj0 = 0 ;
5078
5079 if(!PyArg_ParseTuple(args,(char *)"Oi:Openbox_screen",&obj0,&arg2)) goto fail;
5080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5081 result = (ob::Screen *)(arg1)->screen(arg2);
5082
5083 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
5084 return resultobj;
5085 fail:
5086 return NULL;
5087 }
5088
5089
5090 static PyObject *_wrap_Openbox_screenCount(PyObject *self, PyObject *args) {
5091 PyObject *resultobj;
5092 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5093 int result;
5094 PyObject * obj0 = 0 ;
5095
5096 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_screenCount",&obj0)) goto fail;
5097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5098 result = (int)((ob::Openbox const *)arg1)->screenCount();
5099
5100 resultobj = PyInt_FromLong((long)result);
5101 return resultobj;
5102 fail:
5103 return NULL;
5104 }
5105
5106
5107 static PyObject *_wrap_Openbox_cursors(PyObject *self, PyObject *args) {
5108 PyObject *resultobj;
5109 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5110 ob::Cursors *result;
5111 PyObject * obj0 = 0 ;
5112
5113 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_cursors",&obj0)) goto fail;
5114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5115 {
5116 ob::Cursors const &_result_ref = ((ob::Openbox const *)arg1)->cursors();
5117 result = (ob::Cursors *) &_result_ref;
5118 }
5119
5120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Cursors, 0);
5121 return resultobj;
5122 fail:
5123 return NULL;
5124 }
5125
5126
5127 static PyObject *_wrap_Openbox_addClient(PyObject *self, PyObject *args) {
5128 PyObject *resultobj;
5129 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5130 Window arg2 ;
5131 ob::Client *arg3 = (ob::Client *) 0 ;
5132 PyObject * obj0 = 0 ;
5133 PyObject * obj1 = 0 ;
5134 PyObject * obj2 = 0 ;
5135
5136 if(!PyArg_ParseTuple(args,(char *)"OOO:Openbox_addClient",&obj0,&obj1,&obj2)) goto fail;
5137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5138 arg2 = (Window) PyInt_AsLong(obj1);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5141 (arg1)->addClient(arg2,arg3);
5142
5143 Py_INCREF(Py_None); resultobj = Py_None;
5144 return resultobj;
5145 fail:
5146 return NULL;
5147 }
5148
5149
5150 static PyObject *_wrap_Openbox_removeClient(PyObject *self, PyObject *args) {
5151 PyObject *resultobj;
5152 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5153 Window arg2 ;
5154 PyObject * obj0 = 0 ;
5155 PyObject * obj1 = 0 ;
5156
5157 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_removeClient",&obj0,&obj1)) goto fail;
5158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5159 arg2 = (Window) PyInt_AsLong(obj1);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 (arg1)->removeClient(arg2);
5162
5163 Py_INCREF(Py_None); resultobj = Py_None;
5164 return resultobj;
5165 fail:
5166 return NULL;
5167 }
5168
5169
5170 static PyObject *_wrap_Openbox_findClient(PyObject *self, PyObject *args) {
5171 PyObject *resultobj;
5172 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5173 Window arg2 ;
5174 ob::Client *result;
5175 PyObject * obj0 = 0 ;
5176 PyObject * obj1 = 0 ;
5177
5178 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_findClient",&obj0,&obj1)) goto fail;
5179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5180 arg2 = (Window) PyInt_AsLong(obj1);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 result = (ob::Client *)(arg1)->findClient(arg2);
5183
5184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
5185 return resultobj;
5186 fail:
5187 return NULL;
5188 }
5189
5190
5191 static PyObject *_wrap_Openbox_focusedClient(PyObject *self, PyObject *args) {
5192 PyObject *resultobj;
5193 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5194 ob::Client *result;
5195 PyObject * obj0 = 0 ;
5196
5197 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedClient",&obj0)) goto fail;
5198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5199 result = (ob::Client *)(arg1)->focusedClient();
5200
5201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
5202 return resultobj;
5203 fail:
5204 return NULL;
5205 }
5206
5207
5208 static PyObject *_wrap_Openbox_setFocusedClient(PyObject *self, PyObject *args) {
5209 PyObject *resultobj;
5210 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5211 ob::Client *arg2 = (ob::Client *) 0 ;
5212 PyObject * obj0 = 0 ;
5213 PyObject * obj1 = 0 ;
5214
5215 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_setFocusedClient",&obj0,&obj1)) goto fail;
5216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5218 (arg1)->setFocusedClient(arg2);
5219
5220 Py_INCREF(Py_None); resultobj = Py_None;
5221 return resultobj;
5222 fail:
5223 return NULL;
5224 }
5225
5226
5227 static PyObject *_wrap_Openbox_focusedScreen(PyObject *self, PyObject *args) {
5228 PyObject *resultobj;
5229 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5230 ob::Screen *result;
5231 PyObject * obj0 = 0 ;
5232
5233 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedScreen",&obj0)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5235 result = (ob::Screen *)(arg1)->focusedScreen();
5236
5237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
5238 return resultobj;
5239 fail:
5240 return NULL;
5241 }
5242
5243
5244 static PyObject *_wrap_Openbox_shutdown(PyObject *self, PyObject *args) {
5245 PyObject *resultobj;
5246 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5247 PyObject * obj0 = 0 ;
5248
5249 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_shutdown",&obj0)) goto fail;
5250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5251 (arg1)->shutdown();
5252
5253 Py_INCREF(Py_None); resultobj = Py_None;
5254 return resultobj;
5255 fail:
5256 return NULL;
5257 }
5258
5259
5260 static PyObject *_wrap_Openbox_restart(PyObject *self, PyObject *args) {
5261 PyObject *resultobj;
5262 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5263 std::string const &arg2_defvalue = "" ;
5264 std::string *arg2 = (std::string *) &arg2_defvalue ;
5265 std::string temp2 ;
5266 PyObject * obj0 = 0 ;
5267 PyObject * obj1 = 0 ;
5268
5269 if(!PyArg_ParseTuple(args,(char *)"O|O:Openbox_restart",&obj0,&obj1)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5271 if (obj1) {
5272 {
5273 if (PyString_Check(obj1)) {
5274 temp2 = std::string(PyString_AsString(obj1));
5275 arg2 = &temp2;
5276 }else {
5277 SWIG_exception(SWIG_TypeError, "string expected");
5278 }
5279 }
5280 }
5281 (arg1)->restart((std::string const &)*arg2);
5282
5283 Py_INCREF(Py_None); resultobj = Py_None;
5284 return resultobj;
5285 fail:
5286 return NULL;
5287 }
5288
5289
5290 static PyObject *_wrap_Openbox_execute(PyObject *self, PyObject *args) {
5291 PyObject *resultobj;
5292 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5293 int arg2 ;
5294 std::string *arg3 = 0 ;
5295 std::string temp3 ;
5296 PyObject * obj0 = 0 ;
5297 PyObject * obj2 = 0 ;
5298
5299 if(!PyArg_ParseTuple(args,(char *)"OiO:Openbox_execute",&obj0,&arg2,&obj2)) goto fail;
5300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5301 {
5302 if (PyString_Check(obj2)) {
5303 temp3 = std::string(PyString_AsString(obj2));
5304 arg3 = &temp3;
5305 }else {
5306 SWIG_exception(SWIG_TypeError, "string expected");
5307 }
5308 }
5309 (arg1)->execute(arg2,(std::string const &)*arg3);
5310
5311 Py_INCREF(Py_None); resultobj = Py_None;
5312 return resultobj;
5313 fail:
5314 return NULL;
5315 }
5316
5317
5318 static PyObject * Openbox_swigregister(PyObject *self, PyObject *args) {
5319 PyObject *obj;
5320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5321 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox, obj);
5322 Py_INCREF(obj);
5323 return Py_BuildValue((char *)"");
5324 }
5325 static PyObject *_wrap_Screen_client(PyObject *self, PyObject *args) {
5326 PyObject *resultobj;
5327 ob::Screen *arg1 = (ob::Screen *) 0 ;
5328 int arg2 ;
5329 ob::Client *result;
5330 PyObject * obj0 = 0 ;
5331
5332 if(!PyArg_ParseTuple(args,(char *)"Oi:Screen_client",&obj0,&arg2)) goto fail;
5333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5334 result = (ob::Client *)ob_Screen_client(arg1,arg2);
5335
5336 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
5337 return resultobj;
5338 fail:
5339 return NULL;
5340 }
5341
5342
5343 static PyObject *_wrap_Screen_clientCount(PyObject *self, PyObject *args) {
5344 PyObject *resultobj;
5345 ob::Screen *arg1 = (ob::Screen *) 0 ;
5346 int result;
5347 PyObject * obj0 = 0 ;
5348
5349 if(!PyArg_ParseTuple(args,(char *)"O:Screen_clientCount",&obj0)) goto fail;
5350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5351 result = (int)ob_Screen_clientCount((ob::Screen const *)arg1);
5352
5353 resultobj = PyInt_FromLong((long)result);
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 static PyObject *_wrap_Screen_number(PyObject *self, PyObject *args) {
5361 PyObject *resultobj;
5362 ob::Screen *arg1 = (ob::Screen *) 0 ;
5363 int result;
5364 PyObject * obj0 = 0 ;
5365
5366 if(!PyArg_ParseTuple(args,(char *)"O:Screen_number",&obj0)) goto fail;
5367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5368 result = (int)((ob::Screen const *)arg1)->number();
5369
5370 resultobj = PyInt_FromLong((long)result);
5371 return resultobj;
5372 fail:
5373 return NULL;
5374 }
5375
5376
5377 static PyObject *_wrap_Screen_managed(PyObject *self, PyObject *args) {
5378 PyObject *resultobj;
5379 ob::Screen *arg1 = (ob::Screen *) 0 ;
5380 bool result;
5381 PyObject * obj0 = 0 ;
5382
5383 if(!PyArg_ParseTuple(args,(char *)"O:Screen_managed",&obj0)) goto fail;
5384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5385 result = (bool)((ob::Screen const *)arg1)->managed();
5386
5387 resultobj = PyInt_FromLong((long)result);
5388 return resultobj;
5389 fail:
5390 return NULL;
5391 }
5392
5393
5394 static PyObject *_wrap_Screen_imageControl(PyObject *self, PyObject *args) {
5395 PyObject *resultobj;
5396 ob::Screen *arg1 = (ob::Screen *) 0 ;
5397 otk::ImageControl *result;
5398 PyObject * obj0 = 0 ;
5399
5400 if(!PyArg_ParseTuple(args,(char *)"O:Screen_imageControl",&obj0)) goto fail;
5401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5402 result = (otk::ImageControl *)(arg1)->imageControl();
5403
5404 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ImageControl, 0);
5405 return resultobj;
5406 fail:
5407 return NULL;
5408 }
5409
5410
5411 static PyObject *_wrap_Screen_area(PyObject *self, PyObject *args) {
5412 PyObject *resultobj;
5413 ob::Screen *arg1 = (ob::Screen *) 0 ;
5414 otk::Rect *result;
5415 PyObject * obj0 = 0 ;
5416
5417 if(!PyArg_ParseTuple(args,(char *)"O:Screen_area",&obj0)) goto fail;
5418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5419 {
5420 otk::Rect const &_result_ref = ((ob::Screen const *)arg1)->area();
5421 result = (otk::Rect *) &_result_ref;
5422 }
5423
5424 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
5425 return resultobj;
5426 fail:
5427 return NULL;
5428 }
5429
5430
5431 static PyObject *_wrap_Screen_style(PyObject *self, PyObject *args) {
5432 PyObject *resultobj;
5433 ob::Screen *arg1 = (ob::Screen *) 0 ;
5434 otk::Style *result;
5435 PyObject * obj0 = 0 ;
5436
5437 if(!PyArg_ParseTuple(args,(char *)"O:Screen_style",&obj0)) goto fail;
5438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5439 result = (otk::Style *)((ob::Screen const *)arg1)->style();
5440
5441 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
5442 return resultobj;
5443 fail:
5444 return NULL;
5445 }
5446
5447
5448 static PyObject *_wrap_Screen_focuswindow(PyObject *self, PyObject *args) {
5449 PyObject *resultobj;
5450 ob::Screen *arg1 = (ob::Screen *) 0 ;
5451 Window result;
5452 PyObject * obj0 = 0 ;
5453
5454 if(!PyArg_ParseTuple(args,(char *)"O:Screen_focuswindow",&obj0)) goto fail;
5455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5456 result = (Window)((ob::Screen const *)arg1)->focuswindow();
5457
5458 resultobj = PyInt_FromLong((long)result);
5459 return resultobj;
5460 fail:
5461 return NULL;
5462 }
5463
5464
5465 static PyObject *_wrap_Screen_desktop(PyObject *self, PyObject *args) {
5466 PyObject *resultobj;
5467 ob::Screen *arg1 = (ob::Screen *) 0 ;
5468 long result;
5469 PyObject * obj0 = 0 ;
5470
5471 if(!PyArg_ParseTuple(args,(char *)"O:Screen_desktop",&obj0)) goto fail;
5472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5473 result = (long)((ob::Screen const *)arg1)->desktop();
5474
5475 resultobj = PyInt_FromLong((long)result);
5476 return resultobj;
5477 fail:
5478 return NULL;
5479 }
5480
5481
5482 static PyObject *_wrap_Screen_numDesktops(PyObject *self, PyObject *args) {
5483 PyObject *resultobj;
5484 ob::Screen *arg1 = (ob::Screen *) 0 ;
5485 long result;
5486 PyObject * obj0 = 0 ;
5487
5488 if(!PyArg_ParseTuple(args,(char *)"O:Screen_numDesktops",&obj0)) goto fail;
5489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5490 result = (long)((ob::Screen const *)arg1)->numDesktops();
5491
5492 resultobj = PyInt_FromLong((long)result);
5493 return resultobj;
5494 fail:
5495 return NULL;
5496 }
5497
5498
5499 static PyObject *_wrap_Screen_updateStrut(PyObject *self, PyObject *args) {
5500 PyObject *resultobj;
5501 ob::Screen *arg1 = (ob::Screen *) 0 ;
5502 PyObject * obj0 = 0 ;
5503
5504 if(!PyArg_ParseTuple(args,(char *)"O:Screen_updateStrut",&obj0)) goto fail;
5505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5506 (arg1)->updateStrut();
5507
5508 Py_INCREF(Py_None); resultobj = Py_None;
5509 return resultobj;
5510 fail:
5511 return NULL;
5512 }
5513
5514
5515 static PyObject *_wrap_Screen_manageExisting(PyObject *self, PyObject *args) {
5516 PyObject *resultobj;
5517 ob::Screen *arg1 = (ob::Screen *) 0 ;
5518 PyObject * obj0 = 0 ;
5519
5520 if(!PyArg_ParseTuple(args,(char *)"O:Screen_manageExisting",&obj0)) goto fail;
5521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5522 (arg1)->manageExisting();
5523
5524 Py_INCREF(Py_None); resultobj = Py_None;
5525 return resultobj;
5526 fail:
5527 return NULL;
5528 }
5529
5530
5531 static PyObject *_wrap_Screen_manageWindow(PyObject *self, PyObject *args) {
5532 PyObject *resultobj;
5533 ob::Screen *arg1 = (ob::Screen *) 0 ;
5534 Window arg2 ;
5535 PyObject * obj0 = 0 ;
5536 PyObject * obj1 = 0 ;
5537
5538 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_manageWindow",&obj0,&obj1)) goto fail;
5539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5540 arg2 = (Window) PyInt_AsLong(obj1);
5541 if (PyErr_Occurred()) SWIG_fail;
5542 (arg1)->manageWindow(arg2);
5543
5544 Py_INCREF(Py_None); resultobj = Py_None;
5545 return resultobj;
5546 fail:
5547 return NULL;
5548 }
5549
5550
5551 static PyObject *_wrap_Screen_unmanageWindow(PyObject *self, PyObject *args) {
5552 PyObject *resultobj;
5553 ob::Screen *arg1 = (ob::Screen *) 0 ;
5554 ob::Client *arg2 = (ob::Client *) 0 ;
5555 PyObject * obj0 = 0 ;
5556 PyObject * obj1 = 0 ;
5557
5558 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_unmanageWindow",&obj0,&obj1)) goto fail;
5559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5561 (arg1)->unmanageWindow(arg2);
5562
5563 Py_INCREF(Py_None); resultobj = Py_None;
5564 return resultobj;
5565 fail:
5566 return NULL;
5567 }
5568
5569
5570 static PyObject *_wrap_Screen_restack(PyObject *self, PyObject *args) {
5571 PyObject *resultobj;
5572 ob::Screen *arg1 = (ob::Screen *) 0 ;
5573 bool arg2 ;
5574 ob::Client *arg3 = (ob::Client *) 0 ;
5575 PyObject * obj0 = 0 ;
5576 PyObject * obj1 = 0 ;
5577 PyObject * obj2 = 0 ;
5578
5579 if(!PyArg_ParseTuple(args,(char *)"OOO:Screen_restack",&obj0,&obj1,&obj2)) goto fail;
5580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5581 arg2 = (bool) PyInt_AsLong(obj1);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5584 (arg1)->restack(arg2,arg3);
5585
5586 Py_INCREF(Py_None); resultobj = Py_None;
5587 return resultobj;
5588 fail:
5589 return NULL;
5590 }
5591
5592
5593 static PyObject *_wrap_Screen_setDesktopName(PyObject *self, PyObject *args) {
5594 PyObject *resultobj;
5595 ob::Screen *arg1 = (ob::Screen *) 0 ;
5596 long arg2 ;
5597 std::string *arg3 = 0 ;
5598 std::string temp3 ;
5599 PyObject * obj0 = 0 ;
5600 PyObject * obj2 = 0 ;
5601
5602 if(!PyArg_ParseTuple(args,(char *)"OlO:Screen_setDesktopName",&obj0,&arg2,&obj2)) goto fail;
5603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5604 {
5605 if (PyString_Check(obj2)) {
5606 temp3 = std::string(PyString_AsString(obj2));
5607 arg3 = &temp3;
5608 }else {
5609 SWIG_exception(SWIG_TypeError, "string expected");
5610 }
5611 }
5612 (arg1)->setDesktopName(arg2,(std::string const &)*arg3);
5613
5614 Py_INCREF(Py_None); resultobj = Py_None;
5615 return resultobj;
5616 fail:
5617 return NULL;
5618 }
5619
5620
5621 static PyObject *_wrap_Screen_propertyHandler(PyObject *self, PyObject *args) {
5622 PyObject *resultobj;
5623 ob::Screen *arg1 = (ob::Screen *) 0 ;
5624 XPropertyEvent *arg2 = 0 ;
5625 PyObject * obj0 = 0 ;
5626 PyObject * obj1 = 0 ;
5627
5628 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_propertyHandler",&obj0,&obj1)) goto fail;
5629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5631 if (arg2 == NULL) {
5632 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5633 }
5634 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
5635
5636 Py_INCREF(Py_None); resultobj = Py_None;
5637 return resultobj;
5638 fail:
5639 return NULL;
5640 }
5641
5642
5643 static PyObject *_wrap_Screen_clientMessageHandler(PyObject *self, PyObject *args) {
5644 PyObject *resultobj;
5645 ob::Screen *arg1 = (ob::Screen *) 0 ;
5646 XClientMessageEvent *arg2 = 0 ;
5647 PyObject * obj0 = 0 ;
5648 PyObject * obj1 = 0 ;
5649
5650 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_clientMessageHandler",&obj0,&obj1)) goto fail;
5651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5653 if (arg2 == NULL) {
5654 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5655 }
5656 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
5657
5658 Py_INCREF(Py_None); resultobj = Py_None;
5659 return resultobj;
5660 fail:
5661 return NULL;
5662 }
5663
5664
5665 static PyObject *_wrap_Screen_mapRequestHandler(PyObject *self, PyObject *args) {
5666 PyObject *resultobj;
5667 ob::Screen *arg1 = (ob::Screen *) 0 ;
5668 XMapRequestEvent *arg2 = 0 ;
5669 PyObject * obj0 = 0 ;
5670 PyObject * obj1 = 0 ;
5671
5672 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_mapRequestHandler",&obj0,&obj1)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5675 if (arg2 == NULL) {
5676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5677 }
5678 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
5679
5680 Py_INCREF(Py_None); resultobj = Py_None;
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject * Screen_swigregister(PyObject *self, PyObject *args) {
5688 PyObject *obj;
5689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5690 SWIG_TypeClientData(SWIGTYPE_p_ob__Screen, obj);
5691 Py_INCREF(obj);
5692 return Py_BuildValue((char *)"");
5693 }
5694 static PyObject *_wrap_MwmHints_flags_set(PyObject *self, PyObject *args) {
5695 PyObject *resultobj;
5696 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5697 unsigned long arg2 ;
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700
5701 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_flags_set",&obj0,&obj1)) goto fail;
5702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5703 arg2 = (unsigned long) PyInt_AsLong(obj1);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 if (arg1) (arg1)->flags = arg2;
5706
5707 Py_INCREF(Py_None); resultobj = Py_None;
5708 return resultobj;
5709 fail:
5710 return NULL;
5711 }
5712
5713
5714 static PyObject *_wrap_MwmHints_flags_get(PyObject *self, PyObject *args) {
5715 PyObject *resultobj;
5716 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5717 unsigned long result;
5718 PyObject * obj0 = 0 ;
5719
5720 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_flags_get",&obj0)) goto fail;
5721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5722 result = (unsigned long) ((arg1)->flags);
5723
5724 resultobj = PyInt_FromLong((long)result);
5725 return resultobj;
5726 fail:
5727 return NULL;
5728 }
5729
5730
5731 static PyObject *_wrap_MwmHints_functions_set(PyObject *self, PyObject *args) {
5732 PyObject *resultobj;
5733 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5734 unsigned long arg2 ;
5735 PyObject * obj0 = 0 ;
5736 PyObject * obj1 = 0 ;
5737
5738 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_functions_set",&obj0,&obj1)) goto fail;
5739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5740 arg2 = (unsigned long) PyInt_AsLong(obj1);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 if (arg1) (arg1)->functions = arg2;
5743
5744 Py_INCREF(Py_None); resultobj = Py_None;
5745 return resultobj;
5746 fail:
5747 return NULL;
5748 }
5749
5750
5751 static PyObject *_wrap_MwmHints_functions_get(PyObject *self, PyObject *args) {
5752 PyObject *resultobj;
5753 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5754 unsigned long result;
5755 PyObject * obj0 = 0 ;
5756
5757 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_functions_get",&obj0)) goto fail;
5758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5759 result = (unsigned long) ((arg1)->functions);
5760
5761 resultobj = PyInt_FromLong((long)result);
5762 return resultobj;
5763 fail:
5764 return NULL;
5765 }
5766
5767
5768 static PyObject *_wrap_MwmHints_decorations_set(PyObject *self, PyObject *args) {
5769 PyObject *resultobj;
5770 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5771 unsigned long arg2 ;
5772 PyObject * obj0 = 0 ;
5773 PyObject * obj1 = 0 ;
5774
5775 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_decorations_set",&obj0,&obj1)) goto fail;
5776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5777 arg2 = (unsigned long) PyInt_AsLong(obj1);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 if (arg1) (arg1)->decorations = arg2;
5780
5781 Py_INCREF(Py_None); resultobj = Py_None;
5782 return resultobj;
5783 fail:
5784 return NULL;
5785 }
5786
5787
5788 static PyObject *_wrap_MwmHints_decorations_get(PyObject *self, PyObject *args) {
5789 PyObject *resultobj;
5790 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5791 unsigned long result;
5792 PyObject * obj0 = 0 ;
5793
5794 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_decorations_get",&obj0)) goto fail;
5795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5796 result = (unsigned long) ((arg1)->decorations);
5797
5798 resultobj = PyInt_FromLong((long)result);
5799 return resultobj;
5800 fail:
5801 return NULL;
5802 }
5803
5804
5805 static PyObject * MwmHints_swigregister(PyObject *self, PyObject *args) {
5806 PyObject *obj;
5807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5808 SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints, obj);
5809 Py_INCREF(obj);
5810 return Py_BuildValue((char *)"");
5811 }
5812 static PyObject *_wrap_Client_frame_set(PyObject *self, PyObject *args) {
5813 PyObject *resultobj;
5814 ob::Client *arg1 = (ob::Client *) 0 ;
5815 ob::Frame *arg2 = (ob::Frame *) 0 ;
5816 PyObject * obj0 = 0 ;
5817 PyObject * obj1 = 0 ;
5818
5819 if(!PyArg_ParseTuple(args,(char *)"OO:Client_frame_set",&obj0,&obj1)) goto fail;
5820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5821 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
5822 if (arg1) (arg1)->frame = arg2;
5823
5824 Py_INCREF(Py_None); resultobj = Py_None;
5825 return resultobj;
5826 fail:
5827 return NULL;
5828 }
5829
5830
5831 static PyObject *_wrap_Client_frame_get(PyObject *self, PyObject *args) {
5832 PyObject *resultobj;
5833 ob::Client *arg1 = (ob::Client *) 0 ;
5834 ob::Frame *result;
5835 PyObject * obj0 = 0 ;
5836
5837 if(!PyArg_ParseTuple(args,(char *)"O:Client_frame_get",&obj0)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839 result = (ob::Frame *) ((arg1)->frame);
5840
5841 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Frame, 0);
5842 return resultobj;
5843 fail:
5844 return NULL;
5845 }
5846
5847
5848 static PyObject *_wrap_Client_ignore_unmaps_set(PyObject *self, PyObject *args) {
5849 PyObject *resultobj;
5850 ob::Client *arg1 = (ob::Client *) 0 ;
5851 int arg2 ;
5852 PyObject * obj0 = 0 ;
5853
5854 if(!PyArg_ParseTuple(args,(char *)"Oi:Client_ignore_unmaps_set",&obj0,&arg2)) goto fail;
5855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5856 if (arg1) (arg1)->ignore_unmaps = arg2;
5857
5858 Py_INCREF(Py_None); resultobj = Py_None;
5859 return resultobj;
5860 fail:
5861 return NULL;
5862 }
5863
5864
5865 static PyObject *_wrap_Client_ignore_unmaps_get(PyObject *self, PyObject *args) {
5866 PyObject *resultobj;
5867 ob::Client *arg1 = (ob::Client *) 0 ;
5868 int result;
5869 PyObject * obj0 = 0 ;
5870
5871 if(!PyArg_ParseTuple(args,(char *)"O:Client_ignore_unmaps_get",&obj0)) goto fail;
5872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5873 result = (int) ((arg1)->ignore_unmaps);
5874
5875 resultobj = PyInt_FromLong((long)result);
5876 return resultobj;
5877 fail:
5878 return NULL;
5879 }
5880
5881
5882 static PyObject *_wrap_Client_screen(PyObject *self, PyObject *args) {
5883 PyObject *resultobj;
5884 ob::Client *arg1 = (ob::Client *) 0 ;
5885 int result;
5886 PyObject * obj0 = 0 ;
5887
5888 if(!PyArg_ParseTuple(args,(char *)"O:Client_screen",&obj0)) goto fail;
5889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5890 result = (int)((ob::Client const *)arg1)->screen();
5891
5892 resultobj = PyInt_FromLong((long)result);
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 static PyObject *_wrap_Client_window(PyObject *self, PyObject *args) {
5900 PyObject *resultobj;
5901 ob::Client *arg1 = (ob::Client *) 0 ;
5902 Window result;
5903 PyObject * obj0 = 0 ;
5904
5905 if(!PyArg_ParseTuple(args,(char *)"O:Client_window",&obj0)) goto fail;
5906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5907 result = (Window)((ob::Client const *)arg1)->window();
5908
5909 resultobj = PyInt_FromLong((long)result);
5910 return resultobj;
5911 fail:
5912 return NULL;
5913 }
5914
5915
5916 static PyObject *_wrap_Client_type(PyObject *self, PyObject *args) {
5917 PyObject *resultobj;
5918 ob::Client *arg1 = (ob::Client *) 0 ;
5919 int result;
5920 PyObject * obj0 = 0 ;
5921
5922 if(!PyArg_ParseTuple(args,(char *)"O:Client_type",&obj0)) goto fail;
5923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5924 result = (int)((ob::Client const *)arg1)->type();
5925
5926 resultobj = PyInt_FromLong((long)result);
5927 return resultobj;
5928 fail:
5929 return NULL;
5930 }
5931
5932
5933 static PyObject *_wrap_Client_normal(PyObject *self, PyObject *args) {
5934 PyObject *resultobj;
5935 ob::Client *arg1 = (ob::Client *) 0 ;
5936 bool result;
5937 PyObject * obj0 = 0 ;
5938
5939 if(!PyArg_ParseTuple(args,(char *)"O:Client_normal",&obj0)) goto fail;
5940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5941 result = (bool)((ob::Client const *)arg1)->normal();
5942
5943 resultobj = PyInt_FromLong((long)result);
5944 return resultobj;
5945 fail:
5946 return NULL;
5947 }
5948
5949
5950 static PyObject *_wrap_Client_desktop(PyObject *self, PyObject *args) {
5951 PyObject *resultobj;
5952 ob::Client *arg1 = (ob::Client *) 0 ;
5953 long result;
5954 PyObject * obj0 = 0 ;
5955
5956 if(!PyArg_ParseTuple(args,(char *)"O:Client_desktop",&obj0)) goto fail;
5957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5958 result = (long)((ob::Client const *)arg1)->desktop();
5959
5960 resultobj = PyInt_FromLong((long)result);
5961 return resultobj;
5962 fail:
5963 return NULL;
5964 }
5965
5966
5967 static PyObject *_wrap_Client_title(PyObject *self, PyObject *args) {
5968 PyObject *resultobj;
5969 ob::Client *arg1 = (ob::Client *) 0 ;
5970 std::string *result;
5971 PyObject * obj0 = 0 ;
5972
5973 if(!PyArg_ParseTuple(args,(char *)"O:Client_title",&obj0)) goto fail;
5974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5975 {
5976 std::string const &_result_ref = ((ob::Client const *)arg1)->title();
5977 result = (std::string *) &_result_ref;
5978 }
5979
5980 {
5981 resultobj = PyString_FromString(result->c_str());
5982 }
5983 return resultobj;
5984 fail:
5985 return NULL;
5986 }
5987
5988
5989 static PyObject *_wrap_Client_iconTitle(PyObject *self, PyObject *args) {
5990 PyObject *resultobj;
5991 ob::Client *arg1 = (ob::Client *) 0 ;
5992 std::string *result;
5993 PyObject * obj0 = 0 ;
5994
5995 if(!PyArg_ParseTuple(args,(char *)"O:Client_iconTitle",&obj0)) goto fail;
5996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5997 {
5998 std::string const &_result_ref = ((ob::Client const *)arg1)->iconTitle();
5999 result = (std::string *) &_result_ref;
6000 }
6001
6002 {
6003 resultobj = PyString_FromString(result->c_str());
6004 }
6005 return resultobj;
6006 fail:
6007 return NULL;
6008 }
6009
6010
6011 static PyObject *_wrap_Client_appName(PyObject *self, PyObject *args) {
6012 PyObject *resultobj;
6013 ob::Client *arg1 = (ob::Client *) 0 ;
6014 std::string *result;
6015 PyObject * obj0 = 0 ;
6016
6017 if(!PyArg_ParseTuple(args,(char *)"O:Client_appName",&obj0)) goto fail;
6018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6019 {
6020 std::string const &_result_ref = ((ob::Client const *)arg1)->appName();
6021 result = (std::string *) &_result_ref;
6022 }
6023
6024 {
6025 resultobj = PyString_FromString(result->c_str());
6026 }
6027 return resultobj;
6028 fail:
6029 return NULL;
6030 }
6031
6032
6033 static PyObject *_wrap_Client_appClass(PyObject *self, PyObject *args) {
6034 PyObject *resultobj;
6035 ob::Client *arg1 = (ob::Client *) 0 ;
6036 std::string *result;
6037 PyObject * obj0 = 0 ;
6038
6039 if(!PyArg_ParseTuple(args,(char *)"O:Client_appClass",&obj0)) goto fail;
6040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6041 {
6042 std::string const &_result_ref = ((ob::Client const *)arg1)->appClass();
6043 result = (std::string *) &_result_ref;
6044 }
6045
6046 {
6047 resultobj = PyString_FromString(result->c_str());
6048 }
6049 return resultobj;
6050 fail:
6051 return NULL;
6052 }
6053
6054
6055 static PyObject *_wrap_Client_role(PyObject *self, PyObject *args) {
6056 PyObject *resultobj;
6057 ob::Client *arg1 = (ob::Client *) 0 ;
6058 std::string *result;
6059 PyObject * obj0 = 0 ;
6060
6061 if(!PyArg_ParseTuple(args,(char *)"O:Client_role",&obj0)) goto fail;
6062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6063 {
6064 std::string const &_result_ref = ((ob::Client const *)arg1)->role();
6065 result = (std::string *) &_result_ref;
6066 }
6067
6068 {
6069 resultobj = PyString_FromString(result->c_str());
6070 }
6071 return resultobj;
6072 fail:
6073 return NULL;
6074 }
6075
6076
6077 static PyObject *_wrap_Client_canFocus(PyObject *self, PyObject *args) {
6078 PyObject *resultobj;
6079 ob::Client *arg1 = (ob::Client *) 0 ;
6080 bool result;
6081 PyObject * obj0 = 0 ;
6082
6083 if(!PyArg_ParseTuple(args,(char *)"O:Client_canFocus",&obj0)) goto fail;
6084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6085 result = (bool)((ob::Client const *)arg1)->canFocus();
6086
6087 resultobj = PyInt_FromLong((long)result);
6088 return resultobj;
6089 fail:
6090 return NULL;
6091 }
6092
6093
6094 static PyObject *_wrap_Client_urgent(PyObject *self, PyObject *args) {
6095 PyObject *resultobj;
6096 ob::Client *arg1 = (ob::Client *) 0 ;
6097 bool result;
6098 PyObject * obj0 = 0 ;
6099
6100 if(!PyArg_ParseTuple(args,(char *)"O:Client_urgent",&obj0)) goto fail;
6101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6102 result = (bool)((ob::Client const *)arg1)->urgent();
6103
6104 resultobj = PyInt_FromLong((long)result);
6105 return resultobj;
6106 fail:
6107 return NULL;
6108 }
6109
6110
6111 static PyObject *_wrap_Client_focusNotify(PyObject *self, PyObject *args) {
6112 PyObject *resultobj;
6113 ob::Client *arg1 = (ob::Client *) 0 ;
6114 bool result;
6115 PyObject * obj0 = 0 ;
6116
6117 if(!PyArg_ParseTuple(args,(char *)"O:Client_focusNotify",&obj0)) goto fail;
6118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6119 result = (bool)((ob::Client const *)arg1)->focusNotify();
6120
6121 resultobj = PyInt_FromLong((long)result);
6122 return resultobj;
6123 fail:
6124 return NULL;
6125 }
6126
6127
6128 static PyObject *_wrap_Client_shaped(PyObject *self, PyObject *args) {
6129 PyObject *resultobj;
6130 ob::Client *arg1 = (ob::Client *) 0 ;
6131 bool result;
6132 PyObject * obj0 = 0 ;
6133
6134 if(!PyArg_ParseTuple(args,(char *)"O:Client_shaped",&obj0)) goto fail;
6135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6136 result = (bool)((ob::Client const *)arg1)->shaped();
6137
6138 resultobj = PyInt_FromLong((long)result);
6139 return resultobj;
6140 fail:
6141 return NULL;
6142 }
6143
6144
6145 static PyObject *_wrap_Client_gravity(PyObject *self, PyObject *args) {
6146 PyObject *resultobj;
6147 ob::Client *arg1 = (ob::Client *) 0 ;
6148 int result;
6149 PyObject * obj0 = 0 ;
6150
6151 if(!PyArg_ParseTuple(args,(char *)"O:Client_gravity",&obj0)) goto fail;
6152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6153 result = (int)((ob::Client const *)arg1)->gravity();
6154
6155 resultobj = PyInt_FromLong((long)result);
6156 return resultobj;
6157 fail:
6158 return NULL;
6159 }
6160
6161
6162 static PyObject *_wrap_Client_positionRequested(PyObject *self, PyObject *args) {
6163 PyObject *resultobj;
6164 ob::Client *arg1 = (ob::Client *) 0 ;
6165 bool result;
6166 PyObject * obj0 = 0 ;
6167
6168 if(!PyArg_ParseTuple(args,(char *)"O:Client_positionRequested",&obj0)) goto fail;
6169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6170 result = (bool)((ob::Client const *)arg1)->positionRequested();
6171
6172 resultobj = PyInt_FromLong((long)result);
6173 return resultobj;
6174 fail:
6175 return NULL;
6176 }
6177
6178
6179 static PyObject *_wrap_Client_decorations(PyObject *self, PyObject *args) {
6180 PyObject *resultobj;
6181 ob::Client *arg1 = (ob::Client *) 0 ;
6182 ob::Client::DecorationFlags result;
6183 PyObject * obj0 = 0 ;
6184
6185 if(!PyArg_ParseTuple(args,(char *)"O:Client_decorations",&obj0)) goto fail;
6186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6187 result = (ob::Client::DecorationFlags)((ob::Client const *)arg1)->decorations();
6188
6189 resultobj = PyInt_FromLong((long)result);
6190 return resultobj;
6191 fail:
6192 return NULL;
6193 }
6194
6195
6196 static PyObject *_wrap_Client_funtions(PyObject *self, PyObject *args) {
6197 PyObject *resultobj;
6198 ob::Client *arg1 = (ob::Client *) 0 ;
6199 ob::Client::FunctionFlags result;
6200 PyObject * obj0 = 0 ;
6201
6202 if(!PyArg_ParseTuple(args,(char *)"O:Client_funtions",&obj0)) goto fail;
6203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6204 result = (ob::Client::FunctionFlags)((ob::Client const *)arg1)->funtions();
6205
6206 resultobj = PyInt_FromLong((long)result);
6207 return resultobj;
6208 fail:
6209 return NULL;
6210 }
6211
6212
6213 static PyObject *_wrap_Client_transientFor(PyObject *self, PyObject *args) {
6214 PyObject *resultobj;
6215 ob::Client *arg1 = (ob::Client *) 0 ;
6216 ob::Client *result;
6217 PyObject * obj0 = 0 ;
6218
6219 if(!PyArg_ParseTuple(args,(char *)"O:Client_transientFor",&obj0)) goto fail;
6220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6221 result = (ob::Client *)((ob::Client const *)arg1)->transientFor();
6222
6223 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
6224 return resultobj;
6225 fail:
6226 return NULL;
6227 }
6228
6229
6230 static PyObject *_wrap_Client_modal(PyObject *self, PyObject *args) {
6231 PyObject *resultobj;
6232 ob::Client *arg1 = (ob::Client *) 0 ;
6233 bool result;
6234 PyObject * obj0 = 0 ;
6235
6236 if(!PyArg_ParseTuple(args,(char *)"O:Client_modal",&obj0)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6238 result = (bool)((ob::Client const *)arg1)->modal();
6239
6240 resultobj = PyInt_FromLong((long)result);
6241 return resultobj;
6242 fail:
6243 return NULL;
6244 }
6245
6246
6247 static PyObject *_wrap_Client_shaded(PyObject *self, PyObject *args) {
6248 PyObject *resultobj;
6249 ob::Client *arg1 = (ob::Client *) 0 ;
6250 bool result;
6251 PyObject * obj0 = 0 ;
6252
6253 if(!PyArg_ParseTuple(args,(char *)"O:Client_shaded",&obj0)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6255 result = (bool)((ob::Client const *)arg1)->shaded();
6256
6257 resultobj = PyInt_FromLong((long)result);
6258 return resultobj;
6259 fail:
6260 return NULL;
6261 }
6262
6263
6264 static PyObject *_wrap_Client_iconic(PyObject *self, PyObject *args) {
6265 PyObject *resultobj;
6266 ob::Client *arg1 = (ob::Client *) 0 ;
6267 bool result;
6268 PyObject * obj0 = 0 ;
6269
6270 if(!PyArg_ParseTuple(args,(char *)"O:Client_iconic",&obj0)) goto fail;
6271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6272 result = (bool)((ob::Client const *)arg1)->iconic();
6273
6274 resultobj = PyInt_FromLong((long)result);
6275 return resultobj;
6276 fail:
6277 return NULL;
6278 }
6279
6280
6281 static PyObject *_wrap_Client_maxVert(PyObject *self, PyObject *args) {
6282 PyObject *resultobj;
6283 ob::Client *arg1 = (ob::Client *) 0 ;
6284 bool result;
6285 PyObject * obj0 = 0 ;
6286
6287 if(!PyArg_ParseTuple(args,(char *)"O:Client_maxVert",&obj0)) goto fail;
6288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6289 result = (bool)((ob::Client const *)arg1)->maxVert();
6290
6291 resultobj = PyInt_FromLong((long)result);
6292 return resultobj;
6293 fail:
6294 return NULL;
6295 }
6296
6297
6298 static PyObject *_wrap_Client_maxHorz(PyObject *self, PyObject *args) {
6299 PyObject *resultobj;
6300 ob::Client *arg1 = (ob::Client *) 0 ;
6301 bool result;
6302 PyObject * obj0 = 0 ;
6303
6304 if(!PyArg_ParseTuple(args,(char *)"O:Client_maxHorz",&obj0)) goto fail;
6305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6306 result = (bool)((ob::Client const *)arg1)->maxHorz();
6307
6308 resultobj = PyInt_FromLong((long)result);
6309 return resultobj;
6310 fail:
6311 return NULL;
6312 }
6313
6314
6315 static PyObject *_wrap_Client_layer(PyObject *self, PyObject *args) {
6316 PyObject *resultobj;
6317 ob::Client *arg1 = (ob::Client *) 0 ;
6318 int result;
6319 PyObject * obj0 = 0 ;
6320
6321 if(!PyArg_ParseTuple(args,(char *)"O:Client_layer",&obj0)) goto fail;
6322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6323 result = (int)((ob::Client const *)arg1)->layer();
6324
6325 resultobj = PyInt_FromLong((long)result);
6326 return resultobj;
6327 fail:
6328 return NULL;
6329 }
6330
6331
6332 static PyObject *_wrap_Client_toggleClientBorder(PyObject *self, PyObject *args) {
6333 PyObject *resultobj;
6334 ob::Client *arg1 = (ob::Client *) 0 ;
6335 bool arg2 ;
6336 PyObject * obj0 = 0 ;
6337 PyObject * obj1 = 0 ;
6338
6339 if(!PyArg_ParseTuple(args,(char *)"OO:Client_toggleClientBorder",&obj0,&obj1)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6341 arg2 = (bool) PyInt_AsLong(obj1);
6342 if (PyErr_Occurred()) SWIG_fail;
6343 (arg1)->toggleClientBorder(arg2);
6344
6345 Py_INCREF(Py_None); resultobj = Py_None;
6346 return resultobj;
6347 fail:
6348 return NULL;
6349 }
6350
6351
6352 static PyObject *_wrap_Client_area(PyObject *self, PyObject *args) {
6353 PyObject *resultobj;
6354 ob::Client *arg1 = (ob::Client *) 0 ;
6355 otk::Rect *result;
6356 PyObject * obj0 = 0 ;
6357
6358 if(!PyArg_ParseTuple(args,(char *)"O:Client_area",&obj0)) goto fail;
6359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6360 {
6361 otk::Rect const &_result_ref = ((ob::Client const *)arg1)->area();
6362 result = (otk::Rect *) &_result_ref;
6363 }
6364
6365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
6366 return resultobj;
6367 fail:
6368 return NULL;
6369 }
6370
6371
6372 static PyObject *_wrap_Client_strut(PyObject *self, PyObject *args) {
6373 PyObject *resultobj;
6374 ob::Client *arg1 = (ob::Client *) 0 ;
6375 otk::Strut *result;
6376 PyObject * obj0 = 0 ;
6377
6378 if(!PyArg_ParseTuple(args,(char *)"O:Client_strut",&obj0)) goto fail;
6379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6380 {
6381 otk::Strut const &_result_ref = ((ob::Client const *)arg1)->strut();
6382 result = (otk::Strut *) &_result_ref;
6383 }
6384
6385 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
6386 return resultobj;
6387 fail:
6388 return NULL;
6389 }
6390
6391
6392 static PyObject *_wrap_Client_move(PyObject *self, PyObject *args) {
6393 PyObject *resultobj;
6394 ob::Client *arg1 = (ob::Client *) 0 ;
6395 int arg2 ;
6396 int arg3 ;
6397 PyObject * obj0 = 0 ;
6398
6399 if(!PyArg_ParseTuple(args,(char *)"Oii:Client_move",&obj0,&arg2,&arg3)) goto fail;
6400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6401 (arg1)->move(arg2,arg3);
6402
6403 Py_INCREF(Py_None); resultobj = Py_None;
6404 return resultobj;
6405 fail:
6406 return NULL;
6407 }
6408
6409
6410 static PyObject *_wrap_Client_resize(PyObject *self, PyObject *args) {
6411 PyObject *resultobj;
6412 ob::Client *arg1 = (ob::Client *) 0 ;
6413 int arg2 ;
6414 int arg3 ;
6415 int arg4 ;
6416 int arg5 = (int) INT_MIN ;
6417 int arg6 = (int) INT_MIN ;
6418 PyObject * obj0 = 0 ;
6419
6420 if(!PyArg_ParseTuple(args,(char *)"Oiii|ii:Client_resize",&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
6421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6422 (arg1)->resize((ob::Client::Corner )arg2,arg3,arg4,arg5,arg6);
6423
6424 Py_INCREF(Py_None); resultobj = Py_None;
6425 return resultobj;
6426 fail:
6427 return NULL;
6428 }
6429
6430
6431 static PyObject *_wrap_Client_focus(PyObject *self, PyObject *args) {
6432 PyObject *resultobj;
6433 ob::Client *arg1 = (ob::Client *) 0 ;
6434 bool result;
6435 PyObject * obj0 = 0 ;
6436
6437 if(!PyArg_ParseTuple(args,(char *)"O:Client_focus",&obj0)) goto fail;
6438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6439 result = (bool)((ob::Client const *)arg1)->focus();
6440
6441 resultobj = PyInt_FromLong((long)result);
6442 return resultobj;
6443 fail:
6444 return NULL;
6445 }
6446
6447
6448 static PyObject *_wrap_Client_unfocus(PyObject *self, PyObject *args) {
6449 PyObject *resultobj;
6450 ob::Client *arg1 = (ob::Client *) 0 ;
6451 PyObject * obj0 = 0 ;
6452
6453 if(!PyArg_ParseTuple(args,(char *)"O:Client_unfocus",&obj0)) goto fail;
6454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6455 ((ob::Client const *)arg1)->unfocus();
6456
6457 Py_INCREF(Py_None); resultobj = Py_None;
6458 return resultobj;
6459 fail:
6460 return NULL;
6461 }
6462
6463
6464 static PyObject *_wrap_Client_focusHandler(PyObject *self, PyObject *args) {
6465 PyObject *resultobj;
6466 ob::Client *arg1 = (ob::Client *) 0 ;
6467 XFocusChangeEvent *arg2 = 0 ;
6468 PyObject * obj0 = 0 ;
6469 PyObject * obj1 = 0 ;
6470
6471 if(!PyArg_ParseTuple(args,(char *)"OO:Client_focusHandler",&obj0,&obj1)) goto fail;
6472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6473 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6474 if (arg2 == NULL) {
6475 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6476 }
6477 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
6478
6479 Py_INCREF(Py_None); resultobj = Py_None;
6480 return resultobj;
6481 fail:
6482 return NULL;
6483 }
6484
6485
6486 static PyObject *_wrap_Client_unfocusHandler(PyObject *self, PyObject *args) {
6487 PyObject *resultobj;
6488 ob::Client *arg1 = (ob::Client *) 0 ;
6489 XFocusChangeEvent *arg2 = 0 ;
6490 PyObject * obj0 = 0 ;
6491 PyObject * obj1 = 0 ;
6492
6493 if(!PyArg_ParseTuple(args,(char *)"OO:Client_unfocusHandler",&obj0,&obj1)) goto fail;
6494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6495 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6496 if (arg2 == NULL) {
6497 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6498 }
6499 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
6500
6501 Py_INCREF(Py_None); resultobj = Py_None;
6502 return resultobj;
6503 fail:
6504 return NULL;
6505 }
6506
6507
6508 static PyObject *_wrap_Client_propertyHandler(PyObject *self, PyObject *args) {
6509 PyObject *resultobj;
6510 ob::Client *arg1 = (ob::Client *) 0 ;
6511 XPropertyEvent *arg2 = 0 ;
6512 PyObject * obj0 = 0 ;
6513 PyObject * obj1 = 0 ;
6514
6515 if(!PyArg_ParseTuple(args,(char *)"OO:Client_propertyHandler",&obj0,&obj1)) goto fail;
6516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6518 if (arg2 == NULL) {
6519 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6520 }
6521 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
6522
6523 Py_INCREF(Py_None); resultobj = Py_None;
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_Client_clientMessageHandler(PyObject *self, PyObject *args) {
6531 PyObject *resultobj;
6532 ob::Client *arg1 = (ob::Client *) 0 ;
6533 XClientMessageEvent *arg2 = 0 ;
6534 PyObject * obj0 = 0 ;
6535 PyObject * obj1 = 0 ;
6536
6537 if(!PyArg_ParseTuple(args,(char *)"OO:Client_clientMessageHandler",&obj0,&obj1)) goto fail;
6538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6540 if (arg2 == NULL) {
6541 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6542 }
6543 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
6544
6545 Py_INCREF(Py_None); resultobj = Py_None;
6546 return resultobj;
6547 fail:
6548 return NULL;
6549 }
6550
6551
6552 static PyObject *_wrap_Client_configureRequestHandler(PyObject *self, PyObject *args) {
6553 PyObject *resultobj;
6554 ob::Client *arg1 = (ob::Client *) 0 ;
6555 XConfigureRequestEvent *arg2 = 0 ;
6556 PyObject * obj0 = 0 ;
6557 PyObject * obj1 = 0 ;
6558
6559 if(!PyArg_ParseTuple(args,(char *)"OO:Client_configureRequestHandler",&obj0,&obj1)) goto fail;
6560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6562 if (arg2 == NULL) {
6563 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6564 }
6565 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
6566
6567 Py_INCREF(Py_None); resultobj = Py_None;
6568 return resultobj;
6569 fail:
6570 return NULL;
6571 }
6572
6573
6574 static PyObject *_wrap_Client_unmapHandler(PyObject *self, PyObject *args) {
6575 PyObject *resultobj;
6576 ob::Client *arg1 = (ob::Client *) 0 ;
6577 XUnmapEvent *arg2 = 0 ;
6578 PyObject * obj0 = 0 ;
6579 PyObject * obj1 = 0 ;
6580
6581 if(!PyArg_ParseTuple(args,(char *)"OO:Client_unmapHandler",&obj0,&obj1)) goto fail;
6582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6584 if (arg2 == NULL) {
6585 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6586 }
6587 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
6588
6589 Py_INCREF(Py_None); resultobj = Py_None;
6590 return resultobj;
6591 fail:
6592 return NULL;
6593 }
6594
6595
6596 static PyObject *_wrap_Client_destroyHandler(PyObject *self, PyObject *args) {
6597 PyObject *resultobj;
6598 ob::Client *arg1 = (ob::Client *) 0 ;
6599 XDestroyWindowEvent *arg2 = 0 ;
6600 PyObject * obj0 = 0 ;
6601 PyObject * obj1 = 0 ;
6602
6603 if(!PyArg_ParseTuple(args,(char *)"OO:Client_destroyHandler",&obj0,&obj1)) goto fail;
6604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6606 if (arg2 == NULL) {
6607 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6608 }
6609 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
6610
6611 Py_INCREF(Py_None); resultobj = Py_None;
6612 return resultobj;
6613 fail:
6614 return NULL;
6615 }
6616
6617
6618 static PyObject *_wrap_Client_reparentHandler(PyObject *self, PyObject *args) {
6619 PyObject *resultobj;
6620 ob::Client *arg1 = (ob::Client *) 0 ;
6621 XReparentEvent *arg2 = 0 ;
6622 PyObject * obj0 = 0 ;
6623 PyObject * obj1 = 0 ;
6624
6625 if(!PyArg_ParseTuple(args,(char *)"OO:Client_reparentHandler",&obj0,&obj1)) goto fail;
6626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6627 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6628 if (arg2 == NULL) {
6629 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6630 }
6631 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
6632
6633 Py_INCREF(Py_None); resultobj = Py_None;
6634 return resultobj;
6635 fail:
6636 return NULL;
6637 }
6638
6639
6640 static PyObject * Client_swigregister(PyObject *self, PyObject *args) {
6641 PyObject *obj;
6642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6643 SWIG_TypeClientData(SWIGTYPE_p_ob__Client, obj);
6644 Py_INCREF(obj);
6645 return Py_BuildValue((char *)"");
6646 }
6647 static PyObject *_wrap_MouseData_screen_set(PyObject *self, PyObject *args) {
6648 PyObject *resultobj;
6649 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6650 int arg2 ;
6651 PyObject * obj0 = 0 ;
6652
6653 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_screen_set",&obj0,&arg2)) goto fail;
6654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6655 if (arg1) (arg1)->screen = arg2;
6656
6657 Py_INCREF(Py_None); resultobj = Py_None;
6658 return resultobj;
6659 fail:
6660 return NULL;
6661 }
6662
6663
6664 static PyObject *_wrap_MouseData_screen_get(PyObject *self, PyObject *args) {
6665 PyObject *resultobj;
6666 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6667 int result;
6668 PyObject * obj0 = 0 ;
6669
6670 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_screen_get",&obj0)) goto fail;
6671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6672 result = (int) ((arg1)->screen);
6673
6674 resultobj = PyInt_FromLong((long)result);
6675 return resultobj;
6676 fail:
6677 return NULL;
6678 }
6679
6680
6681 static PyObject *_wrap_MouseData_client_set(PyObject *self, PyObject *args) {
6682 PyObject *resultobj;
6683 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6684 ob::Client *arg2 = (ob::Client *) 0 ;
6685 PyObject * obj0 = 0 ;
6686 PyObject * obj1 = 0 ;
6687
6688 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_client_set",&obj0,&obj1)) goto fail;
6689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
6691 if (arg1) (arg1)->client = arg2;
6692
6693 Py_INCREF(Py_None); resultobj = Py_None;
6694 return resultobj;
6695 fail:
6696 return NULL;
6697 }
6698
6699
6700 static PyObject *_wrap_MouseData_client_get(PyObject *self, PyObject *args) {
6701 PyObject *resultobj;
6702 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6703 ob::Client *result;
6704 PyObject * obj0 = 0 ;
6705
6706 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_client_get",&obj0)) goto fail;
6707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6708 result = (ob::Client *) ((arg1)->client);
6709
6710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
6711 return resultobj;
6712 fail:
6713 return NULL;
6714 }
6715
6716
6717 static PyObject *_wrap_MouseData_time_set(PyObject *self, PyObject *args) {
6718 PyObject *resultobj;
6719 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6720 Time arg2 ;
6721 PyObject * obj0 = 0 ;
6722 PyObject * obj1 = 0 ;
6723
6724 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_time_set",&obj0,&obj1)) goto fail;
6725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6726 arg2 = (Time) PyInt_AsLong(obj1);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 if (arg1) (arg1)->time = arg2;
6729
6730 Py_INCREF(Py_None); resultobj = Py_None;
6731 return resultobj;
6732 fail:
6733 return NULL;
6734 }
6735
6736
6737 static PyObject *_wrap_MouseData_time_get(PyObject *self, PyObject *args) {
6738 PyObject *resultobj;
6739 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6740 Time result;
6741 PyObject * obj0 = 0 ;
6742
6743 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_time_get",&obj0)) goto fail;
6744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6745 result = (Time) ((arg1)->time);
6746
6747 resultobj = PyInt_FromLong((long)result);
6748 return resultobj;
6749 fail:
6750 return NULL;
6751 }
6752
6753
6754 static PyObject *_wrap_MouseData_state_set(PyObject *self, PyObject *args) {
6755 PyObject *resultobj;
6756 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6757 unsigned int arg2 ;
6758 PyObject * obj0 = 0 ;
6759 PyObject * obj1 = 0 ;
6760
6761 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_state_set",&obj0,&obj1)) goto fail;
6762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6763 arg2 = (unsigned int) PyInt_AsLong(obj1);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 if (arg1) (arg1)->state = arg2;
6766
6767 Py_INCREF(Py_None); resultobj = Py_None;
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_MouseData_state_get(PyObject *self, PyObject *args) {
6775 PyObject *resultobj;
6776 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6777 unsigned int result;
6778 PyObject * obj0 = 0 ;
6779
6780 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_state_get",&obj0)) goto fail;
6781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6782 result = (unsigned int) ((arg1)->state);
6783
6784 resultobj = PyInt_FromLong((long)result);
6785 return resultobj;
6786 fail:
6787 return NULL;
6788 }
6789
6790
6791 static PyObject *_wrap_MouseData_button_set(PyObject *self, PyObject *args) {
6792 PyObject *resultobj;
6793 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6794 unsigned int arg2 ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj1 = 0 ;
6797
6798 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_button_set",&obj0,&obj1)) goto fail;
6799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6800 arg2 = (unsigned int) PyInt_AsLong(obj1);
6801 if (PyErr_Occurred()) SWIG_fail;
6802 if (arg1) (arg1)->button = 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_MouseData_button_get(PyObject *self, PyObject *args) {
6812 PyObject *resultobj;
6813 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6814 unsigned int result;
6815 PyObject * obj0 = 0 ;
6816
6817 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_button_get",&obj0)) goto fail;
6818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6819 result = (unsigned int) ((arg1)->button);
6820
6821 resultobj = PyInt_FromLong((long)result);
6822 return resultobj;
6823 fail:
6824 return NULL;
6825 }
6826
6827
6828 static PyObject *_wrap_MouseData_context_set(PyObject *self, PyObject *args) {
6829 PyObject *resultobj;
6830 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6831 int arg2 ;
6832 PyObject * obj0 = 0 ;
6833
6834 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_context_set",&obj0,&arg2)) goto fail;
6835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6836 if (arg1) (arg1)->context = (ob::MouseContext )arg2;
6837
6838 Py_INCREF(Py_None); resultobj = Py_None;
6839 return resultobj;
6840 fail:
6841 return NULL;
6842 }
6843
6844
6845 static PyObject *_wrap_MouseData_context_get(PyObject *self, PyObject *args) {
6846 PyObject *resultobj;
6847 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6848 int result;
6849 PyObject * obj0 = 0 ;
6850
6851 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_context_get",&obj0)) goto fail;
6852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6853 result = (int) ((arg1)->context);
6854
6855 resultobj = PyInt_FromLong((long)result);
6856 return resultobj;
6857 fail:
6858 return NULL;
6859 }
6860
6861
6862 static PyObject *_wrap_MouseData_action_set(PyObject *self, PyObject *args) {
6863 PyObject *resultobj;
6864 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6865 int arg2 ;
6866 PyObject * obj0 = 0 ;
6867
6868 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_action_set",&obj0,&arg2)) goto fail;
6869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6870 if (arg1) (arg1)->action = (ob::MouseAction )arg2;
6871
6872 Py_INCREF(Py_None); resultobj = Py_None;
6873 return resultobj;
6874 fail:
6875 return NULL;
6876 }
6877
6878
6879 static PyObject *_wrap_MouseData_action_get(PyObject *self, PyObject *args) {
6880 PyObject *resultobj;
6881 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6882 int result;
6883 PyObject * obj0 = 0 ;
6884
6885 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_action_get",&obj0)) goto fail;
6886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6887 result = (int) ((arg1)->action);
6888
6889 resultobj = PyInt_FromLong((long)result);
6890 return resultobj;
6891 fail:
6892 return NULL;
6893 }
6894
6895
6896 static PyObject *_wrap_MouseData_xroot_set(PyObject *self, PyObject *args) {
6897 PyObject *resultobj;
6898 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6899 int arg2 ;
6900 PyObject * obj0 = 0 ;
6901
6902 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_xroot_set",&obj0,&arg2)) goto fail;
6903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6904 if (arg1) (arg1)->xroot = arg2;
6905
6906 Py_INCREF(Py_None); resultobj = Py_None;
6907 return resultobj;
6908 fail:
6909 return NULL;
6910 }
6911
6912
6913 static PyObject *_wrap_MouseData_xroot_get(PyObject *self, PyObject *args) {
6914 PyObject *resultobj;
6915 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6916 int result;
6917 PyObject * obj0 = 0 ;
6918
6919 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_xroot_get",&obj0)) goto fail;
6920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6921 result = (int) ((arg1)->xroot);
6922
6923 resultobj = PyInt_FromLong((long)result);
6924 return resultobj;
6925 fail:
6926 return NULL;
6927 }
6928
6929
6930 static PyObject *_wrap_MouseData_yroot_set(PyObject *self, PyObject *args) {
6931 PyObject *resultobj;
6932 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6933 int arg2 ;
6934 PyObject * obj0 = 0 ;
6935
6936 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_yroot_set",&obj0,&arg2)) goto fail;
6937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6938 if (arg1) (arg1)->yroot = arg2;
6939
6940 Py_INCREF(Py_None); resultobj = Py_None;
6941 return resultobj;
6942 fail:
6943 return NULL;
6944 }
6945
6946
6947 static PyObject *_wrap_MouseData_yroot_get(PyObject *self, PyObject *args) {
6948 PyObject *resultobj;
6949 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6950 int result;
6951 PyObject * obj0 = 0 ;
6952
6953 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_yroot_get",&obj0)) goto fail;
6954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6955 result = (int) ((arg1)->yroot);
6956
6957 resultobj = PyInt_FromLong((long)result);
6958 return resultobj;
6959 fail:
6960 return NULL;
6961 }
6962
6963
6964 static PyObject *_wrap_MouseData_pressx_set(PyObject *self, PyObject *args) {
6965 PyObject *resultobj;
6966 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6967 int arg2 ;
6968 PyObject * obj0 = 0 ;
6969
6970 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressx_set",&obj0,&arg2)) goto fail;
6971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6972 if (arg1) (arg1)->pressx = arg2;
6973
6974 Py_INCREF(Py_None); resultobj = Py_None;
6975 return resultobj;
6976 fail:
6977 return NULL;
6978 }
6979
6980
6981 static PyObject *_wrap_MouseData_pressx_get(PyObject *self, PyObject *args) {
6982 PyObject *resultobj;
6983 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6984 int result;
6985 PyObject * obj0 = 0 ;
6986
6987 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressx_get",&obj0)) goto fail;
6988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6989 result = (int) ((arg1)->pressx);
6990
6991 resultobj = PyInt_FromLong((long)result);
6992 return resultobj;
6993 fail:
6994 return NULL;
6995 }
6996
6997
6998 static PyObject *_wrap_MouseData_pressy_set(PyObject *self, PyObject *args) {
6999 PyObject *resultobj;
7000 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7001 int arg2 ;
7002 PyObject * obj0 = 0 ;
7003
7004 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressy_set",&obj0,&arg2)) goto fail;
7005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7006 if (arg1) (arg1)->pressy = arg2;
7007
7008 Py_INCREF(Py_None); resultobj = Py_None;
7009 return resultobj;
7010 fail:
7011 return NULL;
7012 }
7013
7014
7015 static PyObject *_wrap_MouseData_pressy_get(PyObject *self, PyObject *args) {
7016 PyObject *resultobj;
7017 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7018 int result;
7019 PyObject * obj0 = 0 ;
7020
7021 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressy_get",&obj0)) goto fail;
7022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7023 result = (int) ((arg1)->pressy);
7024
7025 resultobj = PyInt_FromLong((long)result);
7026 return resultobj;
7027 fail:
7028 return NULL;
7029 }
7030
7031
7032 static PyObject *_wrap_MouseData_press_clientx_set(PyObject *self, PyObject *args) {
7033 PyObject *resultobj;
7034 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7035 int arg2 ;
7036 PyObject * obj0 = 0 ;
7037
7038 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientx_set",&obj0,&arg2)) goto fail;
7039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7040 if (arg1) (arg1)->press_clientx = arg2;
7041
7042 Py_INCREF(Py_None); resultobj = Py_None;
7043 return resultobj;
7044 fail:
7045 return NULL;
7046 }
7047
7048
7049 static PyObject *_wrap_MouseData_press_clientx_get(PyObject *self, PyObject *args) {
7050 PyObject *resultobj;
7051 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7052 int result;
7053 PyObject * obj0 = 0 ;
7054
7055 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientx_get",&obj0)) goto fail;
7056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7057 result = (int) ((arg1)->press_clientx);
7058
7059 resultobj = PyInt_FromLong((long)result);
7060 return resultobj;
7061 fail:
7062 return NULL;
7063 }
7064
7065
7066 static PyObject *_wrap_MouseData_press_clienty_set(PyObject *self, PyObject *args) {
7067 PyObject *resultobj;
7068 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7069 int arg2 ;
7070 PyObject * obj0 = 0 ;
7071
7072 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clienty_set",&obj0,&arg2)) goto fail;
7073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7074 if (arg1) (arg1)->press_clienty = arg2;
7075
7076 Py_INCREF(Py_None); resultobj = Py_None;
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 static PyObject *_wrap_MouseData_press_clienty_get(PyObject *self, PyObject *args) {
7084 PyObject *resultobj;
7085 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7086 int result;
7087 PyObject * obj0 = 0 ;
7088
7089 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clienty_get",&obj0)) goto fail;
7090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7091 result = (int) ((arg1)->press_clienty);
7092
7093 resultobj = PyInt_FromLong((long)result);
7094 return resultobj;
7095 fail:
7096 return NULL;
7097 }
7098
7099
7100 static PyObject *_wrap_MouseData_press_clientwidth_set(PyObject *self, PyObject *args) {
7101 PyObject *resultobj;
7102 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7103 int arg2 ;
7104 PyObject * obj0 = 0 ;
7105
7106 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientwidth_set",&obj0,&arg2)) goto fail;
7107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7108 if (arg1) (arg1)->press_clientwidth = arg2;
7109
7110 Py_INCREF(Py_None); resultobj = Py_None;
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_MouseData_press_clientwidth_get(PyObject *self, PyObject *args) {
7118 PyObject *resultobj;
7119 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7120 int result;
7121 PyObject * obj0 = 0 ;
7122
7123 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientwidth_get",&obj0)) goto fail;
7124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7125 result = (int) ((arg1)->press_clientwidth);
7126
7127 resultobj = PyInt_FromLong((long)result);
7128 return resultobj;
7129 fail:
7130 return NULL;
7131 }
7132
7133
7134 static PyObject *_wrap_MouseData_press_clientheight_set(PyObject *self, PyObject *args) {
7135 PyObject *resultobj;
7136 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7137 int arg2 ;
7138 PyObject * obj0 = 0 ;
7139
7140 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientheight_set",&obj0,&arg2)) goto fail;
7141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7142 if (arg1) (arg1)->press_clientheight = arg2;
7143
7144 Py_INCREF(Py_None); resultobj = Py_None;
7145 return resultobj;
7146 fail:
7147 return NULL;
7148 }
7149
7150
7151 static PyObject *_wrap_MouseData_press_clientheight_get(PyObject *self, PyObject *args) {
7152 PyObject *resultobj;
7153 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7154 int result;
7155 PyObject * obj0 = 0 ;
7156
7157 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientheight_get",&obj0)) goto fail;
7158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7159 result = (int) ((arg1)->press_clientheight);
7160
7161 resultobj = PyInt_FromLong((long)result);
7162 return resultobj;
7163 fail:
7164 return NULL;
7165 }
7166
7167
7168 static PyObject *_wrap_new_MouseData__SWIG_0(PyObject *self, PyObject *args) {
7169 PyObject *resultobj;
7170 int arg1 ;
7171 ob::Client *arg2 = (ob::Client *) 0 ;
7172 Time arg3 ;
7173 unsigned int arg4 ;
7174 unsigned int arg5 ;
7175 int arg6 ;
7176 int arg7 ;
7177 int arg8 ;
7178 int arg9 ;
7179 otk::Point *arg10 = 0 ;
7180 otk::Rect *arg11 = 0 ;
7181 ob::MouseData *result;
7182 PyObject * obj1 = 0 ;
7183 PyObject * obj2 = 0 ;
7184 PyObject * obj3 = 0 ;
7185 PyObject * obj4 = 0 ;
7186 PyObject * obj9 = 0 ;
7187 PyObject * obj10 = 0 ;
7188
7189 if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
7190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7191 arg3 = (Time) PyInt_AsLong(obj2);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 arg4 = (unsigned int) PyInt_AsLong(obj3);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 arg5 = (unsigned int) PyInt_AsLong(obj4);
7196 if (PyErr_Occurred()) SWIG_fail;
7197 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7198 if (arg10 == NULL) {
7199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7200 }
7201 if ((SWIG_ConvertPtr(obj10,(void **) &arg11, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7202 if (arg11 == NULL) {
7203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7204 }
7205 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);
7206
7207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
7208 return resultobj;
7209 fail:
7210 return NULL;
7211 }
7212
7213
7214 static PyObject *_wrap_new_MouseData__SWIG_1(PyObject *self, PyObject *args) {
7215 PyObject *resultobj;
7216 int arg1 ;
7217 ob::Client *arg2 = (ob::Client *) 0 ;
7218 Time arg3 ;
7219 unsigned int arg4 ;
7220 unsigned int arg5 ;
7221 int arg6 ;
7222 int arg7 ;
7223 ob::MouseData *result;
7224 PyObject * obj1 = 0 ;
7225 PyObject * obj2 = 0 ;
7226 PyObject * obj3 = 0 ;
7227 PyObject * obj4 = 0 ;
7228
7229 if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
7230 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7231 arg3 = (Time) PyInt_AsLong(obj2);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 arg4 = (unsigned int) PyInt_AsLong(obj3);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 arg5 = (unsigned int) PyInt_AsLong(obj4);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
7238
7239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
7240 return resultobj;
7241 fail:
7242 return NULL;
7243 }
7244
7245
7246 static PyObject *_wrap_new_MouseData(PyObject *self, PyObject *args) {
7247 int argc;
7248 PyObject *argv[12];
7249 int ii;
7250
7251 argc = PyObject_Length(args);
7252 for (ii = 0; (ii < argc) && (ii < 11); ii++) {
7253 argv[ii] = PyTuple_GetItem(args,ii);
7254 }
7255 if (argc == 7) {
7256 int _v;
7257 {
7258 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7259 }
7260 if (_v) {
7261 {
7262 void *ptr;
7263 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
7264 _v = 0;
7265 PyErr_Clear();
7266 }else {
7267 _v = 1;
7268 }
7269 }
7270 if (_v) {
7271 {
7272 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7273 }
7274 if (_v) {
7275 {
7276 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7277 }
7278 if (_v) {
7279 {
7280 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7281 }
7282 if (_v) {
7283 {
7284 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7285 }
7286 if (_v) {
7287 {
7288 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
7289 }
7290 if (_v) {
7291 return _wrap_new_MouseData__SWIG_1(self,args);
7292 }
7293 }
7294 }
7295 }
7296 }
7297 }
7298 }
7299 }
7300 if (argc == 11) {
7301 int _v;
7302 {
7303 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7304 }
7305 if (_v) {
7306 {
7307 void *ptr;
7308 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
7309 _v = 0;
7310 PyErr_Clear();
7311 }else {
7312 _v = 1;
7313 }
7314 }
7315 if (_v) {
7316 {
7317 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7318 }
7319 if (_v) {
7320 {
7321 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7322 }
7323 if (_v) {
7324 {
7325 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7326 }
7327 if (_v) {
7328 {
7329 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7330 }
7331 if (_v) {
7332 {
7333 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
7334 }
7335 if (_v) {
7336 {
7337 _v = (PyInt_Check(argv[7]) || PyLong_Check(argv[7])) ? 1 : 0;
7338 }
7339 if (_v) {
7340 {
7341 _v = (PyInt_Check(argv[8]) || PyLong_Check(argv[8])) ? 1 : 0;
7342 }
7343 if (_v) {
7344 {
7345 void *ptr;
7346 if (SWIG_ConvertPtr(argv[9], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7347 _v = 0;
7348 PyErr_Clear();
7349 }else {
7350 _v = 1;
7351 }
7352 }
7353 if (_v) {
7354 {
7355 void *ptr;
7356 if (SWIG_ConvertPtr(argv[10], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7357 _v = 0;
7358 PyErr_Clear();
7359 }else {
7360 _v = 1;
7361 }
7362 }
7363 if (_v) {
7364 return _wrap_new_MouseData__SWIG_0(self,args);
7365 }
7366 }
7367 }
7368 }
7369 }
7370 }
7371 }
7372 }
7373 }
7374 }
7375 }
7376 }
7377
7378 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_MouseData'");
7379 return NULL;
7380 }
7381
7382
7383 static PyObject * MouseData_swigregister(PyObject *self, PyObject *args) {
7384 PyObject *obj;
7385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7386 SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData, obj);
7387 Py_INCREF(obj);
7388 return Py_BuildValue((char *)"");
7389 }
7390 static PyObject *_wrap_EventData_screen_set(PyObject *self, PyObject *args) {
7391 PyObject *resultobj;
7392 ob::EventData *arg1 = (ob::EventData *) 0 ;
7393 int arg2 ;
7394 PyObject * obj0 = 0 ;
7395
7396 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_screen_set",&obj0,&arg2)) goto fail;
7397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7398 if (arg1) (arg1)->screen = arg2;
7399
7400 Py_INCREF(Py_None); resultobj = Py_None;
7401 return resultobj;
7402 fail:
7403 return NULL;
7404 }
7405
7406
7407 static PyObject *_wrap_EventData_screen_get(PyObject *self, PyObject *args) {
7408 PyObject *resultobj;
7409 ob::EventData *arg1 = (ob::EventData *) 0 ;
7410 int result;
7411 PyObject * obj0 = 0 ;
7412
7413 if(!PyArg_ParseTuple(args,(char *)"O:EventData_screen_get",&obj0)) goto fail;
7414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7415 result = (int) ((arg1)->screen);
7416
7417 resultobj = PyInt_FromLong((long)result);
7418 return resultobj;
7419 fail:
7420 return NULL;
7421 }
7422
7423
7424 static PyObject *_wrap_EventData_client_set(PyObject *self, PyObject *args) {
7425 PyObject *resultobj;
7426 ob::EventData *arg1 = (ob::EventData *) 0 ;
7427 ob::Client *arg2 = (ob::Client *) 0 ;
7428 PyObject * obj0 = 0 ;
7429 PyObject * obj1 = 0 ;
7430
7431 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_client_set",&obj0,&obj1)) goto fail;
7432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7433 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
7434 if (arg1) (arg1)->client = arg2;
7435
7436 Py_INCREF(Py_None); resultobj = Py_None;
7437 return resultobj;
7438 fail:
7439 return NULL;
7440 }
7441
7442
7443 static PyObject *_wrap_EventData_client_get(PyObject *self, PyObject *args) {
7444 PyObject *resultobj;
7445 ob::EventData *arg1 = (ob::EventData *) 0 ;
7446 ob::Client *result;
7447 PyObject * obj0 = 0 ;
7448
7449 if(!PyArg_ParseTuple(args,(char *)"O:EventData_client_get",&obj0)) goto fail;
7450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7451 result = (ob::Client *) ((arg1)->client);
7452
7453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
7454 return resultobj;
7455 fail:
7456 return NULL;
7457 }
7458
7459
7460 static PyObject *_wrap_EventData_state_set(PyObject *self, PyObject *args) {
7461 PyObject *resultobj;
7462 ob::EventData *arg1 = (ob::EventData *) 0 ;
7463 unsigned int arg2 ;
7464 PyObject * obj0 = 0 ;
7465 PyObject * obj1 = 0 ;
7466
7467 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_state_set",&obj0,&obj1)) goto fail;
7468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7469 arg2 = (unsigned int) PyInt_AsLong(obj1);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 if (arg1) (arg1)->state = arg2;
7472
7473 Py_INCREF(Py_None); resultobj = Py_None;
7474 return resultobj;
7475 fail:
7476 return NULL;
7477 }
7478
7479
7480 static PyObject *_wrap_EventData_state_get(PyObject *self, PyObject *args) {
7481 PyObject *resultobj;
7482 ob::EventData *arg1 = (ob::EventData *) 0 ;
7483 unsigned int result;
7484 PyObject * obj0 = 0 ;
7485
7486 if(!PyArg_ParseTuple(args,(char *)"O:EventData_state_get",&obj0)) goto fail;
7487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7488 result = (unsigned int) ((arg1)->state);
7489
7490 resultobj = PyInt_FromLong((long)result);
7491 return resultobj;
7492 fail:
7493 return NULL;
7494 }
7495
7496
7497 static PyObject *_wrap_EventData_action_set(PyObject *self, PyObject *args) {
7498 PyObject *resultobj;
7499 ob::EventData *arg1 = (ob::EventData *) 0 ;
7500 int arg2 ;
7501 PyObject * obj0 = 0 ;
7502
7503 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_action_set",&obj0,&arg2)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7505 if (arg1) (arg1)->action = (ob::EventAction )arg2;
7506
7507 Py_INCREF(Py_None); resultobj = Py_None;
7508 return resultobj;
7509 fail:
7510 return NULL;
7511 }
7512
7513
7514 static PyObject *_wrap_EventData_action_get(PyObject *self, PyObject *args) {
7515 PyObject *resultobj;
7516 ob::EventData *arg1 = (ob::EventData *) 0 ;
7517 int result;
7518 PyObject * obj0 = 0 ;
7519
7520 if(!PyArg_ParseTuple(args,(char *)"O:EventData_action_get",&obj0)) goto fail;
7521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7522 result = (int) ((arg1)->action);
7523
7524 resultobj = PyInt_FromLong((long)result);
7525 return resultobj;
7526 fail:
7527 return NULL;
7528 }
7529
7530
7531 static PyObject *_wrap_new_EventData(PyObject *self, PyObject *args) {
7532 PyObject *resultobj;
7533 int arg1 ;
7534 ob::Client *arg2 = (ob::Client *) 0 ;
7535 int arg3 ;
7536 unsigned int arg4 ;
7537 ob::EventData *result;
7538 PyObject * obj1 = 0 ;
7539 PyObject * obj3 = 0 ;
7540
7541 if(!PyArg_ParseTuple(args,(char *)"iOiO:new_EventData",&arg1,&obj1,&arg3,&obj3)) goto fail;
7542 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7543 arg4 = (unsigned int) PyInt_AsLong(obj3);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 result = (ob::EventData *)new ob::EventData(arg1,arg2,(ob::EventAction )arg3,arg4);
7546
7547 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__EventData, 1);
7548 return resultobj;
7549 fail:
7550 return NULL;
7551 }
7552
7553
7554 static PyObject * EventData_swigregister(PyObject *self, PyObject *args) {
7555 PyObject *obj;
7556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7557 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData, obj);
7558 Py_INCREF(obj);
7559 return Py_BuildValue((char *)"");
7560 }
7561 static PyObject *_wrap_KeyData_screen_set(PyObject *self, PyObject *args) {
7562 PyObject *resultobj;
7563 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7564 int arg2 ;
7565 PyObject * obj0 = 0 ;
7566
7567 if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_screen_set",&obj0,&arg2)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7569 if (arg1) (arg1)->screen = arg2;
7570
7571 Py_INCREF(Py_None); resultobj = Py_None;
7572 return resultobj;
7573 fail:
7574 return NULL;
7575 }
7576
7577
7578 static PyObject *_wrap_KeyData_screen_get(PyObject *self, PyObject *args) {
7579 PyObject *resultobj;
7580 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7581 int result;
7582 PyObject * obj0 = 0 ;
7583
7584 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_screen_get",&obj0)) goto fail;
7585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7586 result = (int) ((arg1)->screen);
7587
7588 resultobj = PyInt_FromLong((long)result);
7589 return resultobj;
7590 fail:
7591 return NULL;
7592 }
7593
7594
7595 static PyObject *_wrap_KeyData_client_set(PyObject *self, PyObject *args) {
7596 PyObject *resultobj;
7597 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7598 ob::Client *arg2 = (ob::Client *) 0 ;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601
7602 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_client_set",&obj0,&obj1)) goto fail;
7603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
7605 if (arg1) (arg1)->client = arg2;
7606
7607 Py_INCREF(Py_None); resultobj = Py_None;
7608 return resultobj;
7609 fail:
7610 return NULL;
7611 }
7612
7613
7614 static PyObject *_wrap_KeyData_client_get(PyObject *self, PyObject *args) {
7615 PyObject *resultobj;
7616 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7617 ob::Client *result;
7618 PyObject * obj0 = 0 ;
7619
7620 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_client_get",&obj0)) goto fail;
7621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7622 result = (ob::Client *) ((arg1)->client);
7623
7624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
7625 return resultobj;
7626 fail:
7627 return NULL;
7628 }
7629
7630
7631 static PyObject *_wrap_KeyData_time_set(PyObject *self, PyObject *args) {
7632 PyObject *resultobj;
7633 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7634 Time arg2 ;
7635 PyObject * obj0 = 0 ;
7636 PyObject * obj1 = 0 ;
7637
7638 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_time_set",&obj0,&obj1)) goto fail;
7639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7640 arg2 = (Time) PyInt_AsLong(obj1);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 if (arg1) (arg1)->time = arg2;
7643
7644 Py_INCREF(Py_None); resultobj = Py_None;
7645 return resultobj;
7646 fail:
7647 return NULL;
7648 }
7649
7650
7651 static PyObject *_wrap_KeyData_time_get(PyObject *self, PyObject *args) {
7652 PyObject *resultobj;
7653 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7654 Time result;
7655 PyObject * obj0 = 0 ;
7656
7657 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_time_get",&obj0)) goto fail;
7658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7659 result = (Time) ((arg1)->time);
7660
7661 resultobj = PyInt_FromLong((long)result);
7662 return resultobj;
7663 fail:
7664 return NULL;
7665 }
7666
7667
7668 static PyObject *_wrap_KeyData_state_set(PyObject *self, PyObject *args) {
7669 PyObject *resultobj;
7670 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7671 unsigned int arg2 ;
7672 PyObject * obj0 = 0 ;
7673 PyObject * obj1 = 0 ;
7674
7675 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_state_set",&obj0,&obj1)) goto fail;
7676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7677 arg2 = (unsigned int) PyInt_AsLong(obj1);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 if (arg1) (arg1)->state = arg2;
7680
7681 Py_INCREF(Py_None); resultobj = Py_None;
7682 return resultobj;
7683 fail:
7684 return NULL;
7685 }
7686
7687
7688 static PyObject *_wrap_KeyData_state_get(PyObject *self, PyObject *args) {
7689 PyObject *resultobj;
7690 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7691 unsigned int result;
7692 PyObject * obj0 = 0 ;
7693
7694 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_state_get",&obj0)) goto fail;
7695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7696 result = (unsigned int) ((arg1)->state);
7697
7698 resultobj = PyInt_FromLong((long)result);
7699 return resultobj;
7700 fail:
7701 return NULL;
7702 }
7703
7704
7705 static PyObject *_wrap_KeyData_key_set(PyObject *self, PyObject *args) {
7706 PyObject *resultobj;
7707 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7708 std::string *arg2 = (std::string *) 0 ;
7709 PyObject * obj0 = 0 ;
7710 PyObject * obj1 = 0 ;
7711
7712 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_key_set",&obj0,&obj1)) goto fail;
7713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7715 if (arg1) (arg1)->key = *arg2;
7716
7717 Py_INCREF(Py_None); resultobj = Py_None;
7718 return resultobj;
7719 fail:
7720 return NULL;
7721 }
7722
7723
7724 static PyObject *_wrap_KeyData_key_get(PyObject *self, PyObject *args) {
7725 PyObject *resultobj;
7726 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7727 std::string *result;
7728 PyObject * obj0 = 0 ;
7729
7730 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_key_get",&obj0)) goto fail;
7731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7732 result = (std::string *)& ((arg1)->key);
7733
7734 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__string, 0);
7735 return resultobj;
7736 fail:
7737 return NULL;
7738 }
7739
7740
7741 static PyObject *_wrap_new_KeyData(PyObject *self, PyObject *args) {
7742 PyObject *resultobj;
7743 int arg1 ;
7744 ob::Client *arg2 = (ob::Client *) 0 ;
7745 Time arg3 ;
7746 unsigned int arg4 ;
7747 unsigned int arg5 ;
7748 ob::KeyData *result;
7749 PyObject * obj1 = 0 ;
7750 PyObject * obj2 = 0 ;
7751 PyObject * obj3 = 0 ;
7752 PyObject * obj4 = 0 ;
7753
7754 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_KeyData",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
7755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7756 arg3 = (Time) PyInt_AsLong(obj2);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 arg4 = (unsigned int) PyInt_AsLong(obj3);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 arg5 = (unsigned int) PyInt_AsLong(obj4);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 result = (ob::KeyData *)new ob::KeyData(arg1,arg2,arg3,arg4,arg5);
7763
7764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__KeyData, 1);
7765 return resultobj;
7766 fail:
7767 return NULL;
7768 }
7769
7770
7771 static PyObject * KeyData_swigregister(PyObject *self, PyObject *args) {
7772 PyObject *obj;
7773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7774 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData, obj);
7775 Py_INCREF(obj);
7776 return Py_BuildValue((char *)"");
7777 }
7778 static PyObject *_wrap_mbind(PyObject *self, PyObject *args) {
7779 PyObject *resultobj;
7780 std::string *arg1 = 0 ;
7781 int arg2 ;
7782 int arg3 ;
7783 PyObject *arg4 = (PyObject *) 0 ;
7784 PyObject *result;
7785 std::string temp1 ;
7786 PyObject * obj0 = 0 ;
7787 PyObject * obj3 = 0 ;
7788
7789 if(!PyArg_ParseTuple(args,(char *)"OiiO:mbind",&obj0,&arg2,&arg3,&obj3)) goto fail;
7790 {
7791 if (PyString_Check(obj0)) {
7792 temp1 = std::string(PyString_AsString(obj0));
7793 arg1 = &temp1;
7794 }else {
7795 SWIG_exception(SWIG_TypeError, "string expected");
7796 }
7797 }
7798 arg4 = obj3;
7799 result = (PyObject *)ob::mbind((std::string const &)*arg1,(ob::MouseContext )arg2,(ob::MouseAction )arg3,arg4);
7800
7801 resultobj = result;
7802 return resultobj;
7803 fail:
7804 return NULL;
7805 }
7806
7807
7808 static PyObject *_wrap_kbind(PyObject *self, PyObject *args) {
7809 PyObject *resultobj;
7810 PyObject *arg1 = (PyObject *) 0 ;
7811 int arg2 ;
7812 PyObject *arg3 = (PyObject *) 0 ;
7813 PyObject *result;
7814 PyObject * obj0 = 0 ;
7815 PyObject * obj2 = 0 ;
7816
7817 if(!PyArg_ParseTuple(args,(char *)"OiO:kbind",&obj0,&arg2,&obj2)) goto fail;
7818 arg1 = obj0;
7819 arg3 = obj2;
7820 result = (PyObject *)ob::kbind(arg1,(ob::KeyContext )arg2,arg3);
7821
7822 resultobj = result;
7823 return resultobj;
7824 fail:
7825 return NULL;
7826 }
7827
7828
7829 static PyObject *_wrap_ebind(PyObject *self, PyObject *args) {
7830 PyObject *resultobj;
7831 int arg1 ;
7832 PyObject *arg2 = (PyObject *) 0 ;
7833 PyObject *result;
7834 PyObject * obj1 = 0 ;
7835
7836 if(!PyArg_ParseTuple(args,(char *)"iO:ebind",&arg1,&obj1)) goto fail;
7837 arg2 = obj1;
7838 result = (PyObject *)ob::ebind((ob::EventAction )arg1,arg2);
7839
7840 resultobj = result;
7841 return resultobj;
7842 fail:
7843 return NULL;
7844 }
7845
7846
7847 static PyObject *_wrap_set_reset_key(PyObject *self, PyObject *args) {
7848 PyObject *resultobj;
7849 std::string *arg1 = 0 ;
7850 std::string temp1 ;
7851 PyObject * obj0 = 0 ;
7852
7853 if(!PyArg_ParseTuple(args,(char *)"O:set_reset_key",&obj0)) goto fail;
7854 {
7855 if (PyString_Check(obj0)) {
7856 temp1 = std::string(PyString_AsString(obj0));
7857 arg1 = &temp1;
7858 }else {
7859 SWIG_exception(SWIG_TypeError, "string expected");
7860 }
7861 }
7862 ob::set_reset_key((std::string const &)*arg1);
7863
7864 Py_INCREF(Py_None); resultobj = Py_None;
7865 return resultobj;
7866 fail:
7867 return NULL;
7868 }
7869
7870
7871 static PyObject *_wrap_send_client_msg(PyObject *self, PyObject *args) {
7872 PyObject *resultobj;
7873 Window arg1 ;
7874 int arg2 ;
7875 Window arg3 ;
7876 long arg4 ;
7877 long arg5 = (long) 0 ;
7878 long arg6 = (long) 0 ;
7879 long arg7 = (long) 0 ;
7880 long arg8 = (long) 0 ;
7881 PyObject *result;
7882 PyObject * obj0 = 0 ;
7883 PyObject * obj2 = 0 ;
7884
7885 if(!PyArg_ParseTuple(args,(char *)"OiOl|llll:send_client_msg",&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
7886 arg1 = (Window) PyInt_AsLong(obj0);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 arg3 = (Window) PyInt_AsLong(obj2);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 result = (PyObject *)ob::send_client_msg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7891
7892 resultobj = result;
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 static PyMethodDef SwigMethods[] = {
7900 { (char *)"Openbox_instance", _wrap_Openbox_instance, METH_VARARGS },
7901 { (char *)"Display_display", _wrap_Display_display, METH_VARARGS },
7902 { (char *)"Display_initialize", _wrap_Display_initialize, METH_VARARGS },
7903 { (char *)"Display_destroy", _wrap_Display_destroy, METH_VARARGS },
7904 { (char *)"Display_gcCache", _wrap_Display_gcCache, METH_VARARGS },
7905 { (char *)"Display_screenInfo", _wrap_Display_screenInfo, METH_VARARGS },
7906 { (char *)"Display_findScreen", _wrap_Display_findScreen, METH_VARARGS },
7907 { (char *)"Display_xkb", _wrap_Display_xkb, METH_VARARGS },
7908 { (char *)"Display_xkbEventBase", _wrap_Display_xkbEventBase, METH_VARARGS },
7909 { (char *)"Display_shape", _wrap_Display_shape, METH_VARARGS },
7910 { (char *)"Display_shapeEventBase", _wrap_Display_shapeEventBase, METH_VARARGS },
7911 { (char *)"Display_xinerama", _wrap_Display_xinerama, METH_VARARGS },
7912 { (char *)"Display_numLockMask", _wrap_Display_numLockMask, METH_VARARGS },
7913 { (char *)"Display_scrollLockMask", _wrap_Display_scrollLockMask, METH_VARARGS },
7914 { (char *)"Display_grab", _wrap_Display_grab, METH_VARARGS },
7915 { (char *)"Display_ungrab", _wrap_Display_ungrab, METH_VARARGS },
7916 { (char *)"Display_grabButton", _wrap_Display_grabButton, METH_VARARGS },
7917 { (char *)"Display_ungrabButton", _wrap_Display_ungrabButton, METH_VARARGS },
7918 { (char *)"Display_grabKey", _wrap_Display_grabKey, METH_VARARGS },
7919 { (char *)"Display_ungrabKey", _wrap_Display_ungrabKey, METH_VARARGS },
7920 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
7921 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
7922 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
7923 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
7924 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
7925 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
7926 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
7927 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
7928 { (char *)"new_Property", _wrap_new_Property, METH_VARARGS },
7929 { (char *)"delete_Property", _wrap_delete_Property, METH_VARARGS },
7930 { (char *)"Property_set", _wrap_Property_set, METH_VARARGS },
7931 { (char *)"Property_get", _wrap_Property_get, METH_VARARGS },
7932 { (char *)"Property_erase", _wrap_Property_erase, METH_VARARGS },
7933 { (char *)"Property_atom", _wrap_Property_atom, METH_VARARGS },
7934 { (char *)"Property_swigregister", Property_swigregister, METH_VARARGS },
7935 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
7936 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
7937 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
7938 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
7939 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
7940 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
7941 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
7942 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
7943 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
7944 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
7945 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
7946 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
7947 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
7948 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
7949 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
7950 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
7951 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
7952 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
7953 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
7954 { (char *)"Rect___eq__", _wrap_Rect___eq__, METH_VARARGS },
7955 { (char *)"Rect___ne__", _wrap_Rect___ne__, METH_VARARGS },
7956 { (char *)"Rect___or__", _wrap_Rect___or__, METH_VARARGS },
7957 { (char *)"Rect___and__", _wrap_Rect___and__, METH_VARARGS },
7958 { (char *)"Rect___ior__", _wrap_Rect___ior__, METH_VARARGS },
7959 { (char *)"Rect___iand__", _wrap_Rect___iand__, METH_VARARGS },
7960 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
7961 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
7962 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
7963 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
7964 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
7965 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
7966 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
7967 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
7968 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
7969 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
7970 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
7971 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
7972 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
7973 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
7974 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
7975 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
7976 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
7977 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
7978 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
7979 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
7980 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
7981 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
7982 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
7983 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
7984 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
7985 { (char *)"EventHandler_handle", _wrap_EventHandler_handle, METH_VARARGS },
7986 { (char *)"EventHandler_keyPressHandler", _wrap_EventHandler_keyPressHandler, METH_VARARGS },
7987 { (char *)"EventHandler_keyReleaseHandler", _wrap_EventHandler_keyReleaseHandler, METH_VARARGS },
7988 { (char *)"EventHandler_buttonPressHandler", _wrap_EventHandler_buttonPressHandler, METH_VARARGS },
7989 { (char *)"EventHandler_buttonReleaseHandler", _wrap_EventHandler_buttonReleaseHandler, METH_VARARGS },
7990 { (char *)"EventHandler_motionHandler", _wrap_EventHandler_motionHandler, METH_VARARGS },
7991 { (char *)"EventHandler_enterHandler", _wrap_EventHandler_enterHandler, METH_VARARGS },
7992 { (char *)"EventHandler_leaveHandler", _wrap_EventHandler_leaveHandler, METH_VARARGS },
7993 { (char *)"EventHandler_focusHandler", _wrap_EventHandler_focusHandler, METH_VARARGS },
7994 { (char *)"EventHandler_unfocusHandler", _wrap_EventHandler_unfocusHandler, METH_VARARGS },
7995 { (char *)"EventHandler_exposeHandler", _wrap_EventHandler_exposeHandler, METH_VARARGS },
7996 { (char *)"EventHandler_graphicsExposeHandler", _wrap_EventHandler_graphicsExposeHandler, METH_VARARGS },
7997 { (char *)"EventHandler_noExposeEventHandler", _wrap_EventHandler_noExposeEventHandler, METH_VARARGS },
7998 { (char *)"EventHandler_circulateRequestHandler", _wrap_EventHandler_circulateRequestHandler, METH_VARARGS },
7999 { (char *)"EventHandler_configureRequestHandler", _wrap_EventHandler_configureRequestHandler, METH_VARARGS },
8000 { (char *)"EventHandler_mapRequestHandler", _wrap_EventHandler_mapRequestHandler, METH_VARARGS },
8001 { (char *)"EventHandler_resizeRequestHandler", _wrap_EventHandler_resizeRequestHandler, METH_VARARGS },
8002 { (char *)"EventHandler_circulateHandler", _wrap_EventHandler_circulateHandler, METH_VARARGS },
8003 { (char *)"EventHandler_configureHandler", _wrap_EventHandler_configureHandler, METH_VARARGS },
8004 { (char *)"EventHandler_createHandler", _wrap_EventHandler_createHandler, METH_VARARGS },
8005 { (char *)"EventHandler_destroyHandler", _wrap_EventHandler_destroyHandler, METH_VARARGS },
8006 { (char *)"EventHandler_gravityHandler", _wrap_EventHandler_gravityHandler, METH_VARARGS },
8007 { (char *)"EventHandler_mapHandler", _wrap_EventHandler_mapHandler, METH_VARARGS },
8008 { (char *)"EventHandler_mappingHandler", _wrap_EventHandler_mappingHandler, METH_VARARGS },
8009 { (char *)"EventHandler_reparentHandler", _wrap_EventHandler_reparentHandler, METH_VARARGS },
8010 { (char *)"EventHandler_unmapHandler", _wrap_EventHandler_unmapHandler, METH_VARARGS },
8011 { (char *)"EventHandler_visibilityHandler", _wrap_EventHandler_visibilityHandler, METH_VARARGS },
8012 { (char *)"EventHandler_colorMapHandler", _wrap_EventHandler_colorMapHandler, METH_VARARGS },
8013 { (char *)"EventHandler_propertyHandler", _wrap_EventHandler_propertyHandler, METH_VARARGS },
8014 { (char *)"EventHandler_selectionClearHandler", _wrap_EventHandler_selectionClearHandler, METH_VARARGS },
8015 { (char *)"EventHandler_selectionHandler", _wrap_EventHandler_selectionHandler, METH_VARARGS },
8016 { (char *)"EventHandler_selectionRequestHandler", _wrap_EventHandler_selectionRequestHandler, METH_VARARGS },
8017 { (char *)"EventHandler_clientMessageHandler", _wrap_EventHandler_clientMessageHandler, METH_VARARGS },
8018 { (char *)"delete_EventHandler", _wrap_delete_EventHandler, METH_VARARGS },
8019 { (char *)"EventHandler_swigregister", EventHandler_swigregister, METH_VARARGS },
8020 { (char *)"new_EventDispatcher", _wrap_new_EventDispatcher, METH_VARARGS },
8021 { (char *)"delete_EventDispatcher", _wrap_delete_EventDispatcher, METH_VARARGS },
8022 { (char *)"EventDispatcher_clearAllHandlers", _wrap_EventDispatcher_clearAllHandlers, METH_VARARGS },
8023 { (char *)"EventDispatcher_registerHandler", _wrap_EventDispatcher_registerHandler, METH_VARARGS },
8024 { (char *)"EventDispatcher_clearHandler", _wrap_EventDispatcher_clearHandler, METH_VARARGS },
8025 { (char *)"EventDispatcher_dispatchEvents", _wrap_EventDispatcher_dispatchEvents, METH_VARARGS },
8026 { (char *)"EventDispatcher_setFallbackHandler", _wrap_EventDispatcher_setFallbackHandler, METH_VARARGS },
8027 { (char *)"EventDispatcher_getFallbackHandler", _wrap_EventDispatcher_getFallbackHandler, METH_VARARGS },
8028 { (char *)"EventDispatcher_setMasterHandler", _wrap_EventDispatcher_setMasterHandler, METH_VARARGS },
8029 { (char *)"EventDispatcher_getMasterHandler", _wrap_EventDispatcher_getMasterHandler, METH_VARARGS },
8030 { (char *)"EventDispatcher_findHandler", _wrap_EventDispatcher_findHandler, METH_VARARGS },
8031 { (char *)"EventDispatcher_lastTime", _wrap_EventDispatcher_lastTime, METH_VARARGS },
8032 { (char *)"EventDispatcher_swigregister", EventDispatcher_swigregister, METH_VARARGS },
8033 { (char *)"Cursors_session_set", _wrap_Cursors_session_set, METH_VARARGS },
8034 { (char *)"Cursors_session_get", _wrap_Cursors_session_get, METH_VARARGS },
8035 { (char *)"Cursors_move_set", _wrap_Cursors_move_set, METH_VARARGS },
8036 { (char *)"Cursors_move_get", _wrap_Cursors_move_get, METH_VARARGS },
8037 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set, METH_VARARGS },
8038 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get, METH_VARARGS },
8039 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set, METH_VARARGS },
8040 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get, METH_VARARGS },
8041 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set, METH_VARARGS },
8042 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get, METH_VARARGS },
8043 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set, METH_VARARGS },
8044 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get, METH_VARARGS },
8045 { (char *)"Cursors_swigregister", Cursors_swigregister, METH_VARARGS },
8046 { (char *)"Openbox_state", _wrap_Openbox_state, METH_VARARGS },
8047 { (char *)"Openbox_timerManager", _wrap_Openbox_timerManager, METH_VARARGS },
8048 { (char *)"Openbox_property", _wrap_Openbox_property, METH_VARARGS },
8049 { (char *)"Openbox_actions", _wrap_Openbox_actions, METH_VARARGS },
8050 { (char *)"Openbox_bindings", _wrap_Openbox_bindings, METH_VARARGS },
8051 { (char *)"Openbox_screen", _wrap_Openbox_screen, METH_VARARGS },
8052 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount, METH_VARARGS },
8053 { (char *)"Openbox_cursors", _wrap_Openbox_cursors, METH_VARARGS },
8054 { (char *)"Openbox_addClient", _wrap_Openbox_addClient, METH_VARARGS },
8055 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient, METH_VARARGS },
8056 { (char *)"Openbox_findClient", _wrap_Openbox_findClient, METH_VARARGS },
8057 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient, METH_VARARGS },
8058 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient, METH_VARARGS },
8059 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen, METH_VARARGS },
8060 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown, METH_VARARGS },
8061 { (char *)"Openbox_restart", _wrap_Openbox_restart, METH_VARARGS },
8062 { (char *)"Openbox_execute", _wrap_Openbox_execute, METH_VARARGS },
8063 { (char *)"Openbox_swigregister", Openbox_swigregister, METH_VARARGS },
8064 { (char *)"Screen_client", _wrap_Screen_client, METH_VARARGS },
8065 { (char *)"Screen_clientCount", _wrap_Screen_clientCount, METH_VARARGS },
8066 { (char *)"Screen_number", _wrap_Screen_number, METH_VARARGS },
8067 { (char *)"Screen_managed", _wrap_Screen_managed, METH_VARARGS },
8068 { (char *)"Screen_imageControl", _wrap_Screen_imageControl, METH_VARARGS },
8069 { (char *)"Screen_area", _wrap_Screen_area, METH_VARARGS },
8070 { (char *)"Screen_style", _wrap_Screen_style, METH_VARARGS },
8071 { (char *)"Screen_focuswindow", _wrap_Screen_focuswindow, METH_VARARGS },
8072 { (char *)"Screen_desktop", _wrap_Screen_desktop, METH_VARARGS },
8073 { (char *)"Screen_numDesktops", _wrap_Screen_numDesktops, METH_VARARGS },
8074 { (char *)"Screen_updateStrut", _wrap_Screen_updateStrut, METH_VARARGS },
8075 { (char *)"Screen_manageExisting", _wrap_Screen_manageExisting, METH_VARARGS },
8076 { (char *)"Screen_manageWindow", _wrap_Screen_manageWindow, METH_VARARGS },
8077 { (char *)"Screen_unmanageWindow", _wrap_Screen_unmanageWindow, METH_VARARGS },
8078 { (char *)"Screen_restack", _wrap_Screen_restack, METH_VARARGS },
8079 { (char *)"Screen_setDesktopName", _wrap_Screen_setDesktopName, METH_VARARGS },
8080 { (char *)"Screen_propertyHandler", _wrap_Screen_propertyHandler, METH_VARARGS },
8081 { (char *)"Screen_clientMessageHandler", _wrap_Screen_clientMessageHandler, METH_VARARGS },
8082 { (char *)"Screen_mapRequestHandler", _wrap_Screen_mapRequestHandler, METH_VARARGS },
8083 { (char *)"Screen_swigregister", Screen_swigregister, METH_VARARGS },
8084 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set, METH_VARARGS },
8085 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get, METH_VARARGS },
8086 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set, METH_VARARGS },
8087 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get, METH_VARARGS },
8088 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set, METH_VARARGS },
8089 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get, METH_VARARGS },
8090 { (char *)"MwmHints_swigregister", MwmHints_swigregister, METH_VARARGS },
8091 { (char *)"Client_frame_set", _wrap_Client_frame_set, METH_VARARGS },
8092 { (char *)"Client_frame_get", _wrap_Client_frame_get, METH_VARARGS },
8093 { (char *)"Client_ignore_unmaps_set", _wrap_Client_ignore_unmaps_set, METH_VARARGS },
8094 { (char *)"Client_ignore_unmaps_get", _wrap_Client_ignore_unmaps_get, METH_VARARGS },
8095 { (char *)"Client_screen", _wrap_Client_screen, METH_VARARGS },
8096 { (char *)"Client_window", _wrap_Client_window, METH_VARARGS },
8097 { (char *)"Client_type", _wrap_Client_type, METH_VARARGS },
8098 { (char *)"Client_normal", _wrap_Client_normal, METH_VARARGS },
8099 { (char *)"Client_desktop", _wrap_Client_desktop, METH_VARARGS },
8100 { (char *)"Client_title", _wrap_Client_title, METH_VARARGS },
8101 { (char *)"Client_iconTitle", _wrap_Client_iconTitle, METH_VARARGS },
8102 { (char *)"Client_appName", _wrap_Client_appName, METH_VARARGS },
8103 { (char *)"Client_appClass", _wrap_Client_appClass, METH_VARARGS },
8104 { (char *)"Client_role", _wrap_Client_role, METH_VARARGS },
8105 { (char *)"Client_canFocus", _wrap_Client_canFocus, METH_VARARGS },
8106 { (char *)"Client_urgent", _wrap_Client_urgent, METH_VARARGS },
8107 { (char *)"Client_focusNotify", _wrap_Client_focusNotify, METH_VARARGS },
8108 { (char *)"Client_shaped", _wrap_Client_shaped, METH_VARARGS },
8109 { (char *)"Client_gravity", _wrap_Client_gravity, METH_VARARGS },
8110 { (char *)"Client_positionRequested", _wrap_Client_positionRequested, METH_VARARGS },
8111 { (char *)"Client_decorations", _wrap_Client_decorations, METH_VARARGS },
8112 { (char *)"Client_funtions", _wrap_Client_funtions, METH_VARARGS },
8113 { (char *)"Client_transientFor", _wrap_Client_transientFor, METH_VARARGS },
8114 { (char *)"Client_modal", _wrap_Client_modal, METH_VARARGS },
8115 { (char *)"Client_shaded", _wrap_Client_shaded, METH_VARARGS },
8116 { (char *)"Client_iconic", _wrap_Client_iconic, METH_VARARGS },
8117 { (char *)"Client_maxVert", _wrap_Client_maxVert, METH_VARARGS },
8118 { (char *)"Client_maxHorz", _wrap_Client_maxHorz, METH_VARARGS },
8119 { (char *)"Client_layer", _wrap_Client_layer, METH_VARARGS },
8120 { (char *)"Client_toggleClientBorder", _wrap_Client_toggleClientBorder, METH_VARARGS },
8121 { (char *)"Client_area", _wrap_Client_area, METH_VARARGS },
8122 { (char *)"Client_strut", _wrap_Client_strut, METH_VARARGS },
8123 { (char *)"Client_move", _wrap_Client_move, METH_VARARGS },
8124 { (char *)"Client_resize", _wrap_Client_resize, METH_VARARGS },
8125 { (char *)"Client_focus", _wrap_Client_focus, METH_VARARGS },
8126 { (char *)"Client_unfocus", _wrap_Client_unfocus, METH_VARARGS },
8127 { (char *)"Client_focusHandler", _wrap_Client_focusHandler, METH_VARARGS },
8128 { (char *)"Client_unfocusHandler", _wrap_Client_unfocusHandler, METH_VARARGS },
8129 { (char *)"Client_propertyHandler", _wrap_Client_propertyHandler, METH_VARARGS },
8130 { (char *)"Client_clientMessageHandler", _wrap_Client_clientMessageHandler, METH_VARARGS },
8131 { (char *)"Client_configureRequestHandler", _wrap_Client_configureRequestHandler, METH_VARARGS },
8132 { (char *)"Client_unmapHandler", _wrap_Client_unmapHandler, METH_VARARGS },
8133 { (char *)"Client_destroyHandler", _wrap_Client_destroyHandler, METH_VARARGS },
8134 { (char *)"Client_reparentHandler", _wrap_Client_reparentHandler, METH_VARARGS },
8135 { (char *)"Client_swigregister", Client_swigregister, METH_VARARGS },
8136 { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set, METH_VARARGS },
8137 { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get, METH_VARARGS },
8138 { (char *)"MouseData_client_set", _wrap_MouseData_client_set, METH_VARARGS },
8139 { (char *)"MouseData_client_get", _wrap_MouseData_client_get, METH_VARARGS },
8140 { (char *)"MouseData_time_set", _wrap_MouseData_time_set, METH_VARARGS },
8141 { (char *)"MouseData_time_get", _wrap_MouseData_time_get, METH_VARARGS },
8142 { (char *)"MouseData_state_set", _wrap_MouseData_state_set, METH_VARARGS },
8143 { (char *)"MouseData_state_get", _wrap_MouseData_state_get, METH_VARARGS },
8144 { (char *)"MouseData_button_set", _wrap_MouseData_button_set, METH_VARARGS },
8145 { (char *)"MouseData_button_get", _wrap_MouseData_button_get, METH_VARARGS },
8146 { (char *)"MouseData_context_set", _wrap_MouseData_context_set, METH_VARARGS },
8147 { (char *)"MouseData_context_get", _wrap_MouseData_context_get, METH_VARARGS },
8148 { (char *)"MouseData_action_set", _wrap_MouseData_action_set, METH_VARARGS },
8149 { (char *)"MouseData_action_get", _wrap_MouseData_action_get, METH_VARARGS },
8150 { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set, METH_VARARGS },
8151 { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get, METH_VARARGS },
8152 { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set, METH_VARARGS },
8153 { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get, METH_VARARGS },
8154 { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set, METH_VARARGS },
8155 { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get, METH_VARARGS },
8156 { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set, METH_VARARGS },
8157 { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get, METH_VARARGS },
8158 { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set, METH_VARARGS },
8159 { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get, METH_VARARGS },
8160 { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set, METH_VARARGS },
8161 { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get, METH_VARARGS },
8162 { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set, METH_VARARGS },
8163 { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get, METH_VARARGS },
8164 { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set, METH_VARARGS },
8165 { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get, METH_VARARGS },
8166 { (char *)"new_MouseData", _wrap_new_MouseData, METH_VARARGS },
8167 { (char *)"MouseData_swigregister", MouseData_swigregister, METH_VARARGS },
8168 { (char *)"EventData_screen_set", _wrap_EventData_screen_set, METH_VARARGS },
8169 { (char *)"EventData_screen_get", _wrap_EventData_screen_get, METH_VARARGS },
8170 { (char *)"EventData_client_set", _wrap_EventData_client_set, METH_VARARGS },
8171 { (char *)"EventData_client_get", _wrap_EventData_client_get, METH_VARARGS },
8172 { (char *)"EventData_state_set", _wrap_EventData_state_set, METH_VARARGS },
8173 { (char *)"EventData_state_get", _wrap_EventData_state_get, METH_VARARGS },
8174 { (char *)"EventData_action_set", _wrap_EventData_action_set, METH_VARARGS },
8175 { (char *)"EventData_action_get", _wrap_EventData_action_get, METH_VARARGS },
8176 { (char *)"new_EventData", _wrap_new_EventData, METH_VARARGS },
8177 { (char *)"EventData_swigregister", EventData_swigregister, METH_VARARGS },
8178 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set, METH_VARARGS },
8179 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get, METH_VARARGS },
8180 { (char *)"KeyData_client_set", _wrap_KeyData_client_set, METH_VARARGS },
8181 { (char *)"KeyData_client_get", _wrap_KeyData_client_get, METH_VARARGS },
8182 { (char *)"KeyData_time_set", _wrap_KeyData_time_set, METH_VARARGS },
8183 { (char *)"KeyData_time_get", _wrap_KeyData_time_get, METH_VARARGS },
8184 { (char *)"KeyData_state_set", _wrap_KeyData_state_set, METH_VARARGS },
8185 { (char *)"KeyData_state_get", _wrap_KeyData_state_get, METH_VARARGS },
8186 { (char *)"KeyData_key_set", _wrap_KeyData_key_set, METH_VARARGS },
8187 { (char *)"KeyData_key_get", _wrap_KeyData_key_get, METH_VARARGS },
8188 { (char *)"new_KeyData", _wrap_new_KeyData, METH_VARARGS },
8189 { (char *)"KeyData_swigregister", KeyData_swigregister, METH_VARARGS },
8190 { (char *)"mbind", _wrap_mbind, METH_VARARGS },
8191 { (char *)"kbind", _wrap_kbind, METH_VARARGS },
8192 { (char *)"ebind", _wrap_ebind, METH_VARARGS },
8193 { (char *)"set_reset_key", _wrap_set_reset_key, METH_VARARGS },
8194 { (char *)"send_client_msg", _wrap_send_client_msg, METH_VARARGS },
8195 { NULL, NULL }
8196 };
8197
8198
8199 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
8200
8201 static void *_p_ob__ActionsTo_p_otk__EventHandler(void *x) {
8202 return (void *)((otk::EventHandler *) ((ob::Actions *) x));
8203 }
8204 static void *_p_ob__OpenboxTo_p_otk__EventHandler(void *x) {
8205 return (void *)((otk::EventHandler *) ((ob::Openbox *) x));
8206 }
8207 static void *_p_ob__ScreenTo_p_otk__EventHandler(void *x) {
8208 return (void *)((otk::EventHandler *) ((ob::Screen *) x));
8209 }
8210 static void *_p_ob__ClientTo_p_otk__EventHandler(void *x) {
8211 return (void *)((otk::EventHandler *) ((ob::Client *) x));
8212 }
8213 static void *_p_ob__OpenboxTo_p_otk__EventDispatcher(void *x) {
8214 return (void *)((otk::EventDispatcher *) ((ob::Openbox *) x));
8215 }
8216 static void *_p_ob__ScreenTo_p_ob__WidgetBase(void *x) {
8217 return (void *)((ob::WidgetBase *) ((ob::Screen *) x));
8218 }
8219 static void *_p_ob__ClientTo_p_ob__WidgetBase(void *x) {
8220 return (void *)((ob::WidgetBase *) ((ob::Client *) x));
8221 }
8222 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
8223 static swig_type_info _swigt__p_ob__Client[] = {{"_p_ob__Client", 0, "ob::Client *", 0},{"_p_ob__Client"},{0}};
8224 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
8225 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
8226 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
8227 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
8228 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
8229 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
8230 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
8231 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
8232 static swig_type_info _swigt__p_ob__MouseData[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
8233 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
8234 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
8235 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
8236 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
8237 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
8238 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
8239 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
8240 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
8241 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
8242 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
8243 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
8244 static swig_type_info _swigt__p_ob__Cursors[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
8245 static swig_type_info _swigt__p_otk__ImageControl[] = {{"_p_otk__ImageControl", 0, "otk::ImageControl *", 0},{"_p_otk__ImageControl"},{0}};
8246 static swig_type_info _swigt__p_ob__MwmHints[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
8247 static swig_type_info _swigt__p_ob__Screen[] = {{"_p_ob__Screen", 0, "ob::Screen *", 0},{"_p_ob__Screen"},{0}};
8248 static swig_type_info _swigt__p_ob__Frame[] = {{"_p_ob__Frame", 0, "ob::Frame *", 0},{"_p_ob__Frame"},{0}};
8249 static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
8250 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
8251 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
8252 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
8253 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
8254 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
8255 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
8256 static swig_type_info _swigt__p_otk__Display[] = {{"_p_otk__Display", 0, "otk::Display *", 0},{"_p_otk__Display"},{0}};
8257 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
8258 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
8259 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__Openbox", _p_ob__OpenboxTo_p_otk__EventHandler},{"_p_ob__Screen", _p_ob__ScreenTo_p_otk__EventHandler},{0}};
8260 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
8261 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}};
8262 static swig_type_info _swigt__p_otk__GCCache[] = {{"_p_otk__GCCache", 0, "otk::GCCache *", 0},{"_p_otk__GCCache"},{0}};
8263 static swig_type_info _swigt__p_ob__Bindings[] = {{"_p_ob__Bindings", 0, "ob::Bindings *", 0},{"_p_ob__Bindings"},{0}};
8264 static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
8265 static swig_type_info _swigt__p_ob__Actions[] = {{"_p_ob__Actions", 0, "ob::Actions *", 0},{"_p_ob__Actions"},{0}};
8266 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
8267 static swig_type_info _swigt__p_otk__Property[] = {{"_p_otk__Property", 0, "otk::Property *", 0},{"_p_otk__Property"},{0}};
8268 static swig_type_info _swigt__p_PyObject[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
8269 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
8270 static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
8271 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
8272 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
8273 static swig_type_info _swigt__p_otk__Property__StringVect[] = {{"_p_otk__Property__StringVect", 0, "otk::Property::StringVect *", 0},{"_p_otk__Property__StringVect"},{0}};
8274 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__Screen", _p_ob__ScreenTo_p_ob__WidgetBase},{0}};
8275 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
8276 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
8277 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
8278 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
8279 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
8280 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
8281 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
8282 static swig_type_info _swigt__p_otk__TimerQueueManager[] = {{"_p_otk__TimerQueueManager", 0, "otk::TimerQueueManager *", 0},{"_p_otk__TimerQueueManager"},{0}};
8283
8284 static swig_type_info *swig_types_initial[] = {
8285 _swigt__p_otk__Point,
8286 _swigt__p_ob__Client,
8287 _swigt__p_XMapEvent,
8288 _swigt__p_XUnmapEvent,
8289 _swigt__p_XColormapEvent,
8290 _swigt__p_XNoExposeEvent,
8291 _swigt__p_XGraphicsExposeEvent,
8292 _swigt__p_XExposeEvent,
8293 _swigt__p_XFocusChangeEvent,
8294 _swigt__p_XClientMessageEvent,
8295 _swigt__p_ob__MouseData,
8296 _swigt__p_XSelectionClearEvent,
8297 _swigt__p_otk__Rect,
8298 _swigt__p_Visual,
8299 _swigt__p_XResizeRequestEvent,
8300 _swigt__p_XMapRequestEvent,
8301 _swigt__p_XConfigureRequestEvent,
8302 _swigt__p_XCirculateRequestEvent,
8303 _swigt__p_XGravityEvent,
8304 _swigt__p_XVisibilityEvent,
8305 _swigt__p_XPropertyEvent,
8306 _swigt__p_XSelectionRequestEvent,
8307 _swigt__p_ob__Cursors,
8308 _swigt__p_otk__ImageControl,
8309 _swigt__p_ob__MwmHints,
8310 _swigt__p_ob__Screen,
8311 _swigt__p_ob__Frame,
8312 _swigt__p_ob__KeyData,
8313 _swigt__p_XConfigureEvent,
8314 _swigt__p_XCirculateEvent,
8315 _swigt__p_XRectangle,
8316 _swigt__p_std__string,
8317 _swigt__p_XCrossingEvent,
8318 _swigt__p_Display,
8319 _swigt__p_otk__Display,
8320 _swigt__p_XMappingEvent,
8321 _swigt__p_otk__Style,
8322 _swigt__p_otk__EventHandler,
8323 _swigt__p_XReparentEvent,
8324 _swigt__p_otk__EventDispatcher,
8325 _swigt__p_otk__GCCache,
8326 _swigt__p_ob__Bindings,
8327 _swigt__p_ob__Openbox,
8328 _swigt__p_ob__Actions,
8329 _swigt__p_XEvent,
8330 _swigt__p_otk__Property,
8331 _swigt__p_PyObject,
8332 _swigt__p_otk__ScreenInfo,
8333 _swigt__p_ob__EventData,
8334 _swigt__p_XCreateWindowEvent,
8335 _swigt__p_XDestroyWindowEvent,
8336 _swigt__p_otk__Property__StringVect,
8337 _swigt__p_ob__WidgetBase,
8338 _swigt__p_XKeyEvent,
8339 _swigt__p_otk__Strut,
8340 _swigt__p_unsigned_long,
8341 _swigt__p_p_unsigned_long,
8342 _swigt__p_XMotionEvent,
8343 _swigt__p_XButtonEvent,
8344 _swigt__p_XSelectionEvent,
8345 _swigt__p_otk__TimerQueueManager,
8346 0
8347 };
8348
8349
8350 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
8351
8352 static swig_const_info swig_const_table[] = {
8353 { SWIG_PY_INT, (char *)"Property_Atom_Cardinal", (long) otk::Property::Atom_Cardinal, 0, 0, 0},
8354 { SWIG_PY_INT, (char *)"Property_Atom_Window", (long) otk::Property::Atom_Window, 0, 0, 0},
8355 { SWIG_PY_INT, (char *)"Property_Atom_Pixmap", (long) otk::Property::Atom_Pixmap, 0, 0, 0},
8356 { SWIG_PY_INT, (char *)"Property_Atom_Atom", (long) otk::Property::Atom_Atom, 0, 0, 0},
8357 { SWIG_PY_INT, (char *)"Property_Atom_String", (long) otk::Property::Atom_String, 0, 0, 0},
8358 { SWIG_PY_INT, (char *)"Property_Atom_Utf8", (long) otk::Property::Atom_Utf8, 0, 0, 0},
8359 { SWIG_PY_INT, (char *)"Property_openbox_pid", (long) otk::Property::openbox_pid, 0, 0, 0},
8360 { SWIG_PY_INT, (char *)"Property_wm_colormap_windows", (long) otk::Property::wm_colormap_windows, 0, 0, 0},
8361 { SWIG_PY_INT, (char *)"Property_wm_protocols", (long) otk::Property::wm_protocols, 0, 0, 0},
8362 { SWIG_PY_INT, (char *)"Property_wm_state", (long) otk::Property::wm_state, 0, 0, 0},
8363 { SWIG_PY_INT, (char *)"Property_wm_delete_window", (long) otk::Property::wm_delete_window, 0, 0, 0},
8364 { SWIG_PY_INT, (char *)"Property_wm_take_focus", (long) otk::Property::wm_take_focus, 0, 0, 0},
8365 { SWIG_PY_INT, (char *)"Property_wm_change_state", (long) otk::Property::wm_change_state, 0, 0, 0},
8366 { SWIG_PY_INT, (char *)"Property_wm_name", (long) otk::Property::wm_name, 0, 0, 0},
8367 { SWIG_PY_INT, (char *)"Property_wm_icon_name", (long) otk::Property::wm_icon_name, 0, 0, 0},
8368 { SWIG_PY_INT, (char *)"Property_wm_class", (long) otk::Property::wm_class, 0, 0, 0},
8369 { SWIG_PY_INT, (char *)"Property_wm_window_role", (long) otk::Property::wm_window_role, 0, 0, 0},
8370 { SWIG_PY_INT, (char *)"Property_motif_wm_hints", (long) otk::Property::motif_wm_hints, 0, 0, 0},
8371 { SWIG_PY_INT, (char *)"Property_blackbox_attributes", (long) otk::Property::blackbox_attributes, 0, 0, 0},
8372 { SWIG_PY_INT, (char *)"Property_blackbox_change_attributes", (long) otk::Property::blackbox_change_attributes, 0, 0, 0},
8373 { SWIG_PY_INT, (char *)"Property_blackbox_hints", (long) otk::Property::blackbox_hints, 0, 0, 0},
8374 { SWIG_PY_INT, (char *)"Property_blackbox_structure_messages", (long) otk::Property::blackbox_structure_messages, 0, 0, 0},
8375 { SWIG_PY_INT, (char *)"Property_blackbox_notify_startup", (long) otk::Property::blackbox_notify_startup, 0, 0, 0},
8376 { SWIG_PY_INT, (char *)"Property_blackbox_notify_window_add", (long) otk::Property::blackbox_notify_window_add, 0, 0, 0},
8377 { SWIG_PY_INT, (char *)"Property_blackbox_notify_window_del", (long) otk::Property::blackbox_notify_window_del, 0, 0, 0},
8378 { SWIG_PY_INT, (char *)"Property_blackbox_notify_window_focus", (long) otk::Property::blackbox_notify_window_focus, 0, 0, 0},
8379 { SWIG_PY_INT, (char *)"Property_blackbox_notify_current_workspace", (long) otk::Property::blackbox_notify_current_workspace, 0, 0, 0},
8380 { SWIG_PY_INT, (char *)"Property_blackbox_notify_workspace_count", (long) otk::Property::blackbox_notify_workspace_count, 0, 0, 0},
8381 { SWIG_PY_INT, (char *)"Property_blackbox_notify_window_raise", (long) otk::Property::blackbox_notify_window_raise, 0, 0, 0},
8382 { SWIG_PY_INT, (char *)"Property_blackbox_notify_window_lower", (long) otk::Property::blackbox_notify_window_lower, 0, 0, 0},
8383 { SWIG_PY_INT, (char *)"Property_blackbox_change_workspace", (long) otk::Property::blackbox_change_workspace, 0, 0, 0},
8384 { SWIG_PY_INT, (char *)"Property_blackbox_change_window_focus", (long) otk::Property::blackbox_change_window_focus, 0, 0, 0},
8385 { SWIG_PY_INT, (char *)"Property_blackbox_cycle_window_focus", (long) otk::Property::blackbox_cycle_window_focus, 0, 0, 0},
8386 { SWIG_PY_INT, (char *)"Property_openbox_show_root_menu", (long) otk::Property::openbox_show_root_menu, 0, 0, 0},
8387 { SWIG_PY_INT, (char *)"Property_openbox_show_workspace_menu", (long) otk::Property::openbox_show_workspace_menu, 0, 0, 0},
8388 { SWIG_PY_INT, (char *)"Property_net_supported", (long) otk::Property::net_supported, 0, 0, 0},
8389 { SWIG_PY_INT, (char *)"Property_net_client_list", (long) otk::Property::net_client_list, 0, 0, 0},
8390 { SWIG_PY_INT, (char *)"Property_net_client_list_stacking", (long) otk::Property::net_client_list_stacking, 0, 0, 0},
8391 { SWIG_PY_INT, (char *)"Property_net_number_of_desktops", (long) otk::Property::net_number_of_desktops, 0, 0, 0},
8392 { SWIG_PY_INT, (char *)"Property_net_desktop_geometry", (long) otk::Property::net_desktop_geometry, 0, 0, 0},
8393 { SWIG_PY_INT, (char *)"Property_net_desktop_viewport", (long) otk::Property::net_desktop_viewport, 0, 0, 0},
8394 { SWIG_PY_INT, (char *)"Property_net_current_desktop", (long) otk::Property::net_current_desktop, 0, 0, 0},
8395 { SWIG_PY_INT, (char *)"Property_net_desktop_names", (long) otk::Property::net_desktop_names, 0, 0, 0},
8396 { SWIG_PY_INT, (char *)"Property_net_active_window", (long) otk::Property::net_active_window, 0, 0, 0},
8397 { SWIG_PY_INT, (char *)"Property_net_workarea", (long) otk::Property::net_workarea, 0, 0, 0},
8398 { SWIG_PY_INT, (char *)"Property_net_supporting_wm_check", (long) otk::Property::net_supporting_wm_check, 0, 0, 0},
8399 { SWIG_PY_INT, (char *)"Property_net_close_window", (long) otk::Property::net_close_window, 0, 0, 0},
8400 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize", (long) otk::Property::net_wm_moveresize, 0, 0, 0},
8401 { SWIG_PY_INT, (char *)"Property_net_wm_name", (long) otk::Property::net_wm_name, 0, 0, 0},
8402 { SWIG_PY_INT, (char *)"Property_net_wm_visible_name", (long) otk::Property::net_wm_visible_name, 0, 0, 0},
8403 { SWIG_PY_INT, (char *)"Property_net_wm_icon_name", (long) otk::Property::net_wm_icon_name, 0, 0, 0},
8404 { SWIG_PY_INT, (char *)"Property_net_wm_visible_icon_name", (long) otk::Property::net_wm_visible_icon_name, 0, 0, 0},
8405 { SWIG_PY_INT, (char *)"Property_net_wm_desktop", (long) otk::Property::net_wm_desktop, 0, 0, 0},
8406 { SWIG_PY_INT, (char *)"Property_net_wm_window_type", (long) otk::Property::net_wm_window_type, 0, 0, 0},
8407 { SWIG_PY_INT, (char *)"Property_net_wm_state", (long) otk::Property::net_wm_state, 0, 0, 0},
8408 { SWIG_PY_INT, (char *)"Property_net_wm_strut", (long) otk::Property::net_wm_strut, 0, 0, 0},
8409 { SWIG_PY_INT, (char *)"Property_net_wm_allowed_actions", (long) otk::Property::net_wm_allowed_actions, 0, 0, 0},
8410 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_desktop", (long) otk::Property::net_wm_window_type_desktop, 0, 0, 0},
8411 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_dock", (long) otk::Property::net_wm_window_type_dock, 0, 0, 0},
8412 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_toolbar", (long) otk::Property::net_wm_window_type_toolbar, 0, 0, 0},
8413 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_menu", (long) otk::Property::net_wm_window_type_menu, 0, 0, 0},
8414 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_utility", (long) otk::Property::net_wm_window_type_utility, 0, 0, 0},
8415 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_splash", (long) otk::Property::net_wm_window_type_splash, 0, 0, 0},
8416 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_dialog", (long) otk::Property::net_wm_window_type_dialog, 0, 0, 0},
8417 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_normal", (long) otk::Property::net_wm_window_type_normal, 0, 0, 0},
8418 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize_size_topleft", (long) otk::Property::net_wm_moveresize_size_topleft, 0, 0, 0},
8419 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize_size_topright", (long) otk::Property::net_wm_moveresize_size_topright, 0, 0, 0},
8420 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize_size_bottomleft", (long) otk::Property::net_wm_moveresize_size_bottomleft, 0, 0, 0},
8421 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize_size_bottomright", (long) otk::Property::net_wm_moveresize_size_bottomright, 0, 0, 0},
8422 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize_move", (long) otk::Property::net_wm_moveresize_move, 0, 0, 0},
8423 { SWIG_PY_INT, (char *)"Property_net_wm_action_move", (long) otk::Property::net_wm_action_move, 0, 0, 0},
8424 { SWIG_PY_INT, (char *)"Property_net_wm_action_resize", (long) otk::Property::net_wm_action_resize, 0, 0, 0},
8425 { SWIG_PY_INT, (char *)"Property_net_wm_action_shade", (long) otk::Property::net_wm_action_shade, 0, 0, 0},
8426 { SWIG_PY_INT, (char *)"Property_net_wm_action_maximize_horz", (long) otk::Property::net_wm_action_maximize_horz, 0, 0, 0},
8427 { SWIG_PY_INT, (char *)"Property_net_wm_action_maximize_vert", (long) otk::Property::net_wm_action_maximize_vert, 0, 0, 0},
8428 { SWIG_PY_INT, (char *)"Property_net_wm_action_change_desktop", (long) otk::Property::net_wm_action_change_desktop, 0, 0, 0},
8429 { SWIG_PY_INT, (char *)"Property_net_wm_action_close", (long) otk::Property::net_wm_action_close, 0, 0, 0},
8430 { SWIG_PY_INT, (char *)"Property_net_wm_state_modal", (long) otk::Property::net_wm_state_modal, 0, 0, 0},
8431 { SWIG_PY_INT, (char *)"Property_net_wm_state_sticky", (long) otk::Property::net_wm_state_sticky, 0, 0, 0},
8432 { SWIG_PY_INT, (char *)"Property_net_wm_state_maximized_vert", (long) otk::Property::net_wm_state_maximized_vert, 0, 0, 0},
8433 { SWIG_PY_INT, (char *)"Property_net_wm_state_maximized_horz", (long) otk::Property::net_wm_state_maximized_horz, 0, 0, 0},
8434 { SWIG_PY_INT, (char *)"Property_net_wm_state_shaded", (long) otk::Property::net_wm_state_shaded, 0, 0, 0},
8435 { SWIG_PY_INT, (char *)"Property_net_wm_state_skip_taskbar", (long) otk::Property::net_wm_state_skip_taskbar, 0, 0, 0},
8436 { SWIG_PY_INT, (char *)"Property_net_wm_state_skip_pager", (long) otk::Property::net_wm_state_skip_pager, 0, 0, 0},
8437 { SWIG_PY_INT, (char *)"Property_net_wm_state_hidden", (long) otk::Property::net_wm_state_hidden, 0, 0, 0},
8438 { SWIG_PY_INT, (char *)"Property_net_wm_state_fullscreen", (long) otk::Property::net_wm_state_fullscreen, 0, 0, 0},
8439 { SWIG_PY_INT, (char *)"Property_net_wm_state_above", (long) otk::Property::net_wm_state_above, 0, 0, 0},
8440 { SWIG_PY_INT, (char *)"Property_net_wm_state_below", (long) otk::Property::net_wm_state_below, 0, 0, 0},
8441 { SWIG_PY_INT, (char *)"Property_kde_net_system_tray_windows", (long) otk::Property::kde_net_system_tray_windows, 0, 0, 0},
8442 { SWIG_PY_INT, (char *)"Property_kde_net_wm_system_tray_window_for", (long) otk::Property::kde_net_wm_system_tray_window_for, 0, 0, 0},
8443 { SWIG_PY_INT, (char *)"Property_kde_net_wm_window_type_override", (long) otk::Property::kde_net_wm_window_type_override, 0, 0, 0},
8444 { SWIG_PY_INT, (char *)"Property_NUM_ATOMS", (long) otk::Property::NUM_ATOMS, 0, 0, 0},
8445 { SWIG_PY_INT, (char *)"Property_ascii", (long) otk::Property::ascii, 0, 0, 0},
8446 { SWIG_PY_INT, (char *)"Property_utf8", (long) otk::Property::utf8, 0, 0, 0},
8447 { SWIG_PY_INT, (char *)"Property_NUM_STRING_TYPE", (long) otk::Property::NUM_STRING_TYPE, 0, 0, 0},
8448 { SWIG_PY_INT, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting, 0, 0, 0},
8449 { SWIG_PY_INT, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal, 0, 0, 0},
8450 { SWIG_PY_INT, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting, 0, 0, 0},
8451 { SWIG_PY_INT, (char *)"Screen_event_mask", (long) ob::Screen::event_mask, 0, 0, 0},
8452 { SWIG_PY_INT, (char *)"MwmHints_elements", (long) ob::MwmHints::elements, 0, 0, 0},
8453 { SWIG_PY_INT, (char *)"Client_Layer_Icon", (long) ob::Client::Layer_Icon, 0, 0, 0},
8454 { SWIG_PY_INT, (char *)"Client_Layer_Desktop", (long) ob::Client::Layer_Desktop, 0, 0, 0},
8455 { SWIG_PY_INT, (char *)"Client_Layer_Below", (long) ob::Client::Layer_Below, 0, 0, 0},
8456 { SWIG_PY_INT, (char *)"Client_Layer_Normal", (long) ob::Client::Layer_Normal, 0, 0, 0},
8457 { SWIG_PY_INT, (char *)"Client_Layer_Above", (long) ob::Client::Layer_Above, 0, 0, 0},
8458 { SWIG_PY_INT, (char *)"Client_Layer_Top", (long) ob::Client::Layer_Top, 0, 0, 0},
8459 { SWIG_PY_INT, (char *)"Client_Layer_Fullscreen", (long) ob::Client::Layer_Fullscreen, 0, 0, 0},
8460 { SWIG_PY_INT, (char *)"Client_Layer_Internal", (long) ob::Client::Layer_Internal, 0, 0, 0},
8461 { SWIG_PY_INT, (char *)"Client_NUM_LAYERS", (long) ob::Client::NUM_LAYERS, 0, 0, 0},
8462 { SWIG_PY_INT, (char *)"Client_TopLeft", (long) ob::Client::TopLeft, 0, 0, 0},
8463 { SWIG_PY_INT, (char *)"Client_TopRight", (long) ob::Client::TopRight, 0, 0, 0},
8464 { SWIG_PY_INT, (char *)"Client_BottomLeft", (long) ob::Client::BottomLeft, 0, 0, 0},
8465 { SWIG_PY_INT, (char *)"Client_BottomRight", (long) ob::Client::BottomRight, 0, 0, 0},
8466 { SWIG_PY_INT, (char *)"Client_Type_Desktop", (long) ob::Client::Type_Desktop, 0, 0, 0},
8467 { SWIG_PY_INT, (char *)"Client_Type_Dock", (long) ob::Client::Type_Dock, 0, 0, 0},
8468 { SWIG_PY_INT, (char *)"Client_Type_Toolbar", (long) ob::Client::Type_Toolbar, 0, 0, 0},
8469 { SWIG_PY_INT, (char *)"Client_Type_Menu", (long) ob::Client::Type_Menu, 0, 0, 0},
8470 { SWIG_PY_INT, (char *)"Client_Type_Utility", (long) ob::Client::Type_Utility, 0, 0, 0},
8471 { SWIG_PY_INT, (char *)"Client_Type_Splash", (long) ob::Client::Type_Splash, 0, 0, 0},
8472 { SWIG_PY_INT, (char *)"Client_Type_Dialog", (long) ob::Client::Type_Dialog, 0, 0, 0},
8473 { SWIG_PY_INT, (char *)"Client_Type_Normal", (long) ob::Client::Type_Normal, 0, 0, 0},
8474 { SWIG_PY_INT, (char *)"Client_MwmFlag_Functions", (long) ob::Client::MwmFlag_Functions, 0, 0, 0},
8475 { SWIG_PY_INT, (char *)"Client_MwmFlag_Decorations", (long) ob::Client::MwmFlag_Decorations, 0, 0, 0},
8476 { SWIG_PY_INT, (char *)"Client_MwmFunc_All", (long) ob::Client::MwmFunc_All, 0, 0, 0},
8477 { SWIG_PY_INT, (char *)"Client_MwmFunc_Resize", (long) ob::Client::MwmFunc_Resize, 0, 0, 0},
8478 { SWIG_PY_INT, (char *)"Client_MwmFunc_Move", (long) ob::Client::MwmFunc_Move, 0, 0, 0},
8479 { SWIG_PY_INT, (char *)"Client_MwmFunc_Iconify", (long) ob::Client::MwmFunc_Iconify, 0, 0, 0},
8480 { SWIG_PY_INT, (char *)"Client_MwmFunc_Maximize", (long) ob::Client::MwmFunc_Maximize, 0, 0, 0},
8481 { SWIG_PY_INT, (char *)"Client_MwmDecor_All", (long) ob::Client::MwmDecor_All, 0, 0, 0},
8482 { SWIG_PY_INT, (char *)"Client_MwmDecor_Border", (long) ob::Client::MwmDecor_Border, 0, 0, 0},
8483 { SWIG_PY_INT, (char *)"Client_MwmDecor_Handle", (long) ob::Client::MwmDecor_Handle, 0, 0, 0},
8484 { SWIG_PY_INT, (char *)"Client_MwmDecor_Title", (long) ob::Client::MwmDecor_Title, 0, 0, 0},
8485 { SWIG_PY_INT, (char *)"Client_MwmDecor_Iconify", (long) ob::Client::MwmDecor_Iconify, 0, 0, 0},
8486 { SWIG_PY_INT, (char *)"Client_MwmDecor_Maximize", (long) ob::Client::MwmDecor_Maximize, 0, 0, 0},
8487 { SWIG_PY_INT, (char *)"Client_Func_Resize", (long) ob::Client::Func_Resize, 0, 0, 0},
8488 { SWIG_PY_INT, (char *)"Client_Func_Move", (long) ob::Client::Func_Move, 0, 0, 0},
8489 { SWIG_PY_INT, (char *)"Client_Func_Iconify", (long) ob::Client::Func_Iconify, 0, 0, 0},
8490 { SWIG_PY_INT, (char *)"Client_Func_Maximize", (long) ob::Client::Func_Maximize, 0, 0, 0},
8491 { SWIG_PY_INT, (char *)"Client_Func_Close", (long) ob::Client::Func_Close, 0, 0, 0},
8492 { SWIG_PY_INT, (char *)"Client_Decor_Titlebar", (long) ob::Client::Decor_Titlebar, 0, 0, 0},
8493 { SWIG_PY_INT, (char *)"Client_Decor_Handle", (long) ob::Client::Decor_Handle, 0, 0, 0},
8494 { SWIG_PY_INT, (char *)"Client_Decor_Border", (long) ob::Client::Decor_Border, 0, 0, 0},
8495 { SWIG_PY_INT, (char *)"Client_Decor_Iconify", (long) ob::Client::Decor_Iconify, 0, 0, 0},
8496 { SWIG_PY_INT, (char *)"Client_Decor_Maximize", (long) ob::Client::Decor_Maximize, 0, 0, 0},
8497 { SWIG_PY_INT, (char *)"Client_Decor_Sticky", (long) ob::Client::Decor_Sticky, 0, 0, 0},
8498 { SWIG_PY_INT, (char *)"Client_Decor_Close", (long) ob::Client::Decor_Close, 0, 0, 0},
8499 { SWIG_PY_INT, (char *)"Client_State_Remove", (long) ob::Client::State_Remove, 0, 0, 0},
8500 { SWIG_PY_INT, (char *)"Client_State_Add", (long) ob::Client::State_Add, 0, 0, 0},
8501 { SWIG_PY_INT, (char *)"Client_State_Toggle", (long) ob::Client::State_Toggle, 0, 0, 0},
8502 { SWIG_PY_INT, (char *)"Client_event_mask", (long) ob::Client::event_mask, 0, 0, 0},
8503 { SWIG_PY_INT, (char *)"Client_no_propagate_mask", (long) ob::Client::no_propagate_mask, 0, 0, 0},
8504 { SWIG_PY_INT, (char *)"MC_Frame", (long) ob::MC_Frame, 0, 0, 0},
8505 { SWIG_PY_INT, (char *)"MC_Titlebar", (long) ob::MC_Titlebar, 0, 0, 0},
8506 { SWIG_PY_INT, (char *)"MC_Handle", (long) ob::MC_Handle, 0, 0, 0},
8507 { SWIG_PY_INT, (char *)"MC_Window", (long) ob::MC_Window, 0, 0, 0},
8508 { SWIG_PY_INT, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton, 0, 0, 0},
8509 { SWIG_PY_INT, (char *)"MC_CloseButton", (long) ob::MC_CloseButton, 0, 0, 0},
8510 { SWIG_PY_INT, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton, 0, 0, 0},
8511 { SWIG_PY_INT, (char *)"MC_StickyButton", (long) ob::MC_StickyButton, 0, 0, 0},
8512 { SWIG_PY_INT, (char *)"MC_Grip", (long) ob::MC_Grip, 0, 0, 0},
8513 { SWIG_PY_INT, (char *)"MC_Root", (long) ob::MC_Root, 0, 0, 0},
8514 { SWIG_PY_INT, (char *)"MC_MenuItem", (long) ob::MC_MenuItem, 0, 0, 0},
8515 { SWIG_PY_INT, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT, 0, 0, 0},
8516 { SWIG_PY_INT, (char *)"MousePress", (long) ob::MousePress, 0, 0, 0},
8517 { SWIG_PY_INT, (char *)"MouseClick", (long) ob::MouseClick, 0, 0, 0},
8518 { SWIG_PY_INT, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick, 0, 0, 0},
8519 { SWIG_PY_INT, (char *)"MouseMotion", (long) ob::MouseMotion, 0, 0, 0},
8520 { SWIG_PY_INT, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION, 0, 0, 0},
8521 { SWIG_PY_INT, (char *)"KC_Menu", (long) ob::KC_Menu, 0, 0, 0},
8522 { SWIG_PY_INT, (char *)"KC_All", (long) ob::KC_All, 0, 0, 0},
8523 { SWIG_PY_INT, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT, 0, 0, 0},
8524 { SWIG_PY_INT, (char *)"EventEnterWindow", (long) ob::EventEnterWindow, 0, 0, 0},
8525 { SWIG_PY_INT, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow, 0, 0, 0},
8526 { SWIG_PY_INT, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow, 0, 0, 0},
8527 { SWIG_PY_INT, (char *)"EventNewWindow", (long) ob::EventNewWindow, 0, 0, 0},
8528 { SWIG_PY_INT, (char *)"EventCloseWindow", (long) ob::EventCloseWindow, 0, 0, 0},
8529 { SWIG_PY_INT, (char *)"EventStartup", (long) ob::EventStartup, 0, 0, 0},
8530 { SWIG_PY_INT, (char *)"EventShutdown", (long) ob::EventShutdown, 0, 0, 0},
8531 { SWIG_PY_INT, (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0},
8532 { SWIG_PY_INT, (char *)"EventBell", (long) ob::EventBell, 0, 0, 0},
8533 { SWIG_PY_INT, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0},
8534 { SWIG_PY_INT, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
8535 { SWIG_PY_INT, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
8536 { SWIG_PY_INT, (char *)"None", (long) 0L, 0, 0, 0},
8537 { SWIG_PY_INT, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
8538 { SWIG_PY_INT, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
8539 { SWIG_PY_INT, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
8540 { SWIG_PY_INT, (char *)"InputFocus", (long) 1L, 0, 0, 0},
8541 { SWIG_PY_INT, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
8542 { SWIG_PY_INT, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
8543 { SWIG_PY_INT, (char *)"AnyKey", (long) 0L, 0, 0, 0},
8544 { SWIG_PY_INT, (char *)"AnyButton", (long) 0L, 0, 0, 0},
8545 { SWIG_PY_INT, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
8546 { SWIG_PY_INT, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
8547 { SWIG_PY_INT, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
8548 { SWIG_PY_INT, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
8549 { SWIG_PY_INT, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
8550 { SWIG_PY_INT, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
8551 { SWIG_PY_INT, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
8552 { SWIG_PY_INT, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
8553 { SWIG_PY_INT, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
8554 { SWIG_PY_INT, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
8555 { SWIG_PY_INT, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
8556 { SWIG_PY_INT, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
8557 { SWIG_PY_INT, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
8558 { SWIG_PY_INT, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
8559 { SWIG_PY_INT, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
8560 { SWIG_PY_INT, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
8561 { SWIG_PY_INT, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
8562 { SWIG_PY_INT, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
8563 { SWIG_PY_INT, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
8564 { SWIG_PY_INT, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
8565 { SWIG_PY_INT, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
8566 { SWIG_PY_INT, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
8567 { SWIG_PY_INT, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
8568 { SWIG_PY_INT, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
8569 { SWIG_PY_INT, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
8570 { SWIG_PY_INT, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
8571 { SWIG_PY_INT, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
8572 { SWIG_PY_INT, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
8573 { SWIG_PY_INT, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
8574 { SWIG_PY_INT, (char *)"KeyPress", (long) 2, 0, 0, 0},
8575 { SWIG_PY_INT, (char *)"KeyRelease", (long) 3, 0, 0, 0},
8576 { SWIG_PY_INT, (char *)"ButtonPress", (long) 4, 0, 0, 0},
8577 { SWIG_PY_INT, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
8578 { SWIG_PY_INT, (char *)"MotionNotify", (long) 6, 0, 0, 0},
8579 { SWIG_PY_INT, (char *)"EnterNotify", (long) 7, 0, 0, 0},
8580 { SWIG_PY_INT, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
8581 { SWIG_PY_INT, (char *)"FocusIn", (long) 9, 0, 0, 0},
8582 { SWIG_PY_INT, (char *)"FocusOut", (long) 10, 0, 0, 0},
8583 { SWIG_PY_INT, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
8584 { SWIG_PY_INT, (char *)"Expose", (long) 12, 0, 0, 0},
8585 { SWIG_PY_INT, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
8586 { SWIG_PY_INT, (char *)"NoExpose", (long) 14, 0, 0, 0},
8587 { SWIG_PY_INT, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
8588 { SWIG_PY_INT, (char *)"CreateNotify", (long) 16, 0, 0, 0},
8589 { SWIG_PY_INT, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
8590 { SWIG_PY_INT, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
8591 { SWIG_PY_INT, (char *)"MapNotify", (long) 19, 0, 0, 0},
8592 { SWIG_PY_INT, (char *)"MapRequest", (long) 20, 0, 0, 0},
8593 { SWIG_PY_INT, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
8594 { SWIG_PY_INT, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
8595 { SWIG_PY_INT, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
8596 { SWIG_PY_INT, (char *)"GravityNotify", (long) 24, 0, 0, 0},
8597 { SWIG_PY_INT, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
8598 { SWIG_PY_INT, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
8599 { SWIG_PY_INT, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
8600 { SWIG_PY_INT, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
8601 { SWIG_PY_INT, (char *)"SelectionClear", (long) 29, 0, 0, 0},
8602 { SWIG_PY_INT, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
8603 { SWIG_PY_INT, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
8604 { SWIG_PY_INT, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
8605 { SWIG_PY_INT, (char *)"ClientMessage", (long) 33, 0, 0, 0},
8606 { SWIG_PY_INT, (char *)"MappingNotify", (long) 34, 0, 0, 0},
8607 { SWIG_PY_INT, (char *)"LASTEvent", (long) 35, 0, 0, 0},
8608 { SWIG_PY_INT, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
8609 { SWIG_PY_INT, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
8610 { SWIG_PY_INT, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
8611 { SWIG_PY_INT, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
8612 { SWIG_PY_INT, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
8613 { SWIG_PY_INT, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
8614 { SWIG_PY_INT, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
8615 { SWIG_PY_INT, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
8616 { SWIG_PY_INT, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
8617 { SWIG_PY_INT, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
8618 { SWIG_PY_INT, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
8619 { SWIG_PY_INT, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
8620 { SWIG_PY_INT, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
8621 { SWIG_PY_INT, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
8622 { SWIG_PY_INT, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
8623 { SWIG_PY_INT, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
8624 { SWIG_PY_INT, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
8625 { SWIG_PY_INT, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
8626 { SWIG_PY_INT, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
8627 { SWIG_PY_INT, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
8628 { SWIG_PY_INT, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
8629 { SWIG_PY_INT, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
8630 { SWIG_PY_INT, (char *)"Button1", (long) 1, 0, 0, 0},
8631 { SWIG_PY_INT, (char *)"Button2", (long) 2, 0, 0, 0},
8632 { SWIG_PY_INT, (char *)"Button3", (long) 3, 0, 0, 0},
8633 { SWIG_PY_INT, (char *)"Button4", (long) 4, 0, 0, 0},
8634 { SWIG_PY_INT, (char *)"Button5", (long) 5, 0, 0, 0},
8635 { SWIG_PY_INT, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
8636 { SWIG_PY_INT, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
8637 { SWIG_PY_INT, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
8638 { SWIG_PY_INT, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
8639 { SWIG_PY_INT, (char *)"NotifyHint", (long) 1, 0, 0, 0},
8640 { SWIG_PY_INT, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
8641 { SWIG_PY_INT, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
8642 { SWIG_PY_INT, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
8643 { SWIG_PY_INT, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
8644 { SWIG_PY_INT, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
8645 { SWIG_PY_INT, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
8646 { SWIG_PY_INT, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
8647 { SWIG_PY_INT, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
8648 { SWIG_PY_INT, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
8649 { SWIG_PY_INT, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
8650 { SWIG_PY_INT, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
8651 { SWIG_PY_INT, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
8652 { SWIG_PY_INT, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
8653 { SWIG_PY_INT, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
8654 { SWIG_PY_INT, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
8655 { SWIG_PY_INT, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
8656 { SWIG_PY_INT, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
8657 { SWIG_PY_INT, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
8658 { SWIG_PY_INT, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
8659 { SWIG_PY_INT, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
8660 { SWIG_PY_INT, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
8661 { SWIG_PY_INT, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
8662 { SWIG_PY_INT, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
8663 { SWIG_PY_INT, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
8664 { SWIG_PY_INT, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
8665 { SWIG_PY_INT, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
8666 { SWIG_PY_INT, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
8667 { SWIG_PY_INT, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
8668 { SWIG_PY_INT, (char *)"SyncPointer", (long) 1, 0, 0, 0},
8669 { SWIG_PY_INT, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
8670 { SWIG_PY_INT, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
8671 { SWIG_PY_INT, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
8672 { SWIG_PY_INT, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
8673 { SWIG_PY_INT, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
8674 { SWIG_PY_INT, (char *)"SyncBoth", (long) 7, 0, 0, 0},
8675 { SWIG_PY_INT, (char *)"RevertToParent", (long) 2, 0, 0, 0},
8676 { SWIG_PY_INT, (char *)"Success", (long) 0, 0, 0, 0},
8677 { SWIG_PY_INT, (char *)"BadRequest", (long) 1, 0, 0, 0},
8678 { SWIG_PY_INT, (char *)"BadValue", (long) 2, 0, 0, 0},
8679 { SWIG_PY_INT, (char *)"BadWindow", (long) 3, 0, 0, 0},
8680 { SWIG_PY_INT, (char *)"BadPixmap", (long) 4, 0, 0, 0},
8681 { SWIG_PY_INT, (char *)"BadAtom", (long) 5, 0, 0, 0},
8682 { SWIG_PY_INT, (char *)"BadCursor", (long) 6, 0, 0, 0},
8683 { SWIG_PY_INT, (char *)"BadFont", (long) 7, 0, 0, 0},
8684 { SWIG_PY_INT, (char *)"BadMatch", (long) 8, 0, 0, 0},
8685 { SWIG_PY_INT, (char *)"BadDrawable", (long) 9, 0, 0, 0},
8686 { SWIG_PY_INT, (char *)"BadAccess", (long) 10, 0, 0, 0},
8687 { SWIG_PY_INT, (char *)"BadAlloc", (long) 11, 0, 0, 0},
8688 { SWIG_PY_INT, (char *)"BadColor", (long) 12, 0, 0, 0},
8689 { SWIG_PY_INT, (char *)"BadGC", (long) 13, 0, 0, 0},
8690 { SWIG_PY_INT, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
8691 { SWIG_PY_INT, (char *)"BadName", (long) 15, 0, 0, 0},
8692 { SWIG_PY_INT, (char *)"BadLength", (long) 16, 0, 0, 0},
8693 { SWIG_PY_INT, (char *)"BadImplementation", (long) 17, 0, 0, 0},
8694 { SWIG_PY_INT, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
8695 { SWIG_PY_INT, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
8696 { SWIG_PY_INT, (char *)"InputOutput", (long) 1, 0, 0, 0},
8697 { SWIG_PY_INT, (char *)"InputOnly", (long) 2, 0, 0, 0},
8698 { SWIG_PY_INT, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
8699 { SWIG_PY_INT, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
8700 { SWIG_PY_INT, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
8701 { SWIG_PY_INT, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
8702 { SWIG_PY_INT, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
8703 { SWIG_PY_INT, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
8704 { SWIG_PY_INT, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
8705 { SWIG_PY_INT, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
8706 { SWIG_PY_INT, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
8707 { SWIG_PY_INT, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
8708 { SWIG_PY_INT, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
8709 { SWIG_PY_INT, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
8710 { SWIG_PY_INT, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
8711 { SWIG_PY_INT, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
8712 { SWIG_PY_INT, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
8713 { SWIG_PY_INT, (char *)"CWX", (long) (1<<0), 0, 0, 0},
8714 { SWIG_PY_INT, (char *)"CWY", (long) (1<<1), 0, 0, 0},
8715 { SWIG_PY_INT, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
8716 { SWIG_PY_INT, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
8717 { SWIG_PY_INT, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
8718 { SWIG_PY_INT, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
8719 { SWIG_PY_INT, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
8720 { SWIG_PY_INT, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
8721 { SWIG_PY_INT, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
8722 { SWIG_PY_INT, (char *)"NorthGravity", (long) 2, 0, 0, 0},
8723 { SWIG_PY_INT, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
8724 { SWIG_PY_INT, (char *)"WestGravity", (long) 4, 0, 0, 0},
8725 { SWIG_PY_INT, (char *)"CenterGravity", (long) 5, 0, 0, 0},
8726 { SWIG_PY_INT, (char *)"EastGravity", (long) 6, 0, 0, 0},
8727 { SWIG_PY_INT, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
8728 { SWIG_PY_INT, (char *)"SouthGravity", (long) 8, 0, 0, 0},
8729 { SWIG_PY_INT, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
8730 { SWIG_PY_INT, (char *)"StaticGravity", (long) 10, 0, 0, 0},
8731 { SWIG_PY_INT, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
8732 { SWIG_PY_INT, (char *)"NotUseful", (long) 0, 0, 0, 0},
8733 { SWIG_PY_INT, (char *)"WhenMapped", (long) 1, 0, 0, 0},
8734 { SWIG_PY_INT, (char *)"Always", (long) 2, 0, 0, 0},
8735 { SWIG_PY_INT, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
8736 { SWIG_PY_INT, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
8737 { SWIG_PY_INT, (char *)"IsViewable", (long) 2, 0, 0, 0},
8738 { SWIG_PY_INT, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
8739 { SWIG_PY_INT, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
8740 { SWIG_PY_INT, (char *)"DestroyAll", (long) 0, 0, 0, 0},
8741 { SWIG_PY_INT, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
8742 { SWIG_PY_INT, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
8743 { SWIG_PY_INT, (char *)"Above", (long) 0, 0, 0, 0},
8744 { SWIG_PY_INT, (char *)"Below", (long) 1, 0, 0, 0},
8745 { SWIG_PY_INT, (char *)"TopIf", (long) 2, 0, 0, 0},
8746 { SWIG_PY_INT, (char *)"BottomIf", (long) 3, 0, 0, 0},
8747 { SWIG_PY_INT, (char *)"Opposite", (long) 4, 0, 0, 0},
8748 { SWIG_PY_INT, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
8749 { SWIG_PY_INT, (char *)"LowerHighest", (long) 1, 0, 0, 0},
8750 { SWIG_PY_INT, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
8751 { SWIG_PY_INT, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
8752 { SWIG_PY_INT, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
8753 { SWIG_PY_INT, (char *)"GXclear", (long) 0x0, 0, 0, 0},
8754 { SWIG_PY_INT, (char *)"GXand", (long) 0x1, 0, 0, 0},
8755 { SWIG_PY_INT, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
8756 { SWIG_PY_INT, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
8757 { SWIG_PY_INT, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
8758 { SWIG_PY_INT, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
8759 { SWIG_PY_INT, (char *)"GXxor", (long) 0x6, 0, 0, 0},
8760 { SWIG_PY_INT, (char *)"GXor", (long) 0x7, 0, 0, 0},
8761 { SWIG_PY_INT, (char *)"GXnor", (long) 0x8, 0, 0, 0},
8762 { SWIG_PY_INT, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
8763 { SWIG_PY_INT, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
8764 { SWIG_PY_INT, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
8765 { SWIG_PY_INT, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
8766 { SWIG_PY_INT, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
8767 { SWIG_PY_INT, (char *)"GXnand", (long) 0xe, 0, 0, 0},
8768 { SWIG_PY_INT, (char *)"GXset", (long) 0xf, 0, 0, 0},
8769 { SWIG_PY_INT, (char *)"LineSolid", (long) 0, 0, 0, 0},
8770 { SWIG_PY_INT, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
8771 { SWIG_PY_INT, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
8772 { SWIG_PY_INT, (char *)"CapNotLast", (long) 0, 0, 0, 0},
8773 { SWIG_PY_INT, (char *)"CapButt", (long) 1, 0, 0, 0},
8774 { SWIG_PY_INT, (char *)"CapRound", (long) 2, 0, 0, 0},
8775 { SWIG_PY_INT, (char *)"CapProjecting", (long) 3, 0, 0, 0},
8776 { SWIG_PY_INT, (char *)"JoinMiter", (long) 0, 0, 0, 0},
8777 { SWIG_PY_INT, (char *)"JoinRound", (long) 1, 0, 0, 0},
8778 { SWIG_PY_INT, (char *)"JoinBevel", (long) 2, 0, 0, 0},
8779 { SWIG_PY_INT, (char *)"FillSolid", (long) 0, 0, 0, 0},
8780 { SWIG_PY_INT, (char *)"FillTiled", (long) 1, 0, 0, 0},
8781 { SWIG_PY_INT, (char *)"FillStippled", (long) 2, 0, 0, 0},
8782 { SWIG_PY_INT, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
8783 { SWIG_PY_INT, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
8784 { SWIG_PY_INT, (char *)"WindingRule", (long) 1, 0, 0, 0},
8785 { SWIG_PY_INT, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
8786 { SWIG_PY_INT, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
8787 { SWIG_PY_INT, (char *)"Unsorted", (long) 0, 0, 0, 0},
8788 { SWIG_PY_INT, (char *)"YSorted", (long) 1, 0, 0, 0},
8789 { SWIG_PY_INT, (char *)"YXSorted", (long) 2, 0, 0, 0},
8790 { SWIG_PY_INT, (char *)"YXBanded", (long) 3, 0, 0, 0},
8791 { SWIG_PY_INT, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
8792 { SWIG_PY_INT, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
8793 { SWIG_PY_INT, (char *)"Complex", (long) 0, 0, 0, 0},
8794 { SWIG_PY_INT, (char *)"Nonconvex", (long) 1, 0, 0, 0},
8795 { SWIG_PY_INT, (char *)"Convex", (long) 2, 0, 0, 0},
8796 { SWIG_PY_INT, (char *)"ArcChord", (long) 0, 0, 0, 0},
8797 { SWIG_PY_INT, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
8798 { SWIG_PY_INT, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
8799 { SWIG_PY_INT, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
8800 { SWIG_PY_INT, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
8801 { SWIG_PY_INT, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
8802 { SWIG_PY_INT, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
8803 { SWIG_PY_INT, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
8804 { SWIG_PY_INT, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
8805 { SWIG_PY_INT, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
8806 { SWIG_PY_INT, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
8807 { SWIG_PY_INT, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
8808 { SWIG_PY_INT, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
8809 { SWIG_PY_INT, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
8810 { SWIG_PY_INT, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
8811 { SWIG_PY_INT, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
8812 { SWIG_PY_INT, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
8813 { SWIG_PY_INT, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
8814 { SWIG_PY_INT, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
8815 { SWIG_PY_INT, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
8816 { SWIG_PY_INT, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
8817 { SWIG_PY_INT, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
8818 { SWIG_PY_INT, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
8819 { SWIG_PY_INT, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
8820 { SWIG_PY_INT, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
8821 { SWIG_PY_INT, (char *)"GCLastBit", (long) 22, 0, 0, 0},
8822 { SWIG_PY_INT, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
8823 { SWIG_PY_INT, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
8824 { SWIG_PY_INT, (char *)"FontChange", (long) 255, 0, 0, 0},
8825 { SWIG_PY_INT, (char *)"XYBitmap", (long) 0, 0, 0, 0},
8826 { SWIG_PY_INT, (char *)"XYPixmap", (long) 1, 0, 0, 0},
8827 { SWIG_PY_INT, (char *)"ZPixmap", (long) 2, 0, 0, 0},
8828 { SWIG_PY_INT, (char *)"AllocNone", (long) 0, 0, 0, 0},
8829 { SWIG_PY_INT, (char *)"AllocAll", (long) 1, 0, 0, 0},
8830 { SWIG_PY_INT, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
8831 { SWIG_PY_INT, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
8832 { SWIG_PY_INT, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
8833 { SWIG_PY_INT, (char *)"CursorShape", (long) 0, 0, 0, 0},
8834 { SWIG_PY_INT, (char *)"TileShape", (long) 1, 0, 0, 0},
8835 { SWIG_PY_INT, (char *)"StippleShape", (long) 2, 0, 0, 0},
8836 { SWIG_PY_INT, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
8837 { SWIG_PY_INT, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
8838 { SWIG_PY_INT, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
8839 { SWIG_PY_INT, (char *)"LedModeOff", (long) 0, 0, 0, 0},
8840 { SWIG_PY_INT, (char *)"LedModeOn", (long) 1, 0, 0, 0},
8841 { SWIG_PY_INT, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
8842 { SWIG_PY_INT, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
8843 { SWIG_PY_INT, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
8844 { SWIG_PY_INT, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
8845 { SWIG_PY_INT, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
8846 { SWIG_PY_INT, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
8847 { SWIG_PY_INT, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
8848 { SWIG_PY_INT, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
8849 { SWIG_PY_INT, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
8850 { SWIG_PY_INT, (char *)"MappingBusy", (long) 1, 0, 0, 0},
8851 { SWIG_PY_INT, (char *)"MappingFailed", (long) 2, 0, 0, 0},
8852 { SWIG_PY_INT, (char *)"MappingModifier", (long) 0, 0, 0, 0},
8853 { SWIG_PY_INT, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
8854 { SWIG_PY_INT, (char *)"MappingPointer", (long) 2, 0, 0, 0},
8855 { SWIG_PY_INT, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
8856 { SWIG_PY_INT, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
8857 { SWIG_PY_INT, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
8858 { SWIG_PY_INT, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
8859 { SWIG_PY_INT, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
8860 { SWIG_PY_INT, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
8861 { SWIG_PY_INT, (char *)"AllowExposures", (long) 1, 0, 0, 0},
8862 { SWIG_PY_INT, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
8863 { SWIG_PY_INT, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
8864 { SWIG_PY_INT, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
8865 { SWIG_PY_INT, (char *)"HostInsert", (long) 0, 0, 0, 0},
8866 { SWIG_PY_INT, (char *)"HostDelete", (long) 1, 0, 0, 0},
8867 { SWIG_PY_INT, (char *)"EnableAccess", (long) 1, 0, 0, 0},
8868 { SWIG_PY_INT, (char *)"DisableAccess", (long) 0, 0, 0, 0},
8869 { SWIG_PY_INT, (char *)"StaticGray", (long) 0, 0, 0, 0},
8870 { SWIG_PY_INT, (char *)"GrayScale", (long) 1, 0, 0, 0},
8871 { SWIG_PY_INT, (char *)"StaticColor", (long) 2, 0, 0, 0},
8872 { SWIG_PY_INT, (char *)"PseudoColor", (long) 3, 0, 0, 0},
8873 { SWIG_PY_INT, (char *)"TrueColor", (long) 4, 0, 0, 0},
8874 { SWIG_PY_INT, (char *)"DirectColor", (long) 5, 0, 0, 0},
8875 { SWIG_PY_INT, (char *)"LSBFirst", (long) 0, 0, 0, 0},
8876 { SWIG_PY_INT, (char *)"MSBFirst", (long) 1, 0, 0, 0},
8877 {0}};
8878
8879 #ifdef __cplusplus
8880 }
8881 #endif
8882
8883 #ifdef __cplusplus
8884 extern "C"
8885 #endif
8886 SWIGEXPORT(void) SWIG_init(void) {
8887 static PyObject *SWIG_globals = 0;
8888 static int typeinit = 0;
8889 PyObject *m, *d;
8890 int i;
8891 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
8892 m = Py_InitModule((char *) SWIG_name, SwigMethods);
8893 d = PyModule_GetDict(m);
8894
8895 if (!typeinit) {
8896 for (i = 0; swig_types_initial[i]; i++) {
8897 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
8898 }
8899 typeinit = 1;
8900 }
8901 SWIG_InstallConstants(d,swig_const_table);
8902
8903 }
8904
This page took 0.517746 seconds and 5 git commands to generate.