Quantcast
WoWInterface - View Single Post - Can you name a frame AFTER it's been created?
View Single Post
08-16-19, 03:28 PM   #1
aallkkaa
A Warpwood Thunder Caller
 
aallkkaa's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2017
Posts: 98
Can you name a frame AFTER it's been created?

I'm basically looking for a counterpart to frame:GetName()

I tried the following, which does not work:
Lua Code:
  1. frame = CreateFrame("Frame");
  2. frame:SetAttribute:"Name", "SomeName");

In cas you're wondering, I want to reuse a frame I use to listen to PLAYER_LOGIN as one of the configuration-dependent frames to create afterwards.
  Reply With Quote