NSButton.ButtonType.momentaryLight
A button that displays a highlight when the user clicks it and returns to its normal state when the user releases it.
Declaration
case momentaryLightDiscussion
When the value of isHighlighted is true, the button provides a visual indication of the highlight in its drawing. It might accomplish this indication by modifying the appearance of its content, its bezel, or both.
This type of button is best for triggering actions because it doesn’t show its state; it always displays its normal image or title.
This option corresponds to the Momentary Light type in Interface Builder’s Attributes inspector.