Re: Using NSToolbar itemForItemIdentifier properly?
Re: Using NSToolbar itemForItemIdentifier properly?
- Subject: Re: Using NSToolbar itemForItemIdentifier properly?
- From: Pierre-Olivier Latour <email@hidden>
- Date: Sat, 27 Jul 2002 22:09:15 +0200
>
Opinion
>
I think that the reason for the first requirement is that you cannot
>
use the same view object in more than one superview / window at the
>
same time (AppKit limitation), and you cannot simply copy a toolbar
>
item without possibly breaking it's connection to the controller
>
object, thus rendering it useless. I have no idea why they ask you to
>
return the same item if asked for again.
>
First of all the toolbar does
>
not (?) and should not ask the delegate several times for the same
>
toolbar item.
Actually, I've noticed that when you display the customization palette, the
toolbar will ask again for each item 1 or 2 times (depending if it is in the
default set or not).
_____________________________________________________________
Pierre-Olivier Latour email@hidden
Lausanne, Switzerland
http://www.pol-online.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.