XtGetActionList(Xt) X Version 11 (Release 5) XtGetActionList(Xt)
6 January 1993
Name
XtGetActionList - retrieve list of action procedures
Syntax
void XtGetActionList(widget_class, actions_return, num_actions_return)
WidgetClass widget_class;
XtActionList *actions_return;
Cardinal *num_actions_return;
Arguments
actionsreturn
Returns the action list.
numactionsreturn
Returns the number of action procedures declared by the
class.
widgetclass Specifies the widget class whose actions are to be returned.
Description
Occasionally a subclass will require the pointers to one or more of its
superclass's action procedures. This would be needed, for example, in
order to envelope the superclass's action. To retrieve the list of
action procedures registered in the superclass's actions field, use
XtGetActionList.
XtGetActionList returns the action table defined by the specified widget
class. This table does not include actions defined by the superclasses.
If widgetclass is not initialized, or is not coreWidgetClass or a sub-
class thereof, or if the class does not define any actions,
*actionsreturn will be NULL and *numactionsreturn will be zero. If
*actionsreturn is non-NULL the client is responsible for freeing the
table using XtFree when it is no longer needed.
See also
XtAppAddActions(Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface