---
title: showsToolbarButton
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindow/showstoolbarbutton
---

# showsToolbarButton

A Boolean value that indicates whether the toolbar control button is currently displayed.

## Declaration

```swift
var showsToolbarButton: Bool { get set }
```

## Discussion

Discussion The value of this property is true if the standard toolbar button is currently displayed; otherwise, false. When clicked, the toolbar control button shows or hides a window’s toolbar. The toolbar control button appears in a window’s title bar. If the window does not have a toolbar, this property has no effect.

## See Also

### Managing Title Bars

- [standardWindowButton(_:for:)](appkit/nswindow/standardwindowbutton(_:for:).md)
- [standardWindowButton(_:)](appkit/nswindow/standardwindowbutton(_:).md)
- [titlebarAppearsTransparent](appkit/nswindow/titlebarappearstransparent.md)
- [toolbarStyle](appkit/nswindow/toolbarstyle-swift.property.md)
- [NSWindow.ToolbarStyle](appkit/nswindow/toolbarstyle-swift.enum.md)
- [titlebarSeparatorStyle](appkit/nswindow/titlebarseparatorstyle.md)
- [NSTitlebarSeparatorStyle](appkit/nstitlebarseparatorstyle.md)
- [windowTitlebarLayoutDirection](appkit/nswindow/windowtitlebarlayoutdirection.md)
