Re: Tkinter, toplevel and images

2008-08-23 Thread Fredrik Lundh
Pedro 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? this was cross-posted to the tkinter mailing list; in case someone stumbles upon this via a search engine, here's a link

Tkinter, toplevel and images

2008-08-22 Thread Pedro
Hi I'm trying to build a small application that can display some images in a toplevel window. I have this code: def Results(master): from Tkinter import Toplevel, Button, Label from PIL import ImageTk figures = ['first.png', 'second.png'] ResultsWindow = Toplevel(master)

Re: Tkinter, toplevel and images

2008-08-22 Thread Adam E
On Aug 22, 9:17 am, Pedro [EMAIL PROTECTED] wrote: Hi I'm trying to build a small application that can display some images in a toplevel window. I have this code: def Results(master): from Tkinter import Toplevel, Button, Label from PIL import ImageTk figures = ['first.png',