Fwd: Tkinter: image handling: bug or feature?
Nick Perkins
nperkins7 at home.com
Fri Jun 1 18:18:37 EDT 2001
I am not surprised that you have to at least call Tk()
( initializes Tk ) before creating the PhotoImage.
I wouldn't call that voodoo or anything.
I suppose that is done 'behind the scenes' when you instantiate 'TopLevel'.
OTOH, I agree that it does seem slightly inconsistent that you have to keep
a reference to the PhotoImage.
I will keep your experience in mind if try to use PhotoImage.
Thanks for the info.
More information about the Python-list
mailing list