XtAddActions()XtAddActions()NameXtAddActions - register an action table with the Translation Manager.
Synopsis
void XtAddActions(actions, num_actions)
XtActionList actions;
Cardinal num_actions;
Inputs
actions Specifies the action table to register.
num_actions
Specifies the number of entries in this action table.
Availability
Superseded by XtAppAddActions().
DescriptionXtAddActions() registers actions, an array of num_actions XtActionsRec
structures with the Translation Manager. Each element of the array
contains an action name and an action procedure pointer. When a named
action is invoked through a translation table, the procedure to be
called is looked up in the action tables that have been registered.
UsageXtAddActions() has been superseded by XtAppAddActions(), which performs
the same function on a per-application context basis. XtAddActions()
now calls XtAppAddActions() passing the default application context
created by XtInitialize(). Very few programs need multiple application
contexts, and you can continue to use XtAddActions() if you initialize
your application with XtInitialize(). We recommend, however, that you
use XtAppInitialize(), XtAppAddActions(), and the other XtApp*() appliā
cation context specific functions.
See XtAppAddActions() for more information about how to use actions.
See AlsoXtAppAddActions(1),
XtActionProc(2).
Xt - Translations and Actions XtAddActions()