-
-
Notifications
You must be signed in to change notification settings - Fork 8
GrayButton
João Cardoso edited this page Dec 5, 2019
·
9 revisions
GrayButton is a button class which inherits from RedButton and provides buttons with constant gray backgrounds, even when not disabled.It does not provide any additional API.

local gray = LibStub('Sushi-3.1').GrayButton()
gray:SetTip('Reset', 'Click to reset.')
gray:SetText('Reset')
gray:SetCall('OnClick', function(gray)
print("Are you sure you want to reset?")
end)This is the Sushi-3.1 wiki. Wiki Home