Wikia

WoWWiki

API Frame GetChildren

Revision as of 23:37, July 14, 2008 by Charibot (Talk | contribs)

102,796pages on
this wiki
Talk0
Widget API ← Frame < GetChildren


Gets the children of a frame.

child1, child2, ..., childN = Frame:GetChildren()


Arguments

None


Returns

(child1, child2, ...)
child1 
Frame - The first child of the frame
child2 
Frame - The second child of the frame
...
childN 
Frame - The last child of the frame


Example

local kids = { QuestLogFrame:GetChildren() };

for _, child in ipairs(kids) do
  -- stuff
end

Around Wikia's network

Random Wiki