On 2009 Jan 31, at 8:07, Ferhat Ayaz wrote:

I need ... to control whether a toolbar item is visible or not.

How can I do this?

I don't think you can do that, and it might look kind of weird.

Use -[NSToolbar -removeItemAtIndex:] to remove the item. Retain it if desired and then later use -insertItemWithItemIdentifier:atIndex: if you want to restore it.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to