<!--
{
  "availability" : [
    "macOS: 10.12.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/moveTabToNewWindow(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWindow(im)moveTabToNewWindow:"
  },
  "title" : "moveTabToNewWindow(_:)"
}
-->

# moveTabToNewWindow(_:)

Moves the tab to a new containing window.

```
@IBAction func moveTabToNewWindow(_ sender: Any?)
```

## Parameters

`sender`

The object that initiated the action to move the tab to a new window.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)