Instance Method

setIconImage(_:)

Manually sets the icon used in the panel.

Declaration

func setIconImage(_ image: NSImage!)

Parameters

image

Image to use as the icon.

Discussion

The panel icon should be set to the icon of the calling application. If not set, the panel will try to load up the correct icon for the target device, and will default to the icon of the running application on fail.