FANDOM


Widget API ← Region < GetName

This function obtains the value of the current XML object. E.g. WorldFrame:GetName() returns "WorldFrame".

object:GetName()

Arguments
none

Returns
name
name 
String containing the name of the object

Example
local name = PlayerFrame:GetName()
Result
name = "PlayerFrame"

Description
Obtains the XML name of an object. Great for a lot of uses, like generic object handling functions.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.