Garry's Mod Wiki

Revision Difference

DCheckBoxLabel:SetValue#513323

<function name="SetValue" parent="DCheckBoxLabel" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>Sets the checked state of the checkbox, and calls <page>DCheckBoxLabel:OnChange</page> and the checkbox's <page>Panel:ConVarChanged</page> methods.</description>⤶ <file line="102-L104">lua/vgui/dcheckbox.lua</file>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="checked" type="boolean">Whether the box should be checked or not (1 or 0 can also be used).</arg>⤶ </args>⤶ </function>⤶ ⤶