Name
XtCallActionProc — invoke an action procedure without generating events.
Synopsis
void XtCallActionProc(widget, action, event, params, num_params)
Widget widget;
String action;
XEvent ∗event;
String ∗params;
Cardinal num_params;
Arguments
widgetSpecifies the widget in which the action is to be invoked.
actionSpecifies the name of the action routine.
eventSpecifies the contents of the event argument passed to the action routine.
paramsSpecifies the contents of the params argument passed to the action routine.
num_params
Specifies the count of entries in the params list.
Description
XtCallActionProc searches for the named action routine in the same manner and order as translation tables are bound, except that application action tables are searched, if necessary, as of the time of the call to XtCallActionProc. If found, the action routine is invoked with the specified widget, event pointer and parameters. It is the responsibility of the caller to ensure that the contents of the event, params and num_params arguments are appropriate for the specified action routine and, if necessary, that the specified widget is realized and/or sensitive. If the named action routine cannot be found, XtCallActionProc generates a warning message and returns.
See Also
XtAppAddActionHook(1), XtRemoveActionHook(1),
XtActionHookProc(2).