Garry's Mod Wiki

Revision Difference

DLabel:SetDisabled#518184

<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 &amp; drop actions. When disabled, the label does not respond to click, toggle or drag & drop actions. </description> <realm>Client</realm> <args> <arg name="disable" type="boolean">`true` to disable the DLabel, `false` to enable it.</arg> </args> </function>