OptionButtonSetItemDisabled Method |
Sets whether the item at index idx is disabled.
Disabled items are drawn differently in the dropdown and are not selectable by the user. If the current selected item is set as disabled, it will remain selected.
Namespace: Godot
public void SetItemDisabled( int idx, bool disabled )
[Missing <param name="idx"/> documentation for "M:Godot.OptionButton.SetItemDisabled(System.Int32,System.Boolean)"]
[Missing <param name="disabled"/> documentation for "M:Godot.OptionButton.SetItemDisabled(System.Int32,System.Boolean)"]