• 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: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.


  • Subject: Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.
  • From: Peter Ammon <email@hidden>
  • Date: Tue, 2 Dec 2008 13:05:26 -0800

Context menus are not consulted when searching for key equivalents, unless they're actually open at the time, so you should not see the same problem.

Also, all user key equivalents (what users can set in SysPrefs) are deliberately suppressed in context menus. This is because it would be confusing if a context menu showed a key equivalent that didn't actually function when the menu is not open.

If you assign an ordinary key equivalent to the context menu, it will appear - but it's your app's responsibility to make it work if the menu is not open. Generally context menus don't have key equivalents.

-Peter

On Dec 2, 2008, at 11:59 AM, Keith Blount wrote:

Many thanks! Having a separate delegate for the large document- listing menus sounds a reasonable solution. That will just be one extra delegate in the MainMenu.nib to handle this and it should fix all my issues - so thank you! One final question, I promise: does this apply to contextual menus, too, or only the main menu?
Thanks again and all the best,
Keith



_______________________________________________

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: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.
      • From: Keith Blount <email@hidden>
References: 
 >Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts. (From: Keith Blount <email@hidden>)

  • Prev by Date: Re: Hide / show password in NSTextField / NSSecureTextField
  • Next by Date: Re: Hide / show password in NSTextField / NSSecureTextField
  • Previous by thread: Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.
  • Next by thread: Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.
  • Index(es):
    • Date
    • Thread