Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtUngrabKey(3Xm) — RISC iX 1.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtGrabKey(3Xm)

XtUngrabKey(3Xm)  —  UNIX Programmer’s Manual

NAME

XtUngrabKey — a function that cancels a passive grab on a key combination.

SYNOPSIS

#include <X11/PassivGrab.h> void XtUngrabKey (widget, keycode, modifiers)
Widgetwidget;
Keycodekeycode;
unsigned int modifiers;

DESCRIPTION

XtUngrabKey cancels the passive grab on the key combination on the specified widget and allows the client to redirect the specified key event to the root widget of a hierarchy. 

widgetSpecifies the root widget to the XtUngrabKey call. 

keycodeSpecifies the Keycode.  This maps to the specific key to be grabbed. 

modifiersSpecifies the set of keymasks.  This mask is the bitwise inclusive OR of these keymask bits:  ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask.  You can also pass AnyModifier, which is equivalent to issuing the ungrab key request for all possible modifier combinations, including the combination of no modifiers. 

RELATED INFORMATION

XtGrabKey(3Xm). 

7th Edition

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026