>  Docs Center  >  Libraries  >  Motley  >  MGH_IS_CALLBACK
Libraries

MGH_IS_CALLBACK

MGH_IS_CALLBACK
  FUNCTION:
  MGH_IS_CALLBACK

Purpose


  This function determines whether a variable represents a widget
  callback, in the sense used elsewhere in my widget code. The
  function has been created and given its name to allow clearer
  event-handling code.

Calling Sequence


  Result = mgh_is_callback(value)

Positional Parameters


  var (input)
    The variable to be examined.

Return Value


  This function returns 1 if the variable is a single-element
  MGH_WIDGET_CALLBACK structure, otherwise 0.
###########################################################################
  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, Jun 2001:
      Written.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us