View Single Post
07-26-16, 07:52 PM   #15
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,327
It's an old XML feature that made its way over to the Lua implementation of creating frames. Adding $parent to the beginning of a frame name tells WoW to take the name of the parent frame and insert it there. In this case, it's a direct replacement for the line you had before and ends up giving it the same name. It may work in Frame:SetPoint() too, but nobody ever uses it for that since it's better to use a frame pointer anyway.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 07-26-16 at 07:56 PM.
  Reply With Quote