Kevin Walzer: The fileicons package provides a simple and convenient way to display file information with an icon in a Tk GUI. The package defines commands that will retrieve icons for specific file extensions and/or type (directories, executable files, etc.). The package is also easily extended if you want to ship a different icon theme than the base packages. The fileicons package allows developers to provide a richer GUI without taking the trouble to assemble their own icon/mimetype theme.
The fileicons package is released under the standard Tcl/Tk license and is available from http://sourceforge.net/projects/tk-components .