Function choice2

pub fn choice2(
    x: i32,
    y: i32,
    txt: &str,
    b0: &str,
    b1: &str,
    b2: &str,
) -> Option<i32> 
Available on crate feature dep_fltk only.
Expand description

Displays a choice box with up to three choices. Closing the dialog returns None. Choosing a value returns its index from the arguments.