View Single Post
Unread 02-10-12, 01:40 AM   #2
adelea
Claw of Regulos
AddOn Author - Click to view addons
Join Date: Oct 2011
Posts: 22
I think its the MouseIn and MouseOut events you need :

texFrame = UI.CreateFrame("Texture", "TextureFrame", context)
texFrame:SetTexture(...)

function texFrame.event:MouseIn()
print("Mouse over texture frame")
end

function texFrame.event:MouseOut()
print("Mouse left texture frame")
end
adelea is offline   Reply With Quote