wong@h.cs.wvu.wvnet.edu (Hiulum Wong) (04/26/89)
I like to know how one can change the XteditType of a text widget after realizing the text widget. The manual tells me that I cannot use XtSetValues and the XtGetValues with XteditType. Then, what can I use? If you have any solutions, please e-mail to the following address. Thanks. -- Hiulum Wong wong@b.cs.wvu.wvunet.edu
converse@EXPO.LCS.MIT.EDU (Donna Converse) (04/26/89)
> I like to know how one can change the XteditType of a text > widget after realizing the text widget. You cannot change the edit type of the Athena text widget after it has been realized. > Then, what can I use? My office-mate suggests that you could dynamically change the translations to make it look like the edit type has changed. Or, you could write your own text source for the text widget, taking a look at EDiskSrc.c from xmh.
klee@daisy.UUCP (Ken Lee) (04/28/89)
In article <8904261620.AA21421@expo.lcs.mit.edu> converse@EXPO.LCS.MIT.EDU (Donna Converse) writes:
=>> I like to know how one can change the XteditType of a text
=>> widget after realizing the text widget.
=>
=>You cannot change the edit type of the Athena text widget after it
=>has been realized.
For a similar effect, try turning sensitivity on and off. An
insensitive editable text widget is almost the same as a read only
text widget. You can change sensitivy with XtSetValues() on the
XtNsensitive resource or use the XtSetSensitive() function.
--
Ken Lee
Daisy Systems Corp., Interactive Graphics Tools Dept.
Internet and Smail: klee@daisy.uucp
uucp: uunet!daisy!klee