# libtmux.Client.attached_window

- **Module:** libtmux.Client
- **Package:** libtmux
- **Language:** Python
- **Kind:** property
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/client.py#L157
- **Page:** https://libtmux.org/reference/py/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``, 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.
