Contents

previewPanel(_:handle:)

Handles an event that the preview panel receives, but doesn’t handle.

Declaration

optional func previewPanel(_ panel: QLPreviewPanel!, handle event: NSEvent!) -> Bool

Parameters

  • panel:

    The preview panel.

  • event:

    The event that the preview panel wasn’t able to handle.

Return Value

true if the receiver handled the event; otherwise, false.

Discussion

The preview panel invokes this optional method when it receives an event it doesn’t handle.

See Also

Optional Methods