Garry's Mod Wiki

Revision Difference

DPanel:SetDisabled#550521

<function name="SetDisabled" parent="DPanel" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets whether or not to disable the panel.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="disabled" type="boolean">True to disable the panel (mouse input disabled and background alpha set to 75), false to enable it (mouse input enabled and background alpha set to 255).</arg> </args> </function>