From: Kevin W. <sw...@wo...> - 2005-10-09 21:35:49
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well, a quick perusal of the developer documentation shows this API: http://developer.apple.com/documentation/Carbon/Reference/IconServices/index.html Looks like this is what I would need to work with in terms of generating a Tcl/Tk wrapper for accessing system icons, if there isn't already the capability to do so in Tk Aqua. Basically, I want to be able to browse a directory, i.e. glob, and automatically call the correct bitmap as defined for the system for a specific file or folder. I don't want to do a lot of hacks converting system icons to .gifs or .pngs, which is what I'm doing now in the code I'm playing with. Jim or Daniel, is this something that would be useful? A "TkIcns" package perhaps? Or is there a way programatically to do this already? Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com Kevin Walzer wrote: | Thanks for pointing this out, but it appears to be obsolete: doesn't the | Macintosh platform refer to the Classic MacOS? | | This sample code produces a blank frame: | | % frame .w | .w | % pack .w | % label .w.label1 -text "label" -bitmap application | .w.label1 | % pack .w.label1 | % | | Kevin | | Jon Guyer wrote: | | | | On Oct 9, 2005, at 12:58 PM, Kevin Walzer wrote: | | | |> Anyone know ... b) where I | |> can find "GetBitmap.3.html" to see the documentation? | | | | | | man GetBitmap | | | | | | ------------------------------------------------------- | | This SF.Net email is sponsored by: | | Power Architecture Resource Center: Free content, downloads, discussions, | | and more. http://solutions.newsforge.com/ibmarch.tmpl | | _______________________________________________ | | Tcl-mac mailing list | | Tc...@li... | | https://lists.sourceforge.net/lists/listinfo/tcl-mac | | | | - ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Tcl-mac mailing list Tc...@li... https://lists.sourceforge.net/lists/listinfo/tcl-mac -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDSY0tJmdQs+6YVcoRAl+lAJ9OsJZDaZCC0jPHnbN0G0Hy0gdDrACfXBwE TIFtdsMNGwWkC87lLiCixzk= =ziP+ -----END PGP SIGNATURE----- |