Widget API: Region:GetName
Jump to navigation
Jump to search
This is no longer a part of the World of Warcraft API.
|
← Widget API ← Region < GetName
This function obtains the value of the current XML object. E.g. WorldFrame:GetName() returns "WorldFrame".
local name = region:GetName()
Parameters[edit]
Returns[edit]
- name (string) - containing the name of the object
Example[edit]
local name = PlayerFrame:GetName()
- Result
name = "PlayerFrame"
Details[edit]
Obtains the XML name of an object. Great for a lot of uses, like generic object handling functions.
Notes[edit]
- Moved in patch 1.10.0 from Region to UIObject:GetName