gjr@information-systems.east-anglia.ac.uk (04/09/91)
I've been trying to get the Athena scrollbar widget to operate with a one button mouse (yes, I'm using a Mac). Using a simple test program with the following translations everything works as I want. *Scrollbar.Translations: #override \n\ !Shift<Btn1Down>: StartScroll(Backward) \n\ !Ctrl<Btn1Down>: StartScroll(Continuous) MoveThumb() NotifyThumb() \n\ !Ctrl<Btn1Motion>: MoveThumb() NotifyThumb() But, when I put *VT100 in front of that and try it for an xterm, the xterm main menu pops up on Ctrl<Btn1Down>, no matter where the pointer is in the xterm (e.g. over the scrollbar). If I force the VT100 to ignore the Ctrl<Btn1Down> event then with this condition nothing happens and no event reaches the scrollbar. Is there a way of getting the above translations to work with xterm or should I seek another method. I tried it briefly with accelerators as well but also had no luck. Thanks, Graham. p.s. What I really wanted was shift btn1down to scroll back, and double click btn1down to begin continuous scrolling, but the scrollbar gets a bit confused. ------------ Graham Reynolds JANET: gjr@uk.ac.uea.sys Senior Research Associate Internet: gjr%sys.uea.ac.uk@nsfnet-relay.ac.uk School of Info. Systems UUCP: ...!mcvax!ukc!uea.sys!gjr University of East Anglia BITNET: gjr%uk.ac.uea.sys@UKACRL Norwich, NR4 7TJ, UK. Tel: +44-603-592319, Fax: +44-603-507720