XtGetActionList()XtGetActionList()NameXtGetActionList - get the action table of a widget class.
Synopsis
void XtGetActionList(widget_class, actions_return, num_actions_return)
WidgetClass widget_class;
XtActionList *actions_return;
Cardinal *num_actions_return;
Inputs
widget_class Specifies the widget class whose action table is to be
returned; must be coreWidgetClass or any subclass.
Outputs
actions_return Returns the action table of the widget class.
num_actions_return
Returns the number of elements in the action table.
Availability
Release 5 and later.
DescriptionXtGetActionList returns the action table defined by widget_class in
actions_return. This table does not include actions defined by the
superclasses.
If widget_class is not initialized, or is not coreWidgetClass or a sub‐
class thereof, or if the class does not define any actions, NULL will
be returned in actions_return and zero will be returned in
num_actions_return. If a non-NULL action table is returned, the appli‐
cation is responsible for freeing the table using XtFree() when it is
no longer needed.
Structures
The XtActionsRec structure and the XtActionList type are defined as
follows:
typedef struct _XtActionsRec{
String string;
XtActionProc proc;
} XtActionsRec;
typedef struct _XtActionsRec *XtActionList;
See AlsoXtActionProc(2).
Xt - Translations and Actions XtGetActionList()