Instance Method

mnemonicLocation

Returns the position of the underlined character in the menu item title used as a mnemonic.

Declaration

- (NSUInteger)mnemonicLocation;

Discussion

The position is the zero-based index of that character in the title string. If the receiver has no mnemonic character, returns NSNotFound.

See Also

Managing Mnemonics

- setMnemonicLocation:

Sets the character of the menu item title at location that is to be underlined.

Deprecated
- setTitleWithMnemonic:

Sets the title of a menu item with a character denoting an access key.

Deprecated
- mnemonic

Returns the character in the menu item title that appears underlined for use as a mnemonic.

Deprecated