CURSES_CHGAT(3) | Library Functions Manual | CURSES_CHGAT(3) |
int
chgat(int n, attr_t attr, short color, const void *opts);
int
wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts);
int
mvchgat(int y, int x, int n, attr_t attr, short color, const void *opts);
int
mvwchgat(WINDOW *win, int y, int x, int n, attr_t attr, short color, const void *opts);
The chgat() function sets the attributes of the next n characters to attr and the color pair to color. If n is negative or larger than the remainder of the line, it gets truncated.
The wchgat() is the same as the chgat() function, excepting that the attributes are changed in the window specified by win.
The mvchgat() and mvwchgat() functions are the same as the chgat() and wchgat() functions, respectively, excepting that they operate from the position specified by y, x.
These functions do not perform wrapping. They do not update the cursor position.
July 6, 2009 | NetBSD 6.1 |