Synced
ImGuiWidget.BeginSearchPopup
Section titled “ImGuiWidget.BeginSearchPopup”
- Begins a popup and draws its focused search field.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public bool Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.BeginSearchPopup(string id, ref string query, string hint, nuint capacity = 256, float width = -1)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”true when popup content should be drawn; otherwise, false.