Panel/IsOurChild

From Garry's Mod
Revision as of 09:41, 23 August 2016 by Jvs (Talk | contribs)
Jump to: navigation, search
 Panel:IsOurChild( )

Description

Returns whether the panel contains the given panel, recursively.

WARNING

This function is horribly inefficient and does a depth-first search of the panel's children. Use Panel:HasParent instead

Arguments

Panel childPanel

Returns

boolean

True if the panel contains childPanel.
Personal tools
Navigation