# libtmux::OptionEntry

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/options.hpp#L32
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-optionentry/

One option as tmux reports it: its name, its value, and the array index it sits at when it is an array option.

## Members

- `name` (attribute)
- `index` (attribute): Present only for array options, which tmux indexes sparsely: absent indexes are genuinely unset rather than empty.
- `value` (attribute)
- `inherited` (attribute): True when the value comes from a wider scope rather than being set here.
