X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fform_field_opts.3x;h=96338e295eef51f2c7d7df770510c14a9e3a359a;hp=d1076722e6b79f7ac131c5628cb1e09b74f60b33;hb=fae162795e065e5901068152e91f2962b6b247f3;hpb=eccca377f55c70b12e3e92621d94d1e1c1fcfb7d diff --git a/man/form_field_opts.3x b/man/form_field_opts.3x index d1076722..96338e29 100644 --- a/man/form_field_opts.3x +++ b/man/form_field_opts.3x @@ -1,6 +1,7 @@ '\" t .\"*************************************************************************** -.\" Copyright (c) 1998-2018,2019 Free Software Foundation, Inc. * +.\" Copyright 2018-2019,2020 Thomas E. Dickey * +.\" Copyright 1998-2014,2015 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -27,7 +28,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: form_field_opts.3x,v 1.24 2019/01/20 20:19:03 tom Exp $ +.\" $Id: form_field_opts.3x,v 1.27 2020/10/18 00:11:45 tom Exp $ .TH form_field_opts 3X "" .SH NAME \fBset_field_opts\fP, @@ -36,14 +37,14 @@ \fBfield_opts\fP \- set and get field options .SH SYNOPSIS \fB#include \fR +.sp +\fBint set_field_opts(FIELD *\fP\fIfield\fP\fB, Field_Options \fP\fIopts\fP\fB);\fP .br -int set_field_opts(FIELD *field, Field_Options opts); +\fBField_Options field_opts(const FIELD *\fP\fIfield\fP\fB);\fP +.sp +\fBint field_opts_on(FIELD *\fP\fIfield\fP\fB, Field_Options \fP\fIopts\fP\fB);\fP .br -int field_opts_on(FIELD *field, Field_Options opts); -.br -int field_opts_off(FIELD *field, Field_Options opts); -.br -Field_Options field_opts(const FIELD *field); +\fBint field_opts_off(FIELD *\fP\fIfield\fP\fB, Field_Options \fP\fIopts\fP\fB);\fP .br .SH DESCRIPTION The function \fBset_field_opts\fR sets all the given field's option bits (field