XPGetNthChildWidget

From X-Plane SDK
Jump to: navigation, search

XPGetNthChildWidget

WIDGET_API XPWidgetID           XPGetNthChildWidget(
                                   XPWidgetID           inWidget,    
                                   int                  inIndex);    
This routine returns the widget ID of a child widget by index. Indexes are 0 based, from 0 to one minus the number of widgets in the parent, inclusive. If the index is invalid, 0 is returned.