Function labeled_checkbox_cb

Source
pub fn labeled_checkbox_cb<C: Fn(&mut Cursive, bool) + Send + Sync + 'static>(
    text: &str,
    name: &str,
    checked: bool,
    callback: C,
) -> LinearLayout
Expand description

Same as labeled_checkbox() but also accepts a closure to execute when the check box’s state changes