Skip to main content

picker_row_at

Function picker_row_at 

Source
pub fn picker_row_at(area: Rect, picker: &Picker, row: u16) -> Option<usize>
Expand description

Which option a click in the chooser landed on, as an index into the filtered list. Shares picker_layout with the drawing, so a click cannot resolve against rows that were not on screen.