Garry's Mod Wiki

DTree_Node:AddPanel

  DTree_Node:AddPanel( Panel pnl )

Description

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

Adds the given panel to the child nodes list, a DListLayout.

Arguments

1 Panel pnl
The panel to add.