Instance Property

keyEquivalentFont

The font used to draw the button’s key equivalent.

Declaration

@property(strong) NSFont *keyEquivalentFont;

Discussion

The value of this property is the font object that describes the font used to draw the button's key equivalent. If the property value is nil, the button doesn’t have a key equivalent. Setting this property redraws the button if necessary. Setting this property on a button that has no key equivalent does nothing.

Note that the default font is the same as the font used to draw the title.

See Also

Managing the Key Equivalent

keyEquivalent

The button’s key-equivalent character.

keyEquivalentModifierMask

The mask that identifies the modifier keys for the button's key equivalent.

- setKeyEquivalentFont:size:

Sets by name and size of the font used to draw the key equivalent.

Deprecated