[comp.windows.x] Invoking Actions

grunwald@foobar.colorado.edu (Dirk Grunwald) (09/22/89)

Is there any way an application can directly invoke an action,
without using it in the translation manager?

Essentially, I want my program to be say something like

	XtInvokeAction("action_procedure_name", <whatever args are needed>);

The idea is that I want to build a menu widget where each menu item
is the pair ("menu string", "application-action"). This would allow
users to customize the behavior of menus.

Dirk Grunwald -- Univ. of Colorado at Boulder	(grunwald@foobar.colorado.edu)

swick@ATHENA.MIT.EDU (Ralph R. Swick) (09/22/89)

> I want my program to be say something like
>
>	XtInvokeAction("action_procedure_name", <whatever args are needed>);

Such a procedure is in the proposed R4 revisions.

[oops; right text, wrong reply-to; that's what comes from trying
 out radically new u-i's :-(]