]> icculus.org git repositories - mikachu/openbox.git/blob - otk/wrap/otk.i
give output when building a cvs release
[mikachu/openbox.git] / otk / wrap / otk.i
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2
3 %module otk
4
5 %{
6 #include "otk.hh"
7 %}
8
9 %include "stl.i"
10 //%include std_list.i
11 %include "ustring.i"
12
13 %ignore otk::display;
14 %inline %{
15   otk::Display *Display_instance() { return otk::display; }
16 %};
17
18 %ignore otk::Property::atoms;
19 %inline %{
20   const otk::Atoms& Property_atoms() { return otk::Property::atoms; }
21 %};
22
23 namespace otk {
24 /*%rename(setValue_bool) Configuration::setValue(std::string const &,bool);
25 %rename(setValue_unsigned) Configuration::setValue(const std::string &, unsigned int);
26 %rename(setValue_long) Configuration::setValue(const std::string &, long);
27 %rename(setValue_unsignedlong) Configuration::setValue(const std::string &, unsigned long);
28 %rename(setValue_string) Configuration::setValue(const std::string &, const std::string &);
29 %rename(setValue_charptr) Configuration::setValue(const std::string &, const char *);*/
30
31 %rename(itostring_unsigned) itostring(unsigned int);
32 %rename(itostring_long) itostring(long);
33 %rename(itostring_unsigned_long) itostring(unsigned long);
34
35 // these are needed for guile, but not needed for python!
36 //%rename(equals) BColor::operator==;
37 //%rename(equals) Rect::operator==;
38 //%rename(equals) BTexture::operator==;
39 //%ignore BColor::operator!=;
40 //%ignore BTexture::operator!=;
41 %ignore Rect::operator!=;
42 %ignore Rect::operator|;
43 %ignore Rect::operator|=;
44 %ignore Rect::operator&;
45 %ignore Rect::operator&=;
46 //%ignore OBTimer::operator<;
47 %ignore TimerLessThan;
48
49 /*
50 %rename(set_multi) OtkProperty::set(Window, Atoms, Atoms, unsigned long[], int);
51 %rename(set_string) OtkProperty::set(Window, Atoms, StringType, const std::string &);
52 %rename(set_string_multi) OtkProperty::set(Window, Atoms, StringType, const StringVect &);
53 */
54 }
55
56 %include "eventhandler.hh"
57 %include "eventdispatcher.hh"
58 %include "point.hh"
59 %include "rect.hh"
60 %include "rendercolor.hh"
61 %include "rendertexture.hh"
62 %include "font.hh"
63 %include "renderstyle.hh"
64 %include "widget.hh"
65 %include "label.hh"
66 %include "focuswidget.hh"
67 %include "focuslabel.hh"
68 %include "appwidget.hh"
69 %include "application.hh"
70 %include "assassin.hh"
71 %include "button.hh"
72 %include "display.hh"
73 %include "rendercontrol.hh"
74 %include "property.hh"
75 %include "screeninfo.hh"
76 %include "strut.hh"
77 %include "timer.hh"
78 %include "util.hh"
79
80 // for Mod1Mask etc
81 %include "X11/X.h"