Guide API
Skip to main content

ov_handle_event

Function ov_handle_event 

Source
pub fn ov_handle_event<L: OutlineViewer + View + ?Sized>(
    this: &mut L,
    ev: &mut Event,
    ctx: &mut Context<'_>,
)
Expand description

The scrollbar broadcast filter (inherited from the scroller), mouse hold-tracking, and the keyboard nav switch.

The press-and-hold / edge auto-scroll loop runs through the MouseTrackCapture: MouseDown arms the capture; tracked MouseMove/MouseAuto route the loop body; MouseUp runs the post-loop graph-toggle logic (dragged < 2 distinguishes click from drag).