Wikia

WoWWiki

Watchlist Recent changes

API Region GetName

Main Menue



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.

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki