Re: Icon in window title
Re: Icon in window title
- Subject: Re: Icon in window title
- From: Chris Thomas <email@hidden>
- Date: Thu, 24 May 2001 10:32:29 -0700
I've trimmed all addresses other than cocoa-dev from this reply.
On Thursday, May 24, 2001, at 06:47 AM, Uli Zappe wrote:
OK, but how can I set the icon when I have no direct file associated?
Then it's bad GUI design. Apple's GUI guidelines explicitly state that
icons in the window bar must be associated with document files, and
that's exactly what I as a user would expect.
They don't necessarily have to be associated with an existing file on
disk. The icon is a proxy for the content of the window, whatever that
content is. For example, a newsreader might provide a
news://server/group URL as proxy data for a newsgroup window.
What you shouldn't do is place an icon in the window without any backing
data, simply because it looks nice. IIRC, the Keychain control panel on
Mac OS 9 violates this principle.
Also, Tom Waters wrote:
Why then does the Finder display an Icon when it is open to "Computer".
Mine says "Tom Waters' Computer" and it has an icon of some Macintosh
that I don't own.
What file is that associated with? What document?
I would expect that "Tom Waters's Computer" would function as a proxy
for all of the disks on your computer. If it doesn't function that way,
it's probably a Finder bug.
Chris