Garry's Mod Wiki

Revision Difference

DTree_Node:Insert#518443

<function name="Insert" parent="DTree_Node" type="panelfunc"> <ispanel>yes</ispanel> <description>Inserts a sub-node into this node before or after the given node.</description> <realm>Client</realm> <args> <arg name="node" type="Panel">The &lt;page&gt;DTree_Node&lt;/page&gt; to insert.</arg> <arg name="node" type="Panel">The <page>DTree_Node</page> to insert.</arg> <arg name="nodeNextTo" type="Panel">The node to insert the node above before or after.</arg> <arg name="before" type="boolean">true to insert before, false to insert after.</arg> </args> </function>