TreeItemAddButton Method |
Adds a button with Texturebutton at column column. The button_idx index is used to identify the button when calling other methods. If not specified, the next available index is used, which may be retrieved by calling GetButtonCount(Int32) immediately after this method. Optionally, the button can be disabled and have a tooltip.
Namespace: Godot
public void AddButton( int column, Texture button, int buttonIdx = -1, bool disabled = false, string tooltip = "" )
[Missing <param name="column"/> documentation for "M:Godot.TreeItem.AddButton(System.Int32,Godot.Texture,System.Int32,System.Boolean,System.String)"]
[Missing <param name="button"/> documentation for "M:Godot.TreeItem.AddButton(System.Int32,Godot.Texture,System.Int32,System.Boolean,System.String)"]
[Missing <param name="buttonIdx"/> documentation for "M:Godot.TreeItem.AddButton(System.Int32,Godot.Texture,System.Int32,System.Boolean,System.String)"]
[Missing <param name="disabled"/> documentation for "M:Godot.TreeItem.AddButton(System.Int32,Godot.Texture,System.Int32,System.Boolean,System.String)"]
[Missing <param name="tooltip"/> documentation for "M:Godot.TreeItem.AddButton(System.Int32,Godot.Texture,System.Int32,System.Boolean,System.String)"]