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