Syntax
ParentWidget = WidgetGetParentWidget(Widget)Description
Retrieves the widget that owns the layout currently housing the specified widget (useful in deeply nested scenarios).
Parameters
Widget
The handle of the widget to query.
Return Value
Returns the handle of the parent ProGUI widget. Returns
#False if the widget is hosted by a root layout (attached
directly to a Window) or if the handle is invalid.
Remarks
This is useful for moving up the UI hierarchy tree, skipping over the intermediate layout nodes.
See Also
WidgetGetParentLayout, LayoutGetParentWidget, WidgetGetParentWindow
Supported OS
Windows, Linux