Sets the integer value of a field in a Quartz event.
- macOS 10.4+
- Mac Catalyst 13.0+
- Core Graphics
The event to access.
A field in the specified event. Pass one of the constants listed in
The new value of the specified field.
Before calling this function, the event type must be set using a typed event creation function such as
init(mouse, or by calling
If you are creating a mouse event generated by a tablet, call this function and specify the field
k with a value of
k before setting other parameters.