Path: utzoo!attcan!uunet!ginosko!gem.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: Dynamic Management of Translation Tables Message-ID: <8910181444.AA03420@LYRE.MIT.EDU> Date: 18 Oct 89 14:44:55 GMT References: <5809@merlin.usc.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 17 > Surely there is a way > to have two translation tables loaded and just switch the > pointer to the proper table whenever I please?? Yes; the way to do this is by calling XtSetValues on the XtNtranslations resource. > First, is it possible to do what I am proposing. Shouldn't be too hard. We have done something similar for the R4 version of xmh. > Should I be using the structure XtTMRec? No not directly; it's an internal Xt structure. All you need is an XtTranslations opaque type, which you get from XtParseTranslationTable or from XtGetValues.