# Editor.Option

- Kind: class
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Inherits: [Editor.QObject](/api/Editor.QObject)

## Constructors

- [`Option`](/api/Editor.Option/.ctor)

## Fields

- [`FetchCheckedState`](/api/Editor.Option/FetchCheckedState): A method to get the checked state. Called periodically to update the status
- [`Toggled`](/api/Editor.Option/Toggled)
- [`Triggered`](/api/Editor.Option/Triggered)

## Properties

- [`Checkable`](/api/Editor.Option/Checkable): Whether this option is a toggle option. [Editor.Option.Checked](/api/Editor.Option/Checked).
- [`Checked`](/api/Editor.Option/Checked): Whether this option is toggled/checked. [Editor.Option.Checkable](/api/Editor.Option/Checkable).
- [`Enabled`](/api/Editor.Option/Enabled): Whether this option can be clicked. Will also be visually different.
- [`Icon`](/api/Editor.Option/Icon): The icon for this option.
- [`IconImage`](/api/Editor.Option/IconImage): The icon for this option.
- [`IconText`](/api/Editor.Option/IconText): Text to display if [Editor.Option.Text](/api/Editor.Option/Text) is empty.
- [`Shortcut`](/api/Editor.Option/Shortcut)
- [`ShortcutName`](/api/Editor.Option/ShortcutName)
- [`StatusText`](/api/Editor.Option/StatusText)
- [`StatusTip`](/api/Editor.Option/StatusTip)
- [`Text`](/api/Editor.Option/Text): Text for this option.
- [`Tooltip`](/api/Editor.Option/Tooltip)
- [`ToolTip`](/api/Editor.Option/ToolTip)

## Methods

- [`SetIcon`](/api/Editor.Option/SetIcon): Sets an icon for the option via a raw image.
