This script will let you embed GIF images inside of your source code for use in Tkinter buttons, labels, etc. It is really handy for making toolbars, etc. without worr use in Tkinter buttons, labels, etc. It is really handy for making toolbars, etc. without worrying about having the right icon files installed.

The basic technique is to encode the GIF with base64 and store it as a string literal in the Python code to be passed to Tk PhotoImage.


Download from: Homepage




Author:
admin
Time:
Tuesday, June 3rd, 2008 at 7:52 pm
Category:
3D Graphics
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply