Garry's Mod Wiki

DImageButton:SetIcon

  DImageButton:SetIcon( string strImage, string strBackup = nil )

Description

We advise against using this. It may be changed or removed in a future update.

Alias of DImageButton:SetImage.

Arguments

1 string strImage
2 string strBackup = nil