Path: utzoo!attcan!uunet!sunquest!mark From: mark@sunquest.UUCP (Mark Langley) Newsgroups: comp.windows.x Subject: Invoking XtActionProcs Keywords: X Toolkit XtActionProc Translation Message-ID: <149@sunquest.UUCP> Date: 23 Sep 88 17:00:27 GMT Organization: Sunquest Information Systems, Tucson Lines: 31 I have an application in which I need to invoke an XtActionProc explicitly, without going through the translation manager. That is, I want to access an action specified by name. I would think the code should look something like this XtCallActionProc( "f(1,2,3)" ); Put another way, the problem is that my program wishes to handle events that are not within the domain of the translation manager. I want to call the same function that the translation manager calls to invoke an action. The way the toolkit is set up, it is possible to create new actions, and give them names, but it is impossible to access old ones. It seems like implementing this would simply be providing access to an already exisiting mechanism. Namely, it is making the translation manager's well documented mechanism to call an ActionProc by ascii name, and making it available as a general tool. Any hope that this will be added in R3? Maybe it is already available, and I am just missing something? Thanks! Mark Langley mark@sunquest.com