Unix and Linux Discussions Tagged with grab |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
2,605 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
3,171 |
Shell Programming and Scripting |
|
|
|
36 |
129,032 |
IP Networking |
|
|
|
0 |
6,600 |
OS X (Apple) |
|
|
|
7 |
4,491 |
Shell Programming and Scripting |
|
|
|
0 |
738 |
Software Releases - RSS News |
|
|
|
0 |
1,524 |
Software Releases - RSS News |
|
|
|
3 |
2,161 |
Shell Programming and Scripting |
|
|
|
0 |
1,105 |
Software Releases - RSS News |
|
|
|
9 |
7,659 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,823 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
11,309 |
Shell Programming and Scripting |
|
|
|
3 |
2,853 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,230 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,048 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
31,241 |
Where do I download LINUX & UNIX? |
|
|
|
3 |
7,301 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
14,216 |
UNIX for Dummies Questions & Answers |
XtUngrabKeyboard() XtUngrabKeyboard()
Name
XtUngrabKeyboard - release an active keyboard grab.
Synopsis
void XtUngrabKeyboard(widget, time)
Widget widget;
Time time;
Inputs
widget Specifies the widget which has the active keyboard grab.
time Specifies the time when the grab should end. CurrentTime is acceptable.
Availability
Release 4 and later.
Description
XtUngrabKeyboard() releases an active keyboard grab by calling XUngrabKeyboard(), passing the display of widget and time.
The time argument may be a timestamp or the constant CurrentTime. If the specified time is earlier than the last-keyboard-grab time or
later than the current server time the keyboard will not be ungrabbed.
See XtGrabKeyboard() for more information about grabbing the keyboard.
Usage
Most applications will never need to issue a grab. XtAddGrab() (called by XtPopup()) can be used to implement modal popups inside an
application, and XtSetKeyboardFocus() can be used to redirect keyboard focus within an application. Neither function actually issues a
grab, and so does not interrupt event processing by other clients.
See Also
XtAddGrab(1), XtGrabButton(1), XtGrabKey(1), XtGrabKeyboard(1), XtGrabPointer(1), XtSetKeyboardFocus(1), XtUngrabButton(1), XtUngrabKey(1),
XtUngrabPointer(1).
Xt - Keyboard Handling XtUngrabKeyboard()