Module element_event_router

Source
Expand description

Element event router implementation details. Event routing for a single retained element and its interaction metadata.

Functions§

absolute_paint_bounds
Resolves one element’s retained bounds in tree-global logical pixels.
collect_hit_rects
Collects the local paint bounds of every element with committed layout.
dispatch_event_bubbling
Synchronously dispatches an event from a target through its ancestor chain.
dispatch_event_envelope_bubbling
Bubbles an envelope while preserving its host correlation metadata.
dispatch_event_envelope_to_target
Synchronously dispatches one envelope to one widget without bubbling.
dispatch_event_to_target
Synchronously dispatches an event to one retained widget without bubbling.
hit_test_overlay_target
Hit-tests only retained overlay regions, preserving their paint z-order.
hit_test_target
Returns the topmost retained widget containing a global logical point.