# window.navigation.Window

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

## Members

- `panes_or_empty` (method) — List this window's panes, in tmux's own order.
- `panes` (method) — List this window's panes, preserving any failure.
- `search_panes_or_empty` (method)
- `search_panes` (method)
- `active_pane` (method) — Return the window's active pane.
- `focus_direction` (method) — Move focus one pane in this direction, and report where it landed.
- `last_pane` (method) — Move to the pane that was active before this one, and return it.
- `linked_sessions_or_empty` (method) — The sessions this window is linked into, in the order tmux lists them.
- `linked_sessions` (method) — The sessions this window is linked into, reporting why if it cannot.
- `session` (method) — Return the session this window was reached through.
- `pane_at` (method) — Find this window's pane at the given index.
