WBANNER(3W)
Series 300 and 500 Only
NAME
wbanner − inquire about or control a window’s border
SYNOPSIS
int wbanner(fd,value);
int fd;
int value;
DESCRIPTION
fd is an integer file descriptor for an opened window type device interface.
value is the set/interrogation parameter; following are valid values for this parameter.
-1 return whether the window’s border status: a return value of 0 means the window has a thin border; 1 means the window has a normal (thick) border; 2 means that the window has no border.
0 display a thin border with the window.
1 display a border with the window; this is the default state for windows created via the pop-up menu or window system commands.
2 do not display a border around the window (null border type). This border type is supported only on the graphics window type.
DISCUSSION
This call inquires or sets whether a border is displayed around the specified window.
HARDWARE DEPENDENCIES
Series 500:
Only the thin and normal border types are supported on Series 500; the null border type (no border) is not supported.
DIAGNOSTICS
A return of -1 indicates failure; otherwise 0 or 1 is returned. See errno(2) for further information.
Hewlett-Packard Company — May 11, 2021