set_field_opts, field_opts_on,
- Provided by: ncurses-doc (Version: 6.0+20160213-1ubuntu1)
- Source: ncurses
- Report a bug
#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);
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):
These extension options are defined (extensions are off by default):
Except for field_opts, each routine returns one of the following:
ncurses(3NCURSES), form(3FORM). field_just(3FORM).
The header file <form.h> automatically includes the header file <curses.h>.
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.