Skip to main content

picker_bound

Function picker_bound 

Source
pub fn picker_bound(title: &str, state: &BoundState<i64>, content: View) -> View
Expand description

Create a Picker wired to Rust state — choosing a row writes its tag into state.

The rows are tagged with View::tag; the tag is what lands in state.