DekGenius.com
[ Team LiB ] Previous Section Next Section

NSInputServerMouseTracker Mac OS X 10.0

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

    [ Team LiB ] Previous Section Next Section