summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-04-21 14:26:17 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-04-21 18:28:02 -0400
commitf89906ffa8b65b9875053acbd52a7380a21c626f (patch)
treea0bea9c16eabf3ef27569dc62d7c7fd8c897ead1 /man
parent5d5811668fd06d50d8ff6f22159325e2328d0ee8 (diff)
move MenuPopdown and MenuPopup to section to distinguish these actions from C prototypes (and use the "Xt" prefix for these names as implemented since X11R4).
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'man')
-rw-r--r--man/XtPopdown.man9
-rw-r--r--man/XtPopup.man15
2 files changed, 13 insertions, 11 deletions
diff --git a/man/XtPopdown.man b/man/XtPopdown.man
index 099cb83..73aaeaf 100644
--- a/man/XtPopdown.man
+++ b/man/XtPopdown.man
@@ -43,8 +43,9 @@ void XtPopdown(Widget \fIpopup_shell\fP);
.HP
void XtCallbackPopdown(Widget \fIw\fP, XtPointer \fIclient_data\fP, XtPointer
\fIcall_data\fP);
+.SH ACTIONS
.HP
-void MenuPopdown(String \fIshell_name\fP);
+void XtMenuPopdown(String \fIshell_name\fP);
.SH ARGUMENTS
.IP \fIcall_data\fP 1i
Specifies the callback data,
@@ -117,12 +118,12 @@ and then calls
to resensitize the enable_widget.
.LP
If a shell name is not given,
-.B MenuPopdown
+.B XtMenuPopdown
calls
.B XtPopdown
with the widget for which the translation is specified.
If a shell_name is specified in the translation table,
-.B MenuPopdown
+.B XtMenuPopdown
tries to find the shell by looking up the widget tree starting at the
parent of the widget in which it is invoked.
If it finds a shell with the specified name in the pop-up children
@@ -130,7 +131,7 @@ of that parent,
it pops down the shell;
otherwise, it moves up the parent chain as needed.
If
-.B MenuPopdown
+.B XtMenuPopdown
gets to the application top-level shell widget
and cannot find a matching shell,
it generates an error.
diff --git a/man/XtPopup.man b/man/XtPopup.man
index 0ddba90..3bacbf7 100644
--- a/man/XtPopup.man
+++ b/man/XtPopup.man
@@ -52,8 +52,9 @@ XtPointer \fIcall_data\fP);
.HP
void XtCallbackExclusive(Widget \fIw\fP, XtPointer \fIclient_data\fP,
XtPointer \fIcall_data\fP);
+.SH ACTIONS
.HP
-void MenuPopup(String \fIshell_name\fP);
+void XtMenuPopup(String \fIshell_name\fP);
.SH ARGUMENTS
.IP \fIcall_data\fP 1i
Specifies the callback data,
@@ -155,18 +156,18 @@ an application must provide customized code for
callbacks that create pop-up shells dynamically or that must do more than
desensitizing the button.
.LP
-.B MenuPopup
+.B XtMenuPopup
is known to the translation manager,
which must perform special actions for spring-loaded pop-ups.
Calls to
-.B MenuPopup
+.B XtMenuPopup
in a translation specification are mapped into calls to a
nonexported action procedure,
and the translation manager fills in parameters
based on the event specified on the left-hand side of a translation.
.LP
If
-.B MenuPopup
+.B XtMenuPopup
is invoked on
.B ButtonPress
(possibly with modifiers),
@@ -175,7 +176,7 @@ the translation manager pops up the shell with grab_kind set to
and spring_loaded set to
.BR True .
If
-.B MenuPopup
+.B XtMenuPopup
is invoked on
.B EnterWindow
(possibly with modifiers),
@@ -225,14 +226,14 @@ with popup_shell specified.
.LP
(Note that these actions are the same as those for
.BR XtPopup .)
-.B MenuPopup
+.B XtMenuPopup
tries to find the shell by searching the widget tree starting at
the parent of the widget in which it is invoked.
If it finds a shell with the specified name in the pop-up children of
that parent, it pops up the shell with the appropriate parameters.
Otherwise, it moves up the parent chain as needed.
If
-.B MenuPopup
+.B XtMenuPopup
gets to the application widget and cannot find a matching shell,
it generates an error.
.SH "SEE ALSO"