pub fn scroll_begin<S: Spec>(
cx: &mut PanelCx<'_, S>,
id: &str,
viewport: Rect,
sv: &mut ScrollView,
content_h: f64,
wheel: bool,
st: &ScrollStyle,
) -> f64Expand description
Input half: sets the extent, applies this frame’s wheel when the pointer is
over viewport (and wheel is allowed), advances inertia, follows a thumb
drag, pages on a track press. Returns the offset to paint the content at.