[pygtk] PyGobject set pixbuf value to None
Yann Leboulanger
asterix at lagaule.org
Wed Dec 19 06:08:05 WST 2012
Hi,
I am trying to port my application to Gobject introspection, and I am
facing a problem. I have a TreeModel that contains a GdkPixbuf.Pixbuf in
one of its columns. When I try to do:
model[iter][PIXBUF_COL] = None
I get a Traceback saying:
TypeError: Argument 3 does not allow None as a value
So I wonder how can I do to not show a pixbuf for this iter. I found
this thread suggesting that it's a bug in GObject, but is that true?
http://comments.gmane.org/gmane.comp.genealogy.gramps.devel/23022
Thanks in advance for your help,
--
Yann
More information about the pygtk
mailing list