Tkinter: image doesn't exist.
Fredrik Lundh
fredrik at pythonware.com
Fri Mar 2 02:40:16 EST 2001
More information about the Python-list mailing list
Fri Mar 2 02:40:16 EST 2001
- Previous message (by thread): d = {}; d[0:1] = 1; d[0:1] = 2; print d[0:1]
- Next message (by thread): Tkinter: image doesn't exist.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
David Allen wrote: > What kind of a crappy error message is "image doesn't > exist?" it means exactly what it says: when created, the PhotoImage class registers a photoimage object with Tk, but when you try to use it in FooModule, it's no longer there. are you perhaps using multiple root windows? (each root has its own interpreter context, and images registered in one context aren't visible in other contexts. use Toplevel in- stead). Cheers /F <!-- (the eff-bot guide to) the standard python library: http://www.pythonware.com/people/fredrik/librarybook.htm -->
- Previous message (by thread): d = {}; d[0:1] = 1; d[0:1] = 2; print d[0:1]
- Next message (by thread): Tkinter: image doesn't exist.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list