Re: How to use the option key
Re: How to use the option key
- Subject: Re: How to use the option key
- From: Gil Dawson <email@hidden>
- Date: Tue, 06 May 2014 13:29:58 -0700
Thanks!
Now that I've found NSMenuItem's setKeyEquivalentModifierMask:, I think I'm on my way. I sure appreciate your help.
Yay, Cocoa!
--Gil
On May 6, 2014, at 1:11 PM, Lee Ann Rucker wrote: Not just option key - any modifier will work, and you can have more than one alternate to a given menu item so long as it uses the same key equivalent - we've got one set of power-user features with 4 variations, counting the unmodified one.
On May 6, 2014, at 1:07 PM, Avery Pierce wrote: Hi Gil,
In Xcode 4.0+ (maybe Xcode 3.X too, I'm not sure), Interface Builder provides a checkbox for menu items called "alternate". If checked, that menu item will only be visible when the option key is pressed, replacing the menu item with the same key equivalent (minus the option modifier, of course). You can also do it programmatically using NSMenuItem's -[setAlternate:] method.
Here's some relevant documentation:
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden