# libtmux.Window.where

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/window.py#L1893
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-window-where/

```
libtmux.Window.where(
    self, kwargs: dict[str, t.Any]
) -> list[Pane]
```

Filter through panes, return list of :class:`Pane`.

## Deprecated

0.17 — Deprecated by :meth:`.panes.filter()`.

## Parameters

- `kwargs` (`dict[str, t.Any]`)
