• 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: Is it OK to setKeyEquivalent during validateMenuItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it OK to setKeyEquivalent during validateMenuItem


  • Subject: Re: Is it OK to setKeyEquivalent during validateMenuItem
  • From: Steve Mills <email@hidden>
  • Date: Mon, 19 Aug 2013 11:05:31 -0500

On Aug 16, 2013, at 15:32:01, Jerry Krinock <email@hidden> wrote:

> To answer the question in your subject line, I'm not sure.  It certainly seems like a misuse if not an abuse.  I always do stuff like that in my friend, -menuNeedsUpdate.  In -menuNeedsUpdate, you can go so far as to remove all the items and rebuild the whole menu from scratch if you want to.

Thanks. I ended up doing the key equiv setting in a different place rather than from validateMenuItem. That solved the problem. I'll keep menuNeedsUpdate in mind in the future.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157



_______________________________________________

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


References: 
 >Is it OK to setKeyEquivalent during validateMenuItem (From: Steve Mills <email@hidden>)
 >Re: Is it OK to setKeyEquivalent during validateMenuItem (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Why is translatesAutoresizingMaskIntoConstraints on in my storyboard?
  • Next by Date: Menu item keys stealing events from Save dlog
  • Previous by thread: Re: Is it OK to setKeyEquivalent during validateMenuItem
  • Next by thread: Reliably getting the screen scale
  • Index(es):
    • Date
    • Thread