summaryrefslogtreecommitdiff
path: root/man/XtSetArg.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XtSetArg.man')
-rw-r--r--man/XtSetArg.man4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/XtSetArg.man b/man/XtSetArg.man
index 7d1c164..c9e95fa 100644
--- a/man/XtSetArg.man
+++ b/man/XtSetArg.man
@@ -92,6 +92,7 @@ minimize the probability of making a mistake; for example:
.LP
.RS
.nf
+.ft CW
Arg args[20];
int n;
@@ -99,6 +100,7 @@ n = 0;
XtSetArg(args[n], XtNheight, 100); n++;
XtSetArg(args[n], XtNwidth, 200); n++;
XtSetValues(widget, args, n);
+.ft R
.fi
.RE
.LP
@@ -108,11 +110,13 @@ and use
.LP
.RS
.nf
+.ft CW
static Args args[] = {
{XtNheight, (XtArgVal) 100},
{XtNwidth, (XtArgVal) 200},
};
XtSetValues(Widget, args, XtNumber(args));
+.ft R
.fi
.RE
.LP