Garry's Mod Wiki

Panel:SetPaintBackgroundEnabled

  Panel:SetPaintBackgroundEnabled( boolean paintBackground )

Description

Sets whether the default background of the panel should be drawn or not. It's color is usually set by Panel:SetBGColor.

Arguments

1 boolean paintBackground
Whether to draw the background or not.