summaryrefslogtreecommitdiff
path: root/wrap/otk_button.i
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-17 21:25:52 +0000
committerDana Jansens <danakj@orodu.net>2003-02-17 21:25:52 +0000
commit4534151926c4f3887ba9e37ae67df16f1eb039ef (patch)
treeb375f8ce60754639795ae99d59e1be44d52f9b0b /wrap/otk_button.i
parent1741bddecb23bfc401397222c9961233bb30a87a (diff)
split up the otk stuff into separate files.
wrap otk::Property properly with typemaps so that it is usable. wrap otk::Timer properly so that you can use it with a python callback
Diffstat (limited to 'wrap/otk_button.i')
-rw-r--r--wrap/otk_button.i22
1 files changed, 22 insertions, 0 deletions
diff --git a/wrap/otk_button.i b/wrap/otk_button.i
new file mode 100644
index 00000000..e2161607
--- /dev/null
+++ b/wrap/otk_button.i
@@ -0,0 +1,22 @@
+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
+
+%module otk_button
+
+%{
+#include "config.h"
+#include "button.hh"
+%}
+
+%include "otk_widget.i"
+%include "otk_ustring.i"
+%include "otk_font.i"
+%include "otk_renderstyle.i"
+
+namespace otk {
+
+%ignore Button::clickHandler(unsigned int);
+%ignore Button::styleChanged(const RenderStyle &);
+
+}
+
+%include "button.hh"