Contents

init(event:)

Returns a Quartz event source created from an existing Quartz event.

Declaration

init?(event: CGEvent?)

Parameters

  • event:

    The event to access.

Return Value

An event source created from the specified event, or NULL if the event was generated with a private event source owned by another process. When you no longer need this event source, you should release it using the function CFRelease.

Discussion

Event filters may use the event source to generate events that are compatible with an event being filtered.

See Also

Functions