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(5) for descriptions of the following attributes:
|
curses(3CURSES), forms(3CURSES), attributes(5)
The header <form.h> automatically includes the headers <eti.h> and <curses.h>.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |