setImage(_:)
Sets the image displayed in the toolbar button.
Declaration
func setImage(_ image: NSImage?)Parameters
- image:
The image to display in the toolbar button.
Mentioned in
Discussion
Pass nil to use the image specified in the Info.plist file.