GINQ_OP_ST(3NCARG)

πŸ’– GINQ_OP_ST πŸ’–

okay bestie, welcome to GINQ_OP_ST(3NCARG) β€” yes that's the real name, we're in the NCAR GRAPHICS section of the manual and this little function is your new fave, no cap. She does one job and she does it flawlessly: she tells you what GKS is up to right now. vibe check for your graphics state ✨


✨ NAME ✨

ginq_op_st β€” returns the operating state of GKS

(short king. iconic. we love her πŸ’…)


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <ncarg/gks.h>

void ginq_op_st(Gop_st *op_st);

literally that's it. two lines. she's low maintenance and I respect that so much 🫢


🌸 DESCRIPTION 🌸

so here's the tea:

  • op_st β€” (Output) β€” she hands back the GKS operating state, and it's gonna be one of these five besties:
    • GST_GKCL β€” GKS is closed πŸ™ˆ (she's not even here rn)
    • GST_GKOP β€” GKS is open ✨ (we're so back)
    • GST_WSOP β€” additionally, a workstation is open πŸ‘‘
    • GST_WSAC β€” additionally, a workstation is active πŸ”₯
    • GST_SGOP β€” additionally, a segment is open πŸ’œ

it's giving "escalating levels of commitment" and honestly? each one is a little more main character than the last. the state you get is cumulative vibes, not either/or β€” read them in order and you'll see how deep in we are.


πŸŽ€ ACCESS πŸŽ€

to use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. both. like, you can't skip one, that's not a thing. load them, periodt. πŸ“


🌈 SEE ALSO 🌈

Online: gopen_gks(3NCARG), gopen_ws(3NCARG), gactivate_ws(3NCARG), gdeactivate_ws(3NCARG), gclose_ws(3NCARG), gclose_gks(3NCARG), opngks(3NCARG), clsgks(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)

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

(go read the whole friend group, iykyk πŸ“š)


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


okay that's the whole page bestie, you ate it, I'm obsessed πŸ’–

signing off from the UNIX manual, dated March 1993, still serving GINQ_OP_ST(3NCARG) energy to this day β€” bye babes πŸŽ€βœ¨