On Sun, 2011-03-13 at 18:34 -0400, John Lumby wrote: > I am having trouble trying to port a pygtk/python2.6/linux-fedora-14 > application to use pygobject. > > My first try was to convert using pygi-convert.sh, and when I ran that > converted .py, I got
Firstly, F-14 is probably too old. This pygobject+g-i has moved a lot in the last few months. pygi-convert is a hint only, it should not produce working code out of the box. With that said, my experiences are * on F15/Natty pygobject/g+i works well * use glib (i.e. static bindings) and GObject (from gi.repository import GObject) * callbacks and user_data optional parameters are the usual source of pain * use named arguments to constructors Here is a new app written in pygobject+g-i https://github.com/nzjrs/gnome-tweak-tool John _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/