MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Curses Library Functions                        formwin(3CURSES)



NAME
     formwin, setformwin, setformsub, formsub, scaleform -
     forms window and subwindow association routines

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

     int setformwin(FORM *form, WINDOW *win);


     WINDOW *formwin(FORM *form);


     int setformsub(FORM *form, WINDOW *sub);


     WINDOW *formsub(FORM *form);


     int scaleform(FORM *form, int *rows, int *cols);


DESCRIPTION
     setformwin() sets the window of form  to  win.  formwin()
     returns   a   pointer   to   the   window   associated  with
     form.setformsub() sets  the  subwindow  of  form  to  sub.
     formsub()  returns  a  pointer  to the subwindow associated
     with form.scaleform()  returns  the  smallest  window  size
     necessary  for  the  subwindow  of  form.  rows and cols are
     pointers to the locations used to return the number of  rows
     and columns for the form.

RETURN VALUES
     Routines that return pointers always return NUL  on  error.
     Routines that return an integer return one of the following:

     EOK               The function returnedsuccessfully.


     ESYSTEMEROR     System error.


     EBADARGUMENT     An argument is incorrect.


     ENOTCONECTED    The field is not connected to a form.


     EPOSTED           The form is posted.





SunOS 5.11          Last change: 31 Dec 1996                    1






Curses Library Functions                        formwin(3CURSES)



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



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     MT-Level                     Unsafe                      
    


SEE ALSO
     curses(3CURSES), forms(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 ™