---
title: menu
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsstatusitem/menu
---

# menu

The pull-down menu displayed when the user clicks the status item.

## Declaration

```swift
var menu: NSMenu? { get set }
```

## Discussion

Discussion When non-nil, the status item’s single click action behavior is not used. Setting the value of this property to nil removes the menu.

## See Also

### Managing the Status Item’s Behavior

- [behavior](appkit/nsstatusitem/behavior-swift.property.md)
- [NSStatusItem.Behavior](appkit/nsstatusitem/behavior-swift.struct.md)
- [button](appkit/nsstatusitem/button.md)
