Links |
---|
Returns the number of Frames or LayeredRegions directly subordinate to this frame.
numChildren = frame:GetNumChildren() numRegions = frame:GetNumRegions()
Returns
- numChildren
- number - How many Frames are directly subordinate to this one (ie, excluding grandchildren).
- numRegions
- number - How many LayeredRegions are directly subordinate to this frame (ie, excluding regions inside child frames).
Patch changes
Patch 1.10.0 (2006-03-28): GetNumRegions() added.[1]
Patch 1.7.0 (2005-09-13): GetNumChildren() added.[2]
See also
- Frame:GetChildren() - Returns a reference to each child Frame, to access it directly.
- Frame:GetRegions() - Returns a reference to each LayeredRegion, to access it directly.
References
- ^
slouken 2006-01-19. Re: Upcoming 1.10 Changes - Concise List. Archived from the original
- ^
slouken 2005-08-15. Re: Upcoming 1.7 Changes - Concise List. Archived from the original