Garry's Mod Wiki

DPanel:SetDrawBackground

  DPanel:SetDrawBackground( boolean draw )

Description

We advise against using this. It may be changed or removed in a future update. You should use DPanel:SetPaintBackground instead.

Sets whether or not to draw the panel background. Alias of DPanel:SetPaintBackground.

Arguments

1 boolean draw
True to show the panel's background, false to hide it.