Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Begins a popup and draws its focused search field.

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

public bool InnoEditor.ImGui.ImGuiWidget.BeginSearchPopup(string id, ref string query, string hint, nuint capacity = 256, float width = -1)

Parameter id: The popup identifier previously supplied to ImGui.

Parameter query: The mutable search query.

Parameter hint: The hint shown while the query is empty.

Parameter capacity: The maximum UTF-8 buffer capacity.

Parameter width: The search field width, or a negative value to use the editor default.

true when popup content should be drawn; otherwise, false.