fileicons

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 most common use case for the fileicons package would likely be in file system displays, for instance with the BWidgets listbox or tree widgets, or the Tablelist display.

The fileicons package is released under the standard Tcl/Tk license and is available from http://sourceforge.net/projects/tk-components .