XtRegisterGrabAction - register button and key grabs
#include <X11/Intrinsic.h>
void XtRegisterGrabAction(XtActionProc action_proc, Boolean owner_events, unsigned int event_mask, int pointer_mode, int keyboard_mode);
Specifies the action procedure to search for in translation tables.
Specify arguments to XtGrabButton or XtGrabKey
XtRegisterGrabAction adds the specified action_proc to a list known to the translation manager.
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface