Wowpedia
Advertisement
Wowpedia
240,458
pages

Ticks a CheckButton.

CheckButton:SetChecked(checked)

Arguments

checked 
boolean - True ticks the button; false unticks it.

Details

Example

local checkButton = CreateFrame("CheckButton", nil, nil, "UICheckButtonTemplate")
checkButton:SetSize(20,20)
checkButton:SetPoint("CENTER")
checkButton:SetChecked(true)
Advertisement