Contents

alternateImage

The image the button displays in its alternate state.

Declaration

var alternateImage: NSImage? { get set }

Discussion

The value of this property is the image displayed by the button when it’s in its alternate state, or nil if there is no alternate image. Note that some button types don’t display an alternate image. Buttons don’t display images by default. Setting this property may redraw the contents of the button.

See Also

Related Documentation

Managing Images