summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wrap/ob.i1
-rw-r--r--wrap/otk.i9
2 files changed, 5 insertions, 5 deletions
diff --git a/wrap/ob.i b/wrap/ob.i
index 19360a43..33cc5403 100644
--- a/wrap/ob.i
+++ b/wrap/ob.i
@@ -49,7 +49,6 @@
%import "otk.i"
-%import "widgetbase.hh"
%import "actions.hh"
%include "openbox.hh"
diff --git a/wrap/otk.i b/wrap/otk.i
index 8d06d6f0..2d87fb82 100644
--- a/wrap/otk.i
+++ b/wrap/otk.i
@@ -49,6 +49,7 @@ namespace otk {
%include "eventhandler.hh"
%include "eventdispatcher.hh"
%include "point.hh"
+%include "size.hh"
%include "rect.hh"
%include "rendercolor.hh"
%include "rendertexture.hh"
@@ -56,8 +57,6 @@ namespace otk {
%include "renderstyle.hh"
%include "widget.hh"
%include "label.hh"
-%include "focuswidget.hh"
-%include "focuslabel.hh"
%include "appwidget.hh"
%include "application.hh"
%include "assassin.hh"
@@ -67,8 +66,6 @@ namespace otk {
%include "property.hh"
%include "screeninfo.hh"
%include "strut.hh"
-%include "timer.hh"
-%include "util.hh"
// for Window etc
%import "X11/X.h"
@@ -77,4 +74,8 @@ namespace otk {
%pythoncode %{
display = cvar.display;
atoms = cvar.Property_atoms;
+
+def style(screen):
+ return RenderStyle_style(screen)
+
%}