Sets the current attributes of a window to the specified attributes.
#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);
These subroutines are part of Base Operating System (BOS) Runtime.
Curses Overview for Programming in AIX General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX General Programming Concepts: Writing and Debugging Programs.
Setting Video Attributes and Curses Options in AIX General Programming Concepts: Writing and Debugging Programs.