Wikia

WoWWiki

Sea.wow.tooltip.smartSetOwner

Talk0
101,547pages on
this wiki
This article is a part of the documentation of the Sea (AddOn) function library
--
-- smartSetOwner (owner, tooltip, x, y)
--
-- Sets the tooltip relative to the owner in a position
-- appropriate for where the owner is on the screen.
-- owner - optional, the owner object, defaults to this
-- tooltip, optional, the tooltip to set, defaults to GameTooltip
-- setX, optional, sets the x offset(flipped based on screen corner)
-- setY, optional, sets the y offset(flipped based on screen corner)
--
-- Args:
-- 	(Frame owner, Tooltip tooltip, float x, float y)
--
-- 	owner - the new parent frame
-- 	tooltip - the tooltip to relocate
-- 	x - new x
-- 	y - new y
--

Around Wikia's network

Random Wiki