# libtmux.Server._list_panes

- **Module:** libtmux.Server
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/server.py#L2716
- **Page:** https://libtmux.org/reference/py/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`.
