Garry's Mod Wiki

Revision Difference

DTree_Node:SetIcon#549357

<function name="SetIcon" parent="DTree_Node" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the material for the icon of the <page>DTree_Node</page>.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="path" type="string">The path to the material to be used. Do not include "materials/". .pngs are supported.</arg> </args> </function>