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
)
)
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
<menu.h>
automatically includes both
<curses.h>
and
<eti.h>
.