Quantcast Finding Frames of other Addons and overwriting their position - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-22-19, 06:36 AM   #1
Lybrial
A Black Drake
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 86
Finding Frames of other Addons and overwriting their position

Hi,

Im using several AddOns and some of them do not allow to anchor to certain frames.
So what I really would like to do is to be able to find those frames and to overwrite them.
Yet I could not find any way to do this. At first I would need to find frames by its name:

Code:
local children = { UIParent:GetChildren() }

for _, child in ipairs(children) do
     print("child: " .. child:GetName());
end
--> Does not work

Code:
local frame = EnumerateFrames();

while frame do
    print("child: " .. frame:GetName());

    frame = EnumerateFrames(frame));
end
--> Also does not work

Is there no way to iterate over all frames and to find the frame I need by its name?

Last edited by Lybrial : 06-22-19 at 06:38 AM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Finding Frames of other Addons and overwriting their position

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off