NSButton.ButtonType.onOff
A button that switches between a normal and emphasized bezel on each click.
Declaration
case onOffDiscussion
When the value of state is off, the button displays its normal bezel. When state has any other value, the button displays an emphasized variant of its bezel. Buttons of this type never display alternate content.
This option corresponds to the On Off type in Interface Builder’s Attributes Inspector.