Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Sea.wow.tooltip.smartSetOwner

From WoW Classic Wiki

This article is a part of the documentation of the Sea 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
--