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

Method setExpanded

Engine/source/gui/controls/guiTreeViewCtrl.cpp:688–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686//-----------------------------------------------------------------------------
687
688void GuiTreeViewCtrl::Item::setExpanded(bool f)
689{
690 if( mState.test(InspectorData) )
691 {
692 if( !mInspectorInfo.mObject.isNull() )
693 mInspectorInfo.mObject->setExpanded(f);
694 }
695 else
696 mState.set(Expanded, f);
697}
698
699//-----------------------------------------------------------------------------
700

Callers 8

scrollVisibleMethod · 0.45
setItemExpandedMethod · 0.45
onMouseDownMethod · 0.45
onVirtualParentExpandMethod · 0.45
recurseInsertMethod · 0.45
setSelectedPathMethod · 0.45

Calls 3

testMethod · 0.45
isNullMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected