Widget/API/GetParent

__NOTOC__
Returns the parent object of an object.
parent = MyFrame:GetParent();
== Parameters ==
=== Arguments ===
:;None
=== Returns ===
:;parent
::table - The parent object
== Example ==
parentObj = MainActionBarFrame:GetParent();
DEFAULT_CHAT_FRAME:AddMessage("Parent Name: " .. parentObj:GetName());
== Notes ==
== Related Pages==
*Widget (Overview)
Category:Widget/API Category:Widget/Class/Layout