Skip to main content

remind_choices

Function remind_choices 

Source
pub fn remind_choices(
    title: &str,
    body: &str,
    choices: Vec<(String, Box<dyn FnOnce() + Send>)>,
) -> Result<(), String>
Expand description

A gentle reminder with several buttons, each its label and its action: the one pressed runs (the night’s notice: “Close the day” and “Options…”).