[comp.windows.x.motif] yet another text problem

curtz@skat.usc.edu (Curtz Lam) (11/22/90)

	I have a problem with displaying the insertion point in a
"TextField" widget.  The sequence of calls look like this:

	XtSetSensitive(w, FALSE);	/* where w is a XmTextFieldWidget */
	XtSetSensitive(w, TRUE);
	XmProcessTraversal(w, XmTRAVERSE_CURRENT);

	The cursor won't show in the widget until some action is preformed
(e.g. backspacing).  I tried doing a XFlush before XmProcessTraversal, but
it didn't help either.  I am not sure if this is related to the problem with
backspacing in Text Widget, but they surely look similiar.  Thanks in advance.


							Curtz

-- 
---
Internet: curtz@usc.edu
UUCP: ...!uunet!usc!curtz

nazgul@alphalpha.com (Alphalpha Software) (11/24/90)

> 	The cursor won't show in the widget until some action is preformed
> (e.g. backspacing).  I tried doing a XFlush before XmProcessTraversal, but
> it didn't help either.  I am not sure if this is related to the problem with
> backspacing in Text Widget, but they surely look similiar.  Thanks in advance.

The Text Widget problem (in single line fields) is due to a last-minute
OSF patch.  If you back out one line it works.  If you have the source
let me know and I'll send you the fix.

I don't know about text fields though.