• 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: setTitleWithMnemonic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setTitleWithMnemonic


  • Subject: Re: setTitleWithMnemonic
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 31 Aug 2011 18:42:22 -0500

On 31 Aug 2011, at 2:00 PM, Rajendran P wrote:

> is it advisable to use the API setTitleWithMnemonic ? the document discussion
> says
>
> "Discussion
> Mnemonics are not supported in Mac OS X. "
>
> strangely , the API is not deprecated

Given that the method has never had any effect in the ten years Mac OS X has existed, I'm not sure why you wonder if it is advisable to use it anyway? Mnemonics are not displayed, and there is no way to trigger them.

The API probably carried over from NeXTStep or possibly the Yellow Box (the long-abandoned Cocoa for Windows). It is deprecated for NSMenuItem. You'd have to ask Apple why it hasn't been dropped. I don't think it's because there's a strong '90s-revival faction in the AppKit team, so I'm guessing it's just inertia.

	— F

_______________________________________________

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: setTitleWithMnemonic
      • From: Jerry Krinock <email@hidden>
    • Re: setTitleWithMnemonic
      • From: KappA <email@hidden>
References: 
 >setTitleWithMnemonic (From: Rajendran P <email@hidden>)

  • Prev by Date: Re: Size of a file on disk
  • Next by Date: Re: Won't Applescript command use defined ivars?
  • Previous by thread: setTitleWithMnemonic
  • Next by thread: Re: setTitleWithMnemonic
  • Index(es):
    • Date
    • Thread