Skip to content
João Cardoso edited this page Dec 5, 2019 · 1 revision

HelpButton is a button class which inherits from Clickable and provides buttons with a question mark appearance. It does not expose any additional API.

Preview

Example

local help = LibStub('Sushi-3.1').HelpButton()
help:SetTip('Help', 'Looking for help? Then press this button!')
help:SetPoint('TopRight')
help:SetCall('OnClick', function(myButton)
  print("You've just asked for help.")
end)

Sushi-3.1 🍣

Documentation
Class Reference
Best Practices

Feedback
Post an issue

Clone this wiki locally