MonobjcMonobjc Documented Class Library
PerformKeyEquivalent Method (theEvent)
NamespacesMonobjc.AppKitNSMenuPerformKeyEquivalent(NSEvent)

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

Original signature is '- (BOOL)performKeyEquivalent:(NSEvent *)theEvent'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool PerformKeyEquivalent(
	NSEvent theEvent
)
Public Overridable Function PerformKeyEquivalent ( _
	theEvent As NSEvent _
) As Boolean
public:
virtual bool PerformKeyEquivalent(
	NSEvent^ theEvent
)
Parameters
theEvent (NSEvent)
An NSEvent object that represents a key-equivalent event.
Return Value
YES if theEvent is a key equivalent that the receiver handled, NO if it is not a key equivalent that it should handle.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)