Garry's Mod Wiki

DFrame:SetIcon

  DFrame:SetIcon( string path )

Description

Adds or removes an icon on the left of the DFrame's title.

Arguments

1 string path
Set to nil to remove the icon.

Otherwise, set to file path to create the icon.