lib_myfltk 0.1.4

Utility functions based on the FLTK.rs GUI library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


use lib_myfltk::fltkutils::*;


fn main() {
    let app = fltk::app::App::default();
    
    let labels = vec!["flamingo".to_string(), "tiger".to_string(), "lion".to_string()];
    
    let choice = fltk_checkbox_menu(app.clone(), &labels);
    
    println!("\n choice: {:?} \n", choice);
    
    app.run().unwrap();
}