# libtmux.Server._list_panes

- **Module:** libtmux.Server
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/9fdd083a8181a827889337b63cd4e6daea661a8c/src/libtmux/server.py#L2716
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-server-_list_panes/

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

Return list of panes in :py:obj:`dict` form.

Retrieved from ``$ tmux(1) list-panes`` stdout.

The :py:obj:`list` is derived from ``stdout`` in
:class:`util.tmux_cmd` which wraps :py:class:`subprocess.Popen`.
