field_opts
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS
NAME
form_field_opts − set and get field options
SYNOPSIS
#include
<form.h>
int set_field_opts(FIELD *field, Field_Options opts);
int field_opts_on(FIELD *field, Field_Options opts);
int field_opts_off(FIELD *field, Field_Options opts);
Field_Options field_opts(const FIELD *field);
DESCRIPTION
The function set_field_opts sets all the given field’s option bits (field option bits may be logically-OR’ed together).
The function field_opts_on turns on the given option bits, and leaves others alone.
The function field_opts_off turns off the given option bits, and leaves others alone.
The function field_opts returns the field’s current option bits.
The following
standard options are defined (all are on by default):
O_ACTIVE
The field is visited during processing. If this option is off, the field will not be reachable by navigation keys. Please notice that an invisible field appears to be inactive also.
O_AUTOSKIP
Skip to the next field when this one fills.
O_BLANK
The field is cleared whenever a character is entered at the first position.
O_EDIT
The field can be edited.
O_NULLOK
Allow a blank field.
O_PASSOK
Validate field only if modified by user.
O_PUBLIC
The field contents are displayed as data is entered.
O_STATIC
Field buffers are fixed to field’s original size. Turn this option off to create a dynamic field.
O_VISIBLE
The field is displayed. If this option is off, display of the field is suppressed.
O_WRAP
Words that do not fit on a line are wrapped to the next line. Words are blank-separated.
One extension
option is defined (extensions are off by default):
O_DYNAMIC_JUSTIFY
Permit dynamic fields to be justified, like static fields.
RETURN VALUE
Except for field_opts, each routine returns one of the following:
E_OK |
The routine succeeded. |
E_BAD_ARGUMENT
Routine detected an incorrect or out-of-range argument.
E_CURRENT
The field is the current field.
E_SYSTEM_ERROR
System error occurred (see errno).
SEE ALSO
ncurses(3NCURSES), form(3FORM). field_just(3FORM).
NOTES
The header file <form.h> automatically includes the header file <curses.h>.
PORTABILITY
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.
AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
More Linux Commands
manpages/gjavah-4.6.1.html
gjavah-4.6(1) - - generate header files from Java class file
The gjavah program is used to generate header files from class files. It can generate both CNI and JNI header files, as well as stub implementation files which
manpages/lzless.1.html
lzless(1) - view xz or lzma compressed (text) files.........
xzless is a filter that displays text from compressed files to a terminal. It works on files compressed with xz(1) or lzma(1). If no files are given, xzless rea
manpages/UP.3ncurses.html
UP(3ncurses) - direct curses interface to the terminfo capab
These routines are included as a conversion aid for programs that use the termcap library. Their parameters are the same and the routines are emulated using the
manpages/ldap_simple_bind.3.html
ldap_simple_bind(3) - LDAP bind routines - Linux man page...
These routines provide various interfaces to the LDAP bind operation. After an association with an LDAP server is made using ldap_init(3), an LDAP bind operatio
manpages/diffstat.1.html
diffstat(1) - make histogram from diff-output (Man Page)....
This program reads the output of diff and displays a histogram of the insertions, deletions, and modifications per-file. Diffstat is a program that is useful fo
manpages/iso_8859_14.7.html
iso_8859_14(7) - ISO 8859-14 character set encoded in octal,
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-14 encodes the characters used in Celti
manpages/XSetSelectionOwner.3.html
XSetSelectionOwner(3) - manipulate window selection.........
The XSetSelectionOwner function changes the owner and last-change time for the specified selection and has no effect if the specified time is earlier than the c
manpages/Tk_GetHINSTANCE.3.html
Tk_GetHINSTANCE(3) - retrieve the global application instanc
Tk_GetHINSTANCE returns the Windows application instance handle for the Tk application. This function is only available on Windows platforms. KEYWORDS identifie
manpages/rnews.1.html
rnews(1) - Inject individual articles and UUCP batches into
rnews injects either individual articles or UUCP-style article batches into an INN server. It submits articles via IHAVE and is suitable for injecting articles
manpages/recv.2.html
recv(2) - receive a message from a socket - Linux man page
The recv(), recvfrom(), and recvmsg() calls are used to receive messages from a socket. They may be used to receive data on both connectionless and connection-o
manpages/systemd-tmpfiles-clean.service.8.html
systemd-tmpfiles-clean.service(8) Creates, deletes and clean
systemd-tmpfiles creates, deletes, and cleans up volatile and temporary files and directories, based on the configuration file format and location specified in
manpages/XChangeDeviceProperty.3.html
XChangeDeviceProperty(3) - Get, change or delete a device's
The XGetDeviceProperty function returns the actual type of the property; the actual format of the property; the number of 8-bit, 16-bit, or 32-bit items transfe
