Skip to main content

Module tree_view

Module tree_view 

Source
Expand description

TreeView — compositional tree widget with expand/collapse, multi-select, keyboard navigation, and drag-and-drop reordering.

Each visible row is represented by a TreeRow child widget stored in row_widgets. The framework recurses into these children after paint() returns, so the clip_rect set at the end of paint() is active during child painting.

Re-exports§

pub use row::ExpandToggle;
pub use row::NodeIconWidget;
pub use row::TreeRow;

Modules§

row
Compositional row widgets for TreeView: ExpandToggle, NodeIconWidget, and TreeRow.

Structs§

TreeNode
A node in the tree.
TreeView

Enums§

NodeIcon
Procedurally-drawn icon discriminant.