Module tree_view

Source
Expand description

Interactive snapshot or retained-model tree with selection, editing, drag/drop, creation/deletion, context menus, shortcuts, and optional row virtualization.

Snapshot trees can mutate only through a bound node signal. Retained models own hierarchy/expansion and support intent-only editing workflows; callbacks carry application actions or receive direct event-context access.

Structs§

TreeCreate
Successfully committed create intent.
TreeCreateCancel
Cancellation of an in-progress create editor.
TreeCreateRequest
Input to a user-provided new-node factory.
TreeDelete
Delete intent for one node/subtree.
TreeMove
Drag/drop move intent emitted after a valid drop.
TreeNode
Recursive snapshot-tree node with static/reactive disabled state.
TreeNodeTrailingAction
Icon and optional tooltip metadata for a selected row’s trailing action.
TreeRename
Committed rename intent with trimmed replacement label.
TreeView
Interactive hierarchical view backed by snapshot nodes or a retained model.
TreeViewDiagnostics
Permanent structural counters for a TreeView. The handle is UI-local and intentionally cheap to clone into a benchmark or diagnostics panel.
TreeViewDiagnosticsSnapshot
Point-in-time copy of tree structural/virtualization counters.
TreeViewStyle
Tree surfaces, typography, focus, geometry, and disabled treatment.

Enums§

TreeContextMenu
Right-click context carrying pointer geometry for a row or blank area.
TreeCreateKind
Placement requested by tree creation commands.
TreeDropPosition
Drop relation between a dragged source and target row.
TreeMutationMode
Whether editing operations mutate bound snapshot nodes or emit intent only.
TreeShortcut
Supported platform-neutral keyboard command intent.
TreeViewCommand
One-shot externally bound editor command.
TreeViewSize
Density preset used to derive TreeViewStyle.