# pane.settings.Pane.option_names

- **Module:** pane.settings.Pane
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/pane/settings.rs#L37
- **Page:** https://libtmux.org/reference/rs/pane-settings-pane-option_names/

```
pane.settings.Pane.option_names(self) -> Result<Vec<String>, Error>
```

List the option names set at this pane's scope.

Values are not included: tmux renders them for display with three
different quoting styles, so re-parsing them would be guesswork. Read
each value with [`Self::get_option`], which returns exact bytes.

# Errors

Returns an error when tmux refuses the listing.
