Re: Menu item binding hidden
Re: Menu item binding hidden
- Subject: Re: Menu item binding hidden
- From: Gideon King <email@hidden>
- Date: Mon, 14 Jun 2010 12:21:20 +1000
You might like to check out doing it using validateUserInterfaceItem: or validateMenuItem:
HTH
Gideon
On 14/06/2010, at 11:23 AM, Tony Romano wrote:
> Binding a menuitem's hidden attribute to the selection doesn't work in the case of a context menu because the selection happens as it changes and before the menu is displayed. There is no state. Other than adding an ivar and binding the hidden state to it, is there another way? Can't seem to find anything via a search.
>
> TIA,
> -Tony
>
_______________________________________________
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