NAME
XtGrabKey, XtUngrabKey, XtGrabKeyboard, XtUngrabKeyboard, XtGrabButton, XtUngrabButton, XtGrabPointer, XtUngrabPointer - manage grabs
SYNTAX
void XtGrabKey(Widget widget, KeyCode keycode, Modifiers modifiers, Boolean owner_events, int pointer_mode, int keyboard_mode); void XtUngrabKey(Widget widget, KeyCode keycode, Modifiers modifiers); int XtGrabKeyboard(Widget widget, Boolean owner_events, int pointer_mode, int keyboard_mode, Time time); void XtUngrabKeyboard(Widget widget, Time time); void XtGrabButton(Widget widget, int button, Modifiers modifiers, Boolean owner_events, unsigned int event_mask, int pointer_mode, int keyboard_mode, Window confine_to, Cursor cursor); void XtUngrabButton(Widget widget, KeyCode button, Modifiers modifiers); int XtGrabPointer(Widget widget, Boolean owner_events, unsigned int event_mask, int pointer_mode, int keyboard_mode, Window confine_to, Cursor cursor, Time time); void XtUngrabPointer(Widget widget, Time time);
ARGUMENTS
widget Specifies the widget in whose window the grab will occur. Must be of class Core or a subclass thereof. keycode modifiers owner_events pointer_mode keyboard_mode time button confine_to cursor Specifies arguments to the associated Xlib function call.
DESCRIPTION
XtGrabKey calls XGrabKey specifying the widget's window as the grab window if the widget is realized. The remaining arguments are exactly as for XGrabKey. If the widget is not realized, or is later unrealized, the call to XGrabKey will be performed (again) when the widget is realized and its window becomes mapped. In the future, if XtDispatchEvent is called with a KeyPress event matching the specified keycode and modifiers (which may be AnyKey or AnyModifier, respectively) for the widget's window, the Intrinsics will call XtUngrabKeyboard with the timestamp from the KeyPress event if either of the following conditions is true: * There is a modal cascade and the widget is not in the active subset of the cascade and the keyboard was not previously grabbed, or * XFilterEvent returns True. XtUngrabKey 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. If the specified widget is realized XtGrabKeyboard calls XGrabKeyboard specifying the widget's window as the grab window. The remaining arguments and return value are exactly as for XGrabKeyboard. If the widget is not realized, XtGrabKeyboard immediately returns GrabNotViewable. No future ungrab is implied by XtGrabKeyboard. XtUngrabKeyboard calls XUngrabKeyboard with the specified time. XtGrabButton calls XGrabButton specifying the widget's window as the grab window if the widget is realized. The remaining arguments are exactly as for XGrabButton. If the widget is not realized, or is later unrealized, the call to XGrabButton will be performed (again) when the widget is realized and its window becomes mapped. In the future, if XtDispatchEvent is called with a ButtonPress event matching the specified button and modifiers (which may be AnyButton or AnyModifier, respectively) for the widget's window, the Intrinsics will call XtUngrabPointer with the timestamp from the ButtonPress event if either of the following conditions is true: * There is a modal cascade and the widget is not in the active subset of the cascade and the pointer was not previously grabbed, or * XFilterEvent returns True. XtUngrabButton calls XUngrabButton specifying the widget's window as the ungrab window if the widget is realized. The remaining arguments are exactly as for XUngrabButton. If the widget is not realized, XtUngrabButton removes a deferred XtGrabButton request, if any, for the specified widget, button, and modifiers. XtGrabPointer calls XGrabPointer specifying the widget's window as the grab window. The remaining arguments and return value are exactly as for XGrabPointer. If the widget is not realized, XtGrabPointer immediately returns GrabNotViewable. No future ungrab is implied by XtGrabPointer. XtUngrabPointer calls XUngrabPointer with the specified time.
SEE ALSO
X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface
More Linux Commands
manpages/statd.8.html
statd(8) - NSM service daemon (Admin - Linux man page)......
File locks are not part of persistent file system state. Lock state is thus lost when a host reboots. Network file systems must also detect when lock state is l
manpages/nohup.1.html
nohup(1) - run a command immune to hangups, with output to a
Run COMMAND, ignoring hangup signals. --help display this help and exit --version output version information and exit If standard input is a terminal, redirect
manpages/aa-audit.8.html
aa-audit(8) set an AppArmor security profile to audit mode.
aa-audit is used to set one or more profiles to audit mode. In this mode security policy is enforced and all access (successes and failures) are logged to the s
manpages/nc.1.html
nc(1) - arbitrary TCP and UDP connections and listens.......
The nc (or netcat) utility is used for just about anything under the sun involving TCP or UDP. It can open TCP connections, send UDP packets, listen on arbitrar
manpages/krb5-send-pr.1.html
krb5-send-pr(1) - send problem report (PR) to a central supp
krb5-send-pr is a tool used to submit problem reports (PRs) to a central support site. In most cases the correct site will be the default. This argument indicat
manpages/transport.5.html
transport(5) - Postfix transport table format (Man Page)....
The optional transport(5) table specifies a mapping from email addresses to message delivery transports and next-hop destinations. Message delivery transports s
manpages/audit_set_backlog_limit.3.html
audit_set_backlog_limit(3) - Set the audit backlog limit....
audit_set_backlog_limit sets the queue length for audit events awaiting transfer to the audit daemon. The default value is 64 which can potentially be overrun b
manpages/ausearch_next_event.3.html
ausearch_next_event(3) - find the next event that meets sear
ausearch_next_event will scan the input source and evaluate whether any record in an event contains the data being searched for. Evaluation is done at the recor
manpages/Shell.3pm.html
Shell(3pm) - run shell commands transparently within perl...
Caveats This package is included as a show case, illustrating a few Perl features. It shouldnt be used for production programs. Although it does provide a simpl
manpages/XScreenSaverQueryExtension.3.html
XScreenSaverQueryExtension(3) - X11 Screen Saver extension c
The X Window System provides support for changing the image on a display screen after a user-settable period of inactivity to avoid burning the cathode ray tube
manpages/glLightf.3gl.html
glLightf(3gl) - set light source parameters - Linux man page
glLight sets the values of individual light source parameters. light names the light and is a symbolic name of the form GL_LIGHT$i$, where 0 <= i < GL_MAX_LIGHT
manpages/gnome-keyring.1.html
gnome-keyring(1) The gnomekeyring commandline tool..........
The gnome-keyring tool can be used to interact with gnome-keyring-daemon. COMMANDS The following commands can be used: import FILE Import keys or certificates f
