]> Dogcows Code - chaz/openbox/blobdiff - src/openbox.i
typo.. just PACKAGE
[chaz/openbox] / src / openbox.i
index dd1368a06e78be074ad5962b1ac9250a0ca80bcb..edc29ae82303c0081fefc2a62a8b211c2b340b4f 100644 (file)
@@ -18,7 +18,7 @@
 
 %include "stl.i"
 //%include std_list.i
-//%template(ClientList) std::list<OBClient*>;
+//%template(ClientList) std::list<Client*>;
 
 %ignore ob::Openbox::instance;
 %inline %{
@@ -90,15 +90,15 @@ void python_callback(PyObject *func, KeyData *data)
 }
 %}
 
-%ignore ob::OBScreen::clients;
+%ignore ob::Screen::clients;
 %{
   #include <iterator>
 %}
-%extend ob::OBScreen {
-  OBClient *client(int i) {
+%extend ob::Screen {
+  Client *client(int i) {
     if (i >= (int)self->clients.size())
       return NULL;
-    ob::OBClient::List::iterator it = self->clients.begin();
+    ob::Client::List::iterator it = self->clients.begin();
     std::advance(it,i);
     return *it;
   }
@@ -107,6 +107,11 @@ void python_callback(PyObject *func, KeyData *data)
   }
 };
 
+%ignore otk::Display::display;
+%inline %{
+  Display *Display_display() { return otk::Display::display; }
+%};
+
 %include "../otk/display.hh"
 %include "../otk/point.hh"
 %include "../otk/property.hh"
@@ -114,11 +119,6 @@ void python_callback(PyObject *func, KeyData *data)
 %include "../otk/screeninfo.hh"
 %include "../otk/strut.hh"
 
-%rename(itostring_unsigned) itostring(unsigned int);
-%rename(itostring_long) itostring(long);
-%rename(itostring_unsigned_long) itostring(unsigned long);
-%include "../otk/util.hh"
-
 %include "../otk/eventhandler.hh"
 %include "../otk/eventdispatcher.hh"
 
This page took 0.023763 seconds and 4 git commands to generate.