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