Garry's Mod Wiki


  DTree_Node:FilePopulate( boolean bAndChildren, boolean bExpand )


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

Called automatically from DTree_Node:PopulateChildrenAndSelf and DTree_Node:PopulateChildren to populate this node with child nodes of files and folders.


1 boolean bAndChildren
Does nothing. Set to true if called from DTree_Node:PopulateChildren.
2 boolean bExpand
Expand self once population process is finished.