Synced
ImGuiWidget.Checkbox
Section titled “ImGuiWidget.Checkbox”
- Draws a standard checkbox with the shared editor tooltip behavior.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.ImGui.ImGuiWidget.Checkbox(string label, ref bool value, string? tooltip = null)Parameters
Section titled “Parameters”Parameter label: Visible label and stable ImGui identifier.
Parameter value: Mutable checked state.
Parameter tooltip: Optional explanation displayed while the checkbox is hovered.
Returns
Section titled “Returns”true when the value changed.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when label is empty or whitespace.