Skip to main content

dispatch_event_to_target_tree

Function dispatch_event_to_target_tree 

Source
pub fn dispatch_event_to_target_tree(
    tree: &mut WidgetTree,
    target: NodeId,
    event: &Event,
) -> DispatchOutcome
Expand description

Dispatch an event to a specific target node using the arena tree.

Capture phase runs root→target, then bubble phase runs target→root.