By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,199 Members | 1,120 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,199 IT Pros & Developers. It's quick & easy.

Tkinter PhotoImage Question

P: n/a
I have two classes one class inherits dict(), this class just takes in a
path argument much like glob.glob() and loads the image using PhotoImage
into itself, no biggie works fine. The other class inherits Frame and it
implements an add(self, **kw) method passes all of its arguments to a
Button. My question is that when I load the images with the first class
and then use dict.get(name) as the image argument for the add method the
image does not show up, mind you the variable holding the dict is seen
by the whole class so its not a garbage collection issue, but if I put a
command in the argument list it works just fine?

Any help is greatly appreciated.

Adonis
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.