Garry's Mod Wiki

DButton:SetIcon

DButton:SetIcon( string img = "nil" )

Description

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

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: 80ms

DB GetPage 49
Generate Html 3
SaveChanges (1) 13
Render Body 0
Render Sidebar 6