ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-mac
tcl-mac
[MACTCL] Access Mac-specific system icons from Tk
by Kevin Walzer other posts by this author
Oct 9 2005 9:59AM messages near this date
[MACTCL] Pinstripe patch | Re: [MACTCL] Access Mac-specific system icons from Tk
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Looking at the old Tcl-Mac FAQ at
http://www.tcl.tk/software/mac/macFAQ.html#Q7.7, I see that there is a
way to access Mac-specific icon features via Tk:

"Yes, there are a bunch of the standard mac icons that you can pass to
the -bitmap argument of buttons, etc, and use in canvas items. The full
list is given in the GetBitmap.3.html manual page at the beginning of
the Description section."

My specific interest is being able to query the defaults API and return
the specific default icon for a file (PDF, HTML, whatever) and display
it in a window (perhaps via some conversion hack to a format supported
by TkIMG). This will save me the trouble of loading tons of custom
icons/bitmaps in the apps I'm developing.

Anyone know a) if this capability has made it into TkAqua and b) where I
can find "GetBitmap.3.html" to see the documentation?


- --
Cheers,

Kevin Walzer, PhD
WordTech Software - "Tame the Terminal"
http://www.wordtech-software.com
sw at wordtech-software.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDSUxAJmdQs+6YVcoRAu+nAJ9HcPxqFtE3L/QTSlBLOKL5DN0E6gCdESA8
LTx/iU11cyL7LnXTqulhdzw=
=MsFs
-----END PGP SIGNATURE-----


-------------------------------------------------------
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
Tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
Thread:
Kevin Walzer
Kristoffer Lawson
Jon Guyer
Kevin Walzer
Kevin Walzer
Jim Ingham
Kevin Walzer
Kevin Walzer
Kevin Walzer

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved