# libtmux.Session.where

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

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

Filter through windows, return list of :class:`Window`.

## Deprecated

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

## Parameters

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