Garry's Mod Wiki

DTree_Node:LeaveTree

  DTree_Node:LeaveTree( Panel pnl )

Description

Removes given node as a sub-node of this node.

It doesn't actually remove or unparent the panel, just removes it from the internal DListView.

Arguments

1 Panel pnl
The node to remove