]> icculus.org git repositories - mikachu/openbox.git/blob - otk/otk.i
add next/prev desktop, give them the no_wrap optional arg
[mikachu/openbox.git] / otk / otk.i
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2
3 %module otk
4
5 %{
6 #ifdef HAVE_CONFIG_H
7 #  include "../config.h"
8 #endif
9
10 #include "application.hh"
11 #include "appwidget.hh"
12 #include "assassin.hh"
13 #include "button.hh"
14 #include "color.hh"
15 #include "configuration.hh"
16 #include "display.hh"
17 #include "eventdispatcher.hh"
18 #include "eventhandler.hh"
19 #include "focuslabel.hh"
20 #include "focuswidget.hh"
21 #include "font.hh"
22 #include "gccache.hh"
23 #include "image.hh"
24 #include "label.hh"
25 #include "point.hh"
26 #include "property.hh"
27 #include "rect.hh"
28 #include "screeninfo.hh"
29 #include "strut.hh"
30 #include "style.hh"
31 #include "texture.hh"
32 #include "timer.hh"
33 #include "timerqueue.hh"
34 #include "timerqueuemanager.hh"
35 #include "util.hh"
36 #include "widget.hh"
37 %}
38
39 %include stl.i
40 //%include std_list.i
41
42 namespace otk {
43 %rename(setValue_bool) Configuration::setValue(std::string const &,bool);
44 %rename(setValue_unsigned) Configuration::setValue(const std::string &, unsigned int);
45 %rename(setValue_long) Configuration::setValue(const std::string &, long);
46 %rename(setValue_unsignedlong) Configuration::setValue(const std::string &, unsigned long);
47 %rename(setValue_string) Configuration::setValue(const std::string &, const std::string &);
48 %rename(setValue_charptr) Configuration::setValue(const std::string &, const char *);
49
50 %rename(itostring_unsigned) itostring(unsigned int);
51 %rename(itostring_long) itostring(long);
52 %rename(itostring_unsigned_long) itostring(unsigned long);
53
54 // these are needed for guile, but not needed for python!
55 %rename(equals) BColor::operator==;
56 %rename(equals) Rect::operator==;
57 %rename(equals) BTexture::operator==;
58 %ignore BColor::operator!=;
59 %ignore BTexture::operator!=;
60 %ignore Rect::operator!=;
61 %ignore Rect::operator|;
62 %ignore Rect::operator|=;
63 %ignore Rect::operator&;
64 %ignore Rect::operator&=;
65 %ignore OBTimer::operator<;
66 %ignore TimerLessThan;
67
68 /*
69 %rename(set_multi) OtkProperty::set(Window, Atoms, Atoms, unsigned long[], int);
70 %rename(set_string) OtkProperty::set(Window, Atoms, StringType, const std::string &);
71 %rename(set_string_multi) OtkProperty::set(Window, Atoms, StringType, const StringVect &);
72 */
73 }
74
75 %include "eventdispatcher.hh"
76 %include "eventhandler.hh"
77 %include "widget.hh"
78 %include "focuswidget.hh"
79 %include "focuslabel.hh"
80 %include "appwidget.hh"
81 %include "application.hh"
82 %include "assassin.hh"
83 %include "button.hh"
84 %include "color.hh"
85 %include "configuration.hh"
86 %include "display.hh"
87 %include "font.hh"
88 %include "gccache.hh"
89 %include "image.hh"
90 %include "label.hh"
91 %include "point.hh"
92 %include "property.hh"
93 %include "rect.hh"
94 %include "screeninfo.hh"
95 %include "strut.hh"
96 %include "style.hh"
97 %include "texture.hh"
98 %include "timer.hh"
99 %include "timerqueue.hh"
100 %include "timerqueuemanager.hh"
101 %include "util.hh"