Name
NSInputServerMouseTracker — Mac OS X 10.0
Synopsis
This protocol declares an interface for mouse event handling that is tailored for use by text views. The methods of this protocol provide information about the character position of an event, in addition to the coordinates of the mouse location in the view.
@protocol NSInputServerMouseTracker
|
// Instance Methods
|
- (BOOL)mouseDownOnCharacterIndex:(unsigned)theIndex atCoordinate:(NSPoint)thePoint withModifier:(unsigned int)theFlags client:(id)sender; |
- (BOOL)mouseDraggedOnCharacterIndex:(unsigned)theIndex atCoordinate:(NSPoint)thePoint withModifier:(unsigned int)theFlags client:(id)sender; |
- (void)mouseUpOnCharacterIndex:(unsigned)theIndex atCoordinate:(NSPoint)thePoint withModifier:(unsigned int)theFlags client:(id)sender; |
@end |
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.