Garry's Mod Wiki

DCheckBox:SetChecked

  DCheckBox:SetChecked( boolean checked )

Description

An AccessorFunc that sets the checked state of the checkbox. Does not call the checkbox's DCheckBox:OnChange and Panel:ConVarChanged methods, unlike DCheckBox:SetValue.

Arguments

1 boolean checked
Whether the box should be checked or not.