grab_key(+Key, +ModifiersMask, +GrabWindow, +OwnerEvents, +PointerMode, +KeyboardMode)
Establishes a passive grab on the keyboard, to be activated when the given key and modifiers are pressed while the pointer is in the window.
Key is the key that should be pressed. Possible values are:
ModifiersMask is one of:
modifiers_mask/2is useful to translate between modifier specifications and bitmasks.
Window is the ProXL window to which events will be reported while the grab is in effect.
OwnerEvents is one of:
PointerMode controls further processing of pointer events:
allow_events/[1,2,3]or the pointer grab is released.
KeyboardMode controls further processing of keyboard events:
allow_events/[1,2,3]or the keyboard grab is released.