# libtmux.Window._list_panes

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

```
libtmux.Window._list_panes(self) -> list[PaneDict]
```

Return list of panes (deprecated in favor of :meth:`.panes`).

## Deprecated

0.17 — Slated to be removed in favor of :attr:`.panes`.
