Garry's Mod Wiki

Revision Difference

DLabel:SetDisabled#513741

<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.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="disable" type="boolean">`true` to disable the DLabel, `false` to enable it.</arg>⤶ </args>⤶ </function>⤶ ⤶