1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
15 otk::Display *Display_instance() { return otk::display; }
18 %ignore otk::Property::atoms;
20 const otk::Atoms& Property_atoms() { return otk::Property::atoms; }
24 /*%rename(setValue_bool) Configuration::setValue(std::string const &,bool);
25 %rename(setValue_unsigned) Configuration::setValue(const std::string &, unsigned int);
26 %rename(setValue_long) Configuration::setValue(const std::string &, long);
27 %rename(setValue_unsignedlong) Configuration::setValue(const std::string &, unsigned long);
28 %rename(setValue_string) Configuration::setValue(const std::string &, const std::string &);
29 %rename(setValue_charptr) Configuration::setValue(const std::string &, const char *);*/
31 %rename(itostring_unsigned) itostring(unsigned int);
32 %rename(itostring_long) itostring(long);
33 %rename(itostring_unsigned_long) itostring(unsigned long);
35 // these are needed for guile, but not needed for python!
36 //%rename(equals) BColor::operator==;
37 //%rename(equals) Rect::operator==;
38 //%rename(equals) BTexture::operator==;
39 //%ignore BColor::operator!=;
40 //%ignore BTexture::operator!=;
41 %ignore Rect::operator!=;
42 %ignore Rect::operator|;
43 %ignore Rect::operator|=;
44 %ignore Rect::operator&;
45 %ignore Rect::operator&=;
46 //%ignore OBTimer::operator<;
47 %ignore TimerLessThan;
50 %rename(set_multi) OtkProperty::set(Window, Atoms, Atoms, unsigned long[], int);
51 %rename(set_string) OtkProperty::set(Window, Atoms, StringType, const std::string &);
52 %rename(set_string_multi) OtkProperty::set(Window, Atoms, StringType, const StringVect &);
56 %include "eventhandler.hh"
57 %include "eventdispatcher.hh"
60 %include "rendercolor.hh"
61 %include "rendertexture.hh"
63 %include "renderstyle.hh"
66 %include "focuswidget.hh"
67 %include "focuslabel.hh"
68 %include "appwidget.hh"
69 %include "application.hh"
70 %include "assassin.hh"
73 %include "rendercontrol.hh"
74 %include "property.hh"
75 %include "screeninfo.hh"