MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / onItemSelected

Method onItemSelected

Engine/source/gui/controls/guiFileTreeCtrl.cpp:225–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void GuiFileTreeCtrl::onItemSelected( Item *item )
226{
227 Con::executef( this, "onSelectPath", avar("%s",item->getValue()) );
228
229 mSelPath = item->getValue();
230 if( _hasChildren( mSelPath ) )
231 item->setVirtualParent( true );
232}
233
234bool GuiFileTreeCtrl::_setFileFilterValue( void *object, const char *index, const char *data )
235{

Callers

nothing calls this directly

Calls 5

executefFunction · 0.85
avarFunction · 0.85
_hasChildrenFunction · 0.85
setVirtualParentMethod · 0.80
getValueMethod · 0.45

Tested by

no test coverage detected