United States-English |
|
|
HP-UX Reference > Bbkgd(3X)ENHANCED CURSESHP-UX 11i Version 3: February 2007 |
|
NAMEbkgd, bkgdset, getbkgd, wbkgd, wbkgdset — set or get background character and rendition using a single-byte character SYNOPSIS#include <curses.h> int bkgd(chtype ch); void bkgdset(chtype ch); chtype getbkgd(WINDOW *win); int wbkgd(WINDOW *win, chtype ch); void wbkgdset(WINDOW *win, chtype ch); DESCRIPTIONThe bkgdset() and wbkgdset() functions set the background property of the current or specified window based on the information in ch. If ch refers to a multi-column character, the results are undefined. The bkgd() and wbkgd() functions set the background property of the current or specified window and then apply this setting to every character position in that window:
The getbkgd() function extracts the specified window's background character and rendition. RETURN VALUEUpon successful completion, bkgd() and wbkgd() return OK. Otherwise, they return ERR. The bkgdset() and wbkgdset() functions do not return a value. Upon successful completion, getbkgd() returns the specified window's background character and rendition. Otherwise, it returns (chtype)ERR. |
Printable version | ||
|