Garry's Mod Wiki

Revision Difference

DFrame:SetIcon#530581

<function name="SetIcon" parent="DFrame" type="panelfunc"> <ispanel>yes</ispanel> <description>Adds or removes an icon on the left of the <page>DFrame</page>'s title.</description> <realm>Client</realm> <file line="121-L135">lua/vgui/dframe.lua</file>⤶ <args> <arg name="path" type="string">Set to nil to remove the icon. Otherwise, set to file path to create the icon.</arg> </args> </function>