1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
7 # include "../config.h"
17 %ignore otk::OBDisplay::display;
19 Display *OBDisplay_display() { return otk::OBDisplay::display; }
23 %rename(setValue_bool) Configuration::setValue(std::string const &,bool);
24 %rename(setValue_unsigned) Configuration::setValue(const std::string &, unsigned int);
25 %rename(setValue_long) Configuration::setValue(const std::string &, long);
26 %rename(setValue_unsignedlong) Configuration::setValue(const std::string &, unsigned long);
27 %rename(setValue_string) Configuration::setValue(const std::string &, const std::string &);
28 %rename(setValue_charptr) Configuration::setValue(const std::string &, const char *);
30 %rename(itostring_unsigned) itostring(unsigned int);
31 %rename(itostring_long) itostring(long);
32 %rename(itostring_unsigned_long) itostring(unsigned long);
34 // these are needed for guile, but not needed for python!
35 %rename(equals) BColor::operator==;
36 %rename(equals) Rect::operator==;
37 %rename(equals) BTexture::operator==;
38 %ignore BColor::operator!=;
39 %ignore BTexture::operator!=;
40 %ignore Rect::operator!=;
41 %ignore Rect::operator|;
42 %ignore Rect::operator|=;
43 %ignore Rect::operator&;
44 %ignore Rect::operator&=;
45 %ignore OBTimer::operator<;
46 %ignore TimerLessThan;
49 %rename(set_multi) OtkProperty::set(Window, Atoms, Atoms, unsigned long[], int);
50 %rename(set_string) OtkProperty::set(Window, Atoms, StringType, const std::string &);
51 %rename(set_string_multi) OtkProperty::set(Window, Atoms, StringType, const StringVect &);
55 %include "eventdispatcher.hh"
56 %include "eventhandler.hh"
58 %include "focuswidget.hh"
59 %include "focuslabel.hh"
60 %include "appwidget.hh"
61 %include "application.hh"
62 %include "assassin.hh"
65 %include "configuration.hh"
72 %include "property.hh"
74 %include "screeninfo.hh"