thank you for the answers.
* The fact is that users want to configure only one toolbar. I thought
about using different toolbars but this requires also to configure
different toolbars, doesn't it?
I have two different views in my window. Each view has additional
toolbar items and some to
On Jan 31, 2009, at 8:07 AM, Ferhat Ayaz wrote:
Hello,
I have added - (BOOL)validateToolbarItem:(NSToolbarItem
*)toolbarItem to my code, which will control whether a toolbar item
is enabled or not. However, I need a something similar to control
whether a toolbar item is visible or not.
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