Contents

performKeyEquivalent(with:)

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

Declaration

func performKeyEquivalent(with event: NSEvent) -> Bool

Parameters

  • event:

    An Nsevent object that represents a key-equivalent event.

Return Value

Returns true if event is a key equivalent that the menu should handle, otherwise returns false.

See Also

Related Documentation