• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Menu item binding hidden
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Menu item binding hidden
      • From: Tony Romano <email@hidden>
References: 
 >Menu item binding hidden (From: Tony Romano <email@hidden>)

  • Prev by Date: Re: Menu item binding hidden
  • Next by Date: Re: Menu item binding hidden
  • Previous by thread: Re: Menu item binding hidden
  • Next by thread: Re: Menu item binding hidden
  • Index(es):
    • Date
    • Thread