tkinter destroy()

stewart.midwinter at gmail.com stewart.midwinter at gmail.com
Wed Apr 6 00:40:26 EDT 2005


Macs:

"if we follow your advice we should do:

     immagine_1a = PhotoImage()
     ....

instead, but it doesn't work. why? "

Images are a special case.  You need to create an object instance of
them through the self. construction or else Tkinter seems to forget
about them within a couple of lines of code.  so yes, just use
self.immagine_1a and it should work.

lots of good information on:
http://tkinter.unpy.net/wiki

I took a quick look at your app but the button doesn't open the 2nd
window.   I see that you sent your message a few days ago so you've
probably solved that problem by now. 

S




More information about the Python-list mailing list