Fandom

WoWWiki

Widget Anchor Initialization

104,755pages on
this wiki
Add New Page
Talk0 Share


The Widget Anchors go through different stages of initialization:

VARIABLES_LOADED Edit

At the time your frame recieves this event, its anchors are initialized to the values in the xml file.

PLAYER_ENTERING_WORLD Edit

When handling this event for a frame which parent is UIParent, World of Warcraft deletes all anchors and loads the layout data from layout-cache.txt. If the frame layout data have not been saved in the cache (the user has never moved the frame with the mouse), Frame:GetLeft(), Frame:GetBottom(), Frame:GetRight() and Frame:GetTop() return nil.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.