Re: NSToolbar(item) quirk
Re: NSToolbar(item) quirk
- Subject: Re: NSToolbar(item) quirk
- From: email@hidden (Heinrich Giesen)
- Date: Fri, 4 Feb 2005 09:25:25 +0100
On 03.02.2005, at 19:25, Ed wrote:
I've got a Cocoa Multi-Document application (standard project kind),
and each of my MyDocuments has a toolbar on its associated window.
How did you create the toolbar? What is the identifier in the
creation method:
<x-tad-bigger>initWithIdentifier: ?</x-tad-bigger>
From the docs for NSToolbar:
<x-tad-bigger>- (</x-tad-bigger><x-tad-bigger>NSString</x-tad-bigger><x-tad-bigger> *)identifier
</x-tad-bigger>Returns the receiver’s identifier, which identifies the kind of the toolbar. Within the application all toolbars with the same identifier are synchronized to maintain the same state, including for example, the display mode and item order. Also, if a toolbar autosaves its configuration, the item identifier is used as the autosave name.
--
Heinrich Giesen
email: email@hidden
_______________________________________________
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