Garry's Mod Wiki

Revision Difference

DButton:SetDisabled#553488

<function name="SetDisabled" parent="DButton" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description> <deprecated>Use <page>Panel:SetEnabled</page> instead.</deprecated>Sets whether or not the DButton is disabled. When disabled, the button is `greyed out` and cannot be clicked. </description> <realm>Client and Menu</realm> <args> <arg name="disable" type="boolean">When true Enable the button, when false Disable the button.</arg> </args> </function>