DButton/SetImage

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

DescriptionPanelFunc

Sets an image to be displayed as the button's background.

Also see: DImageButton

Arguments

string img=nil

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