Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-26-22, 08:55 AM   #1
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
ItemRefTooltip is not fired

Please move this thread to the Lua/XML Help section.

Hello, if I hover over an item in the backpack with the mouse, its description will be displayed in the GameTooltip frame. If they additionally press the Shift key, the description Currently Equipped will be displayed in the ItemRefTooltip frame.



I would like to capture the moment of the ItemRefTooltip frame is showing, but something fails:

Code:
ItemRefTooltip:HookScript("OnTooltipSetItem", function(self, ...)
   print("ItemRefTooltip1");      
end );      

ItemRefTooltip:HookScript("OnShow", function(self)
   print("ItemRefTooltip2");      
end );      

ItemRefTooltip:HookScript("OnEnter", function(self)
   print("ItemRefTooltip3");      
end );      

ItemRefTooltip:HookScript("OnLeave", function(self)
   print("ItemRefTooltip4");
end );
The message is not displayed after showing the frame with Currently Equipped.

Last edited by Platine : 08-27-22 at 12:24 AM.
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » ItemRefTooltip is not fired


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off