MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Curses Library Functions                  menuitemopts(3CURSES)



NAME
     menuitemopts, setitemopts, itemoptson,  itemoptsoff,
     itemopts - menus item option routines

SYNOPSIS
     cc [ flag... ] file... -lmenu  -lcurses  [ library... ]
     #include 



     int setitemopts(ITEM *item, OPTIONS opts);


     int itemoptson(ITEM *item, OPTIONS opts);


     int itemoptsoff(ITEM *item, OPTIONS opts);


     OPTIONS itemopts(ITEM *item);


DESCRIPTION
     setitemopts() turns on the  named  options  for  item  and
     turns off all other options. Options are boolean values that
     can be OR-ed together.


     itemoptson() turns on the named options for item; no other
     option is changed.


     itemoptsoff() turns off the named  options  for  item;  no
     other option is changed.


     itemopts() returns the current options of item.

     OSELECTABLE    The item can be selected  during  menu  pro-
                     cessing.


RETURN VALUES
     Except for itemopts(), these routines  return  one  of  the
     following:

     EOK              The routine returned successfully.


     ESYSTEMEROR    System error.





SunOS 5.11          Last change: 31 Dec 1996                    1






Curses Library Functions                  menuitemopts(3CURSES)



ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     MT-Level                     Unsafe                      
    


SEE ALSO
     curses(3CURSES), menus(3CURSES), attributes(5)

NOTES
     The  header    automatically  includes  the  headers
      and .




































SunOS 5.11          Last change: 31 Dec 1996                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™