1#![windows_subsystem = "windows"]
2
3use fltk::{prelude::*, *};
4use fltk_accesskit::{builder, AccessibleApp};
5
6fn main() {
7 let a = app::App::default();
8 let mut w = window::Window::default()
9 .with_size(400, 300)
10 .with_label("Hello Window");
11 let col = group::Flex::default_fill().column();
12 let _b1 = button::Button::default().with_label("Increment");
13 let _f = frame::Frame::default().with_label("0");
14 let _b2 = button::Button::default().with_label("Decrement");
15 col.end();
16 w.end();
17 w.make_resizable(true);
18 w.show();
19
20 let ac = builder(w).attach();
21
22 a.run_with_accessibility(ac).unwrap();
23}