NZ> Adrian,
NZ> 
NZ>     I have had a similar problem in the past. I did some research into
NZ> it and found out you need to garbage collect manually after you no
NZ> longer have references to the image. I don't remember why I did this,
NZ> but I have something like this in my code:
NZ> 
NZ> import gc
NZ> gc.enable()
NZ> ...
NZ> set_image(someimage):
NZ>     # set the image
NZ>     gc.collect()
NZ> 
NZ> I hope this helps you.
NZ> 
NZ> Natan


indeed this works and solved the problem. but it think that the root of
the problem still remains and is some kind of bug probably in pygtk.
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to