wbkgd(3ncurses)


NAME

   bkgdset,  wbkgdset,  bkgd,  wbkgd,  getbkgd  - curses window background
   manipulation routines

SYNOPSIS

   #include <curses.h>

   void bkgdset(chtype ch);
   void wbkgdset(WINDOW *win, chtype ch);
   int bkgd(chtype ch);
   int wbkgd(WINDOW *win, chtype ch);
   chtype getbkgd(WINDOW *win);

DESCRIPTION

   bkgdset
   The bkgdset and wbkgdset routines  manipulate  the  background  of  the
   named  window.   The  window  background  is a chtype consisting of any
   combination of attributes  (i.e.,  rendition)  and  a  character.   The
   attribute part of the background is combined (OR'ed) with all non-blank
   characters that are written into the  window  with  waddch.   Both  the
   character  and  attribute parts of the background are combined with the
   blank characters.  The background becomes a property of  the  character
   and  moves  with  the character through any scrolling and insert/delete
   line/character operations.

   To the extent possible on a particular terminal, the attribute part  of
   the  background  is displayed as the graphic rendition of the character
   put on the screen.

   bkgd
   The bkgd and wbkgd functions set the background property of the current
   or  specified  window  and  then  apply this setting to every character
   position in that window:

   ·   The rendition of every character on the screen is  changed  to  the
       new background rendition.

   ·   Wherever  the former background character appears, it is changed to
       the new background character.

   getbkgd
   The getbkgd function returns  the  given  window's  current  background
   character/attribute pair.

RETURN VALUE

   The  routines  bkgd and wbkgd return the integer OK.  The SVr4.0 manual
   says "or a non-negative integer if immedok is set", but this appears to
   be an error.

NOTES

   Note that bkgdset and bkgd may be macros.

PORTABILITY

   These  functions are described in the XSI Curses standard, Issue 4.  It
   specifies that bkgd and wbkgd return  ERR  on  failure,  but  gives  no
   failure conditions.

SEE ALSO

   ncurses(3NCURSES), addch(3NCURSES), attr(3NCURSES), outopts(3NCURSES)

                                                            bkgd(3NCURSES)


More Linux Commands

manpages/glGet.3gl.html
glGet(3gl) - return the value or values of a selected parame
These four commands return values for simple state variables in GL. pname is a symbolic constant indicating the state variable to be returned, and params is a p

manpages/chk_cyrus.8.html
chk_cyrus(8) - perform a consistency check of the cyrus mail
Chk_cyrus is used to perform a consistency check on the cyrus datastore, and output a list of files/directories that are expected to exist, but do not. Status m

manpages/tcl_nonwordchars.n.html
tcl_nonwordchars(n) Variables used by Tcl __________________
The following global variables are created and managed automatically by the Tcl library. Except where noted below, these variables should normally be treated as

manpages/XkbSelectEvents.3.html
XkbSelectEvents(3) - Selects and / or deselects for delivery
XkbSelectEvents.3 - Xkb events are selected using an event mask, much the same as normal core X events are selected. However, unlike selecting core X events, wh

manpages/gcvt.3.html
gcvt(3) - convert a floating-point number to a string.......
The gcvt() function converts number to a minimal length null-terminated ASCII string and stores the result in buf. It produces ndigit significant digits in eith

manpages/Tcl_ChannelTruncateProc.3.html
Tcl_ChannelTruncateProc(3) - procedures for creating and man
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for

manpages/fbset.8.html
fbset(8) - show and modify frame buffer device settings.....
fbset is a system utility to show or change the settings of the frame buffer device. The frame buffer device provides a simple and unique interface to access di

manpages/policytool.1.html
policytool(1) - PolicyTool Administration GUI Utility.......
policytool is a GUI that allows users to create and manage policy files. For details, see the Policytool Users Guide @ http://java.sun.com/javase/6/docs/technot

manpages/gnutls_x509_crq_set_subject_alt_name.3.html
gnutls_x509_crq_set_subject_alt_name(3) - API function......
gnutls_x509_crq_set_subject_alt_name.3 - This function will set the subject alternative name certificate extension. It can set the following types: RETURNS On s

manpages/XPolygonRegion.3.html
XPolygonRegion(3) - generate regions - Linux manual page....
The XPolygonRegion function returns a region for the polygon defined by the points array. For an explanation of fill_rule, see XCreateGC. The XClipBox function

manpages/wcscat.3.html
wcscat(3) - concatenate two wide-character strings (ManPage)
The wcscat() function is the wide-character equivalent of the strcat(3) function. It copies the wide-character string pointed to by src, including the terminati

manpages/gnutls_x509_crq_get_dn.3.html
gnutls_x509_crq_get_dn(3) - API function - Linux man page...
This function will copy the name of the Certificate request subject to the provided buffer. The name will be in the form C=xxxx,O=yyyy,CN=zzzz as described in R





We can't live, work or learn in freedom unless the software we use is free.