Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Draws one selectable item.

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

public static bool InnoEditor.ImGui.ImGui.Selectable(string label, bool selected = false, InnoEditor.ImGui.ImGuiSelectableFlags flags = InnoEditor.ImGui.ImGuiSelectableFlags.None, System.Numerics.Vector2 size = default(System.Numerics.Vector2))

Parameter label: The visible label and identity.

Parameter selected: Whether the item is currently selected.

Parameter flags: Selectable behavior.

Parameter size: The interaction bounds, or zero for the ordinary content size.

true when the item is activated.