Fwd: iTunes like toolbar
Fwd: iTunes like toolbar
- Subject: Fwd: iTunes like toolbar
- From: Dragan Milić <email@hidden>
- Date: Sun, 26 Feb 2006 01:37:24 +0100
OK, I see that this shouldn't stay private...
Begin forwarded message:
From: Dragan Milić <email@hidden>
Date: subota, 25. 2. 2006. 22:57:23 GMT+01:00
To: Finlay Dobbie <email@hidden>
Subject: Re: iTunes like toolbar
Yep, I tried what you suggested and you're right! Next time I'll be
more careful with my conclusions. Apparently, they left all the
buttons and other controls in window, which led me to wrong
conclusion. Those controls seem not to do anything (maybe I'm wrong
again), since I deleted them all from the nib file and saved it,
but when running that "crippled" Safari, the toolbar appears on
each window exactly the way it should. Once again, thanx for the tip.
Regards,
Milke
On sub 25. 02. 2006., at 22:23, Finlay Dobbie wrote:
On 25 Feb 2006, at 20:57, Dragan Milić wrote:
On sub 25. 02. 2006., at 19:04, Finlay Dobbie wrote:
On 2/25/06, Dragan Milić <email@hidden> wrote:
Hi,
iTunes doesn't use NSToolbar (it's Carbon app, not Cocoa), moreover
it doesn't use any kind of toolbar at all, just like Safari doesn't,
Actually, I believe Safari does as of 2.0 or thereabouts.
Well, I'm currently inspecting Safari 2.0.3 package and inside
"Browser.nib" I can see that main window still contains a lot of
standard or Apple custom NSButtons that mimic toolbar items, so it
still doesn't use NSToolbar.
That's a logical leap. While I can see why you might draw that
conclusion, it's wrong. If you poke with class-dump, you'll see
they have a custom subclass of NSToolbar and NSToolbarItem. If you
use gdb and break on -[NSToolbar initWithIdentifier:], you'll see
that you hit it whenever you create a new window.
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden