Manual Pages for UNIX Darwin command on man set_menu_grey
MyWebUniversity

Manual Pages for UNIX Darwin command on man set_menu_grey

menuattributes(3X) menuattributes(3X)

NAME

mmeennuuaattttrriibbuutteess - color and attribute control for menus

SYNOPSIS

##iinncclluuddee <>

int setmenufore(MENU *menu, chtype attr); chtype menufore(const MENU *menu); int setmenuback(MENU *menu, chtype attr); chtype menuback(const MENU *menu); int setmenugrey(MENU *menu, chtype attr); chtype menugrey(const MENU *menu); int setmenupad(MENU *menu, int pad); int menupad(const MENU *menu);

DESCRIPTION

The function sseettmmeennuuffoorree sets the foreground attribute of menu. This is the highlight used for selected menu items. mmeennuuffoorree returns the foreground attribute. The default is AASSTTAANNDDOOUUTT. The function sseettmmeennuubbaacckk sets the background attribute of menu. This is the highlight used for selectable (but not currently selected) menu items. The function mmeennuubbaacckk returns the background attribute. The default is AANNOORRMMAALL. The function sseettmmeennuuggrreeyy 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 mmeennuuggrreeyy returns the grey attribute. The default is AAUUNNDDEERRLLIINNEE. The function sseettmmeennuuppaadd sets the character used to fill the space between the name and description parts of a menu item. mmeennuuppaadd returns the given menu's pad character. The default is a blank. RREETTUURRNN VVAALLUUEE These routines return one of the following: EEOOKK The routine succeeded. EESSYYSSTTEEMMEERRRROORR System error occurred (see eerrrrnnoo). EEBBAADDAARRGGUUMMEENNTT

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

SEE ALSO

ccuurrsseess(3X) and related pages whose names begin "menu" for detailed descriptions of the entry points. NNOOTTEESS The header file <> automatically includes the header file <>. PPOORRTTAABBIILLIITTYY

These routines emulate the System V menu library. They were not sup-

ported on Version 7 or BSD versions. AUTHORS Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. menuattributes(3X)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™