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] More on icons
by Kevin Walzer other posts by this author
Oct 9 2005 3:34PM messages near this date
[MACTCL] Tcl keyword coloring | [MACTCL] Pinstripe patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've done a little mroe digging, and I'd like to be a little clearer on
what I'm looking to achieve with my questions about how Tk Aqua supports
system icons.

Here's a screen shot from the classic Mac OS:

http://www.wordtech-software.com/classic-icons.png

Note the system icons there, "application," "trash," etc. This display
was taken from the standard Tk demo of built-in bitmaps, using the terms
supported natively by the Mac as defined in Tk_GetBitmap.

Here's a screenshot from an application I'm developing:

http://www.wordtech-software.com/osx-icons.png

This is the BWidget tree, with the images modified from what is provided
by BWidget. The folder icons were taken from
/System/Library/CoreServices/CoreTypes.bundle, and converted to gifs.

Obviously that is a simple solution to the problem, but I don't want to
run afoul of Apple copyright/trademarks by redistributing their icons.
Tk under the Classic Mac OS provided a way to obtain these system images
programatically.

I'm thinking there should be a way to do this in OS X. These images are
defined in TkMacOSXbitmap.c.

Any suggestions on how to proceed are appreciated.


- --
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

iD8DBQFDSZraJmdQs+6YVcoRAj+yAJ9QvzyEkx12/tlpwWn9HE8cqYKjhwCdFErz
5CnO1Df+WBx9CFwLW9R2UbE=
=CdkS
-----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

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