DButton/SetIcon

From Garry's Mod
Jump to: navigation, search
 DButton:SetIcon( )

DescriptionPanelFunc

Sets an image to be displayed as the button's background. Alias of DButton:SetImage

Arguments

string img=nil

The image file to use, relative to /materials. If this is nil, the image background is removed.
Personal tools
Navigation