Instance Property

trackingNumber

The identifier of a mouse-tracking event.

Declaration

@property(readonly) NSInteger trackingNumber;

Discussion

This property contains either an NSTrackingArea object or a NSTrackingRectTag constant depending on whether the event was generated from an NSTrackingArea object or a call to addTrackingRect:owner:userData:assumeInside:. Valid mouse-tracking events are of types NSMouseEntered, NSMouseExited, and NSCursorUpdate. This method raises an NSInternalInconsistencyException if sent to any other type of event.

See Also

Getting Mouse-Tracking Event Information

eventNumber

The counter value of the latest mouse or tracking-rectangle event object; every system-generated mouse and tracking-rectangle event increments this counter.

trackingArea

The NSTrackingArea object for the event.

userData

The data associated with a mouse-tracking event.