# window.navigation.Window.panes_or_empty

- **Module:** window.navigation.Window
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/window/navigation.rs#L16
- **Page:** https://libtmux.org/reference/rs/window-navigation-window-panes_or_empty/

```
window.navigation.Window.panes_or_empty(self) -> Vec<Pane>
```

List this window's panes, in tmux's own order.

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