guido@fermina.informatik.rwth-aachen.de (Guido Bunsen) (08/01/90)
Hello, I tried for several days to write an application for X11R4PL9. My problem is to end typing input into an Athena Dialog Widget just by pressing the key RETURN or key TAB instead of pressing a mousebutton in an command widget. I tried that by using an action table (almost) exactly like Douglas Young did in his book with the memo programm in chapter 2.4.5, pages 35ff. The main difference is, that I use an athena dialog widget instead of an HP static text widget. Can anybody give me a short piece of code doing what I want? Thank you very much. Guido Bunsen Technical University of Aachen Ahornstrasse 55 D-5100 Aachen Email: guido@informatik.rwth-aachen.de
swick@ATHENA.MIT.EDU (Ralph Swick) (08/02/90)
My problem is to end typing input into an Athena Dialog Widget just by pressing the key RETURN or key TAB instead of pressing a mousebutton in an command widget. Look at lines 346-353 of x11r4/lib/Xaw/TextPop.c for one way to accomplish this.