X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=otk%2Fotk.i;fp=otk%2Fotk.i;h=399d89e028d1988407c452bfcd91d311192d196c;hb=4c768d5d63154e416e1282396dc48492d0585d42;hp=fc5a4c5f23eb160b55439c79d7e3691774296b1e;hpb=85b0dc80cff679d964820159de018a6e89997184;p=chaz%2Fopenbox 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"