# libtmux.options.OptionsMixin

- **Module:** libtmux.options
- **Package:** libtmux
- **Language:** Python
- **Kind:** class
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/options.py#L583
- **Bases:** [`CmdMixin`](/en/py/stable/reference/libtmux-common-cmdmixin/)
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-options-optionsmixin/

tmux catalog: [Options](/en/tmux/latest/catalog/options/)

Mixin for managing tmux options based on scope.

## Members

### Common operations

- [`set_option`](/en/py/stable/reference/libtmux-options-optionsmixin-set_option/) (method): Set option for tmux target.
- [`show_option`](/en/py/stable/reference/libtmux-options-optionsmixin-show_option/) (method): Return option value for the target.
- [`show_options`](/en/py/stable/reference/libtmux-options-optionsmixin-show_options/) (method): Return all options for the target.
- [`unset_option`](/en/py/stable/reference/libtmux-options-optionsmixin-unset_option/) (method): Unset option for tmux target.

### Other members

- [`default_option_scope`](/en/py/stable/reference/libtmux-options-optionsmixin-default_option_scope/) (attribute)
- [`__init__`](/en/py/stable/reference/libtmux-options-optionsmixin-__init__/) (method): When not a user (custom) option, scope can be implied.
- [`_show_option`](/en/py/stable/reference/libtmux-options-optionsmixin-_show_option/) (method): Return option value for the target.
- [`_show_option_raw`](/en/py/stable/reference/libtmux-options-optionsmixin-_show_option_raw/) (method): Return raw option output for target.
- [`_show_options`](/en/py/stable/reference/libtmux-options-optionsmixin-_show_options/) (method): Return a dict of options for the target.
- [`_show_options_dict`](/en/py/stable/reference/libtmux-options-optionsmixin-_show_options_dict/) (method): Return dict of options for the target.
- [`_show_options_raw`](/en/py/stable/reference/libtmux-options-optionsmixin-_show_options_raw/) (method): Return a dict of options for the target.

## Inherited members

- [`cmd`](/en/py/stable/reference/libtmux-options-optionsmixin-cmd/) (attribute), inherited from `libtmux.common.CmdMixin`
