1 2 3 4 5 6 7 8 9 10 11 12
#[test] fn checkbox() { #[derive(imgui_ext::Gui)] struct Test { #[imgui(checkbox)] a: bool, #[imgui(checkbox())] b: bool, #[imgui(checkbox(label = "foo", catch = "d"))] c: bool, } }