Creates an event object that is based on a Carbon type of event.
- macOS 10.5+
The EventRef opaque type to be associated with the created
NSEvent object corresponding to
event cannot be converted into an equivalent
This method is valid for all events. The created
NSEvent object retains the
Event object and is released when the
NSEvent object is freed.