<!--
{
  "availability" : [
    "macOS: 10.12.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/tabbingMode-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWindow(py)tabbingMode"
  },
  "title" : "tabbingMode"
}
-->

# tabbingMode

A value that indicates when a window displays tabs.

```
var tabbingMode: NSWindow.TabbingMode { get set }
```

## Discussion

Set this to the desired tabbing mode before displaying a window. The default value is [`NSWindow.TabbingMode.automatic`](/documentation/AppKit/NSWindow/TabbingMode-swift.enum/automatic). When the value is [`NSWindow.TabbingMode.automatic`](/documentation/AppKit/NSWindow/TabbingMode-swift.enum/automatic), the system uses [`userTabbingPreference`](/documentation/AppKit/NSWindow/userTabbingPreference-swift.type.property) to determine tabbing behavior.

For a list of possible values, see [`NSWindow.TabbingMode`](/documentation/AppKit/NSWindow/TabbingMode-swift.enum).

---

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)