Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Draws a standard checkbox with the shared editor tooltip behavior.

API: scripting
Project: Inno.Editor.ImGui
Scope: Editor

public bool InnoEditor.ImGui.ImGuiWidget.Checkbox(string label, ref bool value, string? tooltip = null)

Parameter label: Visible label and stable ImGui identifier.

Parameter value: Mutable checked state.

Parameter tooltip: Optional explanation displayed while the checkbox is hovered.

true when the value changed.

Exception T:System.ArgumentException: Thrown when label is empty or whitespace.