I would like to see Tk Aqua display Mac icons natively using the Carbon IconServices API (see http://developer.apple.com/documentation/Carbon/Reference/IconServices/index.html\). I envision this working in the following fashion: given a file path, Carbon would display the correct icon/image data in Tk.
There appear to be at least rudimentary hooks for doing this already in the Tk Aqua code base, specifically tkMacOSXBitmap.c. Currently the code is mostly broken, and does not display many of the icons that were previously supported under Mac OS Classic (i.e. the "folder" bitmap). This could be an opportunity to fix and modernize the code at the same time.
Logged In: YES
user_id=794827
Originator: YES
There is an extension for Windows Tk that wraps the Win32 API for getting icons: see http://wiki.tcl.tk/17859. Perhaps this might provide a model of how to proceed.