Class

NSWindowTab

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

Declaration

@interface NSWindowTab : NSObject

Overview

NSWindowTab describes the way a window displays as part of a tabbed window group. The properties of NSWindowTab are configurable at any time, but only take effect when the associated NSWindow displays in a tab.

AppKit automatically creates an instance of NSWindowTab for each NSWindow. You can access a window’s tab object using the tab property.

Topics

Customizing the Title

title

The title for the window tab.

attributedTitle

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

Customizing the Tooltip

toolTip

The tooltip for this window tab.

Adding an Accessory View

accessoryView

An optional accessory view for the tab.

Relationships

Inherits From

See Also

Windows

NSWindow

A window that an app displays on the screen.

NSPanel

A special kind of window that typically performs a function that is auxiliary to the main window.

NSWindowDelegate

A set of optional methods that a delegate of NSWindow can implement to respond to events, such as window resizing, moving, exposing, and minimizing.

NSWindowTabGroup

A group of windows that display together as a single tabbed window.