X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fotk.i;h=fc5a4c5f23eb160b55439c79d7e3691774296b1e;hb=2b2f81b93c89c2a2d6abc3b12dee66b8e2a0452d;hp=9fcd5b6cb89a65437f910d94e44e8202316bacfb;hpb=5869cc29ef15181427e65079d9a52c5d21190206;p=chaz%2Fopenbox 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"