---
name: "XtRegisterGrabAction"
section: "3"
platform: "linux"
package: "libxt"
version: "1.3.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XtRegisterGrabAction"
---

# XtRegisterGrabAction(3)

register button and key grabs

## NAME

XtRegisterGrabAction - register button and key grabs

## SYNTAX

\#include \<X11/Intrinsic.h\>

void XtRegisterGrabAction(XtActionProc *action\_proc*, Boolean *owner\_events*, unsigned int *event\_mask*, int *pointer\_mode*, int *keyboard\_mode*);

## ARGUMENTS

- *action\_proc*

  Specifies the action procedure to search for in translation tables.

- *action*

  - *event*

  - *params*

  - *num\_params*

  Specify arguments to **XtGrabButton** or **XtGrabKey**

## DESCRIPTION

**XtRegisterGrabAction** adds the specified *action\_proc* to a list known to the translation manager.

## SEE ALSO

*X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
