Garry's Mod Wiki

Revision Difference

DMenuOption:SetChecked#561303

<function name="SetChecked" parent="DMenuOption" type="panelfunc"> <description>Sets the checked state of the <page>DMenuOption</page>. ⤶ Does not invoke <page>DMenuOption:OnChecked</page>. This will be fixed in the next update. ⤶ Invokes <page>DMenuOption:OnChecked</page>. </description> <realm>Client and Menu</realm> <args> <arg name="checked" type="boolean">`true` to set as checked.</arg> </args> </function>