mouseDown(onCharacterIndex:coordinate:withModifier:continueTracking:client:)
Handles mouse-down event send to an input method.
Declaration
func mouseDown(onCharacterIndex index: Int, coordinate point: NSPoint, withModifier flags: Int, continueTracking keepTracking: UnsafeMutablePointer<ObjCBool>!, client sender: Any!) -> BoolParameters
- index:
The index within the sender’s text storage where the mouse-down event occurred.
- point:
The point at which the mouse-down event occurred.
- flags:
The modifier keys.
- keepTracking:
Set this parameter to True if you want to receive subsequent mouse-moved and mouse -up events.
- sender:
The client object.
Return Value
Discussion
Implement this method if your input method handles mouse-down events.