XtRemoveGrab()XtRemoveGrab()NameXtRemoveGrab - redirect user input from modal widget back to normal
destination.
Synopsis
void XtRemoveGrab(w)
Widget w;
Inputs
w Specifies the widget to remove from the modal cascade.
DescriptionXtRemoveGrab() removes the specified widget from the modal cascade,
along with any widgets which were more recently added to the cascade.
It issues a warning if the specified widget is not in the modal cas‐
cade.
See XtAddGrab() for more information about the modal cascade, and how
events are dispatched to it.
Usage
The modal cascade is the set of modal widgets currently popped up. If
there is a modal cascade, XtDispatchEvent() does not deliver events to
the rest of the application; instead it ignores those events or deliv‐
ers them to a widget in the modal cascade.
To add a widget to the modal cascade, use XtAddGrab(). Note that this
function does not actually issue a grab; it simulates one by changing
the way events are dispatched.
Most applications will never need to call XtAddGrab() or XtRemoveG‐
rab(). The functions XtPopup(), XtPopupSpringLoaded(), and XtPopdown()
do so automatically.
See AlsoXtAddGrab(1), XtDispatchEvent(1), XtPopdown(1), XtPopup(1), XtPopup‐
SpringLoaded(1).
Xt - Pop Ups XtRemoveGrab()