Garry's Mod Wiki

Revision Difference

DLabel:SetDisabled#554213

<function name="SetDisabled" parent="DLabel" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description> <deprecated>Use <page>Panel:SetEnabled</page> instead.</deprecated> Sets the disabled state of the <page>DLabel</page>. When disabled, the label does not respond to click, toggle or drag & drop actions. </description> <realm>Client and Menu</realm> <args> <arg name="disable" type="boolean">`true` to disable the DLabel, `false` to enable it.</arg> </args> </function>