CheckButton:SetChecked
Jump to navigation
Jump to search
Sets whether the checkbutton is checked.
CheckButton:SetChecked([checked])
Arguments
- checked
- boolean?
= false
Details
Example
local cb = CreateFrame("CheckButton", nil, UIParent, "UICheckButtonTemplate")
cb:SetPoint("CENTER")
cb:SetChecked(true)