Wayne, Michael;

This is a sample code that shows what I'm doing. As you can see, even if I 
don't have a while loop, the picture is not being shown. Am I missing 
something? What is wrong with my code that I can't open and show the picture in 
the new Toplevel window?

Guido

>The second call to mainloop() is the problem, just remove it and
>everything will work as expected. mainloop() must only be called
>once per application (for the main Tk() window).
>
>I hope this helps
>
>Michael
>
>
>
>
>------------------------------
>
>_______________________________________________
>Tkinter-discuss mailing list
>Tkinter-discuss@python.org
>http://mail.python.org/mailman/listinfo/tkinter-discuss
>
>
>End of Tkinter-discuss Digest, Vol 74, Issue 16
>***********************************************
>
>

Attachment: demo_jpg_&_toplevel.py
Description: Binary data

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to