MonobjcMonobjc Documented Class Library
MenuHasKeyEquivalentForEventTargetAction Event
NamespacesMonobjc.AppKitNSMenu..::..NSMenuDelegateEventDispatcherMenuHasKeyEquivalentForEventTargetAction

Invoked to allow the delegate to return the target and action for a key-down event.

Original signature is '- (BOOL)menuHasKeyEquivalent:(NSMenu *)menu forEvent:(NSEvent *)event target:(id *)target action:(SEL *)action'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public event NSMenu..::..MenuHasKeyEquivalentForEventTargetActionEventHandler MenuHasKeyEquivalentForEventTargetAction
Public Event MenuHasKeyEquivalentForEventTargetAction As NSMenu..::..MenuHasKeyEquivalentForEventTargetActionEventHandler
Return Value
If there is a valid and enabled menu item that corresponds to this key-down even, return YES after specifying the target and action. Return NO if there are no items with that key equivalent or if the item is disabled.
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)