DLabel/GetToggle

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

DescriptionPanelFunc

Returns the current toggle state of the label. This can be set with DLabel:SetToggle 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.

Returns

boolean

The current toggle state.
Personal tools
Navigation