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