# LibTmux.TmuxOptions

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Options/TmuxOptions.cs#L13
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-tmuxoptions/

The options of one server, session, window, or pane.

tmux keeps four option tables and picks between them with a flag, so the
scope is fixed when the accessor is reached rather than passed to every
call. A request may still name another scope, which is what makes a
window-scoped read from a session possible without a second accessor.

## Members

### Common operations

- `GetAllAsync` (method): Reads every option in the scope.
- `GetAsync` (method): Reads one option.
- `SetAsync` (method): Sets an option in this scope from a value of its key's type.
- `UnsetAsync` (method): Unsets one option, returning it to what it inherits.

### Other members

- `Scope` (property): Gets the scope these options are read and written in by default.
