4 \fBmenu_mark\fR - get and set the menu mark string
6 \fB#include <menu.h>\fR
8 int set_menu_mark(MENU *menu, const char *mark);
10 const char *menu_mark(const MENU *menu);
13 In order to make menu selections visible on older terminals without
14 highlighting or color capability, the menu library marks selected items
15 in a menu with a prefix string.
17 The function \fBset_menu_mark\fR sets the mark string for the given menu.
18 Calling \fBset_menu_mark\fR with a null menu item will abolish the mark string.
19 Note that changing the length of the mark string for a menu while the
20 menu is posted is likely to produce unhelpful behavior.
22 The default string is "-" (a dash). Calling \fBset_menu_mark\fR with
23 a \fBNULL\fR menu argument will change this default.
25 The function \fBmenu_mark\fR returns the menu's mark string (or \fBNULL\fR if
28 The function \fBmenu_mark\fR returns \fBNULL\fR on error. The function
29 \fBset_menu_mark\fR may return the following error codes:
32 The routine succeeded.
35 System error occurred (see \fBerrno\fR).
38 Routine detected an incorrect or out-of-range argument.
40 \fBcurses\fR(3X), \fBmenu\fR(3X).
42 The header file \fB<menu.h>\fR automatically includes the header file
45 These routines emulate the System V menu library. They were not supported on
46 Version 7 or BSD versions.
48 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric
51 .\"# The following sets edit modes for GNU EMACS