I brought this up a few months ago and people seemed ok with the idea of having the page proxy icon appear also in the titilebar. The other day I started to look at implementing it and found that all my search results for window/document proxy icons came back in carbon and not cocoa (this happens to me.... everything I'm interested in turns out to be carbon only...). They only cocoa interface to title bar images seems to be NSWindow setRepresentedFilename, whereby you can tell the window to match its title and icon to a file on disk, and even to do that command+click thing. That's great Apple, but awfully limiting!

I was ready to give up until I thought to check OmniWeb, which is as cocoa as it gets. OmniWeb does have icons in the titile bar, though it's a static icon, AND they have a cool control+click feature that acts like Camino's Go menu. Nice! Now how the heck did they do it? Did they hack it with carbon? I doubt that it's possible to get a carbon window pointer to a cocoa window. So there must be a way to do it. Any ideas?

I'll send Omni an email if I don't make any progress, maybe they'll respond. Do people know of any other cocoa apps that have a custom window proxy icon implementations?

Nathan

_______________________________________________
Camino mailing list
[EMAIL PROTECTED]
http://mozdev.org/mailman/listinfo/camino

Reply via email to