Instance Property

alternateImage

The image the button displays in its alternate state.

Declaration

@property(strong) NSImage *alternateImage;

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

Managing Images

imagePosition

The position of the button’s image relative to its title.

imageScaling

The scale factor for the button’s image.