# session.Session.panes_or_empty

- **Module:** session.Session
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/session.rs#L454
- **Page:** https://libtmux.org/reference/rs/session-session-panes_or_empty/

```
session.Session.panes_or_empty(self) -> Vec<Pane>
```

List every pane in this session, in tmux's own order.

This is the lenient form; use [`Session::panes`] when the reason
for an empty result matters.
