Garry's Mod Wiki

DCollapsibleCategory:SetDrawBackground

  DCollapsibleCategory:SetDrawBackground( boolean draw )

Description

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

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

Arguments

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