ilan@lifia.imag.fr (Ilan Ginsburg) (05/03/91)
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.
dwight@geohub.gcn.uoknor.edu (Dwight D. Moore) (05/03/91)
How do I get rid of the cursor in a text widget?
(Using Motif 1.1 on VMS)
----------------------------------------------------------------------------
Dwight D. Moore
Geosciences Computing Network
University of Oklahoma
dwight@geohub.gcn.uoknor.edu (129.15.40.10)
----------------------------------------------------------------------------
disclaimer ()
{
if ((fp = fopen("mail", "w+")) == NULL) exit (1);
fprintf (fp, "This is my opinion.\n");
fprintf (fp, "This does not represent the opinion of OU or the GCN\n");
fclose (fp);
}