Contents

cgEvent

The Core Graphics event object corresponding to this event.

Declaration

var cgEvent: CGEvent? { get }

Discussion

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

See Also

Related Documentation

Getting general event information