1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
13 %immutable otk::display;
14 %immutable otk::Property::atoms;
17 /*%rename(setValue_bool) Configuration::setValue(std::string const &,bool);
18 %rename(setValue_unsigned) Configuration::setValue(const std::string &, unsigned int);
19 %rename(setValue_long) Configuration::setValue(const std::string &, long);
20 %rename(setValue_unsignedlong) Configuration::setValue(const std::string &, unsigned long);
21 %rename(setValue_string) Configuration::setValue(const std::string &, const std::string &);
22 %rename(setValue_charptr) Configuration::setValue(const std::string &, const char *);*/
24 %rename(itostring_unsigned) itostring(unsigned int);
25 %rename(itostring_long) itostring(long);
26 %rename(itostring_unsigned_long) itostring(unsigned long);
28 // these are needed for guile, but not needed for python!
29 //%rename(equals) BColor::operator==;
30 //%rename(equals) Rect::operator==;
31 //%rename(equals) BTexture::operator==;
32 //%ignore BColor::operator!=;
33 //%ignore BTexture::operator!=;
34 %ignore Rect::operator!=;
35 %ignore Rect::operator|;
36 %ignore Rect::operator|=;
37 %ignore Rect::operator&;
38 %ignore Rect::operator&=;
39 //%ignore OBTimer::operator<;
40 %ignore TimerLessThan;
43 %rename(set_multi) OtkProperty::set(Window, Atoms, Atoms, unsigned long[], int);
44 %rename(set_string) OtkProperty::set(Window, Atoms, StringType, const std::string &);
45 %rename(set_string_multi) OtkProperty::set(Window, Atoms, StringType, const StringVect &);
49 %include "eventhandler.hh"
50 %include "eventdispatcher.hh"
54 %include "rendercolor.hh"
55 %include "rendertexture.hh"
57 %include "renderstyle.hh"
60 %include "appwidget.hh"
61 %include "application.hh"
62 %include "assassin.hh"
65 %include "rendercontrol.hh"
66 %include "property.hh"
67 %include "screeninfo.hh"
75 display = cvar.display;
76 atoms = cvar.Property_atoms;
79 return RenderStyle_style(screen)