Contents

removeWindow(_:)

Removes a window from the tab group.

Declaration

func removeWindow(_ window: NSWindow)

Parameters

  • window:

    The window to remove from the tab group. This window must already be a member of the tab group.

    Raises an NSInternalInconsistencyException if the window is not a member of the tab group.

Discussion

You can use removeWindow(_:) to explicitly remove a window from the tab group. Windows are implicity removed from their associated tab groups when they order out.

See Also

Managing Tabbed Windows