WoWInterface - View Single Post - "Unhiding" RuneFrame
View Single Post
08-02-16, 10:51 AM   #6
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
No, "framename" is a global variable, pointing to the object by that name, which (in the case of a frame) a table, which has a "unit" key. You can access it and set its keys/values just like any other table.

/dump PlayerFrame:GetObjectType() ==> "table"
/dump PlayerFrame.unit:GetObjectType() ==> "string"
/dump PlayerFrame.unit ==> "player"
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!