next up previous 248
Next: Demonstration Program
Up: Workstation Names
Previous: IDI Names

GWM windows

There are some special features of GNS that apply to GWM window devices; these are X window display devices under the control of the Graphics Window Manager (SUN/130). All GWM windows have a name (usually displayed in the title bar) which need not be the same as the workstation name supplied at a prompt or as an argument to a routine such as GNS_TNG. This window name is the one that is supplied as an argument to the xmake or xdestroy commands. When a GWM window is accessed through GNS (for both GKS and IDI) the supplied workstation name is translated into a GWM window with a default name. For instance the workstation name "xwindows" usually translates into a window named "xwindows". Note that the GKS workstation name "xoverlay" also translates into a window named "xwindows" because the overlay device is part of the same GWM window.

Both GKS and IDI will create a new GWM window with the default name if one does not already exist. The default window name can be overridden by using the device name field of the workstation name. The device name field is separated from the workstation name by a semi-colon; thus the string `xw;bert' is parsed into the workstation name `xw' and the device name `bert'. The device name supersedes the default and so a window named `bert' is used rather than one named `xwindows'

By default a GWM window created by a GKS or IDI graphics application will not have an overlay plane unless the overlay option is specified in the X defaults file . The user can request that a window is created with an overlay plane by appending a `+' to the name when prompted for it. Thus the workstation name `xwindows+' or `xw+' will result in a GWM window with an overlay. Note that when using GKS specifying `xw+' will create a window with an overlay, but the drawing will be done in the base plane (specifying `xoverlay' automatically results in a window with an overlay).


next up previous 248
Next: Demonstration Program
Up: Workstation Names
Previous: IDI Names

GNS [2.5exrkstation
Starlink User Note 57
David Terrett & Nicholas Eaton
12 July 1995
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils