Skip to main content

build_tree_update_with_resources

Function build_tree_update_with_resources 

pub fn build_tree_update_with_resources<S>(
    root: &dyn Widget,
    node_map: &HashMap<NodeId, *mut dyn Widget, S>,
    focused: Option<NodeId>,
    scale: f64,
    resources: &[Resource],
) -> TreeUpdate
where S: BuildHasher,
Expand description

Build the widget accessibility tree and append the exact same live resource/action surface used by the palette, shell and collaboration API. Immediate operations expose Click; prompted operations expose SetValue with the supplied value becoming their argument.