attributes(3menu)


NAME

   menu_back,     menu_fore,     menu_grey,    menu_pad,    set_menu_back,
   set_menu_fore,  set_menu_grey,  set_menu_pad  -  color  and   attribute
   control for menus

SYNOPSIS

   #include <menu.h>
   int set_menu_fore(MENU *menu, chtype attr);
   chtype menu_fore(const MENU *menu);
   int set_menu_back(MENU *menu, chtype attr);
   chtype menu_back(const MENU *menu);
   int set_menu_grey(MENU *menu, chtype attr);
   chtype menu_grey(const MENU *menu);
   int set_menu_pad(MENU *menu, int pad);
   int menu_pad(const MENU *menu);

DESCRIPTION

   The  function set_menu_fore sets the foreground attribute of menu. This
   is the highlight used for selected menu items.  menu_fore  returns  the
   foreground attribute.  The default is A_REVERSE.

   The  function set_menu_back sets the background attribute of menu. This
   is the highlight used for selectable (but not currently selected)  menu
   items.   The  function menu_back returns the background attribute.  The
   default is A_NORMAL.

   The function set_menu_grey sets the grey attribute of menu. This is the
   highlight  used  for un-selectable menu items in menus that permit more
   than one selection.  The function menu_grey returns the grey attribute.
   The default is A_UNDERLINE.

   The  function  set_menu_pad  sets  the character used to fill the space
   between the name and  description  parts  of  a  menu  item.   menu_pad
   returns the given menu's pad character.  The default is a blank.

RETURN VALUE

   These routines return one of the following:

   E_OK The routine succeeded.

   E_SYSTEM_ERROR
        System error occurred (see errno).

   E_BAD_ARGUMENT
        Routine detected an incorrect or out-of-range argument.

SEE ALSO

   ncurses(3NCURSES)  and  related  pages  whose  names  begin "menu_" for
   detailed descriptions of the entry points.

NOTES

   The  header  file  <menu.h>  automatically  includes  the  header  file
   <curses.h>.

PORTABILITY

   These  routines  emulate  the  System  V  menu  library.  They were not
   supported on Version 7 or BSD versions.

AUTHORS

   Juergen Pfeifer.  Manual pages and adaptation for new curses by Eric S.
   Raymond.

                                                         attributes(3MENU)


More Linux Commands

manpages/ciphers.1ssl.html
ciphers(1ssl) SSL cipher display and cipher list tool.......
The ciphers command converts textual OpenSSL cipher lists into ordered SSL cipher preference lists. It can be used as a test tool to determine the appropriate c

manpages/ldap_search_st.3.html
ldap_search_st(3) - Perform an LDAP search operation........
These routines are used to perform LDAP search operations. The ldap_search_ext_s() routine does the search synchronously (i.e., not returning until the operatio

manpages/FcUtf8Len.3.html
FcUtf8Len(3) - count UTF-8 encoded chars - Linux man page...
Counts the number of Unicode chars in len bytes of src. Places that count in nchar. wchar contains 1, 2 or 4 depending on the number of bytes needed to hold the

manpages/iscsi-iname.8.html
iscsi-iname(8) iSCSI initiator name generation tool.........
iscsi-iname generates a unique iSCSI node name on every invocation. OPTIONS [-h|--help] Display help [-p=]prefix Use the prefix passed in instead of the default

manpages/esd.1.html
esd(1) The Enlightened Sound Daemon - Linux manual page.....
Starts up EsounD, which provides a sound mixing server. USAGE esd [options] -d DEVICE force esd to use sound device DEVICE -b run server in 8 bit sound mode -r

manpages/dnsdomainname.1.html
dnsdomainname(1) - show the system's DNS domain name........
Hostname is the program that is used to either set or display the current host, domain or node name of the system. These names are used by many of the networkin

manpages/mvins_wstr.3ncurses.html
mvins_wstr(3ncurses) - insert a wide-character string into a
These routines insert a wchar_t character string (as many characters as will fit on the line) before the character under the cursor. All characters to the right

manpages/Tcl_AsyncInvoke.3.html
Tcl_AsyncInvoke(3) - handle asynchronous events (Man Page)
These procedures provide a safe mechanism for dealing with asynchronous events such as signals. If an event such as a signal occurs while a Tcl script is being

manpages/jcf-dump-4.6.1.html
jcf-dump-4.6(1) - print information about Java class files
This is a class file examiner, similar to javap. It will print information about a number of classes, which are specified by class name or file name. OPTIONS -c

manpages/INFINITY.3.html
INFINITY(3) - floating-point constants - Linux manual page
The macro INFINITY expands to a float constant representing positive infinity. The macro NAN expands to a float constant representing a quiet NaN (when supporte

manpages/log1pl.3.html
log1pl(3) - logarithm of 1 plus argument - Linux man page...
log1p(x) returns a value equivalent to log (1 + x) It is computed in a way that is accurate even if the value of x is near zero. RETURN VALUE On success, these

manpages/amor.6.html
amor(6) - A KDE creature for your desktop - Linux man page
AMOR stands for Amusing Misuse Of Resources. It provides several different characters who prance around your X screen doing tricks and giving you tips. AMOR is





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