1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
7 # include "../config.h"
19 otk::Display *Display_instance() { return otk::display; }
22 %ignore otk::Property::atoms;
24 const otk::Atoms& Property_atoms() { return otk::Property::atoms; }
28 /*%rename(setValue_bool) Configuration::setValue(std::string const &,bool);
29 %rename(setValue_unsigned) Configuration::setValue(const std::string &, unsigned int);
30 %rename(setValue_long) Configuration::setValue(const std::string &, long);
31 %rename(setValue_unsignedlong) Configuration::setValue(const std::string &, unsigned long);
32 %rename(setValue_string) Configuration::setValue(const std::string &, const std::string &);
33 %rename(setValue_charptr) Configuration::setValue(const std::string &, const char *);*/
35 %rename(itostring_unsigned) itostring(unsigned int);
36 %rename(itostring_long) itostring(long);
37 %rename(itostring_unsigned_long) itostring(unsigned long);
39 // these are needed for guile, but not needed for python!
40 //%rename(equals) BColor::operator==;
41 //%rename(equals) Rect::operator==;
42 //%rename(equals) BTexture::operator==;
43 //%ignore BColor::operator!=;
44 //%ignore BTexture::operator!=;
45 %ignore Rect::operator!=;
46 %ignore Rect::operator|;
47 %ignore Rect::operator|=;
48 %ignore Rect::operator&;
49 %ignore Rect::operator&=;
50 //%ignore OBTimer::operator<;
51 %ignore TimerLessThan;
54 %rename(set_multi) OtkProperty::set(Window, Atoms, Atoms, unsigned long[], int);
55 %rename(set_string) OtkProperty::set(Window, Atoms, StringType, const std::string &);
56 %rename(set_string_multi) OtkProperty::set(Window, Atoms, StringType, const StringVect &);
60 %include "eventhandler.hh"
61 %include "eventdispatcher.hh"
64 %include "rendercolor.hh"
65 %include "rendertexture.hh"
67 %include "renderstyle.hh"
70 %include "focuswidget.hh"
71 %include "focuslabel.hh"
72 %include "appwidget.hh"
73 %include "application.hh"
74 %include "assassin.hh"
76 //%include "configuration.hh"
78 %include "rendercontrol.hh"
79 %include "property.hh"
80 %include "screeninfo.hh"