# session.Session.window_at

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

```
session.Session.window_at(self, index: i32) -> Result<Option<Window>, Error>
```

Find this session's window at the given index.

# Errors

Returns an error when the window listing fails.
