X Version 11 (Release 5)
XtGetActionList(Xt)
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
actions_return -
Returns the action list.
num_actions_return-
Returns the number of action procedures declared by the class.
widget_class -
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 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
XtAppAddActions(Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003