Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: need help with Xt Accelerators Message-ID: <9009191557.AA18629@excess.lcs.mit.edu> Date: 19 Sep 90 15:57:57 GMT References: Sender: root@athena.mit.edu (Wizard A. Root) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 22 > Is there an easy way to take all of a widget's translations and add them > as accelerators so that other widgets can attach them? There probably is a way, but I really think that you shouldn't do it. > What I'm trying > to do is make a dialog box that will accept input for the text widget > from anywhere in the box. Set the keyboard focus for the entire dialog box to the text widget. See XtSetKeyboardFocus(). Incidentally, if the code for an application's dialog box includes a call to XtInstallAllAccelerators with the source and destination both set to the popup shell, it gives the user freedom to define accelerators for actions of any widget in the dialog box, through the resource manager. Donna Converse converse@expo.lcs.mit.edu