set_field_just man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

FORMS(3)		 BSD Library Functions Manual		      FORMS(3)

NAME
     field_just, set_field_just — form library

LIBRARY
     Curses Form Library (libform, -lform)

SYNOPSIS
     #include <form.h>

     int
     field_just(FIELD *field);

     int
     set_field_just(FIELD *field, int justification);

DESCRIPTION
     Field justification is only applied to static fields, a dynamic field
     will not be justified.  The default justification for a field is NO_JUS‐
     TIFICATION.  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
     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 cen‐
		       tred in the field.

RETURN VALUES
     The functions 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
     curses(3), forms(3)

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

BSD				January 1, 2001				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net