Expand description
checkbox(...) docs.
§Optional fields
labeloverride widget label.catchmapApplies a mapping function to&mut Self(works the same as in the input example)
§Example
#[derive(imgui_ext::Gui)]
struct Checkboxes {
// All parameters are optional.
#[imgui(checkbox)]
turbo: bool,
// Optionally, you can override the label:
#[imgui(checkbox(label = "Checkbox!"))]
check: bool,
}§Result

Structs§
- Checkbox
Params - Structure generated by the annoration.
Traits§
- Checkbox
- Trait for types that can be represented with a checkbox.