Instance Method

performKeyEquivalent:

Performs the action for the menu item that corresponds to the given key equivalent.

Declaration

- (BOOL)performKeyEquivalent:(NSEvent *)event;

Parameters

theEvent

An NSEvent object that represents a key-equivalent event.

Return Value

YES if theEvent is a key equivalent that the menu should handle, NO if it is a key equivalent that the menu should not handle.

See Also