]> Dogcows Code - chaz/openbox/blobdiff - wrap/otk.i
kill the typedef
[chaz/openbox] / wrap / otk.i
index 8d06d6f0a7bb7cd33e95f000273c4a7e256e98f2..4ff835a6a771c5de396301fd7b864a9e77a837ca 100644 (file)
@@ -7,6 +7,7 @@
 %}
 
 %include "stl.i"
+%include "typemaps.i"
 //%include std_list.i
 %include "ustring.i"
 
@@ -49,6 +50,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,19 +58,16 @@ 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"
 %include "button.hh"
 %include "display.hh"
 %include "rendercontrol.hh"
-%include "property.hh"
 %include "screeninfo.hh"
 %include "strut.hh"
-%include "timer.hh"
-%include "util.hh"
+
+%apply unsigned long *OUTPUT { unsigned long *value };
+%include "property.hh"
 
 // for Window etc
 %import "X11/X.h"
@@ -77,4 +76,8 @@ namespace otk {
 %pythoncode %{
 display = cvar.display;
 atoms = cvar.Property_atoms;
+
+def style(screen):
+    return RenderStyle_style(screen)
+
 %}
This page took 0.022027 seconds and 4 git commands to generate.