]> Dogcows Code - chaz/openbox/blobdiff - src/openbox.i
capitalization
[chaz/openbox] / src / openbox.i
index ef86b9bcceb725fc3bae125ae83f08551f6745bd..b3d1a9ed725650c70954521d4273298662011feb 100644 (file)
@@ -1,12 +1,13 @@
 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
 
-%module openbox
+%module ob
 
 %{
 #ifdef HAVE_CONFIG_H
 #  include "../config.h"
 #endif
 
+#include "frame.hh"
 #include "openbox.hh"
 #include "screen.hh"
 #include "client.hh"
@@ -109,9 +110,18 @@ void python_callback(PyObject *func, KeyData *data)
   }
 };
 
+/*
+%include "../otk/ustring.i"
+
 %ignore otk::display;
+%inline %{
+  otk::Display *Display_instance() { return otk::display; }
+%};
 
-%include "../otk/ustring.i"
+%ignore otk::Property::atoms;
+%inline %{
+  const otk::Atoms& Property_atoms() { return otk::Property::atoms; }
+%};
 
 %include "../otk/display.hh"
 %include "../otk/point.hh"
@@ -123,12 +133,17 @@ void python_callback(PyObject *func, KeyData *data)
 %include "../otk/eventhandler.hh"
 %include "../otk/eventdispatcher.hh"
 
+%import "../otk/widget.hh"
+*/
+%import "../otk/otk.i"
+
 %import "widgetbase.hh"
 %import "actions.hh"
 
 %include "openbox.hh"
 %include "screen.hh"
 %include "client.hh"
+%include "frame.hh"
 %include "python.hh"
 
 // for Mod1Mask etc
This page took 0.026247 seconds and 4 git commands to generate.