API Frame GetChildren

Returns references to the s or s directly subordinate to this frame. child1, child2, ... = frame:GetChildren region1, region2, ... = frame:GetRegions

Returns

 * child1, child2, ... : - References to each Frame that is a direct subordinate of this one (ie, excluding grandchildren).
 * region1, region2, ... : - References to each LayeredRegion that is a direct subordinate of this frame (ie, excluding regions inside child frames).

Details

 * These methods return multiple results, or nil if there are no children/regions.

Example
local children = { QuestLogFrame:GetChildren } for i, child in ipairs(children) do  -- do something to each child here end