Garry's Mod Wiki

DTree_Node:Insert

  DTree_Node:Insert( Panel node, Panel nodeNextTo, boolean before )

Description

Inserts a sub-node into this node before or after the given node.

Arguments

1 Panel node
The DTree_Node to insert.
2 Panel nodeNextTo
The node to insert the node above before or after.
3 boolean before
true to insert before, false to insert after.