>  Docs Center  >  Libraries  >  Motley  >  MGH_WIDGET_DESCENDANTS

MGH_WIDGET_DESCENDANTS

MGH_WIDGET_DESCENDANTS

Name


  MGH_WIDGET_DESCENDANTS

Purpose


  Given a widget ID, this function returns the widget ID(s) for
  all children, and their children, and their children's children
  etc.

Category


  Widgets.

Calling Sequence


  Result = MGH_WIDGET_DESCENDANTS(parent)

Positional Parameters


  parent (input, widget ID)
    The ID of the widget we are searching.
  already (private, optional)
    This parameter is provided to support recursion and will not
    normally be called by the user. It is an integer array to which
    the results of the search will be appended.

Return Value


  The function returns an integer scalar or array.
###########################################################################
  This software is provided subject to the following conditions:
  1. NIWA makes no representations or warranties regarding the
    accuracy of the software, the use to which the software may
    be put or the results to be obtained from the use of the
    software. Accordingly NIWA accepts no liability for any loss
    or damage (whether direct of indirect) incurred by any person
    through the use of or reliance on the software.
  2. NIWA is to be acknowledged as the original author of the
    software where the software is used or presented in any form.
###########################################################################

Modification History


  Mark Hadfield, Jan 2001:
    Written, based on JD Smith's routine TREEDESC.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us