pub fn set_range<L: ListViewer + ?Sized>(
this: &mut L,
a_range: i32,
ctx: &mut Context<'_>,
)Expand description
Set the list length, resetting focused if it now falls past the end, and
(re)publish the vertical bar’s range.
Sets range = a_range; if focused now falls past the end it resets to 0;
if a vertical bar exists, requests set_params(focused, 0, a_range - 1, …),
preserving the existing page and arrow steps.