Garry's Mod Wiki

Revision Difference

DTree:AddNode#549391

<function name="AddNode" parent="DTree" type="panelfunc"> <ispanel>yes</ispanel> <description>Add a node to the DTree</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="name" type="string">Name of the option.</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>