Global Variable

NSToggleButton

After the first click, the button displays its alternate image or title (on state); a second click returns the button to its normal (off) state.

Declaration

const NSButtonType NSToggleButton;

Discussion

This option is called Toggle in Interface Builder’s Button inspector.