X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fopenbox.i;h=f43856072a006b139dfd94768635d2dabd1c0616;hb=af1ac846ccb5fab8a3c83d8688db3d3f96f5a98b;hp=59dbecdd20bc32396eb381e5a9597fbbe17e6903;hpb=9e77a88d269bfafb78e56a646bfacebdd6ff4c5a;p=chaz%2Fopenbox diff --git a/src/openbox.i b/src/openbox.i index 59dbecdd..f4385607 100644 --- a/src/openbox.i +++ b/src/openbox.i @@ -90,6 +90,8 @@ void python_callback(PyObject *func, KeyData *data) } %} +#ignore ob::openbox; + %ignore ob::Screen::clients; %{ #include @@ -107,12 +109,17 @@ void python_callback(PyObject *func, KeyData *data) } }; -%ignore otk::Display::display; +%include "../otk/ustring.i" + +%ignore otk::display; %inline %{ - Display *Display_display() { return otk::Display::display; } + 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"