Draws the image associated with the button’s current state.
SDK
- macOS 10.4+
Framework
- App
Kit
Declaration
Parameters
image
The image associated with the button's current state.
frame
The bounding rectangle of the button.
controlView
The control being drawn.
Discussion
This method is called automatically when the button is redrawn; you should not call it directly.
You specify the primary and alternate images for the button using Interface Builder.