ItemListAddItem Method |
Adds an item to the item list with specified text. Specify an icon, or use null as the icon for a list item with no icon.
If selectable is true, the list item will be selectable.
Namespace: Godot
public void AddItem( string text, Texture icon = null, bool selectable = true )
[Missing <param name="text"/> documentation for "M:Godot.ItemList.AddItem(System.String,Godot.Texture,System.Boolean)"]
[Missing <param name="icon"/> documentation for "M:Godot.ItemList.AddItem(System.String,Godot.Texture,System.Boolean)"]
[Missing <param name="selectable"/> documentation for "M:Godot.ItemList.AddItem(System.String,Godot.Texture,System.Boolean)"]