WSET_SEE_THRU(3W)
NAME
wset_see_thru − set see_thru color index value
SYNOPSIS
int wset_see_thru(wmfd,see_thru);
int wmfd;
int see_thru;
DESCRIPTION
fd is an integer file descriptor for an opened window manager device interface.
see_thru,
the see_thru color index. Colors are taken from the system (Starbase) color map.
DISCUSSION
This tells the window system what color index to use in the overlay planes when displaying see_thru and IMAGE windows. This routine will modify the system color map by setting the old see_thru index back to the last known color map values and setting the new index to see_thru (transparent).
Defaults for see_thru are set at window creation time.
If a color is out of range for the device, an error is generated. Normally the valid range is from 0 to (2^N − 1), where N is the number of planes.
This call can be made on all devices, but will only have an effect on the HP98730.
SEE ALSO
wget_see_thru(3W), windows(1), wmstart(1).
DIAGNOSTICS
A return of −1 indicates failure; otherwise 0 is returned. See errno(2) for more information.
Hewlett-Packard Company — May 11, 2021