FORM_FIELD_OPTS(3CURSES) | Curses Library Functions | FORM_FIELD_OPTS(3CURSES) |
form_field_opts, set_field_opts, field_opts_on, field_opts_off, field_opts - forms field option routines
cc [ flag... ] file... -lform -lcurses [ library... ] #include <form.h> int set_field_opts(FIELD *field, OPTIONS opts);
int set_field_opts(FIELD *field, OPTIONS opts);
int field_opts_on(FIELD *field, OPTIONS opts);
int field_opts_off(FIELD *field, OPTIONS opts);
OPTIONS field_opts(FIELD *field);
set_field_opts() turns on the named options of field and turns off all remaining options. Options are boolean values that can be OR-ed together.
field_opts_on() turns on the named options; no other options are changed.
field_opts_off() turns off the named options; no other options are changed.
field_opts() returns the options set for field.
O_VISIBLE
O_ACTIVE
O_PUBLIC
O_EDIT
O_WRAP
O_BLANK
O_AUTOSKIP
O_NULLOK
O_STATIC
O_PASSOK
set_field_opts, field_opts_on and field_opts_off return one of the following:
E_OK
E_SYSTEM_ERROR
E_CURRENT
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
MT-Level | Unsafe |
The header <form.h> automatically includes the headers <eti.h> and <curses.h>.
December 31, 1996 | OmniOS |