# Snapshot.windows(_:ofPanes:)

- **Module:** Snapshot
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Snapshot.swift#L217
- **Page:** https://libtmux.org/reference/swift/snapshot-windows(_-ofpanes-)/

```
Snapshot.windows(_:ofPanes:)(quantifier: RelationQuantifier, ofPanes: FilterExpr<Pane>) -> [Window]
```

Windows whose panes satisfy a quantified filter.

## Raises

- `RegexMatchError`
