---
title: windowsMenu
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsapplication/windowsmenu
---

# windowsMenu

The Window menu of the app.

## Declaration

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

## Return Value

Return Value The window menu or nil if such a menu does not exist or has not yet been created.

## Discussion

Discussion This property contains the app’s Window menu or nil if such a menu does not yet exist or has not yet been created. You can use this property to specify the Window menu for your app.

## See Also

### Managing the Window Menu

- [addWindowsItem(_:title:filename:)](appkit/nsapplication/addwindowsitem(_:title:filename:).md)
- [changeWindowsItem(_:title:filename:)](appkit/nsapplication/changewindowsitem(_:title:filename:).md)
- [removeWindowsItem(_:)](appkit/nsapplication/removewindowsitem(_:).md)
- [updateWindowsItem(_:)](appkit/nsapplication/updatewindowsitem(_:).md)
