summaryrefslogtreecommitdiff
path: root/man/XtGrabKey.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XtGrabKey.man')
-rw-r--r--man/XtGrabKey.man100
1 files changed, 50 insertions, 50 deletions
diff --git a/man/XtGrabKey.man b/man/XtGrabKey.man
index 1892eca..db13fc3 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
-.ZN XtGrabKey
+.BR XtGrabKey
calls
-.ZN XGrabKey
+.BR XGrabKey
specifying the widget's window as the grab window if the widget is
realized. The remaining arguments are exactly as for
-.ZN XGrabKey .
+.BR XGrabKey .
If the widget is not realized, or is later unrealized, the call to
-.ZN XGrabKey
+.BR XGrabKey
will be performed (again) when the widget is realized and its window
becomes mapped. In the future, if
-.ZN XtDispatchEvent
+.BR XtDispatchEvent
is called with a
-.ZN KeyPress
+.BR KeyPress
event matching the specified keycode and modifiers (which may be
-.ZN AnyKey
+.BR AnyKey
or
-.ZN AnyModifier ,
+.BR AnyModifier ,
respectively) for the widget's window, the Intrinsics will call
-.ZN XtUngrabKeyboard
+.BR XtUngrabKeyboard
with the timestamp from the
-.ZN KeyPress
+.BR 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
-.ZN XFilterEvent
+.BR XFilterEvent
returns
-.ZN True .
+.BR True .
.LP
-.ZN XtUngrabKey
+.BR XtUngrabKey
calls
-.ZN XUngrabKey
+.BR XUngrabKey
specifying the widget's window as the ungrab window if the widget is
realized. The remaining arguments are exactly as for
-.ZN XUngrabKey .
+.BR XUngrabKey .
If the widget is not realized,
-.ZN XtUngrabKey
+.BR XtUngrabKey
removes a deferred
-.ZN XtGrabKey
+.BR XtGrabKey
request, if any, for the specified widget, keycode, and modifiers.
.LP
If the specified widget is realized
-.ZN XtGrabKeyboard
+.BR XtGrabKeyboard
calls
-.ZN XGrabKeyboard
+.BR XGrabKeyboard
specifying the widget's window as the grab window. The remaining
arguments and return value are exactly as for
-.ZN XGrabKeyboard .
+.BR XGrabKeyboard .
If the widget is not realized,
-.ZN XtGrabKeyboard
+.BR XtGrabKeyboard
immediately returns
-.ZN GrabNotViewable .
+.BR GrabNotViewable .
No future ungrab is implied by
-.ZN XtGrabKeyboard .
+.BR XtGrabKeyboard .
.LP
-.ZN XtUngrabKeyboard
+.BR XtUngrabKeyboard
calls
-.ZN XUngrabKeyboard
+.BR XUngrabKeyboard
with the specified time.
.LP
-.ZN XtGrabButton
+.BR XtGrabButton
calls
-.ZN XGrabButton
+.BR XGrabButton
specifying the widget's window as the grab window if the widget is
realized. The remaining arguments are exactly as for
-.ZN XGrabButton .
+.BR XGrabButton .
If the widget is not realized, or is later unrealized, the call to
-.ZN XGrabButton
+.BR XGrabButton
will be performed (again) when the widget is realized and its window
becomes mapped. In the future, if
-.ZN XtDispatchEvent
+.BR XtDispatchEvent
is called with a
-.ZN ButtonPress
+.BR ButtonPress
event matching the specified button and modifiers (which may be
-.ZN AnyButton
+.BR AnyButton
or
-.ZN AnyModifier ,
+.BR AnyModifier ,
respectively) for the widget's window, the Intrinsics will call
-.ZN XtUngrabPointer
+.BR XtUngrabPointer
with the timestamp from the
-.ZN ButtonPress
+.BR 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
-.ZN XFilterEvent
+.BR XFilterEvent
returns
-.ZN True .
+.BR True .
.LP
-.ZN XtUngrabButton
+.BR XtUngrabButton
calls
-.ZN XUngrabButton
+.BR XUngrabButton
specifying the widget's window as the ungrab window if the widget is
realized. The remaining arguments are exactly as for
-.ZN XUngrabButton .
+.BR XUngrabButton .
If the widget is not realized,
-.ZN XtUngrabButton
+.BR XtUngrabButton
removes a deferred
-.ZN XtGrabButton
+.BR XtGrabButton
request, if any, for the specified widget, button, and modifiers.
.LP
-.ZN XtGrabPointer
+.BR XtGrabPointer
calls
-.ZN XGrabPointer
+.BR XGrabPointer
specifying the widget's window as the grab window. The remaining
arguments and return value are exactly as for
-.ZN XGrabPointer .
+.BR XGrabPointer .
If the widget is not realized,
-.ZN XtGrabPointer
+.BR XtGrabPointer
immediately returns
-.ZN GrabNotViewable .
+.BR GrabNotViewable .
No future ungrab is implied by
-.ZN XtGrabPointer .
+.BR XtGrabPointer .
.LP
-.ZN XtUngrabPointer
+.BR XtUngrabPointer
calls
-.ZN XUngrabPointer
+.BR XUngrabPointer
with the specified time.
.SH "SEE ALSO"
.br