Instance Method

cursorUpdate:

Informs the receiver that the mouse cursor has moved into a cursor rectangle.

Declaration

- (void)cursorUpdate:(NSEvent *)event;

Parameters

event

An object encapsulating information about the cursor-update event (NSCursorUpdate).

Discussion

Override this method to set the cursor image. The default implementation uses cursor rectangles, if cursor rectangles are currently valid.  If they are not, it calls super to send the message up the responder chain.

If the responder implements this method, but decides not to handle a particular event, it should invoke the superclass implementation of this method.

See Also

Responding to Other Kinds of Events

- flagsChanged:

Informs the receiver that the user has pressed or released a modifier key (Shift, Control, and so on).

- tabletPoint:

Informs the receiver that a tablet-point event has occurred.

- tabletProximity:

Informs the receiver that a tablet-proximity event has occurred.

- helpRequested:

Displays context-sensitive help for the receiver if help has been registered.

- scrollWheel:

Informs the receiver that the mouse’s scroll wheel has moved.

- quickLookWithEvent:

Performs a Quick Look on the content at the location specified by the supplied event.