MCPcopy Create free account
hub / github.com/MyGUI/mygui / setValue

Method setValue

Tools/LayoutEditor/PropertyFieldComboBox.cpp:79–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 void PropertyFieldComboBox::setValue(std::string_view _value)
80 {
81 if (_value.empty())
82 {
83 mField->setCaption(replaceTags("ColourDefault") + DEFAULT_STRING);
84 }
85 else
86 {
87 mField->setOnlyText(MyGUI::UString(_value));
88 }
89 }
90
91 void PropertyFieldComboBox::setName(std::string_view _value)
92 {

Callers

nothing calls this directly

Calls 5

replaceTagsFunction · 0.85
UStringFunction · 0.85
setOnlyTextMethod · 0.80
emptyMethod · 0.45
setCaptionMethod · 0.45

Tested by

no test coverage detected