[pygtk] pygobject documentation ?

Just Fill Bugs mozbugbox at yahoo.com.au
Wed Jan 11 18:44:58 WST 2012


On 01/10/2012 10:42 PM, Jérôme wrote:

>
> But it is sometimes hard to just guess the name of python constants from C
> constants.
>
> Like from GTK_WINDOW_POPUP to Gtk.WindowType.POPUP, for instance.
>
> Is there any document indicating generic recipes to do the translation, or do
> I just need to pull my hair a little more time until I can "feel" that ?
>
> Is there any other document I could use ?
>
> Was GTK3 actually too bleeding edge for a beginner ?
>
> More generally, what approach would you suggest ?

Inspect the .gir file in your /usr/share/gir-1.0/. Those are xml files.

You can also use GirLook as a GUI gir file inspection tool.

http://sourceforge.net/projects/girlook/



More information about the pygtk mailing list