Garry's Mod Wiki

Revision Difference

DPanel:SetDrawBackground#518454

<function name="SetDrawBackground" parent="DPanel" type="panelfunc"> <ispanel>yes</ispanel> <description><deprecated>You should use <page>DPanel:SetPaintBackground</page> instead.</deprecated>Sets whether or not to draw the panel background. Alias of <page>DPanel:SetPaintBackground</page>.</description> <realm>Client</realm> <args> <arg name="draw" type="boolean">True to show the panel&#x27;s background, false to hide it.</arg> <arg name="draw" type="boolean">True to show the panel's background, false to hide it.</arg> </args> </function>