From: Dana Jansens Date: Sat, 8 Feb 2003 07:34:25 +0000 (+0000) Subject: updated wrappers around the new otk widget system and style system X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5adb8c82d19a4a7fbd740e24acf2260ed7ab519c;p=chaz%2Fopenbox updated wrappers around the new otk widget system and style system --- 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) + %}