Class

NSWindowTabGroup

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

Declaration

@interface NSWindowTabGroup : NSObject

Overview

AppKit automatically creates instances of NSWindowTabGroup to reflect the tabbing state of your windows. You can access a window’s current tab group using the tabGroup property.

Topics

Checking the Group Identifier

identifier

The unique identifier for a tabbed window group.

Configuring the Tab User Interface

overviewVisible

A Boolean value indicating if the tab overview is currently displayed.

tabBarVisible

A Boolean value indicating whether the tabbed window group currently displays a tab bar.

Managing Tabbed Windows

windows

A collection of the windows that are currently grouped together by this window tab group.

selectedWindow

The selected, or frontmost, window in the tab group.

- addWindow:

Adds a window to the tab group.

- insertWindow:atIndex:

Inserts a window at a specific location within the tab group.

- removeWindow:

Removes a window from the tab group.

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.

NSWindowTab

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