summaryrefslogtreecommitdiff
path: root/otk/otk.i
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-24 23:31:38 +0000
committerDana Jansens <danakj@orodu.net>2002-12-24 23:31:38 +0000
commitbf49e7642027f576716e5742544c282f4396f9ef (patch)
treeb5ea1942e661a35330ce19443b2b8fd6c33019ef /otk/otk.i
parent5a139f7263e33b499836f5df9ac37400e02c32f9 (diff)
python. no more guile. python.
Diffstat (limited to 'otk/otk.i')
-rw-r--r--otk/otk.i20
1 files changed, 20 insertions, 0 deletions
diff --git a/otk/otk.i b/otk/otk.i
index 9fcd5b6c..fc5a4c5f 100644
--- a/otk/otk.i
+++ b/otk/otk.i
@@ -50,6 +50,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"