Wikia

WoWWiki

API Region ClearAllPoints

Talk0
101,775pages on
this wiki
Revision as of 18:46, September 16, 2013 by Celess22 (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
Widget API<RegionRegion


Removes all anchor points associated with this Region.

region:ClearAllPoints();

Arguments Edit

none

Returns Edit

none

Details Edit

There are no API functions which would alter an existing anchor point of a frame. So if you do want to change an anchor point (say, you want to move your frame), you should :ClearAllPoints() first, and then reanchor your frame using :SetPoint().
Note that right after :ClearAllPoints() call your frame will disappear from screen, since WoW cannot display non-anchored objects.

See also Edit

Around Wikia's network

Random Wiki