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

  man pages->NetBSD man pages -> menu_item_value (3)              
Title
Content
Arch
Section
 

MENU_ITEM_VALUE(3)

Contents


NAME    [Toc]    [Back]

     item_value, set_item_value - get or set value for an item

LIBRARY    [Toc]    [Back]

     Curses Menu Library (libmenu, -lmenu)

SYNOPSIS    [Toc]    [Back]

     #include <menu.h>

     int
     item_value(ITEM *item);

     int
     set_item_value(ITEM *item, int flag);

DESCRIPTION    [Toc]    [Back]

     The item_value() function returns value of the item.  If the item has
     been selected then this value will be TRUE.  The value can also be set by
     calling set_item_value() to set the value to a defined state.  Setting
     the value to a value other than TRUE or FALSE will have undefined
     results.

RETURN VALUES    [Toc]    [Back]

     The functions return one of the following error values:

     E_OK              The function was successful.
     E_NOT_CONNECTED   The item is not connected to a menu.
     E_REQUEST_DENIED  The menu driver could not process the request.

SEE ALSO    [Toc]    [Back]

      
      
     curses(3), menus(3)

NOTES    [Toc]    [Back]

     The header <menu.h> automatically includes both <curses.h> and <eti.h>.

BSD                           September 10, 1999                           BSD
[ Back ]
 Similar pages
Name OS Title
XmListSetBottomItem HP-UX A List function that makes an existing item the last visible item in the list
XmListSetItem Tru64 A List function that makes an existing item the first visible item in the list
XmListSetItem HP-UX A List function that makes an existing item the first visible item in the list
XmListSetBottomItem IRIX A List function that makes an existing item the last visible item in the list
XmListSetBottomItem Tru64 A List function that makes an existing item the last visible item in the list
XmListSetItem IRIX A List function that makes an existing item the first visible item in the list
XmListSetBottomPos HP-UX A List function that makes a specified item the last visible item in the list
XmListSetBottomPos IRIX A List function that makes a specified item the last visible item in the list
XmListSetBottomPos Tru64 A List function that makes a specified item the last visible item in the list
DtSpinBoxAddItem HP-UX add an item to the DtSpinBox
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service