Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!griffin!pwm From: pwm@griffin.UUCP (Paul W. McClure) Newsgroups: comp.windows.x Subject: Open Look Text Widgets Keywords: Open Look Message-ID: <206@griffin.UUCP> Date: 3 Aug 89 17:50:19 GMT Distribution: usa Organization: Phoenix Telecom, Inc., Rochester, NY Lines: 25 I'm using Open Look with X11R2 and have a question regarding Text Widgets. It is similar to a recent posting for the Athena toolkit. I need access to selected text and its beginning coordinates in my application. I've tried to add actions and augment or override translations, for example; ": myaction()" Updating the translation table for an Open Look Text Widget does not seem to work (myaction() is never executed). I've also tried adding an event handler for ButtonPressMask. This makes the coordinates available (through the event structure) but changes the behavior of Button1. Wipe through selections now begin at (0,0), rather than where Button1 was pressed. Also for the Text Widget: - I would like to set compress_motion for the Text Widget and - access the original translation table but have not had any luck doing so. Any suggestions would be appreciated -thank you Paul McClure Phoenix Telecom Inc. uunet!fenicks!pwm