WoW:API GameTooltip SetOwner: Difference between revisions

m
Move page script moved page API GameTooltip SetOwner to WoW:API GameTooltip SetOwner without leaving a redirect
No edit summary
m (Move page script moved page API GameTooltip SetOwner to WoW:API GameTooltip SetOwner without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:


:(owner, "Anchor"[, +x, +y])
:(owner, "Anchor"[, +x, +y])
:;owner : Frame - Owner frame, which defines the element where the tooltip is centered on. A pointer to the frame is required, not the frame name itself (use getglobal() to get the pointer from the frame name).
:;owner : Frame - Owner frame, which defines the element where the tooltip is centered on. A pointer to the frame is required, not the frame name itself (use _G['MyFrame'] to get the pointer from the frame name).
:;anchor : String - a string that describes the anchor point as it would be set via the SetPoint() function.  Anchoring methods as follows:
:;anchor : String - a string that describes the anchor point as it would be set via the SetPoint() function.  Anchoring methods as follows:
::ANCHOR_TOPRIGHT    -------    SetPoint("BOTTOMRIGHT",object,"TOPRIGHT")
::ANCHOR_TOPRIGHT    -------    SetPoint("BOTTOMRIGHT",object,"TOPRIGHT")
Anonymous user