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

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

FORMS(3)

Contents


NAME    [Toc]    [Back]

     field_just, set_field_just - form library

LIBRARY    [Toc]    [Back]

     library ``libform''

SYNOPSIS    [Toc]    [Back]

     #include <form.h>

     int
     field_just(FIELD *field);

     int
     set_field_just(FIELD *field, int justification);

DESCRIPTION    [Toc]    [Back]

     Field justification is only applied to static fields, a dynamic field
     will not be justified.  The default justification for a field is NO_JUSTIFICATION.
  The field_just() will return the current justification value
     of the given field and the justification may be set by calling the
     set_field_just() function.

PARAMETERS    [Toc]    [Back]

     The following are the valid justifications for a field:

     NO_JUSTIFICATION  No justification is to be applied to the field.  In
                       practice, this is the same as JUSTIFY_LEFT.
     JUSTIFY_RIGHT     The field will be right justified.  That is, the end of
                       each line will be butted up against the right hand side
                       of the field.
     JUSTIFY_LEFT      The field will be left justified.  That is, the start
                       of each line will be butted up against the left hand
                       side of the field.
     JUSTIFY_CENTER    The field will be centre justified, padding will be
                       applied to either end of the line to make the line centred
 in the field.

RETURN VALUES    [Toc]    [Back]

     Functions returning pointers will return NULL if an error is detected.
     The functions that return an int will return one of the following error
     values:

     E_OK               The function was successful.
     E_CURRENT          The field specified is the currently active one on the
                        form.
     E_BAD_ARGUMENT     A bad argument was passed to the function.

SEE ALSO    [Toc]    [Back]

      
      
     curses(3), forms(3)

NOTES    [Toc]    [Back]

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

BSD                             January 1, 2001                            BSD
[ Back ]
 Similar pages
Name OS Title
zhptrd IRIX reduce a complex Hermitian matrix A stored in packed form to real symmetric tridiagonal form T by a unitary si
chptrd IRIX reduce a complex Hermitian matrix A stored in packed form to real symmetric tridiagonal form T by a unitary si
dsptrd IRIX reduce a real symmetric matrix A stored in packed form to symmetric tridiagonal form T by an orthogonal simila
ssptrd IRIX reduce a real symmetric matrix A stored in packed form to symmetric tridiagonal form T by an orthogonal simila
form_opts_off OpenBSD set and get form options
form_opts_on OpenBSD set and get form options
form_opts_on FreeBSD set and get form options
form_opts OpenBSD set and get form options
set_form_opts OpenBSD set and get form options
form_opts_off FreeBSD set and get form options
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service