|
|
| option_label |
| | The displayed string value for the option.
|
| |
|
| selected |
| | Used to indicate whether the option is selected or not.
|
| |
◆ constructor() [1/2]
Constructor, with parameters.
- Parameters
-
| [in] | option_label | The displayed string value for the option. |
| [in] | selected | true means the option is selected, and false means the option is not selected. |
◆ constructor() [2/2]
| WidgetChoiceOption.constructor |
( |
r |
| ) |
|
@constructor
- Parameters
-
| {NativeObjectReference} | r - The native object reference to wrap |
@description Creates a new wrapper instance around a native C++ object. The wrapper manages the object's lifecycle according to the ownership rules.
◆ Set()
Set value.
- Parameters
-
| [in] | option_label | The displayed string value for the option. |
| [in] | selected | true means the option is selected, and false means the option is not selected. |
- Returns
- None.