summaryrefslogtreecommitdiff
path: root/man/XtGrabKey.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XtGrabKey.man')
-rw-r--r--man/XtGrabKey.man72
1 files changed, 36 insertions, 36 deletions
diff --git a/man/XtGrabKey.man b/man/XtGrabKey.man
index db13fc3..0998a98 100644
--- a/man/XtGrabKey.man
+++ b/man/XtGrabKey.man
@@ -118,125 +118,125 @@ class Core or a subclass thereof.
.IP \fIcursor\fP 1i
Specifies arguments to the associated Xlib function call.
.SH DESCRIPTION
-.BR XtGrabKey
+.B XtGrabKey
calls
-.BR XGrabKey
+.B XGrabKey
specifying the widget's window as the grab window if the widget is
realized. The remaining arguments are exactly as for
.BR XGrabKey .
If the widget is not realized, or is later unrealized, the call to
-.BR XGrabKey
+.B XGrabKey
will be performed (again) when the widget is realized and its window
becomes mapped. In the future, if
-.BR XtDispatchEvent
+.B XtDispatchEvent
is called with a
-.BR KeyPress
+.B KeyPress
event matching the specified keycode and modifiers (which may be
-.BR AnyKey
+.B AnyKey
or
.BR AnyModifier ,
respectively) for the widget's window, the Intrinsics will call
-.BR XtUngrabKeyboard
+.B XtUngrabKeyboard
with the timestamp from the
-.BR KeyPress
+.B KeyPress
event if either of the following conditions is true:
.IP \(bu 3
There is a modal cascade and the widget is not in the active subset
of the cascade and the keyboard was not previously grabbed, or
.IP \(bu 3
-.BR XFilterEvent
+.B XFilterEvent
returns
.BR True .
.LP
-.BR XtUngrabKey
+.B XtUngrabKey
calls
-.BR XUngrabKey
+.B XUngrabKey
specifying the widget's window as the ungrab window if the widget is
realized. The remaining arguments are exactly as for
.BR XUngrabKey .
If the widget is not realized,
-.BR XtUngrabKey
+.B XtUngrabKey
removes a deferred
-.BR XtGrabKey
+.B XtGrabKey
request, if any, for the specified widget, keycode, and modifiers.
.LP
If the specified widget is realized
-.BR XtGrabKeyboard
+.B XtGrabKeyboard
calls
-.BR XGrabKeyboard
+.B XGrabKeyboard
specifying the widget's window as the grab window. The remaining
arguments and return value are exactly as for
.BR XGrabKeyboard .
If the widget is not realized,
-.BR XtGrabKeyboard
+.B XtGrabKeyboard
immediately returns
.BR GrabNotViewable .
No future ungrab is implied by
.BR XtGrabKeyboard .
.LP
-.BR XtUngrabKeyboard
+.B XtUngrabKeyboard
calls
-.BR XUngrabKeyboard
+.B XUngrabKeyboard
with the specified time.
.LP
-.BR XtGrabButton
+.B XtGrabButton
calls
-.BR XGrabButton
+.B XGrabButton
specifying the widget's window as the grab window if the widget is
realized. The remaining arguments are exactly as for
.BR XGrabButton .
If the widget is not realized, or is later unrealized, the call to
-.BR XGrabButton
+.B XGrabButton
will be performed (again) when the widget is realized and its window
becomes mapped. In the future, if
-.BR XtDispatchEvent
+.B XtDispatchEvent
is called with a
-.BR ButtonPress
+.B ButtonPress
event matching the specified button and modifiers (which may be
-.BR AnyButton
+.B AnyButton
or
.BR AnyModifier ,
respectively) for the widget's window, the Intrinsics will call
-.BR XtUngrabPointer
+.B XtUngrabPointer
with the timestamp from the
-.BR ButtonPress
+.B ButtonPress
event if either of the following conditions is true:
.IP \(bu 3
There is a modal cascade and the widget is not in the active subset
of the cascade and the pointer was not previously grabbed, or
.IP \(bu 3
-.BR XFilterEvent
+.B XFilterEvent
returns
.BR True .
.LP
-.BR XtUngrabButton
+.B XtUngrabButton
calls
-.BR XUngrabButton
+.B XUngrabButton
specifying the widget's window as the ungrab window if the widget is
realized. The remaining arguments are exactly as for
.BR XUngrabButton .
If the widget is not realized,
-.BR XtUngrabButton
+.B XtUngrabButton
removes a deferred
-.BR XtGrabButton
+.B XtGrabButton
request, if any, for the specified widget, button, and modifiers.
.LP
-.BR XtGrabPointer
+.B XtGrabPointer
calls
-.BR XGrabPointer
+.B XGrabPointer
specifying the widget's window as the grab window. The remaining
arguments and return value are exactly as for
.BR XGrabPointer .
If the widget is not realized,
-.BR XtGrabPointer
+.B XtGrabPointer
immediately returns
.BR GrabNotViewable .
No future ungrab is implied by
.BR XtGrabPointer .
.LP
-.BR XtUngrabPointer
+.B XtUngrabPointer
calls
-.BR XUngrabPointer
+.B XUngrabPointer
with the specified time.
.SH "SEE ALSO"
.br