-
-
Notifications
You must be signed in to change notification settings - Fork 8
Check
João Cardoso edited this page Dec 5, 2019
·
5 revisions
Check is a checkbutton class which inherits from the TextedClickable class.
Name | Description |
---|---|
SetValue (checked) | Alias for :SetChecked . |
GetValue | Alias for :GetChecked . |
local check = LibStub('Sushi-3.1').Check()
check:SetLabel('Salmon')
check:SetSmall(true)
check:SetCall('OnClick', function(check, mouseButton, checked)
if checked then
print("You can have small salmon.")
else
print("You cannot have small salmon.")
end
end)
This is the Sushi-3.1 wiki. Wiki Home