MonobjcMonobjc Documented Class Library
NSApplication..::..ApplicationDelegateHandlesKeyEventHandler Delegate

Sent by Cocoa’s built-in scripting support during execution of get or set script commands to find out if the delegate can handle operations on the specified key-value key.

Original signature is '- (BOOL)application:(NSApplication *)sender delegateHandlesKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool ApplicationDelegateHandlesKeyEventHandler(
	NSApplication sender,
	NSString key
Public Delegate Function ApplicationDelegateHandlesKeyEventHandler ( _
	sender As NSApplication, _
	key As NSString _
) As Boolean
public delegate bool ApplicationDelegateHandlesKeyEventHandler(
	NSApplication^ sender, 
	NSString^ key
sender (NSApplication)
The application object associated with the delegate.
key (NSString)
The key to be handled.
Return Value
YES if your delegate handles the key or NO if it does not.
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)