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

Method _unlinkWidget

Tools/LayoutEditor/EditorWidgets.cpp:760–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758 }
759
760 void EditorWidgets::_unlinkWidget(MyGUI::Widget* _widget)
761 {
762 WidgetContainer* container = find(_widget);
763 if (container != nullptr)
764 {
765 bool result = unbind(container);
766 mWidgetsChanged = true;
767
768 if (result)
769 WidgetSelectorManager::getInstance().setSelectedWidget(nullptr);
770 }
771 }
772
773 MyGUI::MapString& EditorWidgets::getCodeGeneratorSettings()
774 {

Callers

nothing calls this directly

Calls 1

setSelectedWidgetMethod · 0.80

Tested by

no test coverage detected