MonobjcMonobjc Documented Class Library
DidCommandBySelectorClient Method (aSelector, sender)
NamespacesMonobjc.InputMethodKitIIMKServerInputDidCommandBySelectorClient(IntPtr, Id)

Processes a command generated by user action such as typing certain keys or pressing the mouse button.

Original signature is '- (BOOL)didCommandBySelector:(SEL)aSelector client:(id)sender'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool DidCommandBySelectorClient(
	IntPtr aSelector,
	Id sender
)
Function DidCommandBySelectorClient ( _
	aSelector As IntPtr, _
	sender As Id _
) As Boolean
bool DidCommandBySelectorClient(
	IntPtr aSelector, 
	Id^ sender
)
Parameters
aSelector (IntPtr)
The action associated with the key down event. The selector can be an action specified in the input method dictionary of keys and actions (that is, an action specific to the input method) or one of the NSResponder action methods such as insertNewline: or deleteBackward:. By definition such action methods do not return a value.
sender (Id)
The client object sending the key down event.
Return Value
YES if the command is handled; NO if the command is not handled. If not handled, the event passes to the client.
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.InputMethodKit (Module: Monobjc.InputMethodKit)