Turns on specified attributes.
Curses Library (libcurses.a)
#include <curses.h>
attron( Attributes)
char *Attributes;
wattron( Window, Attributes)
WINDOW *Window;
char *Attributes;
The attron and wattron subroutines turn on specified attributes without affecting any others. The attron subroutine turns the specified attributes on in stdscr. The wattron subroutine turns the specified attributes on in the specified window.
Item | Description |
---|---|
Attributes | Specifies which attributes to turn on. |
Window | Specifies the window in which to turn on the specified attributes. |
attron(A_UNDERLINE);
wattron(my_window, A_UNDERLINE);