Revision Difference
Panel:GetChildren#548645
<function name="GetChildren" parent="Panel" type="classfunc">
<description>Returns a table with all the child panels of the panel.⤶
<note>The keys are **NOT** guaranteed to be sequential!</note>⤶
</description>⤶
<description>Returns a table with all the child panels of the panel.</description>⤶
<realm>Client</realm>
<rets>
<ret name="" type="table">children</ret>⤶
<ret name="" type="table">All direct children of this panel.</ret>⤶
</rets>
</function>
<example>
<description>Print the classnames of the children on the panel.</description>
<code>
for _, v in pairs( panel:GetChildren() ) do
for _, v in ipairs( panel:GetChildren() ) do
print( v:GetClassName() )
end
</code>
</example>