---
title: NSTabViewController.TabStyle.toolbar
framework: appkit
role: symbol
role_heading: Case
path: appkit/nstabviewcontroller/tabstyle-swift.enum/toolbar
---

# NSTabViewController.TabStyle.toolbar

A style that automatically adds any tabs to the window’s toolbar. The tab view controller takes control of the window’s toolbar and sets itself as the toolbar’s delegate. Customization of the toolbar is handled using the methods in Responding to Toolbar Events.

## Declaration

```swift
case toolbar
```

## See Also

### Constants

- [NSTabViewController.TabStyle.segmentedControlOnTop](appkit/nstabviewcontroller/tabstyle-swift.enum/segmentedcontrolontop.md)
- [NSTabViewController.TabStyle.segmentedControlOnBottom](appkit/nstabviewcontroller/tabstyle-swift.enum/segmentedcontrolonbottom.md)
- [NSTabViewController.TabStyle.unspecified](appkit/nstabviewcontroller/tabstyle-swift.enum/unspecified.md)
