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

Method destroyWidget

MyGUIEngine/src/MyGUI_Gui.cpp:233–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 }
232
233 void Gui::destroyWidget(Widget* _widget)
234 {
235 Widget* parent = _widget->getParent();
236 if (parent != nullptr)
237 parent->_destroyChildWidget(_widget);
238 else
239 _destroyChildWidget(_widget);
240 }
241
242 void Gui::destroyWidgets(const VectorWidgetPtr& _widgets)
243 {

Callers 15

ExportGui_DestroyWidgetFunction · 0.45
~BaseWidgetFunction · 0.45
clearButtonMethod · 0.45
~InputFocusInfoMethod · 0.45
~UnitTest_ListMethod · 0.45
~UnitTest_MultiListMethod · 0.45
step_destroy_widgetFunction · 0.45
removeAllItemsMethod · 0.45
removeItemAtMethod · 0.45
destroyDemoMethod · 0.45
removeItemAtMethod · 0.45

Calls 2

getParentMethod · 0.45
_destroyChildWidgetMethod · 0.45

Tested by 3

~UnitTest_ListMethod · 0.36
~UnitTest_MultiListMethod · 0.36
deleteSkinMethod · 0.36