Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  Motley  >  MGH_IS_CALLBACK

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.
###########################################################################
  Copyright (c) 2001 NIWA:
  http://www.niwa.co.nz/
  Licensed under the MIT open source license:
  http://www.opensource.org/licenses/mit-license.php
###########################################################################

Modification History


  Mark Hadfield, 2001=06:
    Written.
  Mark Hadfield, 2013-11:
    Code updated.



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