# libtmux.Client.attached_window

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Python
- **Kind:** property
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/client.py#L157
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-client-attached_window/

```
libtmux.Client.attached_window(self) -> Window | None
```

Return the :class:`Window` this client is currently viewing.

Re-reads the client from [`list-clients`](/en/tmux/latest/manual/list-clients/), looks up its attached
session, and returns that session's :attr:`~libtmux.Session.active_window`.
Returns ``None`` when no live attached session can be resolved.
