summaryrefslogtreecommitdiff
path: root/otk/otk.i
diff options
context:
space:
mode:
Diffstat (limited to 'otk/otk.i')
-rw-r--r--otk/otk.i10
1 files changed, 9 insertions, 1 deletions
diff --git a/otk/otk.i b/otk/otk.i
index fc5a4c5f..399d89e0 100644
--- a/otk/otk.i
+++ b/otk/otk.i
@@ -36,9 +36,14 @@
#include "widget.hh"
%}
-%include stl.i
+%include "stl.i"
//%include std_list.i
+%ignore otk::OBDisplay::display;
+%inline %{
+ Display *OBDisplay_display() { return otk::OBDisplay::display; }
+%};
+
namespace otk {
%rename(setValue_bool) Configuration::setValue(std::string const &,bool);
%rename(setValue_unsigned) Configuration::setValue(const std::string &, unsigned int);
@@ -99,3 +104,6 @@ namespace otk {
%include "timerqueue.hh"
%include "timerqueuemanager.hh"
%include "util.hh"
+
+// for Mod1Mask etc
+%include "X11/X.h"