XPGetParentWidget

From X-Plane SDK
Jump to: navigation, search

XPGetParentWidget

WIDGET_API XPWidgetID           XPGetParentWidget(
                                   XPWidgetID           inWidget);    
This routine returns the parent of a widget, or 0 if the widget has no parent. Root widgets never have parents and therefore always return 0.