Interesting. I actually use that API to set the text successfully in my applications, so far without any problems.
Thanks, Kappa On Wed, Aug 31, 2011 at 7:42 PM, Fritz Anderson <fri...@manoverboard.org>wrote: > 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 (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/rejekted%40gmail.com > > This email sent to rejek...@gmail.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com