# pane.Pane.select

- **Module:** pane.Pane
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/pane.rs#L704
- **Page:** https://libtmux.org/en/rs/latest/reference/pane-pane-select/

```
pane.Pane.select(mut) -> Result<&mut Self, Error>
```

Make this pane active in its window.

# Errors

Returns an error when tmux refuses the command.
