Thread: tooltip example
View Single Post
05/27/14, 01:50 PM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
I just use the default UI code to do it for me.

Say I want a tooltip for a button...

Lua Code:
  1. button.tooltipText = "My tooltip text!"
  2. button:SetHandler("OnMouseEnter", ZO_Options_OnMouseEnter)
  3. button:SetHandler("OnMouseExit", ZO_Options_OnMouseExit)
  Reply With Quote