OptionButtonAddIconItem Method |
Adds an item, with a texture icon, 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 AddIconItem( Texture texture, string label, int id = -1 )
[Missing <param name="texture"/> documentation for "M:Godot.OptionButton.AddIconItem(Godot.Texture,System.String,System.Int32)"]
[Missing <param name="label"/> documentation for "M:Godot.OptionButton.AddIconItem(Godot.Texture,System.String,System.Int32)"]
[Missing <param name="id"/> documentation for "M:Godot.OptionButton.AddIconItem(Godot.Texture,System.String,System.Int32)"]