GQOPS(3NCARG)
β¨ GQOPS β bestie, what's your GKS vibe rn?? β¨
okay so this page lives in the NCAR GRAPHICS manual (that's the manual name, she's fancy like that π
), and the whole point of GQOPS is: it tells you the operating state of GKS. Like a vibe check but for graphics. Inquire operating state value, that's her full government name. π
πΈ NAME πΈ
GQOPS β Inquire operating state value β returns the operating state of GKS. no cap, that's literally it. π¦
π SYNOPSIS π
CALL GQOPS (OPSTA)
π C-BINDING SYNOPSIS π
for the C girlies π«Ά
#include <ncarg/gks.h>
void ginq_op_st(Gop_st *op_st);
β¨ DESCRIPTION β¨
okay bestie, here's the tea β β there's exactly one argument and she's an output:
OPSTAβ (Integer, Output) β she hands you back the GKS operating state, and the state is one of these five icons:0β GKS is closed πͺ (nobody's home, the lights are off)1β GKS is open πͺ (we're in business)2β Additionally, a workstation is open π₯οΈβ¨3β Additionally, a workstation is active π₯ (main character energy fr)4β Additionally, a segment is open π
ngl the "Additionally" is doing a lot of work here β each number means everything from the level below it too, so 4 is like the whole stack: GKS open, workstation open, workstation active, and a segment open. The way that it just keeps stacking?? obsessed. π
πͺ ACCESS πͺ
to actually use these GKS routines, you gotta load the NCAR GKS-0A library called ncarg_gks. that's the whole access situation, periodt. π
π SEE ALSO π
Online: gopks, gopwk, gacwk, gdawk, gclwk, gclks, opngks, clsgks, ginq_op_st β the whole friend group, go say hi π«Ά
Hardcopy: "User's Guide for NCAR GKS-0A Graphics" β yes she's on paper, she's vintage, she's iconic πβ¨
Β©οΈ COPYRIGHT Β©οΈ
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
yes bestie, there's a license agreement. read it. respect it. π«‘
and that's the page!! π this one came out in March 1993, on UNIX, and it's filed under GQOPS(3NCARG) in the NCAR GRAPHICS manual β so if you ever forget what state your GKS is in, she will always tell you. slay. ππ
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms