summaryrefslogtreecommitdiff
path: root/man/XtSetArg.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XtSetArg.man')
-rw-r--r--man/XtSetArg.man20
1 files changed, 10 insertions, 10 deletions
diff --git a/man/XtSetArg.man b/man/XtSetArg.man
index 33fc0cc..e9a1807 100644
--- a/man/XtSetArg.man
+++ b/man/XtSetArg.man
@@ -70,10 +70,10 @@ ArgList XtMergeArgLists(ArgList \fIargs1\fP, Cardinal \fInum_args1\fP, ArgList
Specifies the name-value pair to set.
.IP \fIargs1\fP 1i
Specifies the first
-.ZN ArgList .
+.BR ArgList .
.IP \fIargs2\fP 1i
Specifies the second
-.ZN ArgList .
+.BR ArgList .
.IP \fInum_args1\fP 1i
Specifies the number of arguments in the first argument list.
.IP \fInum_args2\fP 1i
@@ -82,11 +82,11 @@ Specifies the number of arguments in the second argument list.
Specifies the name of the resource.
.IP \fIvalue\fP 1i
Specifies the value of the resource if it will fit in an
-.ZN XtArgVal
+.BR XtArgVal
or the address.
.SH DESCRIPTION
The
-.ZN XtSetArg
+.BR XtSetArg
function is usually used in a highly stylized manner to
minimize the probability of making a mistake; for example:
.LP
@@ -102,7 +102,7 @@ XtSetValues(widget, args, n);
.LP
Alternatively, an application can statically declare the argument list
and use
-.ZN XtNumber :
+.BR XtNumber :
.LP
.Ds
static Args args[] = {
@@ -114,19 +114,19 @@ XtSetValues(Widget, args, XtNumber(args));
.LP
Note that you should not use auto-increment or auto-decrement
within the first argument to
-.ZN XtSetArg .
-.ZN XtSetArg
+.BR XtSetArg .
+.BR XtSetArg
can be implemented as a macro that dereferences the first argument twice.
.LP
The
-.ZN XtMergeArgLists
+.BR XtMergeArgLists
function allocates enough storage to hold the combined
-.ZN ArgList
+.BR ArgList
structures and copies them into it.
Note that it does not check for duplicate entries.
When it is no longer needed,
free the returned storage by using
-.ZN XtFree .
+.BR XtFree .
.SH "SEE ALSO"
XtOffset(__libmansuffix__)
.br