Click or drag to resize

ControlAddIconOverride Method

Overrides the icon with given name in the Theme resource the control uses. If icon is null or invalid, the override is cleared and the icon from assigned Theme is used.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void AddIconOverride(
	string name,
	Texture texture
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:Godot.Control.AddIconOverride(System.String,Godot.Texture)"]

texture
Type: GodotTexture

[Missing <param name="texture"/> documentation for "M:Godot.Control.AddIconOverride(System.String,Godot.Texture)"]

See Also