<!--
* t
****************************************************************************
- * Copyright (c) 1998,2000,2002 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2006,2010 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: menu.3x,v 1.15 2002/01/19 22:48:58 tom Exp @
+ * @Id: menu.3x,v 1.20 2010/07/31 16:09:36 tom Exp @
-->
<HTML>
<HEAD>
before using any of these functions. To use the <STRONG>menu</STRONG>
library, link with the options <STRONG>-lmenu</STRONG> <STRONG>-lcurses</STRONG>.
-
<STRONG>Current</STRONG> <STRONG>Default</STRONG> <STRONG>Values</STRONG> <STRONG>for</STRONG> <STRONG>Item</STRONG> <STRONG>Attributes</STRONG>
The <STRONG>menu</STRONG> library maintains a default value for item
attributes. You can get or set this default by calling
affects future item creations, but does not change the
rendering of items already created.
-
<STRONG>Routine</STRONG> <STRONG>Name</STRONG> <STRONG>Index</STRONG>
The following table lists each <STRONG>menu</STRONG> routine and the name
of the manual page on which it is described.
-
<STRONG>curses</STRONG> Routine Name Manual Page Name
--------------------------------------------
current_item <STRONG><A HREF="mitem_current.3x.html">mitem_current(3x)</A></STRONG>
menu_mark <STRONG><A HREF="menu_mark.3x.html">menu_mark(3x)</A></STRONG>
menu_opts <STRONG><A HREF="menu_opts.3x.html">menu_opts(3x)</A></STRONG>
menu_opts_off <STRONG><A HREF="menu_opts.3x.html">menu_opts(3x)</A></STRONG>
-
menu_opts_on <STRONG><A HREF="menu_opts.3x.html">menu_opts(3x)</A></STRONG>
menu_pad <STRONG><A HREF="menu_attributes.3x.html">menu_attributes(3x)</A></STRONG>
menu_pattern <STRONG><A HREF="menu_pattern.3x.html">menu_pattern(3x)</A></STRONG>
+
menu_request_by_name <STRONG><A HREF="menu_requestname.3x.html">menu_requestname(3x)</A></STRONG>
menu_request_name <STRONG><A HREF="menu_requestname.3x.html">menu_requestname(3x)</A></STRONG>
menu_spacing <STRONG><A HREF="menu_spacing.3x.html">menu_spacing(3x)</A></STRONG>
<STRONG>E_OK</STRONG> The routine succeeded.
- <STRONG>E_SYSTEM_ERROR</STRONG>
- System error occurred (see <STRONG>errno</STRONG>).
-
<STRONG>E_BAD_ARGUMENT</STRONG>
Routine detected an incorrect or out-of-range argu-
ment.
- <STRONG>E_POSTED</STRONG>
- The menu is already posted.
-
<STRONG>E_BAD_STATE</STRONG>
Routine was called from an initialization or termina-
tion function.
+ <STRONG>E_NO_MATCH</STRONG>
+ Character failed to match.
+
<STRONG>E_NO_ROOM</STRONG>
Menu is too large for its window.
+ <STRONG>E_NOT_CONNECTED</STRONG>
+ No items are connected to the menu.
+
<STRONG>E_NOT_POSTED</STRONG>
The menu has not been posted.
- <STRONG>E_UNKNOWN_COMMAND</STRONG>
- The menu driver code saw an unknown request code.
-
- <STRONG>E_NO_MATCH</STRONG>
- Character failed to match.
-
<STRONG>E_NOT_SELECTABLE</STRONG>
The designated item cannot be selected.
- <STRONG>E_NOT_CONNECTED</STRONG>
- No items are connected to the menu.
+ <STRONG>E_POSTED</STRONG>
+ The menu is already posted.
<STRONG>E_REQUEST_DENIED</STRONG>
The menu driver could not process the request.
+ <STRONG>E_SYSTEM_ERROR</STRONG>
+ System error occurred (see <STRONG>errno</STRONG>).
+
+ <STRONG>E_UNKNOWN_COMMAND</STRONG>
+ The menu driver code saw an unknown request code.
+
</PRE>
<H2>SEE ALSO</H2><PRE>
In your library list, libmenu.a should be before libn-
curses.a; that is, you want to say `-lmenu -lncurses', not
- the other way around (which would give you a link error
- using GNU <STRONG><A HREF="ld.1.html">ld(1)</A></STRONG> and many other linkers).
+ the other way around (which would usually give a link-
+ error).
</PRE>
by Eric S. Raymond.
+</PRE>
+<H2>SEE ALSO</H2><PRE>
+ This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20100731).
+
+
<STRONG><A HREF="menu.3x.html">menu(3x)</A></STRONG>
</PRE>