Garry's Mod Wiki

Revision Difference

DTree_Node:AddNode#515135

<function name="AddNode" parent="DTree_Node" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>Add a child node to the DTree_Node</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="name" type="string">Name of the node.</arg>⤶ <arg name="icon" type="string" default="icon16/folder.png">The icon that will show nexto the node in the DTree.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Panel">Returns the created <page>DTree_Node</page> panel.</ret>⤶ </rets>⤶ </function>⤶ ⤶