Quantcast
Can you name a frame AFTER it's been created? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Developer Discussions » Lua/XML Help » Can you name a frame AFTER it's been created?

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