The Fortran name of this function is NhlFAppGetDefaultParentId.

This function retrieves the Id of the current default parent App object.

C Synopsis

#include <ncarg/hlu/App.h>

int NhlAppGetDefaultParentId(

Fortran Synopsis

      subroutine NhlFAppGetDefaultParentId(id)
      integer id


id (output, Fortran only)
On output contains the id of the current default App object.


This function returns the Id of the App object that will currently be used as the parent of any objects that are created with the constant NhlDEFAULT_APP or 0 as the parentid argument of the NhlCreate function.

Return values

If greater than 0, the value is the id of the user created App object that is currently being used as the default parent. Otherwise, it will return 0 to indicate that the internal HLU App object is active.

See also


Copyright 1987-1999 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.

NCAR Graphics is a registered trademark of the University Corporation for Atmospheric Research.

Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?

$Revision: 1.8 $ $Date: 1998/06/15 21:26:03 $