MENU_ATTRIBUTES(3) | Library Functions Manual | MENU_ATTRIBUTES(3) |
menu_back
, menu_fore
,
menu_grey
, menu_pad
,
set_menu_back
, set_menu_fore
,
set_menu_grey
, set_menu_pad
—
#include <menu.h>
char
menu_back
(MENU
*menu);
char
menu_fore
(MENU
*menu);
char
menu_grey
(MENU
*menu);
int
menu_pad
(MENU
*menu);
int
set_menu_back
(MENU
*menu, char
attr);
int
set_menu_fore
(MENU
*menu, char
attr);
int
set_menu_grey
(MENU
*menu, char
attr);
int
set_menu_pad
(MENU
*menu, int
pad);
menu_back
() function returns the value of the
background attribute for the menu passed. This attribute is set by the
set_menu_back
() call. The
menu_fore
() function returns the value of the
foreground character attribute for the menu passed. This attribute is set by
the set_menu_fore
() function. The
menu_grey
() function returns the value of the grey or
unselectable character attribute for the menu passed. This attribute is set by
the set_menu_grey
() function. The
menu_pad
() function returns the padding character that
will be used between the item name and its description. The value of the pad
character is set by the set_menu_pad
() function.
E_OK
E_SYSTEM_ERROR
E_BAD_ARGUMENT
E_POSTED
E_CONNECTED
E_BAD_STATE
E_NO_ROOM
E_NOT_POSTED
E_UNKNOWN_COMMAND
E_NO_MATCH
E_NOT_SELECTABLE
E_NOT_CONNECTED
E_REQUEST_DENIED
September 10, 1999 | NetBSD 9.2 |