• 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: FlagsChanged while NSMenu is displayed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FlagsChanged while NSMenu is displayed


  • Subject: Re: FlagsChanged while NSMenu is displayed
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 24 Jan 2014 10:04:31 -0800

On Fri, Jan 24, 2014, at 10:01 AM, email@hidden
wrote:
> I wanted to show a hidden menu item in the Window menu when the option
> key is pressed.
> Similar to the way the Finder's Go menu behaves with the user Library
> menu item.

This is done with alternate menu items. See -[NSMenu setAlternate:]. No
FlagsChanged event handling is necessary.

--Kyle Sluder
_______________________________________________

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: FlagsChanged while NSMenu is displayed
      • From: Kyle Sluder <email@hidden>
References: 
 >FlagsChanged while NSMenu is displayed (From: email@hidden)

  • Prev by Date: FlagsChanged while NSMenu is displayed
  • Next by Date: Re: FlagsChanged while NSMenu is displayed
  • Previous by thread: FlagsChanged while NSMenu is displayed
  • Next by thread: Re: FlagsChanged while NSMenu is displayed
  • Index(es):
    • Date
    • Thread