Re: custom functions in introspection typelibs



On Sat, Sep 27, 2008 at 5:05 PM, Colin Walters <walters verbum org> wrote:
>
> g-ir-inject Clutter.gir ClutterAdditions.xml

gobject-introspection SVN r631 now has:

g-ir-scanner --inject /path/to/gir-repository/gir/Clutter.gir
/path/to/gir-repository/gir/ClutterAdditions.xml Clutter.gir

Only it isn't quite good enough because python elementtree doesn't
have an API to write out XML documents with namespaces sanely.  We may
have to write (or find) a function to replace elementtree's "write"
that works with namespaces.  Working with XML in Python is very
frustrating...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]