attributes
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS
NAME
menu_attributes − 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.
More Linux Commands
manpages/git-check-mailmap.1.html
git-check-mailmap(1) Show canonical names and email addresse
For each Name <user@host> or <user@host> from the command-line or standard input (when using --stdin), look up the persons canonical name and email address (see
manpages/intro7.html
intro(7) - Introduction to overview, conventions, and miscel
Section 7 of the manual provides overviews on various topics, and describes conventions and protocols, character set standards, the standard filesystem layout,
manpages/profil.3.html
profil(3) - execution time profile - Linux manual page......
This routine provides a means to find out in what areas your program spends most of its time. The argument buf points to bufsiz bytes of core. Every virtual 10
manpages/sasl_auxprop.3.html
sasl_auxprop(3) - How to work with SASL auxiliary properties
SASL auxiliary properties are used to obtain properties from external sources during the authentication process. For example, a mechanism might need to query an
manpages/arp.7.html
arp(7) - Linux ARP kernel module. - Linux manual page.......
This kernel protocol module implements the Address Resolution Protocol defined in RFC 826. It is used to convert between Layer2 hardware addresses and IPv4 prot
manpages/pam-config.8.html
pam-config(8) - Adjust common PAM config files (Man Page)...
pam-config adjusts predefined PAM config files. OPTIONS COMMON OPTIONS --debug Print debug messages. -f, --force The new configuration will be activated regardl
manpages/getch.3ncurses.html
getch.3ncurses - getch(3ncurses) - get (or push back) characters from curses
The getch, wgetch, mvgetch and mvwgetch, routines read a character from the window. In no-delay mode, if no input is waiting, the value ERR is returned. In dela
manpages/XStoreColor.3.html
XStoreColor(3) - set colors (Library - Linux man page)......
The XStoreColors function changes the colormap entries of the pixel values specified in the pixel members of the XColor structures. You specify which color comp
manpages/Getopt::Std.3pm.html
Getopt::Std(3pm) - Process single-character switches with sw
The getopt() function processes single-character switches with switch clustering. Pass one argument which is a string containing all switches that take an argum
manpages/y0.3.html
y0(3) - Bessel functions of the second kind - Linux man page
The y0() and y1() functions return Bessel functions of x of the second kind of orders 0 and 1, respectively. The yn() function returns the Bessel function of x
manpages/baudrate_sp.3ncurses.html
baudrate_sp(3ncurses) - curses screen-pointer extension.....
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th
manpages/XmbufGetScreenInfo.3.html
XmbufGetScreenInfo(3) - X multibuffering functions (ManPage)
The application programming library for the X11 Double-Buffering, Multi-Buffering, and Stereo Extension contains the interfaces described below. With the except
