Synced
ImGuiWidget.BeginBoundedCombo
Section titled “ImGuiWidget.BeginBoundedCombo”
- Begins a combo whose popup opens below the control and stays within its containing window.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.ImGui.ImGuiWidget.BeginBoundedCombo(string id, string preview, InnoEditor.ImGui.ImGuiComboFlags flags = InnoEditor.ImGui.ImGuiComboFlags.None)Parameters
Section titled “Parameters”Parameter id: Stable combo identifier in the current ImGui scope.
Parameter preview: Text displayed by the closed combo.
Parameter flags: Native combo presentation flags. Only F:InnoEditor.ImGui.ImGuiComboFlags.WidthFitPreview is supported.
Returns
Section titled “Returns”true when the combo popup is open and its contents should be submitted; otherwise, false.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when id is empty.
Exception T:System.ArgumentNullException: Thrown when preview is null.
Exception T:System.ArgumentOutOfRangeException: Thrown when flags contains a presentation mode unsupported by the editor selector.