Garry's Mod Wiki

Revision Difference

DFrame:SetIcon#518117

<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> <args> <arg name="path" type="string">Set to nil to remove the icon.&#xA;&#xA;Otherwise, set to file path to create the icon.</arg>⤶ <arg name="path" type="string">Set to nil to remove the icon.⤶ Otherwise, set to file path to create the icon.</arg>⤶ </args> </function>