---
title: NSPushOnPushOffButton
framework: appkit
role: symbol
role_heading: Global Variable
path: appkit/nspushonpushoffbutton
---

# NSPushOnPushOffButton

When the button is clicked (on state), it appears illuminated. If the button has borders, it may also appear recessed. A second click returns it to its normal (off) state.

## Declaration

```occ
static const NSButtonType NSPushOnPushOffButton;
```

## Discussion

Discussion This option is called Push On Push Off in Interface Builder’s Button inspector.

## See Also

### Deprecated Button Types

- [NSMomentaryLightButton](appkit/nsmomentarylightbutton.md)
- [NSToggleButton](appkit/nstogglebutton.md)
- [NSSwitchButton](appkit/nsswitchbutton.md)
- [NSRadioButton](appkit/nsradiobutton.md)
- [NSMomentaryChangeButton](appkit/nsmomentarychangebutton.md)
- [NSOnOffButton](appkit/nsonoffbutton.md)
- [NSAcceleratorButton](appkit/nsacceleratorbutton.md)
- [NSMultiLevelAcceleratorButton](appkit/nsmultilevelacceleratorbutton.md)
- [NSMomentaryPushInButton](appkit/nsmomentarypushinbutton.md)
- [NSMomentaryPushButton](appkit/nsmomentarypushbutton.md)
- [NSMomentaryLight](appkit/nsmomentarylight.md)
