Sets and clears window attributes.
Curses Library (libcurses.a)
#include <curses.h>
int standend
(void);
int standout
(void);
int wstandend
(WINDOW *win);
int wstandout
(WINDOW *win);
The standend and standout subroutines turn off all attributes of the current or specified window.
The wstandout and wstandend subroutines turn on the standout attribute of the current or specified window.
Item | Description |
---|---|
*win | Specifies the window in which to set the attributes. |
These subroutines always return 1.
standout();
This example
is functionally equivalent to: attron(A_STANDOUT);
WINDOW *my_window;
wstandout(my_window);
This example is functionally equivalent
to: wattron(my_window, A_STANDOUT);
standend();
This
example is functionally equivalent to: attroff(A_STANDOUT);
WINDOW *my_window;
wstandend(my_window);
This example is functionally equivalent
to: wattroff(my_window, A_STANDOUT);