Instance Method


Performs a Quick Look on the content at the location specified by the supplied event.


- (void)quickLookWithEvent:(NSEvent *)event;



An event object containing the location of the Quick Look content.


The NSEventTypeQuickLook event type supports this method. The only valid properties of an NSEventTypeQuickLook event are locationInWindow and modifierFlags. A Quick Look event does not come in through the normal event mechanism; therefore, there is no corresponding event mask for it, nor should you attempt to look for it in a sendEvent: message or with the nextEventMatchingMask: methods.

If there are no Quick Look items at the location, call super.

NSResponder declares but doesn’t implement this method.

See Also

Responding to Other Kinds of Events

- cursorUpdate:

Informs the receiver that the mouse cursor has moved into a cursor rectangle.

- flagsChanged:

Informs the receiver that the user has pressed or released a modifier key (Shift, Control, and so on).

- tabletPoint:

Informs the receiver that a tablet-point event has occurred.

- tabletProximity:

Informs the receiver that a tablet-proximity event has occurred.

- helpRequested:

Displays context-sensitive help for the receiver if help has been registered.

- scrollWheel:

Informs the receiver that the mouse’s scroll wheel has moved.