Garry's Mod Wiki

DTree:ChildExpanded

  DTree:ChildExpanded( boolean bExpand )

Description

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

Calls directly to Panel:InvalidateLayout. Called by DTree_Nodes when a sub element has been expanded or collapsed.

Used as a placeholder function alongside DTree:ExpandTo, DTree:SetExpanded and DTree:MoveChildTo.

The DTree acts a root node and methods with the same name in DTree_Node call to the parent.

Arguments

1 boolean bExpand