Garry's Mod Wiki

Revision Difference

DImageButton:SetImage#513608

<function name="SetImage" parent="DImageButton" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>Sets the "image" of the <page>DImageButton</page>. Equivalent of <page>DImage:SetImage</page>.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="strImage" type="string">The path of the image to load. When no file extension is supplied the VMT file extension is used.</arg>⤶ <arg name="strBackup" type="string">The path of the backup image.</arg>⤶ </args>⤶ </function>⤶ ⤶