[Twisted-Python] having trouble displaying Tkinter photo images with twisted, help?

Glyph Lefkowitz glyph at twistedmatrix.com
Fri Dec 5 13:35:51 EST 2003

Jp Calderone wrote:

>   Just a guess - if the PhotoImage is garbage collected (No, the Button does
> not hold a reference to it), the image data is freed and will
> consequentially not be available for display.  Perhaps you need to stash a
> reference to the PhotoImage somewhere?

Yeah, that's a well-known bug with Tkinter's image support.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 256 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20031205/665ca119/attachment.pgp 

More information about the Twisted-Python mailing list