<!--
{
  "availability" : [
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindowTab",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWindowTab"
  },
  "title" : "NSWindowTab"
}
-->

# NSWindowTab

A tab associated with a window that is part of a tabbing group.

```
class NSWindowTab
```

## Overview

[`NSWindowTab`](/documentation/AppKit/NSWindowTab) describes the way a window displays as part of a tabbed window group. The properties of [`NSWindowTab`](/documentation/AppKit/NSWindowTab) are configurable at any time, but only take effect when the associated [`NSWindow`](/documentation/AppKit/NSWindow) displays in a tab.

AppKit automatically creates an instance of [`NSWindowTab`](/documentation/AppKit/NSWindowTab) for each [`NSWindow`](/documentation/AppKit/NSWindow). You can access a window’s tab object using the [`tab`](/documentation/AppKit/NSWindow/tab) property.

## Topics

### Customizing the Title

[`title`](/documentation/AppKit/NSWindowTab/title)

The title for the window tab.

[`attributedTitle`](/documentation/AppKit/NSWindowTab/attributedTitle)

The title for the window tab, specified as an attributed string.

### Customizing the Tooltip

[`toolTip`](/documentation/AppKit/NSWindowTab/toolTip)

The tooltip for this window tab.

### Adding an Accessory View

[`accessoryView`](/documentation/AppKit/NSWindowTab/accessoryView)

An optional accessory view for the tab.

## See Also

[`tabbingIdentifier`](/documentation/AppKit/NSWindow/tabbingIdentifier-swift.property)

A value that allows a group of related windows.



---

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)