Garry's Mod Wiki

Revision Difference

DLabel:SetIsToggle#513737

<function name="SetIsToggle" parent="DLabel" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ Enables or disables toggle functionality for a label. Retrieved with <page>DLabel:GetIsToggle</page>.⤶ ⤶ You must call this before using <page>DLabel:SetToggle</page>, <page>DLabel:GetToggle</page> or <page>DLabel:Toggle</page>.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="allowToggle" type="boolean">Whether or not to enable toggle functionality.</arg>⤶ </args>⤶ </function>⤶ ⤶