TreeView.BeginRename

Declaration

public bool BeginRename(IMGUI.Controls.TreeViewItem item);

Declaration

public bool BeginRename(IMGUI.Controls.TreeViewItem item, float delay);

Parameters

item Item to rename.
delay Delay in seconds until the rename overlay shows.

Returns

bool Returns true if renaming was started. Returns false if renaming was already active.

Description

Shows the rename overlay for a TreeViewItem.

This renames the TreeViewItem.displayName string.


Did you find this page useful? Please give it a rating: