Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Begins a combo whose popup opens below the control and stays within its containing window.

API: engine
Project: Inno.Editor.ImGui

public bool Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.BeginBoundedCombo(string id, string preview, Inno.Editor.ImGui.ImGuiComboFlags flags = Inno.Editor.ImGui.ImGuiComboFlags.None)

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:Inno.Editor.ImGui.ImGuiComboFlags.WidthFitPreview is supported.

true when the combo popup is open and its contents should be submitted; otherwise, false.

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.