summaryrefslogtreecommitdiff
path: root/man/XtNameToWidget.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XtNameToWidget.man')
-rw-r--r--man/XtNameToWidget.man12
1 files changed, 6 insertions, 6 deletions
diff --git a/man/XtNameToWidget.man b/man/XtNameToWidget.man
index c0a247c..6784c1d 100644
--- a/man/XtNameToWidget.man
+++ b/man/XtNameToWidget.man
@@ -76,7 +76,7 @@ Specifies the widget from which the search is to start.
Specify the window for which you want the widget.
.SH DESCRIPTION
The
-.BR XtNameToWidget
+.B XtNameToWidget
function looks for a widget whose name is the first component in the specified
names and that is a pop-up child of reference (or a normal child if reference
is a subclass of
@@ -84,7 +84,7 @@ is a subclass of
It then uses that widget as the new reference and repeats the search
after deleting the first component from the specified names.
If it cannot find the specified widget,
-.BR XtNameToWidget
+.B XtNameToWidget
returns NULL.
.LP
Note that the names argument contains the name of a widget with respect to the
@@ -93,20 +93,20 @@ specified reference widget and can contain more than one widget name
of the specified reference widget.
.LP
If more than one child of the reference widget matches the name,
-.BR XtNameToWidget
+.B XtNameToWidget
can return any of the children.
The \*(xI do not require that all children of a widget have unique names.
If the specified names contain more than one component
and if more than one child matches the first component,
-.BR XtNameToWidget
+.B XtNameToWidget
can return NULL if the single branch that it follows does not
contain the named widget.
That is,
-.BR XtNameToWidget
+.B XtNameToWidget
does not back up and follow other matching branches of the widget tree.
.LP
The
-.BR XtWindowToWidget
+.B XtWindowToWidget
function translates the specified window and display pointer into the
appropriate widget instance.
.SH "SEE ALSO"