Garry's Mod Wiki

DTree_Node:SetRoot

  DTree_Node:SetRoot( Panel root )

Description

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

Sets the root node (the DTree) of this node.

This is set automatically, you shouldn't use this.

Arguments

1 Panel root
The panel to set as root node.