WGETBCOLOR(3W)
Series 300 Only
NAME
wgetbcolor − get window border colors
SYNOPSIS
int wgetbcolor(fd,fgborder,bgborder);
int fd;
int *fgborder,*bgborder;
DESCRIPTION
fd is an integer file descriptor for an opened window type device interface.
fgborder,bgborder
the foreground label character color, and background label and border color.
DISCUSSION
Returns the current foreground and background border colors. The defaults at window creation time are determined by the WMBDRFGCLR and WMBDRBGCLR environment variables.
If double buffering color mode is enabled via the WMCONFIG environment variable, the colors returned are the lower N/2 bits of the colors actually used, where N is the number of planes on the display.
SEE ALSO
DIAGNOSTICS
A return of -1 indicates failure; otherwise 0 is returned. See errno(2) for more information.
Hewlett-Packard Company — May 11, 2021