getbkgd(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/gnutls_anon_free_server_credentials.3.html
gnutls_anon_free_server_credentials(3) - API function.......
gnutls_anon_free_server_credentials.3 - This structure is complex enough to manipulate directly thus this helper function is provided in order to free (dealloca

manpages/perl5181delta.1.html
perl5181delta(1) what is new for perl v5.18.1 (Man Page)....
This document describes differences between the 5.18.0 release and the 5.18.1 release. If you are upgrading from an earlier release such as 5.16.0, first read p

manpages/Tcl_FSAccess.3.html
Tcl_FSAccess(3) - procedures to interact with any filesystem
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta

manpages/glMultiTexCoord4dARB.3gl.html
glMultiTexCoord4dARB(3gl) - set the current texture coordina
glMultiTexCoordARB specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1ARB sets the current texture coordinates to (s, 0, 0, 1

manpages/Devel::SelfStubber.3pm.html
Devel::SelfStubber(3pm) - generate stubs for a SelfLoading m
Devel::SelfStubber prints the stubs you need to put in the module before the __DATA__ token (or you can get it to print the entire module with stubs correctly p

manpages/gnutls_pkcs11_delete_url.3.html
gnutls_pkcs11_delete_url(3) - API function - Linux man page
This function will delete objects matching the given URL. Note that not all tokens support the delete operation. RETURNS On success, the number of objects delet

manpages/brk.2.html
brk(2) - change data segment size - Linux manual page.......
brk() and sbrk() change the location of the program break, which defines the end of the processs data segment (i.e., the program break is the first location aft

manpages/Tcl_SetWideIntObj.3.html
Tcl_SetWideIntObj(3) - manipulate Tcl objects as integer val
These procedures are used to create, modify, and read Tcl objects that &amp;#9474; hold integral values. &amp;#9474; The different routines exist to accommodate differe

manpages/pnmquantall.1.html
pnmquantall(1) run Pnmquant on a bunch of files all at once,
This program is part of Netpbm(1) pnmquantall takes a bunch of Netpbm image files as input, chooses ncolors colors to best represent all of the images, maps the

manpages/Tcl_GetReturnOptions.3.html
Tcl_GetReturnOptions(3) - retrieve or record information abo
The Tcl_SetReturnOptions and Tcl_GetReturnOptions routines expose the &amp;#9474; same capabilities as the return and catch commands, respectively, in &amp;#9474; the f

manpages/statvfs.3.html
statvfs(3) - get file system statistics - Linux manual page
The function statvfs() returns information about a mounted filesystem. path is the pathname of any file within the mounted filesystem. buf is a pointer to a sta

manpages/pkey.1ssl.html
pkey(1ssl) public or private key processing tool (Man Page)
The pkey command processes public or private keys. They can be converted between various forms and their components printed out. COMMAND OPTIONS -inform DER|PEM





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