Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!corton!imag!ilan From: ilan@lifia.imag.fr (Ilan Ginsburg) Newsgroups: comp.windows.x.motif Subject: Cursor in XmText Message-ID: <21190@imag.imag.fr> Date: 3 May 91 12:35:12 GMT Sender: news@imag.imag.fr Reply-To: ilan@lifia.imag.fr (Ilan Ginsburg) Organization: LIFIA-IMAG, University of Grenoble, France Lines: 17 Nntp-Posting-Host: vega Is there anybody out there? Working with a Text Widget, I need to locate the position in the text when Button2 is Pressed or when the pointer is moved with Button2 Down. The only solution I found (for the moment) is to call the actions grab-focus() & extend-end() with every press of Button2 and movement of the pointer (with Button2 down). This is not very convenient because it calls all the actions defined in XmNselectionArray. (I could put them all to XmSELECT_POSITION but then I loose the usual copy selections). Can anybody tell me how to move the cursor to where the pointer is without doing anything else? Hope the description is clear enough... (by the way, motif version is 1.0 (modified?) and X is R4) Merci d'avance, Ilan. Ilan Ginsburg ilan@lifia.imag.fr Grenoble (the Alps) France.