OptionButtonAddItem Method |
Adds an item, with text label and (optionally) id. If no id is passed, the item index will be used as the item's ID. New items are appended at the end.
Namespace: Godot
public void AddItem( string label, int id = -1 )
[Missing <param name="label"/> documentation for "M:Godot.OptionButton.AddItem(System.String,System.Int32)"]
[Missing <param name="id"/> documentation for "M:Godot.OptionButton.AddItem(System.String,System.Int32)"]