MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / setOptions

Method setOptions

source/ui/controls/ImGuiLayout.cpp:400–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400void LayoutComboboxControl::setOptions(const std::vector<ComboboxItem>& options) {
401 this->options.data = options;
402 this->options.dataChanged();
403}
404
405bool LayoutComboboxControl::setSelectionByLabel(BString label) {
406 for (int i = 0; i < (int)this->options.data.size(); i++) {

Callers 3

setCurrentContainerMethod · 0.80
addComboBoxMethod · 0.80

Calls 1

dataChangedMethod · 0.80

Tested by

no test coverage detected