]> Dogcows Code - chaz/openbox/blobdiff - otk/otk.i
use client messages to switch desktops/move windows between desktops
[chaz/openbox] / otk / otk.i
index 9fcd5b6cb89a65437f910d94e44e8202316bacfb..399d89e028d1988407c452bfcd91d311192d196c 100644 (file)
--- a/otk/otk.i
+++ b/otk/otk.i
 #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);
@@ -50,6 +55,26 @@ namespace otk {
 %rename(itostring_unsigned) itostring(unsigned int);
 %rename(itostring_long) itostring(long);
 %rename(itostring_unsigned_long) itostring(unsigned long);
+
+// these are needed for guile, but not needed for python!
+%rename(equals) BColor::operator==;
+%rename(equals) Rect::operator==;
+%rename(equals) BTexture::operator==;
+%ignore BColor::operator!=;
+%ignore BTexture::operator!=;
+%ignore Rect::operator!=;
+%ignore Rect::operator|;
+%ignore Rect::operator|=;
+%ignore Rect::operator&;
+%ignore Rect::operator&=;
+%ignore OBTimer::operator<;
+%ignore TimerLessThan;
+
+/*
+%rename(set_multi) OtkProperty::set(Window, Atoms, Atoms, unsigned long[], int);
+%rename(set_string) OtkProperty::set(Window, Atoms, StringType, const std::string &);
+%rename(set_string_multi) OtkProperty::set(Window, Atoms, StringType, const StringVect &);
+*/
 }
 
 %include "eventdispatcher.hh"
@@ -79,3 +104,6 @@ namespace otk {
 %include "timerqueue.hh"
 %include "timerqueuemanager.hh"
 %include "util.hh"
+
+// for Mod1Mask etc
+%include "X11/X.h"
This page took 0.021916 seconds and 4 git commands to generate.