• 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: Restoring Temporary Menu Title Changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Restoring Temporary Menu Title Changes


  • Subject: Re: Restoring Temporary Menu Title Changes
  • From: Daniel Jalkut <email@hidden>
  • Date: Fri, 16 Feb 2007 14:30:27 -0500


On Feb 16, 2007, at 12:29 PM, Jim Correia wrote:
Disclaimer: I haven't written code which does this...

How about registering for NSMenuDidEndTrackingNotification and restoring the title in the notification handler?

Interesting idea - but it seems as hackish as the others. Maybe there are no non-hackish solutions here :)


In particular my gut feeling is that I shouldn't assume the menu validation should only be valid during tracking For instance, if Apple were to introduce tear of menus or something, I would expect the altered menu titles to remain valid whenever the menu was visible to the user.

An example where this is maybe somewhat relevant today is in UI Accessibility, where the hierarchy of menu items is available programatically. I'm not sure if the UI access system does some trickery to make sure it validates menus before returning their names, but I would expect that even if the user has never displayed the menu, its items should have their accurate names reflected to the UI reader.

Daniel
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Restoring Temporary Menu Title Changes (From: Daniel Jalkut <email@hidden>)
 >Re: Restoring Temporary Menu Title Changes (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: NSView -nextKeyView and -previousKeyView only working once
  • Next by Date: Re: PDFMarkupAnnotations not showing when drawing PDFPage
  • Previous by thread: Re: Restoring Temporary Menu Title Changes
  • Next by thread: Popup slider?
  • Index(es):
    • Date
    • Thread