Click or drag to resize

TreeGetSelectedColumn Method

Returns the currently focused column, or -1 if no column is focused.

In mode, the focused column is the selected column. In mode, the focused column is always 0 if any item is selected. In mode, the focused column is the column under the focus cursor, and there are not necessarily any column selected.

To tell whether a column of an item is selected, use IsSelected(Int32).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int GetSelectedColumn()

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.Tree.GetSelectedColumn"]

See Also