WoW:API GameTooltip SetOwner
Jump to navigation
Jump to search
GameTooltip:SetOwner(owner, anchor);
Moves the game tooltip to a location based on the "owner" frame.
- Arguments
- (owner, "Anchor")
- owner
- Frame - Owner frame, which defines the element where the tooltip is centered on
- anchor
- String - a string that describes the anchor point as it would be set via the SetPoint() function. Anchoring meathods as follows:
- ANCHOR_TOPRIGHT ------- SetPoint("BOTTOMRIGHT",object,"TOPRIGHT")
- ANCHOR_RIGHT ------- SetPoint("BOTTOMLEFT",object,"TOPRIGHT")
- ANCHOR_BOTTOMRIGHT ------- SetPoint("TOPLEFT",object,"BOTTOMRIGHT")
- ANCHOR_TOPLEFT ------- SetPoint("BOTTOMLEFT",object,"TOPLEFT")
- ANCHOR_LEFT ------- SetPoint("BOTTOMRIGHT",object,"TOPLEFT")
- ANCHOR_BOTTOMLEFT ------- SetPoint("TOPRIGHT",object,"BOTTOMLEFT")
- Returns
- Nothing?
- Details
- This only appears to be a convience method for setting the location of the tooltip, it doesn't seem to actually grant any "ownership" of the tooltip over anything else.