Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement
GameTooltip:SetOwner -Documentation by Xenoveritas-
-Edited by ThePooBurner-


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.

Template:WoW API

Advertisement