Garry's Mod Wiki

DTree:SetExpanded

  DTree:SetExpanded( boolean bExpand )

Description

This is used internally - although you're able to use it you probably shouldn't.

Does nothing. Is not called by the DTree itself.

Used as a placeholder empty function alongside DTree:ExpandTo, DTree:MoveChildTo and DTree:ChildExpanded to prevent errors when DTree_Node:SetExpanded is incorrectly used on a DTree.

Arguments

1 boolean bExpand