DLabel/SetToggle

From Garry's Mod
Jump to: navigation, search
 DLabel:SetToggle( )

DescriptionPanelFunc

Sets the toggle state of the label. This can be retrieved with DLabel:GetToggle and toggled with DLabel:Toggle.

In order to use toggle functionality, you must first call DLabel:SetIsToggle with true, as it is disabled by default.

Arguments

boolean toggleState

The toggle state to be set.
Personal tools
Navigation