Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!spool.mu.edu!uunet!atc1!prabu From: prabu@atc1.atc.com (L. Prabu) Newsgroups: comp.windows.x.motif Subject: Problem using XmText widget Message-ID: <1991Apr29.185608.12014@atc1.atc.com> Date: 29 Apr 91 18:56:08 GMT Reply-To: prabu@atc1.atc.com (L. Prabu) Distribution: usa Organization: Advanced Technology Center, Laguna Hills, CA Lines: 41 Hi Motif Xperts, I am new to Motif world, and i am trying to understand motif widgets by writing some test programs and i am using UIL to describe the layouts for the the widgets. I am having some problem using the XmText widget but, I am not sure whether i am doing something wrong or it is a bug in the Motif distribution i got. I am using Motif 1.0 with X11R4. Problem Description: I have a formdialog widget with two XmText widgets as its children. The above layout is decribed in UIL and fetched at run-time using MrmFetchWidget. The Cut and Paste operations are not behaving the way as I would expect. Following are the things i am not able to do: 1. Select a range of text by dragging the Mouse Button 1. 2. Inserting a selected text in xterm window to one of the above XmText widgets using Button 2 click. The Manual states that the above two behavior should happen by default for a XmText Widget. Am I missing something here ? Is there anything i have to set in the translation table to make this work ? Any pointers or ideas to solve this problem is greatly appriciated. please e-mail your responses to prabu@atc.com. Thanks in advance !! ----------------- L.Prabu, ------------------ Advanced Technology Center ----*---*-*-*--**** 22982 Mill Creek Drive, Laguna Hills, CA 92653. ----*-*----*----*--- Phone: (714) 583-9119 FAX: (714) 583-9213 ----*---*---*----**** Internet: prabu@atc.com'