[Tkinter-discuss] Tkinter, toplevel and images

Fredrik Lundh fredrik at pythonware.com
Sat Aug 23 11:30:27 CEST 2008


ptg at clix.pt wrote:

> and I just can see a grey window with a "close" button... However,
> when I try the same code with the root I can see both images... Can
> anyone give me a tip?

you need to make sure that you keep references to all photoimages that 
are being displayed; see

http://effbot.org/tkinterbook/photoimage.htm#note

</F>



More information about the Tkinter-discuss mailing list