]> Dogcows Code - chaz/openbox/blobdiff - src/openbox.i
use otk objects in the ob scripts by importing otk
[chaz/openbox] / src / openbox.i
index 66ec8ee6b4dc0912280c4d280aa535a5d880e540..b3d1a9ed725650c70954521d4273298662011feb 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
 
-%module openbox
+%module ob
 
 %{
 #ifdef HAVE_CONFIG_H
@@ -110,6 +110,7 @@ void python_callback(PyObject *func, KeyData *data)
   }
 };
 
+/*
 %include "../otk/ustring.i"
 
 %ignore otk::display;
@@ -133,6 +134,9 @@ void python_callback(PyObject *func, KeyData *data)
 %include "../otk/eventdispatcher.hh"
 
 %import "../otk/widget.hh"
+*/
+%import "../otk/otk.i"
+
 %import "widgetbase.hh"
 %import "actions.hh"
 
This page took 0.020105 seconds and 4 git commands to generate.