Interlude.Tick.Extra.DebugUI.TreeView
interludesoftware.tick¶
Interlude.Tick.Extra.DebugUI¶
TreeView Class¶
Inheritance System.Object → TreeView
Methods¶
TreeView.Begin(UI, string) Method¶
Opens a tree context. Must be paired with End(UI).
Parameters¶
ui UI
TreeView.BeginNode(UI, string, string, bool, bool) Method¶
Draws a tree node row. Returns true when the node is expanded and children should be drawn. Always call EndNode(UI) regardless of the return value.
public static bool BeginNode(Interlude.Tick.UI ui, string id, string label, bool hasChildren, out bool selected);
Parameters¶
ui UI
The UI instance to draw into.
Stable identifier for this node's expansion and selection state.
label System.String
Text shown on the node row.
hasChildren System.Boolean
True if the node can be expanded to reveal children.
selected System.Boolean
True if this node is currently selected.
Returns¶
TreeView.End(UI) Method¶
Closes a tree context opened by Begin(UI, string).
Parameters¶
ui UI
TreeView.EndNode(UI) Method¶
Closes a node opened by BeginNode(UI, string, string, bool, bool).
Parameters¶
ui UI