Garry's Mod Wiki

Revision Difference

DPanel:SetDrawBackground#550522

<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>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="draw" type="boolean">True to show the panel's background, false to hide it.</arg> </args> </function>