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

# XtGetActionList(3)

obtain class action list

## NAME

XtGetActionList - obtain class action list

## SYNTAX

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

void XtGetActionList(WidgetClass *widget\_class*, XtActionList\* *actions\_return*, Cardinal\* *num\_actions\_return*);

## ARGUMENTS

- *widget\_class*

  Specifies the widget class whose actions are to be returned.

- *actions\_return*

  Returns the action list.

- *num\_actions\_return*

  Returns the number of action procedures declared by the class.

## DESCRIPTION

**XtGetActionList** returns the action table defined by the specified widget class. This table does not include actions defined by the superclasses. If *widget\_class* is not initialized, or is not **coreWidgetClass** or a subclass thereof, or if the class does not define any actions, \**actions\_return* will be NULL and \**num\_actions\_return* will be zero. If \**actions\_return* is non-NULL the client is responsible for freeing the table using **XtFree** when it is no longer needed.

## SEE ALSO

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