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.