Garry's Mod Wiki

DImageButton:SetImage

DImageButton:SetImage( string strImage, string strBackup )

Description

Sets the "image" of the DImageButton. Equivalent of DImage:SetImage.

Arguments

1 string strImage
The path of the image to load. When no file extension is supplied the VMT file extension is used.
2 string strBackup
The path of the backup image.

Page Links


Special Pages


Wikis

?

Render Time: 33ms

Session 0
DB GetPage 3
Generate Html 7
SaveChanges 9
Render Body 0
Render Sidebar 12