Garry's Mod Wiki

Revision Difference

Panel:HasParent#550791

<function name="HasParent" parent="Panel" type="classfunc"> <description>Returns whether the panel is a descendent of the given panel.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="parentPanel" type="Panel"></arg> </args> <rets> <ret name="" type="boolean">True if the panel is contained within parentPanel.</ret> </rets> </function>