getbkgrnd(3ncurses)


NAME

   bkgrnd,  wbkgrnd, bkgrndset, wbkgrndset, getbkgrnd, wgetbkgrnd - curses
   window complex background manipulation routines

SYNOPSIS

   #include <curses.h>

   int bkgrnd( const cchar_t *wch);
   int wbkgrnd( WINDOW *win, const cchar_t *wch);
   void bkgrndset(const cchar_t *wch );
   void wbkgrndset(WINDOW *win, const cchar_t *wch);
   int getbkgrnd(cchar_t *wch);
   int wgetbkgrnd(WINDOW *win, cchar_t *wch);

DESCRIPTION

   bkgrndset
   The bkgrndset and wbkgrndset routines manipulate the background of  the
   named  window.   The  window  background is a cchar_t consisting of any
   combination of attributes (i.e., rendition) and  a  complex  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.

   bkgrnd
   The bkgrnd and wbkgrnd 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.

   getbkgrnd
   The getbkgrnd function returns the given  window's  current  background
   character/attribute pair via the wch pointer.

NOTES

   Note that bkgrnd, bkgrndset, and getbkgrnd may be macros.

RETURN VALUE

   The bkgrndset and wbkgrndset routines do not return a value.

   Upon  successful completion, the other functions return OK.  Otherwise,
   they return ERR.  A null window pointer is treated as an error.

SEE ALSO

   ncurses(3NCURSES), bkgd(3NCURSES)

                                                          bkgrnd(3NCURSES)


More Linux Commands

manpages/vfs_extd_audit.8.html
vfs_extd_audit(8) - record selected Samba VFS operations....
This VFS module is part of the samba(7) suite. The extd_audit VFS module records selected client operations to both the smbd(8) log and system log (using syslog

manpages/gnutls_certificate_set_x509_trust_mem.3.html
gnutls_certificate_set_x509_trust_mem(3) - API function.....
gnutls_certificate_set_x509_trust_mem.3 - This function adds the trusted CAs in order to verify client or server certificates. In case of a client this is not r

manpages/regex.7.html
regex(7) - POSIX.2 regular expressions - Linux manual page
Regular expressions (REs), as defined in POSIX.2, come in two forms: modern REs (roughly those of egrep; POSIX.2 calls these extended REs) and obsolete REs (rou

manpages/addseverity.3.html
addseverity(3) - introduce new severity classes (Man Page)
This function allows the introduction of new severity classes which can be addressed by the severity argument of the fmtmsg(3) function. By default that latter

manpages/vfs_linux_xfs_sgid.8.html
vfs_linux_xfs_sgid(8) (Administration - Linux man page).....
This VFS module is part of the samba(7) suite. vfs_linux_xfs_sgid is a VFS module to work around an old Linux XFS bug that still exists: Under certain circumsta

manpages/SDL_Init.3.html
SDL_Init(3) - Initializes SDL (Library - Linux man page)....
Initializes SDL. This should be called before all other SDL functions. The flags parameter specifies what part(s) of SDL to initialize. SDL_INIT_TIMER Initializ

manpages/ntpd.1.html
ntpd(1) - Network Time Protocol (NTP) daemon (Man Page).....
This manual page briefly documents the ntpd command. OPTIONS -4, --ipv4 Force IPv4 DNS name resolution. This option must not appear in combination with any of t

manpages/le32toh.3.html
le32toh(3) - convert values between host and big-/little-end
These functions convert the byte encoding of integer values from the byte order that the current CPU (the host) uses, to and from little-endian and big-endian b

manpages/ber_bvecfree.3.html
ber_bvecfree(3) - OpenLDAP LBER types and allocation functio
The following are the basic types and structures defined for use with the Lightweight BER library. ber_int_t is a signed integer of at least 32 bits. It is comm

manpages/curl_escape.3.html
curl_escape(3) - URL encodes the given string (Man Page)....
Obsolete function. Use curl_easy_escape(3) instead! This function will convert the given input string to an URL encoded string and return that as a new allocate

manpages/wnoutrefresh.3ncurses.html
wnoutrefresh(3ncurses) - refresh curses windows and lines...
The refresh and wrefresh routines (or wnoutrefresh and doupdate) must be called to get actual output to the terminal, as other routines merely manipulate data s

manpages/glLogicOp.3gl.html
glLogicOp(3gl) - specify a logical pixel operation for color
glLogicOp specifies a logical operation that, when enabled, is applied between the incoming color index or RGBA color and the color index or RGBA color at the c





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