WoW:API GameTooltip SetOwner: Difference between revisions

m
IE6 floating bug.
({{widgetmethod}})
m (IE6 floating bug.)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}
<center>'''GameTooltip:SetOwner''' ''-Documentation by [[user:Xenoveritas|Xenoveritas]]-''</center>
<center>''-Edited by [[user:ThePooBurner|ThePooBurner]]-''</center>
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
GameTooltip:SetOwner(owner, "anchor"&#91;, +x, +y&#93;);
<!-- Describe the purpose of the function, though exhausting detail can be saved for a later section -->
Moves the game tooltip to a location based on the "owner" frame.
Moves the game tooltip to a location based on the "owner" frame.
GameTooltip:SetOwner(owner, "anchor"&#91;, +x, +y&#93;);


----
----
;''Arguments''
;''Arguments''
<!-- List each argument, together with its type -->


:(owner, "Anchor"&#91;, +x, +y&#93;)
:(owner, "Anchor"&#91;, +x, +y&#93;)
Line 34: Line 23:
;''Returns''
;''Returns''


<!-- List each return value, together with its type -->
: Nothing.
: Nothing?


----
----
;''Details''
;''Details''
<!-- Details not appropriate for the main description can go here -->


: This will set the owner for tooltip:IsOwned(frame). For instance, first call GameTooltip:SetOwner(UIParent). Then GameTooltip:IsOwned(UIParent) will return 1.
: This will set the owner for tooltip:IsOwned(frame). For instance, first call GameTooltip:SetOwner(UIParent). Then GameTooltip:IsOwned(UIParent) will return 1.