Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Draws clickable text without a persistent or hovered background.

API: engine
Project: Inno.Editor.ImGui

public bool Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.ClickableText(string id, string text, string? tooltip = null)

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.

true when the text is pressed.

Exception T:System.ArgumentException: Thrown when id is empty.

Exception T:System.ArgumentNullException: Thrown when text is null.