summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-08 07:34:25 +0000
committerDana Jansens <danakj@orodu.net>2003-02-08 07:34:25 +0000
commit5adb8c82d19a4a7fbd740e24acf2260ed7ab519c (patch)
treecb013eb1ba98b935af260f0f845554840c8cb7dc
parentf9659acd11bf73c117674a179e9c834bd22889d2 (diff)
updated wrappers around the new otk widget system and style system
-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)
+
%}