# libtmux.Session.attached_window

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

```
libtmux.Session.attached_window(self) -> Window
```

Return the active :class:`Window` object.

## Deprecated

0.31 — Deprecated in favor of :meth:`.active_window`.
