diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-05 10:39:14 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-05 10:39:14 +0000 |
| commit | 423367e8cda46f9d0f69932f617054cc15702aeb (patch) | |
| tree | 6ea6f46496246767adf5f488307f4c6427f21a97 /otk/otk.i | |
| parent | a5a712f9ae652e500c81b42db548d213bde4712e (diff) | |
move the otk wrapper stuff into its own dir
Diffstat (limited to 'otk/otk.i')
| -rw-r--r-- | otk/otk.i | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/otk/otk.i b/otk/otk.i deleted file mode 100644 index 39a79d95..00000000 --- a/otk/otk.i +++ /dev/null @@ -1,86 +0,0 @@ -// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- - -%module otk - -%{ -#ifdef HAVE_CONFIG_H -# include "../config.h" -#endif - -#include "otk.hh" -%} - -%include "stl.i" -//%include std_list.i -%include "ustring.i" - -%ignore otk::display; -%inline %{ - otk::Display *Display_instance() { return otk::display; } -%}; - -%ignore otk::Property::atoms; -%inline %{ - const otk::Atoms& Property_atoms() { return otk::Property::atoms; } -%}; - -namespace otk { -/*%rename(setValue_bool) Configuration::setValue(std::string const &,bool); -%rename(setValue_unsigned) Configuration::setValue(const std::string &, unsigned int); -%rename(setValue_long) Configuration::setValue(const std::string &, long); -%rename(setValue_unsignedlong) Configuration::setValue(const std::string &, unsigned long); -%rename(setValue_string) Configuration::setValue(const std::string &, const std::string &); -%rename(setValue_charptr) Configuration::setValue(const std::string &, const char *);*/ - -%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 "eventhandler.hh" -%include "eventdispatcher.hh" -%include "point.hh" -%include "rect.hh" -%include "rendercolor.hh" -%include "rendertexture.hh" -%include "font.hh" -%include "renderstyle.hh" -%include "widget.hh" -%include "label.hh" -%include "focuswidget.hh" -%include "focuslabel.hh" -%include "appwidget.hh" -%include "application.hh" -%include "assassin.hh" -%include "button.hh" -//%include "configuration.hh" -%include "display.hh" -%include "rendercontrol.hh" -%include "property.hh" -%include "screeninfo.hh" -%include "strut.hh" -%include "timer.hh" -%include "util.hh" - -// for Mod1Mask etc -%include "X11/X.h" |
