Garry's Mod Wiki

DLabel:SetIsToggle

  DLabel:SetIsToggle( boolean allowToggle )

Description

Enables or disables toggle functionality for a label. Retrieved with DLabel:GetIsToggle.

You must call this before using DLabel:SetToggle, DLabel:GetToggle or DLabel:Toggle.

Arguments

1 boolean allowToggle
Whether or not to enable toggle functionality.