Wikia

WoWWiki

API Region GetName

Talk2
101,500pages on
this wiki
Revision as of 23:49, July 14, 2008 by Charibot (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
Widget API


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.

Around Wikia's network

Random Wiki