Tkinter bug ?
Stephane Conversy
conversy at lri.fr
Mon Jul 26 12:57:46 EDT 1999
FAQ:
Well, the Tk button widget keeps a reference to the internal
photoimage object, but Tkinter does not. So when the last
Python reference goes away, Tkinter tells Tk to release the
photoimage. But since the image is in use by a widget, Tk
doesn't destroy it. Not completely. It just blanks the image,
making it completely transparent...
ok, but does it have something to do with the fact that in one case
I do a from file1 import * and in the other import file1 ?
I'm a beginner in Python, and don't know exaclty how modules
are implemented...
stef
--
Stéphane Conversy
http://www-ihm.lri.fr/~conversy/
mailto:conversy at lri.fr
More information about the Python-list
mailing list