Am 08.04.2009 um 02:39 schrieb Keary Suska:


On Apr 7, 2009, at 6:18 PM, Tilo Villwock wrote:

Hi,

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 don't think there is any way to do this, at least without angering and alienating your users. If you don't want the users to change the order of the toolbar items, don't let them customize the toolbar. Otherwise you will get loads of complaints and bug reports because the user's customizations aren't "sticking" as they would expect them to (and rightfully should).

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

Ok but i'm writing an audio player, where the toolbar items shouldn't be rearranged by the user as there is no real use for that. Furthermore i was talking about the way the items are set up initially, no matter how they could be rearranged later on.

Tilo
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to