---
title: "presentedWindowToolbarStyle(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/presentedwindowtoolbarstyle(_:)"
---

# presentedWindowToolbarStyle(_:)

Sets the style for the toolbar in windows created by interacting with this view.

## Declaration

```swift
nonisolated func presentedWindowToolbarStyle<S>(_ style: S) -> some View where S : WindowToolbarStyle

```

## See Also

### Styling windows from a view inside the window

- [presentedWindowStyle(_:)](swiftui/view/presentedwindowstyle(_:).md)
