---
title: parentWindow
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsdrawer/parentwindow
---

# parentWindow

The receiver’s parent window.

## Declaration

```swift
unowned(unsafe) var parentWindow: NSWindow? { get set }
```

## Discussion

Discussion Changes in a drawer’s parent window do not take place while the drawer is onscreen; they are delayed until the drawer next closes.

## See Also

### Managing Drawer Views

- [contentView](appkit/nsdrawer/contentview.md)
