XPFindRootWidget

From X-Plane SDK
Jump to: navigation, search

XPFindRootWidget

WIDGET_API XPWidgetID           XPFindRootWidget(
                                   XPWidgetID           inWidget);    
XPFindRootWidget returns the Widget ID of the root widget that contains the passed in widget or NULL if the passed in widget is not in a rooted hierarchy.