Re: custom functions in introspection typelibs
- From: "Colin Walters" <walters verbum org>
- To: "Havoc Pennington" <hp pobox com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: custom functions in introspection typelibs
- Date: Sat, 27 Sep 2008 18:05:56 -0400
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]