Sets the current attributes of a window to the specified attributes.
Curses Library (libcurses.a)
#include <curses.h>
attrset( Attributes)
char *Attributes;
wattrset( Window, Attributes)
WINDOW *Window;
char *Attributes;
The attrset and wattrset subroutines set the current attributes of a window to the specified attributes. The attrset subroutine sets the current attribute of stdscr. The wattrset subroutine sets the current attribute of the specified window.
Item | Description |
---|---|
Attributes | Specifies which attributes to set. |
Window | Specifies the window in which to set the attributes. |
attrset(A_BLINK);
wattrset(my_window, A_BLINK);
attrset(0);
wattrset(my_window, 0);