GuiComboBox method
Combo Box control
Implementation
(GuiResult result, int active) GuiComboBox(
RectangleD bounds,
String? text,
num active,
) => run(
() => _debugLabels.GuiComboBox(bounds, text, active),
() {
final valuePtr = $.Int$.Ref1(active.toInt());
final result = _flat.GuiComboBox(
bounds,
$.String$.ValueOrNull(text),
valuePtr,
);
return (.fromValue(result), valuePtr.value);
},
);