# libtmux.Session.find_where

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

```
libtmux.Session.find_where(
    self, kwargs: dict[str, t.Any]
) -> Window | None
```

Filter through windows, return first :class:`Window`.

## Deprecated

0.17 — Slated to be removed in favor of :meth:`.windows.get()`.

## Parameters

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