[−][src]Module imgui_ext::checkbox
checkbox(...)
docs.
Optional fields
label
catch
Example
use imgui_ext::ImGuiExt; #[derive(ImGuiExt)] struct Checkboxes { // All parameters are optional. #[imgui(checkbox)] turbo: bool, // Optionally, you can override the label: #[imgui(checkbox(label = "Checkbox!"))] check: bool, }
Result
Structs
CheckboxParams | Structure generated by the annoration. |
Traits
Checkbox | Trait for types that can be represented with a checkbox. |