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

Method notifyActionName

Tools/LayoutEditor/PanelMainProperties.cpp:179–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 }
178
179 void PanelMainProperties::notifyActionName(std::string_view /*_type*/, std::string_view _value, bool _final)
180 {
181 if (_final)
182 {
183 WidgetContainer* widgetContainer = EditorWidgets::getInstance().find(mCurrentWidget);
184 widgetContainer->setName(_value);
185
186 UndoManager::getInstance().addValue(PR_PROPERTIES);
187 }
188 }
189
190 void PanelMainProperties::notifyActionType(std::string_view /*_type*/, std::string_view _value, bool _final)
191 {

Callers

nothing calls this directly

Calls 3

addValueMethod · 0.80
findMethod · 0.45
setNameMethod · 0.45

Tested by

no test coverage detected