Widget/API/GetName

__NOTOC__
Returns the name of an object.
name = MyObject:GetName();
== Parameters ==
=== Arguments ===
:;None
=== Returns ===
:;name
::string - The name of the object.
== Example ==
DEFAULT_CHAT_FRAME:AddMessage("Object Name: " .. MainActionBarFrame:GetName());
== Notes ==
== Related Pages==
*Widget (Overview)
Category:Widget/API Category:Widget/Class/Layout