Synced
ImGuiWidget.ClickableText
Section titled “ImGuiWidget.ClickableText”
- Draws clickable text without a persistent or hovered background.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public bool Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.ClickableText(string id, string text, string? tooltip = null)Parameters
Section titled “Parameters”Parameter id: Stable identifier used by ImGui to track the interaction.
Parameter text: Visible text or icon glyph.
Parameter tooltip: Optional tooltip displayed while the interaction is hovered.
Returns
Section titled “Returns”true when the text is pressed.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when id is empty.
Exception T:System.ArgumentNullException: Thrown when text is null.