*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> menu_cursor (3)              
Title
Content
Arch
Section
 

menu_cursor(3)

Contents


NAME    [Toc]    [Back]

       menu_cursor - position a menu's cursor

SYNOPSIS    [Toc]    [Back]

       #include <menu.h>
       int pos_menu_cursor(const MENU *menu);

DESCRIPTION    [Toc]    [Back]

       The  function  pos_menu_cursor  restores the cursor to the
       current position associated with the menu's selected item.
       This  is  useful after curses routines have been called to
       do screen-painting in response to a menu select.

RETURN VALUE    [Toc]    [Back]

       This routine returns one of the following:

       E_OK The routine succeeded.

       E_SYSTEM_ERROR    [Toc]    [Back]
            System error occurred (see errno).

       E_BAD_ARGUMENT    [Toc]    [Back]
            Routine detected an incorrect or  out-of-range  argument.


       E_NOT_POSTED    [Toc]    [Back]
            The menu has not been posted.

SEE ALSO    [Toc]    [Back]

      
      
       curses(3), menu(3).

NOTES    [Toc]    [Back]

       The header file <menu.h> automatically includes the header
       file <curses.h>.

PORTABILITY    [Toc]    [Back]

       These routines emulate the System V  menu  library.   They
       were not supported on Version 7 or BSD versions.

AUTHORS    [Toc]    [Back]

       Juergen  Pfeifer.   Manual  pages  and  adaptation for new
       curses by Eric S. Raymond.
[ Back ]
 Similar pages
Name OS Title
menu_cursor NetBSD position cursor in menu window
XmGetMenuCursor Tru64 A function that returns the cursor ID for the current menu cursor
XmGetMenuCursor IRIX A function that returns the cursor ID for the current menu cursor
XmGetMenuCursor HP-UX A function that returns the cursor ID for the current menu cursor
XmSetMenuCursor IRIX A function that modifies the menu cursor for a client
XmSetMenuCursor Tru64 A function that modifies the menu cursor for a client
XmSetMenuCursor HP-UX A function that modifies the menu cursor for a client
pos_form_cursor OpenBSD position a form window cursor
form_cursor OpenBSD position a form window cursor
form_cursor FreeBSD position a form window cursor
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service