• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: order of NSToolbarItems in toolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: order of NSToolbarItems in toolbar


  • Subject: Re: order of NSToolbarItems in toolbar
  • From: Graham Cox <email@hidden>
  • Date: Wed, 8 Apr 2009 10:29:03 +1000


On 08/04/2009, at 10:18 AM, Tilo Villwock wrote:

is there a way to manipulate the order NSToolbarItems are added to a toolbar, when the application is starting. I have implemented the delegate methods to provide the items, and which items are allowed, but since items are fetched by identifier and not by position i don't see how this could be accomplished.


I think that the order initially matches what you set up in IB, then subsequently remembers however the user customised it. You have to make sure you set the flag that remembers the configuration. The user is in charge of this, it's inadvisable to ignore their choices.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >order of NSToolbarItems in toolbar (From: Tilo Villwock <email@hidden>)

  • Prev by Date: Storing bundle loaded main class instances in NSArray
  • Next by Date: Re: Storing bundle loaded main class instances in NSArray
  • Previous by thread: order of NSToolbarItems in toolbar
  • Next by thread: Re: order of NSToolbarItems in toolbar
  • Index(es):
    • Date
    • Thread