1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
14 %immutable otk::display;
15 %immutable otk::Property::atoms;
18 /*%rename(setValue_bool) Configuration::setValue(std::string const &,bool);
19 %rename(setValue_unsigned) Configuration::setValue(const std::string &, unsigned int);
20 %rename(setValue_long) Configuration::setValue(const std::string &, long);
21 %rename(setValue_unsignedlong) Configuration::setValue(const std::string &, unsigned long);
22 %rename(setValue_string) Configuration::setValue(const std::string &, const std::string &);
23 %rename(setValue_charptr) Configuration::setValue(const std::string &, const char *);*/
25 %rename(itostring_unsigned) itostring(unsigned int);
26 %rename(itostring_long) itostring(long);
27 %rename(itostring_unsigned_long) itostring(unsigned long);
29 // these are needed for guile, but not needed for python!
30 //%rename(equals) BColor::operator==;
31 //%rename(equals) Rect::operator==;
32 //%rename(equals) BTexture::operator==;
33 //%ignore BColor::operator!=;
34 //%ignore BTexture::operator!=;
35 %ignore Rect::operator!=;
36 %ignore Rect::operator|;
37 %ignore Rect::operator|=;
38 %ignore Rect::operator&;
39 %ignore Rect::operator&=;
40 //%ignore OBTimer::operator<;
41 %ignore TimerLessThan;
44 %rename(set_multi) OtkProperty::set(Window, Atoms, Atoms, unsigned long[], int);
45 %rename(set_string) OtkProperty::set(Window, Atoms, StringType, const std::string &);
46 %rename(set_string_multi) OtkProperty::set(Window, Atoms, StringType, const StringVect &);
50 %include "eventhandler.hh"
51 %include "eventdispatcher.hh"
55 %include "rendercolor.hh"
56 %include "rendertexture.hh"
58 %include "renderstyle.hh"
61 %include "appwidget.hh"
62 %include "application.hh"
65 %include "rendercontrol.hh"
66 %include "screeninfo.hh"
69 %apply unsigned long *OUTPUT { unsigned long *value };
70 %include "property.hh"
77 display = cvar.display;
78 atoms = cvar.Property_atoms;
81 return RenderStyle_style(screen)