Path: utzoo!attcan!uunet!nih-csl!lhc!ncifcrf!haven!uflorida!rex!samsung!cs.utexas.edu!sun-barr!newstop!sun!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x.motif Subject: Re: Accelerators Message-ID: <144248@sun.Eng.Sun.COM> Date: 26 Oct 90 03:02:19 GMT References: <27685@usc.edu> Sender: news@sun.Eng.Sun.COM Organization: O'Reilly && Associates Lines: 19 In article <27685@usc.edu> curtz@skat.usc.edu (Curtz Lam) writes: > I am trying to use accelerators to activate some push bottons > from anywhere within my application. I installed the accelarators with > XtInstallAccelerators and specfied them as resources for the > particular push button widgets, but nothing seems to happen. As I understand it, you cannot use the default Xt accelerator stuff in Motif applications because it completely takes over that area in its effort to process keyboard terversal, menus, and its own accelerators. I haven't tried real hard, but the basic stuff didn't work for me either. I simply just "gave in" and used the Motif accelerator machanism. I'm not saying it's impossible --just that it's not straightforward. I can't say anything definitive--someone from OSF should do that. -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.