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/

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to