Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!udel!wuarchive!cs.utexas.edu!ut-emx!lad-shrike!milano!catalonia.sw.mcc.com!siebers From: siebers@catalonia.sw.mcc.com (Greg Siebers) Newsgroups: comp.windows.open-look Subject: Using the Xt Translation Manager with XView Message-ID: <5196@catalonia.sw.mcc.com> Date: 21 May 91 19:01:55 GMT Reply-To: siebers@catalonia.sw.mcc.com () Organization: MCC, Austin, Texas Lines: 33 We have an XView application with which we would like to use the Xt Intrinsics' Translation Manager to assign action procedures to user-specified input events. I was wondering if someone else had attempted this already, or if anyone had some idea of how difficult this task might be. I assume that I will not be able to do something as simple as calling the following functions during start-up: XtToolkitInitialize() to initialize data structures somehow create an Xt widget out of an XView window XtAddActions() to register the action procedures XtParseTranslationTable() to compile the translation table XtAugmentTranslations() to install the compiled translations and then calling XtDispatchEvent() -- or perhaps _XtTranslateEvent() -- from the XView WIN_EVENT_PROC to see whether the current event can be dispatched to an action procedure. If there is no chance of (something like) the above working, do you think that the best approach would be to reproduce the Translation Manager functionality in the application code -- perhaps using as much of the Xt Intrinsics TM code as possible? Thanks very much for your advice. ----------------------------------------------------------------- Gregory R. Siebers | MAIL: P.O. Box 200195, Austin, TX 78720 MCC SW Technology | ARPA: siebers@mcc.com (512) 338-3656 | UUCP: ...!cs.utexas.edu!milano!siebers -----------------------------------------------------------------