]> Dogcows Code - chaz/openbox/blobdiff - src/openbox_wrap.cc
stop including otk in the openbox module. makes the wm hooger for no good cause....
[chaz/openbox] / src / openbox_wrap.cc
index 1b3dc172641128ae94fb6073f40f45947a59a75a..d240800f900007ddfdb0e2d5ab45528f51febc05 100644 (file)
@@ -652,7 +652,7 @@ SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) {
 #define  SWIGTYPE_p_otk__Style swig_types[4] 
 #define  SWIGTYPE_p_ob__OBFrame swig_types[5] 
 #define  SWIGTYPE_p_XReparentEvent swig_types[6] 
-#define  SWIGTYPE_p_ob__MotionData swig_types[7] 
+#define  SWIGTYPE_p_ob__MouseData swig_types[7] 
 #define  SWIGTYPE_p_ob__OBClient swig_types[8] 
 #define  SWIGTYPE_p_ob__Openbox swig_types[9] 
 #define  SWIGTYPE_p_otk__Strut swig_types[10] 
@@ -676,8 +676,7 @@ SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) {
 #define  SWIGTYPE_p_ob__OBBindings swig_types[28] 
 #define  SWIGTYPE_p_ob__MwmHints swig_types[29] 
 #define  SWIGTYPE_p_XUnmapEvent swig_types[30] 
-#define  SWIGTYPE_p_ob__ButtonData swig_types[31] 
-static swig_type_info *swig_types[33];
+static swig_type_info *swig_types[32];
 
 /* -------- TYPES TABLE (END) -------- */
 
@@ -699,7 +698,7 @@ static swig_type_info *swig_types[33];
 #include "bindings.hh"
 #include "actions.hh"
 #include "python.hh"
-#include "otk/display.hh"
+#include "otk/otk.hh"
 
 
 #define  SWIG_MemoryError    1
@@ -787,33 +786,13 @@ static std::string SwigString_AsString(PyObject* o) {
 
 
 namespace ob {
-void python_callback(PyObject *func, MotionData *data)
+void python_callback(PyObject *func, MouseData *data)
 {
   PyObject *arglist;
   PyObject *result;
 
   arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
-                                                    SWIGTYPE_p_ob__MotionData,
-                                                    0));
-  
-  // call the callback
-  result = PyEval_CallObject(func, arglist);
-  if (!result || PyErr_Occurred()) {
-    // an exception occured in the script, display it
-    PyErr_Print();
-  }
-
-  Py_XDECREF(result);
-  Py_DECREF(arglist);
-}
-
-void python_callback(PyObject *func, ButtonData *data)
-{
-  PyObject *arglist;
-  PyObject *result;
-
-  arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
-                                                    SWIGTYPE_p_ob__ButtonData,
+                                                    SWIGTYPE_p_ob__MouseData,
                                                     0));
   
   // call the callback
@@ -2788,14 +2767,14 @@ static PyObject * OBClient_swigregister(PyObject *self, PyObject *args) {
     Py_INCREF(obj);
     return Py_BuildValue((char *)"");
 }
-static PyObject *_wrap_MotionData_screen_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_screen_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int arg2 ;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_screen_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_screen_set",&obj0,&arg2)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if (arg1) (arg1)->screen = arg2;
     
     Py_INCREF(Py_None); resultobj = Py_None;
