Restricted window attribute control functions.
These subroutines manipulate the window attributes of the current or specified window.
The attroff and wattroff subroutines turn off attrs in the current or specified specified window without affecting any others.
The attron and wattron subroutines turn on attrs in the current or specified specified window without affecting any others.
The attrset and wattrset subroutines set the background attributes of the current or specified specified window to attrs.
It unspecified whether these subroutines can be used to manipulate attributes than A_BLINK, A_BOLD, A_DIM, A_REVERSE, A_STANDOUT and A_UNDERLINE.
*attrs | Specifies which attributes to turn off. |
*win | Specifies the window in which to turn off the specified attributes. |
These subroutines always return either OK or 1.
For the attroff or wattroff subroutines:
attroff(A_UNDERLINE);
wattroff(my_window, A_UNDERLINE);
For the attron or wattron subroutines:
attron(A_UNDERLINE);
wattron(my_window, A_UNDERLINE);
For the attrset or wattrset subroutines:
attrset(A_BLINK);
wattrset(my_window, A_BLINK);
attrset(0);
wattrset(my_window, 0);
These subroutines are part of Base Operating System (BOS) Runtime.
The standend subroutine.
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.