Instance Method インスタンスメソッド

imageBrowser(_:cellWasRightClickedAt:with:)

Performs custom tasks when the user right-clicks an item in the image browser view.

Declaration 宣言

func imageBrowser(_ aBrowser: IKImageBrowserView!, 
cellWasRightClickedAt index: Int, 
             with event: NSEvent!)

Parameters パラメータ

aBrowser

An image browser view.

index

The index of the cell.

event

The event that invoked the method.

Discussion 解説

This method signals that the user either right-clicked an item in the browser or left-clicked the item with the Alt key pressed. You can implement this method if you want to perform custom tasks at that time.

See Also 参照

Performing Custom Tasks in Response to User Events