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

images in tkinter

P: n/a
Hi! I'm working on a script that displays images on Tkinter buttons, and I'd
like to be able to do the following things:

1) Ensure that a button, whose 'image' attribute changes during execution of the
script, stays the same size, but does not crop images that are larger than a
predefined 'height' and 'width'.

2) Get the respective names and file-types of all of the image files in a given
directory. (What I'm doing provisionally is reading the names out of a text file
written specifically for that purpose, and so far they're all gif's, but I'd
like to have more flexibility than that.)

Any help will be greatly appreciated.

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

This discussion thread is closed

Replies have been disabled for this discussion.