get_selected_nodes

Function get_selected_nodes 

Source
pub fn get_selected_nodes(id: Id, ctx: &Context) -> Vec<NodeId>
Expand description

Returns nodes selected in the UI for the TreeizeWidget with same ID.

Only works if TreeizeWidget::id was used. For other cases construct TreeizeWidget and use TreeizeWidget::get_selected_nodes or TreeizeWidget::get_selected_nodes_at.