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

func imageBrowser(IKImageBrowserView!, backgroundWasRightClickedWith: NSEvent!)

Performs custom tasks when the user right-clicks the image browser view background.

func imageBrowser(IKImageBrowserView!, cellWasDoubleClickedAt: Int)

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

func imageBrowserSelectionDidChange(IKImageBrowserView!)

Performs custom tasks when the selection changes.