Skip to content
João Cardoso edited this page Dec 5, 2019 · 2 revisions

TextButton is a button class which inherits from TextedClickable.
It does not provide any additional API.

Preview

Example

local red = LibStub('Sushi-3.1').RedButton()
red:SetLabel('Bacon')
red:SetSmall(true)
red:SetCall('OnClick', function(red, mouseButton)
  print("You've just ordered some small bacon.")
end)

Sushi-3.1 🍣

Documentation
Class Reference
Best Practices

Feedback
Post an issue

Clone this wiki locally