summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/XtAppAddInput.man6
-rw-r--r--man/XtMalloc.man4
-rw-r--r--man/XtPopdown.man2
-rw-r--r--man/XtPopup.man8
-rw-r--r--man/XtSetArg.man4
5 files changed, 21 insertions, 3 deletions
diff --git a/man/XtAppAddInput.man b/man/XtAppAddInput.man
index b874829..3697fbd 100644
--- a/man/XtAppAddInput.man
+++ b/man/XtAppAddInput.man
@@ -120,16 +120,16 @@ XtAppAddTimeOut(__libmansuffix__),XtAppAddSignal(__libmansuffix__)
.SH "BUGS"
In ANSI C it is necessary to cast the condition to an XtPointer, e.g.:
.RS 4
-.br
+.ft CW
XtAppAddInput(app_context,
.RS 4
.br
source,
.br
-.B (XtPointer)
-(XtInputReadMask | XtInputWriteMask),
+\fB(XtPointer)\fP (XtInputReadMask | XtInputWriteMask),
.br
proc,
.br
client_data);
+.ft R
.RE
diff --git a/man/XtMalloc.man b/man/XtMalloc.man
index 7274ed8..b3f187e 100644
--- a/man/XtMalloc.man
+++ b/man/XtMalloc.man
@@ -144,7 +144,9 @@ is a convenience macro that calls
with the following arguments specified:
.LP
.RS .5i
+.ft CW
((type *) XtMalloc((unsigned) sizeof(type))
+.ft R
.RE
.LP
.B XtNewString
@@ -159,7 +161,9 @@ is a convenience macro that calls
with the following arguments specified:
.LP
.RS .5i
+.ft CW
(strcpy(XtMalloc((unsigned) strlen(str) + 1), str))
+.ft R
.RE
.LP
The
diff --git a/man/XtPopdown.man b/man/XtPopdown.man
index 9eb1446..ca14363 100644
--- a/man/XtPopdown.man
+++ b/man/XtPopdown.man
@@ -120,10 +120,12 @@ pointer:
.LP
.RS
.nf
+.ft CW
typedef struct {
Widget shell_widget;
Widget enable_widget;
} XtPopdownIDRec, *XtPopdownID;
+.ft R
.fi
.RE
.LP
diff --git a/man/XtPopup.man b/man/XtPopup.man
index 6c8b1b6..ad2286a 100644
--- a/man/XtPopup.man
+++ b/man/XtPopup.man
@@ -121,7 +121,11 @@ or
it calls:
.LP
.RS
+.ft CW
+.nf
XtAddGrab(popup_shell, (grab_kind == XtGrabExclusive), False)
+.fi
+.ft R
.RE
.IP \(bu 5
Calls
@@ -226,7 +230,11 @@ it is called with popup_shell as the parameter.
Calls:
.LP
.RS
+.ft CW
+.nf
XtAddGrab(popup_shell, (grab_kind == XtGrabExclusive), spring_loaded)
+.fi
+.ft R
.RE
.IP \(bu 5
Calls
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