pub fn focus_item<L: ListViewer + ?Sized>(
this: &mut L,
item: i32,
ctx: &mut Context<'_>,
)Expand description
Set focused = item, push the new value to the vertical bar, and adjust
top_item so the focused item is visible.
Sets focused = item; if a vertical bar exists, requests set_value(item)
on it. Then the top_item adjust block (guarded by size.y > 0, with
separate single-column and multi-column cases).