@@ -2805,14 +2784,14 @@ static PyObject *_wrap_MotionData_screen_set(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_screen_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_screen_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_screen_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_screen_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (int) ((arg1)->screen);
     
     resultobj = PyInt_FromLong((long)result);
@@ -2822,15 +2801,15 @@ static PyObject *_wrap_MotionData_screen_get(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_client_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_client_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
     PyObject * obj0  = 0 ;
     PyObject * obj1  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"OO:MotionData_client_set",&obj0,&obj1)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_client_set",&obj0,&obj1)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
     if (arg1) (arg1)->client = arg2;
     
@@ -2841,14 +2820,14 @@ static PyObject *_wrap_MotionData_client_set(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_client_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_client_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     ob::OBClient *result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_client_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_client_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (ob::OBClient *) ((arg1)->client);
     
     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
@@ -2858,15 +2837,15 @@ static PyObject *_wrap_MotionData_client_get(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_time_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_time_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     Time arg2 ;
     PyObject * obj0  = 0 ;
     PyObject * obj1  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"OO:MotionData_time_set",&obj0,&obj1)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_time_set",&obj0,&obj1)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     arg2 = (Time) PyInt_AsLong(obj1);
     if (PyErr_Occurred()) SWIG_fail;
     if (arg1) (arg1)->time = arg2;
@@ -2878,14 +2857,14 @@ static PyObject *_wrap_MotionData_time_set(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_time_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_time_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     Time result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_time_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_time_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (Time) ((arg1)->time);
     
     resultobj = PyInt_FromLong((long)result);
@@ -2895,15 +2874,15 @@ static PyObject *_wrap_MotionData_time_get(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_state_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_state_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     unsigned int arg2 ;
     PyObject * obj0  = 0 ;
     PyObject * obj1  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"OO:MotionData_state_set",&obj0,&obj1)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_state_set",&obj0,&obj1)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     arg2 = (unsigned int) PyInt_AsLong(obj1);
     if (PyErr_Occurred()) SWIG_fail;
     if (arg1) (arg1)->state = arg2;
@@ -2915,14 +2894,14 @@ static PyObject *_wrap_MotionData_state_set(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_state_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_state_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     unsigned int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_state_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_state_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (unsigned int) ((arg1)->state);
     
     resultobj = PyInt_FromLong((long)result);
@@ -2932,15 +2911,15 @@ static PyObject *_wrap_MotionData_state_get(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_button_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_button_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     unsigned int arg2 ;
     PyObject * obj0  = 0 ;
     PyObject * obj1  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"OO:MotionData_button_set",&obj0,&obj1)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_button_set",&obj0,&obj1)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     arg2 = (unsigned int) PyInt_AsLong(obj1);
     if (PyErr_Occurred()) SWIG_fail;
     if (arg1) (arg1)->button = arg2;
@@ -2952,14 +2931,14 @@ static PyObject *_wrap_MotionData_button_set(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_button_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_button_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     unsigned int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_button_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_button_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (unsigned int) ((arg1)->button);
     
     resultobj = PyInt_FromLong((long)result);
@@ -2969,14 +2948,14 @@ static PyObject *_wrap_MotionData_button_get(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_context_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_context_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int arg2 ;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_context_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_context_set",&obj0,&arg2)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if (arg1) (arg1)->context = (ob::MouseContext )arg2;
     
     Py_INCREF(Py_None); resultobj = Py_None;
@@ -2986,14 +2965,14 @@ static PyObject *_wrap_MotionData_context_set(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_context_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_context_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_context_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_context_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (int) ((arg1)->context);
     
     resultobj = PyInt_FromLong((long)result);
@@ -3003,14 +2982,14 @@ static PyObject *_wrap_MotionData_context_get(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_action_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_action_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int arg2 ;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_action_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_action_set",&obj0,&arg2)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if (arg1) (arg1)->action = (ob::MouseAction )arg2;
     
     Py_INCREF(Py_None); resultobj = Py_None;
@@ -3020,14 +2999,14 @@ static PyObject *_wrap_MotionData_action_set(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_action_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_action_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_action_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_action_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (int) ((arg1)->action);
     
     resultobj = PyInt_FromLong((long)result);
@@ -3037,14 +3016,14 @@ static PyObject *_wrap_MotionData_action_get(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_xroot_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_xroot_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int arg2 ;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_xroot_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_xroot_set",&obj0,&arg2)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if (arg1) (arg1)->xroot = arg2;
     
     Py_INCREF(Py_None); resultobj = Py_None;
@@ -3054,14 +3033,14 @@ static PyObject *_wrap_MotionData_xroot_set(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_xroot_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_xroot_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_xroot_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_xroot_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (int) ((arg1)->xroot);
     
     resultobj = PyInt_FromLong((long)result);
@@ -3071,14 +3050,14 @@ static PyObject *_wrap_MotionData_xroot_get(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_yroot_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_yroot_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int arg2 ;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_yroot_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_yroot_set",&obj0,&arg2)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if (arg1) (arg1)->yroot = arg2;
     
     Py_INCREF(Py_None); resultobj = Py_None;
@@ -3088,14 +3067,14 @@ static PyObject *_wrap_MotionData_yroot_set(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_yroot_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_yroot_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_yroot_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_yroot_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (int) ((arg1)->yroot);
     
     resultobj = PyInt_FromLong((long)result);
@@ -3105,14 +3084,14 @@ static PyObject *_wrap_MotionData_yroot_get(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_pressx_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_pressx_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int arg2 ;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_pressx_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressx_set",&obj0,&arg2)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if (arg1) (arg1)->pressx = arg2;
     
     Py_INCREF(Py_None); resultobj = Py_None;
@@ -3122,14 +3101,14 @@ static PyObject *_wrap_MotionData_pressx_set(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_pressx_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_pressx_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_pressx_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressx_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (int) ((arg1)->pressx);
     
     resultobj = PyInt_FromLong((long)result);
@@ -3139,14 +3118,14 @@ static PyObject *_wrap_MotionData_pressx_get(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_pressy_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_pressy_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int arg2 ;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_pressy_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressy_set",&obj0,&arg2)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if (arg1) (arg1)->pressy = arg2;
     
     Py_INCREF(Py_None); resultobj = Py_None;
@@ -3156,14 +3135,14 @@ static PyObject *_wrap_MotionData_pressy_set(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_pressy_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_pressy_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_pressy_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressy_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (int) ((arg1)->pressy);
     
     resultobj = PyInt_FromLong((long)result);
@@ -3173,14 +3152,14 @@ static PyObject *_wrap_MotionData_pressy_get(PyObject *self, PyObject *args) {
 }
 
 
-static PyObject *_wrap_MotionData_press_clientx_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_press_clientx_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int arg2 ;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_press_clientx_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientx_set",&obj0,&arg2)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if (arg1) (arg1)->press_clientx = arg2;
     
     Py_INCREF(Py_None); resultobj = Py_None;
@@ -3190,14 +3169,14 @@ static PyObject *_wrap_MotionData_press_clientx_set(PyObject *self, PyObject *ar
 }
 
 
-static PyObject *_wrap_MotionData_press_clientx_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_press_clientx_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_press_clientx_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientx_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (int) ((arg1)->press_clientx);
     
     resultobj = PyInt_FromLong((long)result);
@@ -3207,14 +3186,14 @@ static PyObject *_wrap_MotionData_press_clientx_get(PyObject *self, PyObject *ar
 }
 
 
-static PyObject *_wrap_MotionData_press_clienty_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_press_clienty_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int arg2 ;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_press_clienty_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clienty_set",&obj0,&arg2)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if (arg1) (arg1)->press_clienty = arg2;
     
     Py_INCREF(Py_None); resultobj = Py_None;
@@ -3224,14 +3203,14 @@ static PyObject *_wrap_MotionData_press_clienty_set(PyObject *self, PyObject *ar
 }
 
 
-static PyObject *_wrap_MotionData_press_clienty_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_press_clienty_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_press_clienty_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clienty_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (int) ((arg1)->press_clienty);
     
     resultobj = PyInt_FromLong((long)result);
@@ -3241,14 +3220,14 @@ static PyObject *_wrap_MotionData_press_clienty_get(PyObject *self, PyObject *ar
 }
 
 
-static PyObject *_wrap_MotionData_press_clientwidth_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_press_clientwidth_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int arg2 ;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_press_clientwidth_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientwidth_set",&obj0,&arg2)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if (arg1) (arg1)->press_clientwidth = arg2;
     
     Py_INCREF(Py_None); resultobj = Py_None;
@@ -3258,14 +3237,14 @@ static PyObject *_wrap_MotionData_press_clientwidth_set(PyObject *self, PyObject
 }
 
 
-static PyObject *_wrap_MotionData_press_clientwidth_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_press_clientwidth_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_press_clientwidth_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientwidth_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (int) ((arg1)->press_clientwidth);
     
     resultobj = PyInt_FromLong((long)result);
@@ -3275,14 +3254,14 @@ static PyObject *_wrap_MotionData_press_clientwidth_get(PyObject *self, PyObject
 }
 
 
-static PyObject *_wrap_MotionData_press_clientheight_set(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_press_clientheight_set(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int arg2 ;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_press_clientheight_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientheight_set",&obj0,&arg2)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     if (arg1) (arg1)->press_clientheight = arg2;
     
     Py_INCREF(Py_None); resultobj = Py_None;
@@ -3292,14 +3271,14 @@ static PyObject *_wrap_MotionData_press_clientheight_set(PyObject *self, PyObjec
 }
 
 
-static PyObject *_wrap_MotionData_press_clientheight_get(PyObject *self, PyObject *args) {
+static PyObject *_wrap_MouseData_press_clientheight_get(PyObject *self, PyObject *args) {
     PyObject *resultobj;
-    ob::MotionData *arg1 = (ob::MotionData *) 0 ;
+    ob::MouseData *arg1 = (ob::MouseData *) 0 ;
     int result;
     PyObject * obj0  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"O:MotionData_press_clientheight_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+    if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientheight_get",&obj0)) goto fail;
+    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     result = (int) ((arg1)->press_clientheight);
     
     resultobj = PyInt_FromLong((long)result);
@@ -3309,7 +3288,7 @@ static PyObject *_wrap_MotionData_press_clientheight_get(PyObject *self, PyObjec
 }
 
 
-static PyObject *_wrap_new_MotionData(PyObject *self, PyObject *args) {
+static PyObject *_wrap_new_MouseData__SWIG_0(PyObject *self, PyObject *args) {
     PyObject *resultobj;
     int arg1 ;
     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
@@ -3322,7 +3301,7 @@ static PyObject *_wrap_new_MotionData(PyObject *self, PyObject *args) {
     int arg9 ;
     otk::Point *arg10 = 0 ;
     otk::Rect *arg11 = 0 ;
-    ob::MotionData *result;
+    ob::MouseData *result;
     PyObject * obj1  = 0 ;
     PyObject * obj2  = 0 ;
     PyObject * obj3  = 0 ;
@@ -3330,7 +3309,7 @@ static PyObject *_wrap_new_MotionData(PyObject *self, PyObject *args) {
     PyObject * obj9  = 0 ;
     PyObject * obj10  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MotionData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
+    if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     arg3 = (Time) PyInt_AsLong(obj2);
     if (PyErr_Occurred()) SWIG_fail;
@@ -3346,272 +3325,16 @@ static PyObject *_wrap_new_MotionData(PyObject *self, PyObject *args) {
     if (arg11 == NULL) {
         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
     }
-    result = (ob::MotionData *)new ob::MotionData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7,arg8,arg9,(otk::Point const &)*arg10,(otk::Rect const &)*arg11);
+    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);
     
-    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MotionData, 1);
+    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
     return resultobj;
     fail:
     return NULL;
 }
 
 
-static PyObject * MotionData_swigregister(PyObject *self, PyObject *args) {
-    PyObject *obj;
-    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
-    SWIG_TypeClientData(SWIGTYPE_p_ob__MotionData, obj);
-    Py_INCREF(obj);
-    return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_ButtonData_screen_set(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    int arg2 ;
-    PyObject * obj0  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"Oi:ButtonData_screen_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    if (arg1) (arg1)->screen = arg2;
-    
-    Py_INCREF(Py_None); resultobj = Py_None;
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_screen_get(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    int result;
-    PyObject * obj0  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_screen_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    result = (int) ((arg1)->screen);
-    
-    resultobj = PyInt_FromLong((long)result);
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_client_set(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    ob::OBClient *arg2 = (ob::OBClient *) 0 ;
-    PyObject * obj0  = 0 ;
-    PyObject * obj1  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"OO:ButtonData_client_set",&obj0,&obj1)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
-    if (arg1) (arg1)->client = arg2;
-    
-    Py_INCREF(Py_None); resultobj = Py_None;
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_client_get(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    ob::OBClient *result;
-    PyObject * obj0  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_client_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    result = (ob::OBClient *) ((arg1)->client);
-    
-    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_time_set(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    Time arg2 ;
-    PyObject * obj0  = 0 ;
-    PyObject * obj1  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"OO:ButtonData_time_set",&obj0,&obj1)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    arg2 = (Time) PyInt_AsLong(obj1);
-    if (PyErr_Occurred()) SWIG_fail;
-    if (arg1) (arg1)->time = arg2;
-    
-    Py_INCREF(Py_None); resultobj = Py_None;
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_time_get(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    Time result;
-    PyObject * obj0  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_time_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    result = (Time) ((arg1)->time);
-    
-    resultobj = PyInt_FromLong((long)result);
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_state_set(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    unsigned int arg2 ;
-    PyObject * obj0  = 0 ;
-    PyObject * obj1  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"OO:ButtonData_state_set",&obj0,&obj1)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    arg2 = (unsigned int) PyInt_AsLong(obj1);
-    if (PyErr_Occurred()) SWIG_fail;
-    if (arg1) (arg1)->state = arg2;
-    
-    Py_INCREF(Py_None); resultobj = Py_None;
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_state_get(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    unsigned int result;
-    PyObject * obj0  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_state_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    result = (unsigned int) ((arg1)->state);
-    
-    resultobj = PyInt_FromLong((long)result);
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_button_set(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    unsigned int arg2 ;
-    PyObject * obj0  = 0 ;
-    PyObject * obj1  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"OO:ButtonData_button_set",&obj0,&obj1)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    arg2 = (unsigned int) PyInt_AsLong(obj1);
-    if (PyErr_Occurred()) SWIG_fail;
-    if (arg1) (arg1)->button = arg2;
-    
-    Py_INCREF(Py_None); resultobj = Py_None;
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_button_get(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    unsigned int result;
-    PyObject * obj0  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_button_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    result = (unsigned int) ((arg1)->button);
-    
-    resultobj = PyInt_FromLong((long)result);
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_context_set(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    int arg2 ;
-    PyObject * obj0  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"Oi:ButtonData_context_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    if (arg1) (arg1)->context = (ob::MouseContext )arg2;
-    
-    Py_INCREF(Py_None); resultobj = Py_None;
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_context_get(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    int result;
-    PyObject * obj0  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_context_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    result = (int) ((arg1)->context);
-    
-    resultobj = PyInt_FromLong((long)result);
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_action_set(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    int arg2 ;
-    PyObject * obj0  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"Oi:ButtonData_action_set",&obj0,&arg2)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    if (arg1) (arg1)->action = (ob::MouseAction )arg2;
-    
-    Py_INCREF(Py_None); resultobj = Py_None;
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_ButtonData_action_get(PyObject *self, PyObject *args) {
-    PyObject *resultobj;
-    ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
-    int result;
-    PyObject * obj0  = 0 ;
-    
-    if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_action_get",&obj0)) goto fail;
-    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    result = (int) ((arg1)->action);
-    
-    resultobj = PyInt_FromLong((long)result);
-    return resultobj;
-    fail:
-    return NULL;
-}
-
-
-static PyObject *_wrap_new_ButtonData(PyObject *self, PyObject *args) {
+static PyObject *_wrap_new_MouseData__SWIG_1(PyObject *self, PyObject *args) {
     PyObject *resultobj;
     int arg1 ;
     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
@@ -3620,13 +3343,13 @@ static PyObject *_wrap_new_ButtonData(PyObject *self, PyObject *args) {
     unsigned int arg5 ;
     int arg6 ;
     int arg7 ;
-    ob::ButtonData *result;
+    ob::MouseData *result;
     PyObject * obj1  = 0 ;
     PyObject * obj2  = 0 ;
     PyObject * obj3  = 0 ;
     PyObject * obj4  = 0 ;
     
-    if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_ButtonData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
+    if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
     arg3 = (Time) PyInt_AsLong(obj2);
     if (PyErr_Occurred()) SWIG_fail;
@@ -3634,19 +3357,156 @@ static PyObject *_wrap_new_ButtonData(PyObject *self, PyObject *args) {
     if (PyErr_Occurred()) SWIG_fail;
     arg5 = (unsigned int) PyInt_AsLong(obj4);
     if (PyErr_Occurred()) SWIG_fail;
-    result = (ob::ButtonData *)new ob::ButtonData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
+    result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
     
-    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__ButtonData, 1);
+    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
     return resultobj;
     fail:
     return NULL;
 }
 
 
-static PyObject * ButtonData_swigregister(PyObject *self, PyObject *args) {
+static PyObject *_wrap_new_MouseData(PyObject *self, PyObject *args) {
+    int argc;
+    PyObject *argv[12];
+    int ii;
+    
+    argc = PyObject_Length(args);
+    for (ii = 0; (ii < argc) && (ii < 11); ii++) {
+        argv[ii] = PyTuple_GetItem(args,ii);
+    }
+    if (argc == 7) {
+        int _v;
+        {
+            _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
+        }
+        if (_v) {
+            {
+                void *ptr;
+                if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__OBClient, 0) == -1) {
+                    _v = 0;
+                    PyErr_Clear();
+                }else {
+                    _v = 1;
+                }
+            }
+            if (_v) {
+                {
+                    _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
+                }
+                if (_v) {
+                    {
+                        _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
+                    }
+                    if (_v) {
+                        {
+                            _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
+                        }
+                        if (_v) {
+                            {
+                                _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
+                            }
+                            if (_v) {
+                                {
+                                    _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
+                                }
+                                if (_v) {
+                                    return _wrap_new_MouseData__SWIG_1(self,args);
+                                }
+                            }
+                        }
+                    }
+                }
+            }
+        }
+    }
+    if (argc == 11) {
+        int _v;
+        {
+            _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
+        }
+        if (_v) {
+            {
+                void *ptr;
+                if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__OBClient, 0) == -1) {
+                    _v = 0;
+                    PyErr_Clear();
+                }else {
+                    _v = 1;
+                }
+            }
+            if (_v) {
+                {
+                    _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
+                }
+                if (_v) {
+                    {
+                        _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
+                    }
+                    if (_v) {
+                        {
+                            _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
+                        }
+                        if (_v) {
+                            {
+                                _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
+                            }
+                            if (_v) {
+                                {
+                                    _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
+                                }
+                                if (_v) {
+                                    {
+                                        _v = (PyInt_Check(argv[7]) || PyLong_Check(argv[7])) ? 1 : 0;
+                                    }
+                                    if (_v) {
+                                        {
+                                            _v = (PyInt_Check(argv[8]) || PyLong_Check(argv[8])) ? 1 : 0;
+                                        }
+                                        if (_v) {
+                                            {
+                                                void *ptr;
+                                                if (SWIG_ConvertPtr(argv[9], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
+                                                    _v = 0;
+                                                    PyErr_Clear();
+                                                }else {
+                                                    _v = 1;
+                                                }
+                                            }
+                                            if (_v) {
+                                                {
+                                                    void *ptr;
+                                                    if (SWIG_ConvertPtr(argv[10], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
+                                                        _v = 0;
+                                                        PyErr_Clear();
+                                                    }else {
+                                                        _v = 1;
+                                                    }
+                                                }
+                                                if (_v) {
+                                                    return _wrap_new_MouseData__SWIG_0(self,args);
+                                                }
+                                            }
+                                        }
+                                    }
+                                }
+                            }
+                        }
+                    }
+                }
+            }
+        }
+    }
+    
+    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_MouseData'");
+    return NULL;
+}
+
+
+static PyObject * MouseData_swigregister(PyObject *self, PyObject *args) {
     PyObject *obj;
     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
-    SWIG_TypeClientData(SWIGTYPE_p_ob__ButtonData, obj);
+    SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData, obj);
     Py_INCREF(obj);
     return Py_BuildValue((char *)"");
 }
@@ -4264,54 +4124,38 @@ static PyMethodDef SwigMethods[] = {
         { (char *)"OBClient_destroyHandler", _wrap_OBClient_destroyHandler, METH_VARARGS },
         { (char *)"OBClient_reparentHandler", _wrap_OBClient_reparentHandler, METH_VARARGS },
         { (char *)"OBClient_swigregister", OBClient_swigregister, METH_VARARGS },
-        { (char *)"MotionData_screen_set", _wrap_MotionData_screen_set, METH_VARARGS },
-        { (char *)"MotionData_screen_get", _wrap_MotionData_screen_get, METH_VARARGS },
-        { (char *)"MotionData_client_set", _wrap_MotionData_client_set, METH_VARARGS },
-        { (char *)"MotionData_client_get", _wrap_MotionData_client_get, METH_VARARGS },
-        { (char *)"MotionData_time_set", _wrap_MotionData_time_set, METH_VARARGS },
-        { (char *)"MotionData_time_get", _wrap_MotionData_time_get, METH_VARARGS },
-        { (char *)"MotionData_state_set", _wrap_MotionData_state_set, METH_VARARGS },
-        { (char *)"MotionData_state_get", _wrap_MotionData_state_get, METH_VARARGS },
-        { (char *)"MotionData_button_set", _wrap_MotionData_button_set, METH_VARARGS },
-        { (char *)"MotionData_button_get", _wrap_MotionData_button_get, METH_VARARGS },
-        { (char *)"MotionData_context_set", _wrap_MotionData_context_set, METH_VARARGS },
-        { (char *)"MotionData_context_get", _wrap_MotionData_context_get, METH_VARARGS },
-        { (char *)"MotionData_action_set", _wrap_MotionData_action_set, METH_VARARGS },
-        { (char *)"MotionData_action_get", _wrap_MotionData_action_get, METH_VARARGS },
-        { (char *)"MotionData_xroot_set", _wrap_MotionData_xroot_set, METH_VARARGS },
-        { (char *)"MotionData_xroot_get", _wrap_MotionData_xroot_get, METH_VARARGS },
-        { (char *)"MotionData_yroot_set", _wrap_MotionData_yroot_set, METH_VARARGS },
-        { (char *)"MotionData_yroot_get", _wrap_MotionData_yroot_get, METH_VARARGS },
-        { (char *)"MotionData_pressx_set", _wrap_MotionData_pressx_set, METH_VARARGS },
-        { (char *)"MotionData_pressx_get", _wrap_MotionData_pressx_get, METH_VARARGS },
-        { (char *)"MotionData_pressy_set", _wrap_MotionData_pressy_set, METH_VARARGS },
-        { (char *)"MotionData_pressy_get", _wrap_MotionData_pressy_get, METH_VARARGS },
-        { (char *)"MotionData_press_clientx_set", _wrap_MotionData_press_clientx_set, METH_VARARGS },
-        { (char *)"MotionData_press_clientx_get", _wrap_MotionData_press_clientx_get, METH_VARARGS },
-        { (char *)"MotionData_press_clienty_set", _wrap_MotionData_press_clienty_set, METH_VARARGS },
-        { (char *)"MotionData_press_clienty_get", _wrap_MotionData_press_clienty_get, METH_VARARGS },
-        { (char *)"MotionData_press_clientwidth_set", _wrap_MotionData_press_clientwidth_set, METH_VARARGS },
-        { (char *)"MotionData_press_clientwidth_get", _wrap_MotionData_press_clientwidth_get, METH_VARARGS },
-        { (char *)"MotionData_press_clientheight_set", _wrap_MotionData_press_clientheight_set, METH_VARARGS },
-        { (char *)"MotionData_press_clientheight_get", _wrap_MotionData_press_clientheight_get, METH_VARARGS },
-        { (char *)"new_MotionData", _wrap_new_MotionData, METH_VARARGS },
-        { (char *)"MotionData_swigregister", MotionData_swigregister, METH_VARARGS },
-        { (char *)"ButtonData_screen_set", _wrap_ButtonData_screen_set, METH_VARARGS },
-        { (char *)"ButtonData_screen_get", _wrap_ButtonData_screen_get, METH_VARARGS },
-        { (char *)"ButtonData_client_set", _wrap_ButtonData_client_set, METH_VARARGS },
-        { (char *)"ButtonData_client_get", _wrap_ButtonData_client_get, METH_VARARGS },
-        { (char *)"ButtonData_time_set", _wrap_ButtonData_time_set, METH_VARARGS },
-        { (char *)"ButtonData_time_get", _wrap_ButtonData_time_get, METH_VARARGS },
-        { (char *)"ButtonData_state_set", _wrap_ButtonData_state_set, METH_VARARGS },
-        { (char *)"ButtonData_state_get", _wrap_ButtonData_state_get, METH_VARARGS },
-        { (char *)"ButtonData_button_set", _wrap_ButtonData_button_set, METH_VARARGS },
-        { (char *)"ButtonData_button_get", _wrap_ButtonData_button_get, METH_VARARGS },
-        { (char *)"ButtonData_context_set", _wrap_ButtonData_context_set, METH_VARARGS },
-        { (char *)"ButtonData_context_get", _wrap_ButtonData_context_get, METH_VARARGS },
-        { (char *)"ButtonData_action_set", _wrap_ButtonData_action_set, METH_VARARGS },
-        { (char *)"ButtonData_action_get", _wrap_ButtonData_action_get, METH_VARARGS },
-        { (char *)"new_ButtonData", _wrap_new_ButtonData, METH_VARARGS },
-        { (char *)"ButtonData_swigregister", ButtonData_swigregister, METH_VARARGS },
+        { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set, METH_VARARGS },
+        { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get, METH_VARARGS },
+        { (char *)"MouseData_client_set", _wrap_MouseData_client_set, METH_VARARGS },
+        { (char *)"MouseData_client_get", _wrap_MouseData_client_get, METH_VARARGS },
+        { (char *)"MouseData_time_set", _wrap_MouseData_time_set, METH_VARARGS },
+        { (char *)"MouseData_time_get", _wrap_MouseData_time_get, METH_VARARGS },
+        { (char *)"MouseData_state_set", _wrap_MouseData_state_set, METH_VARARGS },
+        { (char *)"MouseData_state_get", _wrap_MouseData_state_get, METH_VARARGS },
+        { (char *)"MouseData_button_set", _wrap_MouseData_button_set, METH_VARARGS },
+        { (char *)"MouseData_button_get", _wrap_MouseData_button_get, METH_VARARGS },
+        { (char *)"MouseData_context_set", _wrap_MouseData_context_set, METH_VARARGS },
+        { (char *)"MouseData_context_get", _wrap_MouseData_context_get, METH_VARARGS },
+        { (char *)"MouseData_action_set", _wrap_MouseData_action_set, METH_VARARGS },
+        { (char *)"MouseData_action_get", _wrap_MouseData_action_get, METH_VARARGS },
+        { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set, METH_VARARGS },
+        { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get, METH_VARARGS },
+        { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set, METH_VARARGS },
+        { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get, METH_VARARGS },
+        { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set, METH_VARARGS },
+        { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get, METH_VARARGS },
+        { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set, METH_VARARGS },
+        { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get, METH_VARARGS },
+        { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set, METH_VARARGS },
+        { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get, METH_VARARGS },
+        { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set, METH_VARARGS },
+        { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get, METH_VARARGS },
+        { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set, METH_VARARGS },
+        { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get, METH_VARARGS },
+        { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set, METH_VARARGS },
+        { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get, METH_VARARGS },
+        { (char *)"new_MouseData", _wrap_new_MouseData, METH_VARARGS },
+        { (char *)"MouseData_swigregister", MouseData_swigregister, METH_VARARGS },
         { (char *)"EventData_screen_set", _wrap_EventData_screen_set, METH_VARARGS },
         { (char *)"EventData_screen_get", _wrap_EventData_screen_get, METH_VARARGS },
         { (char *)"EventData_client_set", _wrap_EventData_client_set, METH_VARARGS },
@@ -4348,12 +4192,27 @@ static PyMethodDef SwigMethods[] = {
 static void *_p_ob__OBActionsTo_p_otk__OtkEventHandler(void *x) {
     return (void *)((otk::OtkEventHandler *)  ((ob::OBActions *) x));
 }
+static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
+    return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
+}
+static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
+    return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
+}
 static void *_p_ob__OpenboxTo_p_otk__OtkEventHandler(void *x) {
     return (void *)((otk::OtkEventHandler *)  ((ob::Openbox *) x));
 }
 static void *_p_ob__OBScreenTo_p_otk__OtkEventHandler(void *x) {
     return (void *)((otk::OtkEventHandler *)  ((ob::OBScreen *) x));
 }
+static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
+    return (void *)((otk::OtkEventHandler *)  ((otk::OtkWidget *) x));
+}
+static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
+    return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
+}
+static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
+    return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
+}
 static void *_p_ob__OBClientTo_p_otk__OtkEventHandler(void *x) {
     return (void *)((otk::OtkEventHandler *)  ((ob::OBClient *) x));
 }
@@ -4363,6 +4222,9 @@ static void *_p_ob__OBScreenTo_p_ob__OBWidget(void *x) {
 static void *_p_ob__OBClientTo_p_ob__OBWidget(void *x) {
     return (void *)((ob::OBWidget *)  ((ob::OBClient *) x));
 }
+static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
+    return (void *)((otk::OtkEventDispatcher *)  ((otk::OtkApplication *) x));
+}
 static void *_p_ob__OpenboxTo_p_otk__OtkEventDispatcher(void *x) {
     return (void *)((otk::OtkEventDispatcher *)  ((ob::Openbox *) x));
 }
@@ -4373,7 +4235,7 @@ static swig_type_info _swigt__p_ob__OBScreen[] = {{"_p_ob__OBScreen", 0, "ob::OB
 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
 static swig_type_info _swigt__p_ob__OBFrame[] = {{"_p_ob__OBFrame", 0, "ob::OBFrame *", 0},{"_p_ob__OBFrame"},{0}};
 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
-static swig_type_info _swigt__p_ob__MotionData[] = {{"_p_ob__MotionData", 0, "ob::MotionData *", 0},{"_p_ob__MotionData"},{0}};
+static swig_type_info _swigt__p_ob__MouseData[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
 static swig_type_info _swigt__p_ob__OBClient[] = {{"_p_ob__OBClient", 0, "ob::OBClient *", 0},{"_p_ob__OBClient"},{0}};
 static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
@@ -4381,7 +4243,7 @@ static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyD
 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
-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}};
+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_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkEventHandler},{"_p_otk__OtkAppWidget", _p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventHandler},{"_p_ob__OBScreen", _p_ob__OBScreenTo_p_otk__OtkEventHandler},{"_p_otk__OtkWidget", _p_otk__OtkWidgetTo_p_otk__OtkEventHandler},{"_p_otk__OtkFocusWidget", _p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler},{"_p_otk__OtkFocusLabel", _p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler},{"_p_ob__OBClient", _p_ob__OBClientTo_p_otk__OtkEventHandler},{0}};
 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
 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}};
@@ -4389,7 +4251,7 @@ static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEven
 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
 static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
-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}};
+static swig_type_info _swigt__p_otk__OtkEventDispatcher[] = {{"_p_otk__OtkEventDispatcher", 0, "otk::OtkEventDispatcher *", 0},{"_p_otk__OtkApplication", _p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher},{"_p_otk__OtkEventDispatcher"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventDispatcher},{0}};
 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
@@ -4397,7 +4259,6 @@ static swig_type_info _swigt__p_PyObject[] = {{"_p_PyObject", 0, "PyObject *", 0
 static swig_type_info _swigt__p_ob__OBBindings[] = {{"_p_ob__OBBindings", 0, "ob::OBBindings *", 0},{"_p_ob__OBBindings"},{0}};
 static swig_type_info _swigt__p_ob__MwmHints[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
-static swig_type_info _swigt__p_ob__ButtonData[] = {{"_p_ob__ButtonData", 0, "ob::ButtonData *", 0},{"_p_ob__ButtonData"},{0}};
 
 static swig_type_info *swig_types_initial[] = {
 _swigt__p_otk__OBTimerQueueManager, 
@@ -4407,7 +4268,7 @@ _swigt__p_ob__OBScreen,
 _swigt__p_otk__Style, 
 _swigt__p_ob__OBFrame, 
 _swigt__p_XReparentEvent, 
-_swigt__p_ob__MotionData, 
+_swigt__p_ob__MouseData, 
 _swigt__p_ob__OBClient, 
 _swigt__p_ob__Openbox, 
 _swigt__p_otk__Strut, 
@@ -4431,7 +4292,6 @@ _swigt__p_PyObject,
 _swigt__p_ob__OBBindings, 
 _swigt__p_ob__MwmHints, 
 _swigt__p_XUnmapEvent, 
-_swigt__p_ob__ButtonData, 
 0
 };
 
@@ -4525,349 +4385,6 @@ static swig_const_info swig_const_table[] = {
 { SWIG_PY_INT,     (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0},
 { SWIG_PY_INT,     (char *)"EventBell", (long) ob::EventBell, 0, 0, 0},
 { SWIG_PY_INT,     (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"None", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ParentRelative", (long) 1L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PointerWindow", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"InputFocus", (long) 1L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PointerRoot", (long) 1L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AnyKey", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AnyButton", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AllTemporary", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CurrentTime", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NoSymbol", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NoEventMask", (long) 0L, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KeyPress", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KeyRelease", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ButtonPress", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ButtonRelease", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"MotionNotify", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"EnterNotify", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LeaveNotify", (long) 8, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FocusIn", (long) 9, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FocusOut", (long) 10, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KeymapNotify", (long) 11, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Expose", (long) 12, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NoExpose", (long) 14, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CreateNotify", (long) 16, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DestroyNotify", (long) 17, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"UnmapNotify", (long) 18, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"MapNotify", (long) 19, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"MapRequest", (long) 20, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ReparentNotify", (long) 21, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GravityNotify", (long) 24, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ResizeRequest", (long) 25, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CirculateNotify", (long) 26, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CirculateRequest", (long) 27, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PropertyNotify", (long) 28, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SelectionClear", (long) 29, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SelectionRequest", (long) 30, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SelectionNotify", (long) 31, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ColormapNotify", (long) 32, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ClientMessage", (long) 33, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"MappingNotify", (long) 34, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LASTEvent", (long) 35, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LockMask", (long) (1<<1), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LockMapIndex", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button1", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button2", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button3", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button4", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Button5", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyNormal", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyGrab", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyHint", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyInferior", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyPointer", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FamilyInternet", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FamilyChaos", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PropertyDelete", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GrabModeSync", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GrabSuccess", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GrabFrozen", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AsyncPointer", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SyncPointer", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ReplayPointer", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AsyncBoth", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SyncBoth", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"RevertToParent", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Success", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadRequest", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadValue", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadWindow", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadPixmap", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadAtom", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadCursor", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadFont", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadMatch", (long) 8, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadDrawable", (long) 9, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadAccess", (long) 10, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadAlloc", (long) 11, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadColor", (long) 12, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadGC", (long) 13, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadIDChoice", (long) 14, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadName", (long) 15, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadLength", (long) 16, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BadImplementation", (long) 17, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LastExtensionError", (long) 255, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"InputOutput", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"InputOnly", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWX", (long) (1<<0), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWY", (long) (1<<1), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ForgetGravity", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NorthGravity", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"WestGravity", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CenterGravity", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"EastGravity", (long) 6, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SouthGravity", (long) 8, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"StaticGravity", (long) 10, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"UnmapGravity", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"NotUseful", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"WhenMapped", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Always", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"IsUnmapped", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"IsUnviewable", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"IsViewable", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SetModeInsert", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"SetModeDelete", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DestroyAll", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"RetainPermanent", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"RetainTemporary", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Above", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Below", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"TopIf", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"BottomIf", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Opposite", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"RaiseLowest", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LowerHighest", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PropModeReplace", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PropModePrepend", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PropModeAppend", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXclear", (long) 0x0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXand", (long) 0x1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXcopy", (long) 0x3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXnoop", (long) 0x5, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXxor", (long) 0x6, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXor", (long) 0x7, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXnor", (long) 0x8, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXequiv", (long) 0x9, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXinvert", (long) 0xa, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXnand", (long) 0xe, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GXset", (long) 0xf, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LineSolid", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CapNotLast", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CapButt", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CapRound", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CapProjecting", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"JoinMiter", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"JoinRound", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"JoinBevel", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FillSolid", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FillTiled", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FillStippled", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"EvenOddRule", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"WindingRule", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ClipByChildren", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Unsorted", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"YSorted", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"YXSorted", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"YXBanded", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Complex", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Nonconvex", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"Convex", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ArcChord", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GCLastBit", (long) 22, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"FontChange", (long) 255, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"XYBitmap", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"XYPixmap", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ZPixmap", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AllocNone", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AllocAll", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DoRed", (long) (1<<0), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"CursorShape", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"TileShape", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"StippleShape", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LedModeOff", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LedModeOn", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"MappingSuccess", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"MappingBusy", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"MappingFailed", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"MappingModifier", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"MappingPointer", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PreferBlanking", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"AllowExposures", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DefaultExposures", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"HostInsert", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"HostDelete", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"EnableAccess", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DisableAccess", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"StaticGray", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"GrayScale", (long) 1, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"StaticColor", (long) 2, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"PseudoColor", (long) 3, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"TrueColor", (long) 4, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"DirectColor", (long) 5, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"LSBFirst", (long) 0, 0, 0, 0},
-{ SWIG_PY_INT,     (char *)"MSBFirst", (long) 1, 0, 0, 0},
 {0}};
 
 #ifdef __cplusplus
This page took 0.071917 seconds and 4 git commands to generate.