Re: Menu item binding hidden
Re: Menu item binding hidden
- Subject: Re: Menu item binding hidden
- From: Tony Romano <email@hidden>
- Date: Sun, 13 Jun 2010 19:53:49 -0700
Ok thanks Kyle and Gideon, I wanted to make sure there wasn't another way with a binding that I was over looking.
-Tony
On Jun 13, 2010, at 7:21 PM, Gideon King wrote:
> 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
>>
>
>
-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