Garry's Mod Wiki

DButton:SetImage

DButton:SetImage( string img = "nil" )

Description

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

Also see: DImageButton

Arguments

1 string img = "nil"
The image file to use, relative to /materials. If this is nil, the image background is removed.

Page Links


Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 2
Generate Html 1
SaveChanges (1) 7
Render Body 0
Render Sidebar 12