Name
XtUngrabKey — cancel a passive key grab.
Synopsis
void XtUngrabKey(widget, keycode, modifiers)
Widget widget;
KeyCode keycode;
Modifiers modifiers;
Arguments
widgetSpecifies the widget in whose window the key was grabbed.
keycodeSpecifies the keycode. This keycode maps to the specific key you want to ungrab. Pass either a keycode or AnyKey.
modifiersSpecifies a set of keymasks. This is a bitwise OR of one or more of the following symbols: ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask, or AnyModifier. AnyModifier is equivalent to issuing the ungrab key request for all possible modifier combinations (including no modifiers).
Description
The XtUngrabKey procedure calls XUngrabKey specifying the widget’s window as the ungrab window, if the widget is realized. The remaining arguments are exactly as for XUngrabKey. If the widget is not realized XtUngrabKey removes a deferred XtGrabKey request, if any, for the specified widget, keycode and modifiers.
See Also
XtGrabButton(1), XtGrabKey(1), XtGrabKeyboard(1), XtGrabPointer(1), XtSetKeyboardFocus(1), XtUngrabButton(1), XtUngrabKeyboard(1), XtUngrabPointer(1).