Introspection Introspection

I’ve written a script which I can use to get information about gobject introspection modules for use in python. It’s written in python and allows you to look at actual function names, actual object names and what really is going on.

http://paste.ubuntu.com/872138/

This is mainly a problem because the documentation for Gtk with gi.repository is so poor and not clearly described that it makes it impossible to use without great force of will.

Hopefully this script can make the job easier for others, feel free to adapt it and post your remixes.

Tags: , , , , ,

One Response to “Introspection Introspection”

  1. Have you checked out https://launchpad.net/giraffe? It can be used to generate HTML docs straight from GIR files. You can see an example on http://developer.ubuntu.com/api/ubuntu-12.04/python/Unity-5.0.html.