Click or drag to resize

TreeItemSetCustomDraw Method

Sets the given column's custom draw callback to callback method on object.

The callback should accept two arguments: the TreeItem that is drawn and its position and size as a Rect2.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetCustomDraw(
	int column,
	Object object,
	string callback
)

Parameters

column
Type: SystemInt32

[Missing <param name="column"/> documentation for "M:Godot.TreeItem.SetCustomDraw(System.Int32,Godot.Object,System.String)"]

object
Type: GodotObject

[Missing <param name="object"/> documentation for "M:Godot.TreeItem.SetCustomDraw(System.Int32,Godot.Object,System.String)"]

callback
Type: SystemString

[Missing <param name="callback"/> documentation for "M:Godot.TreeItem.SetCustomDraw(System.Int32,Godot.Object,System.String)"]

See Also