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

Method _linkChildWidget

MyGUIEngine/src/MyGUI_Widget.cpp:1104–1109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1102 }
1103
1104 void Widget::_linkChildWidget(Widget* _widget)
1105 {
1106 VectorWidgetPtr::iterator iter = std::find(mWidgetChild.begin(), mWidgetChild.end(), _widget);
1107 MYGUI_ASSERT(iter == mWidgetChild.end(), "widget already exist");
1108 addWidget(_widget);
1109 }
1110
1111 void Widget::_unlinkChildWidget(Widget* _widget)
1112 {

Callers 3

detachFromWidgetMethod · 0.45
attachToWidgetMethod · 0.45
setDepthMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected