]> ncurses.scripts.mit.edu Git - ncurses.git/blob - doc/html/man/menu_cursor.3x.html
ncurses 5.0
[ncurses.git] / doc / html / man / menu_cursor.3x.html
1 <HTML>
2 <BODY>
3 <PRE>
4 <!-- Manpage converted by man2html 3.0.1 -->
5
6 </PRE>
7 <H2>NAME</H2><PRE>
8        <B>menu_cursor</B> - position a menu's cursor
9
10
11 </PRE>
12 <H2>SYNOPSIS</H2><PRE>
13        <B>#include</B> <B>&lt;menu.h&gt;</B>
14        int pos_menu_cursor(const MENU *menu);
15
16
17 </PRE>
18 <H2>DESCRIPTION</H2><PRE>
19        The  function  <B>pos_menu_cursor</B>  restores the cursor to the
20        current position associated with the menu's selected item.
21        This  is  useful after <B>curses</B> routines have been called to
22        do screen-painting in response to a menu select.
23
24
25 </PRE>
26 <H2>RETURN VALUE</H2><PRE>
27        This routine returns one of the following:
28
29        <B>E_OK</B> The routine succeeded.
30
31        <B>E_SYSTEM_ERROR</B>
32             System error occurred (see <B>errno</B>).
33
34        <B>E_BAD_ARGUMENT</B>
35             Routine detected an incorrect or  out-of-range  argu-
36             ment.
37
38        <B>E_NOT_POSTED</B>
39             The menu has not been posted.
40
41
42 </PRE>
43 <H2>SEE ALSO</H2><PRE>
44        <B><A HREF="ncurses.3x.html">curses(3x)</A></B>, <B><A HREF="menu.3x.html">menu(3x)</A></B>.
45
46
47 </PRE>
48 <H2>NOTES</H2><PRE>
49        The header file <B>&lt;menu.h&gt;</B> automatically includes the header
50        file <B>&lt;curses.h&gt;</B>.
51
52
53 </PRE>
54 <H2>PORTABILITY</H2><PRE>
55        These routines emulate the System V  menu  library.   They
56        were not supported on Version 7 or BSD versions.
57
58
59 </PRE>
60 <H2>AUTHORS</H2><PRE>
61        Juergen  Pfeifer.   Manual  pages  and  adaptation for new
62        curses by Eric S. Raymond.
63
64
65
66
67
68
69
70
71
72
73
74
75 </PRE>
76 <HR>
77 <ADDRESS>
78 Man(1) output converted with
79 <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
80 </ADDRESS>
81 </BODY>
82 </HTML>