XWorkstation class resource descriptions


-
wkWindowId
-
This resource allows X window programs to pass in to the HLU library
an X-Window Id into which output will be drawn. If
the aspect ratio of the window is not square NCAR graphics will inscribe a
square output frame centered in the window. If you do not set
wkWindowId, the XWorkstation object will create and manage
its own window. This resource can only be set on create.
Default: NULL
-
wkXColorMode
-
This resource is used to specify what type of X color allocation scheme
the XWorkstation object should use. If this resource is set
to "share", then the XWorkstation object will attempt to use
the "default" colormap for the display. Since most X displays only
use an 8 bit - PseudoColor colormap, only 256 unique colors can
be displayed at a time. This means that it is unlikely that the
XWorkstation will be able to have 256 unique colors, since other
applications will take some of the available colors.
If this resource is set to "private", then the XWorkstation object
will create a colormap to be used exclusively with the output window.
This means that a full 256 colors will be available to the XWorkstation
output window. However, this can have some interesting side effects for
other windows. The colormap for the XWorkstation output window will
be installed when that window has the "focus". When it doesn't have the
"focus", it's colormap will not be installed. Therefore, the
XWorkstation output will not look correct unless its window has
the "focus". Also, when it has the "focus", other windows on the display
are likely to look strange.
Default: "share"
-
wkPause
-
This enables and disables the workstation pause feature. When True
the NhlFrame call will pause until the user has
pressed a key or pressed a mouse button. If the wkWindowId is
set when the window is created, causing the
XWorkstation to draw into an externally-created
window, wkPause is constrained to False. Otherwise a
conflict would result in the event management of the window.
Default: <Dynamic>
wkPause defaults to True unless the wkWindowId resource
is set.
Reference Manual Control Panel
NG4 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?
$Revision: 1.10 $ $Date: 1995/07/26 23:30:55 $