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

Method setDataInfo

Tools/EditorFramework/ListBoxDataControl.cpp:227–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225 }
226
227 void ListBoxDataControl::setDataInfo(
228 std::string_view _parentType,
229 std::string_view _thisType,
230 std::string_view _propertyName)
231 {
232 mPropertyForName = _propertyName;
233 mThisType = _thisType;
234
235 DataSelectorManager::getInstance()
236 .getEvent(_parentType)
237 ->connect(this, &ListBoxDataControl::notifyChangeDataSelector);
238 mParentData = DataUtility::getSelectedDataByType(_parentType);
239 notifyChangeDataSelector(mParentData, false);
240 }
241
242 void ListBoxDataControl::connectToProperty(DataPtr _data)
243 {

Callers 3

OnInitialiseMethod · 0.45
OnInitialiseMethod · 0.45
OnInitialiseMethod · 0.45

Calls 2

connectMethod · 0.45
getEventMethod · 0.45

Tested by

no test coverage detected