Wikia

WoWWiki

Changes: API Frame GetChildren

Edit

Back to page

m (catfix, Replaced: {{widgetmethod}} → {{widgetmethod}}<br>)
m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}})
 
Line 1: Line 1:
{{widgetmethod}}<br> __NOTOC__
+
{{widgetmethod}} __NOTOC__
   
   

Latest revision as of 23:59, July 14, 2008

Widget API


Gets the children of a frame.

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


Arguments Edit

None


Returns Edit

(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 Edit

local kids = { QuestLogFrame:GetChildren() };

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

Around Wikia's network

Random Wiki