# libtmux.constants.OptionScope

- **Module:** libtmux.constants
- **Package:** libtmux
- **Language:** Python
- **Kind:** class
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/constants.py#L64
- **Bases:** [`enum.Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-constants-optionscope/

Scope used with [`set-option`](/en/tmux/latest/manual/set-option/) and ``show-option(s)`` commands.

## Members

### Other members

- [`Pane`](/en/py/stable/reference/libtmux-constants-optionscope-pane/) (attribute)
- [`Server`](/en/py/stable/reference/libtmux-constants-optionscope-server/) (attribute)
- [`Session`](/en/py/stable/reference/libtmux-constants-optionscope-session/) (attribute)
- [`Window`](/en/py/stable/reference/libtmux-constants-optionscope-window/) (attribute)
