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