tomw@orac.esd.sgi.com (Tom Weinstein) (09/17/90)
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? What I'm trying to do is make a dialog box that will accept input for the text widget from anywhere in the box. -- Tom Weinstein Silicon Graphics, Inc., Entry Systems Division, Window Systems tomw@orac.esd.sgi.com Any opinions expressed above are mine, not sgi's.
converse@EXPO.LCS.MIT.EDU (09/19/90)
> 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