Function cursive_extras::labeled_checkbox_cb
source · [−]pub fn labeled_checkbox_cb<C: Fn(&mut Cursive, bool) + '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