mark@sunquest.UUCP (Mark Langley) (09/24/88)
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
swick@ATHENA.MIT.EDU (Ralph R. Swick) (09/24/88)
This suggestion is an interesting one that warrants future consideration. It will not be implemented in R3. Among the issues to be considered: Is there a widget context associated with your proposed XtCallActionProc? Is there an XEvent?