Re: NSToolbar and constrolling visible items
Re: NSToolbar and constrolling visible items
- Subject: Re: NSToolbar and constrolling visible items
- From: Jerry Krinock <email@hidden>
- Date: Sat, 31 Jan 2009 16:36:41 -0800
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 (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