Instance Property

CGEvent

The Core Graphics event object corresponding to this event.

Declaration

@property(readonly) CGEventRef CGEvent;

Discussion

The CGEventRef opaque type returned is autoreleased. If no CGEventRef object corresponding to the NSEvent object can be created, this method returns NULL.

See Also

Getting General Event Information

context

The display graphics context for this event.

Deprecated
locationInWindow

The receiver’s location in the base coordinate system of the associated window.

timestamp

The time when the event occurred in seconds since system startup.

window

The window object associated with the event.

windowNumber

The identifier for the window device associated with the event.

eventRef

An opaque Carbon type associated with this event.