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.
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);
Curses Overview for Programming in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.
Setting Video Attributes and Curses Options in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.