ncl_ginq_name_open_seg - Man Page

returns the name of the currently open segment.

Synopsis

#include <ncarg/gks.h>

void ginq_name_open_seg(Gint *err_ind, Gint *name_open_seg);

Description

err_ind

(Output) - If the GKS state is SGOP (segment open),  then err_ind is returned as "0"; otherwise err_ind is returned as "4".

name_open_seg

(Output) - If the GKS state is SGOP (segment open), then  name_open_seg is returned as the number of the currently open segment; otherwise name_open_seg is undefined.

Access

To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries.

See Also

Online: geval_tran_matrix(3NCARG), gaccum_tran_matrix(3NCARG), gclose_seg(3NCARG), gcreate_seg(3NCARG), gcopy_seg_ws(3NCARG), gdel_seg(3NCARG), ginq_set_seg_names(3NCARG), gset_seg_tran(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)

Hardcopy:  User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version

Info

March 1993 UNIX NCAR GRAPHICS