Revision Difference
DMenu:GetChild#568434
<function name="GetChild" parent="DMenu" type="panelfunc">
<description>Gets a child by its index.</description>⤶
<description>Gets a child by its index.⤶
⤶
This is an override/reimplementation of <page>Panel:GetChild</page> for <page>DMenu</page>, documented here only to list its differences from the base panel method.⤶
</description>⤶
<realm>Client and Menu</realm>
<args>
<arg name="childIndex" type="number">The index of the child to get.
<note>Unlike <page>Panel:GetChild</page>, this index starts at 1.</note></arg>
</args>
⤶
<rets>⤶
<ret type="Panel">The child panel, or a `nil`</ret>⤶
</rets>⤶
</function>
Garry's Mod
Rust
Steamworks
Wiki Help