Parent document is top of "Motif FAQ (Part 4 of 9)"
Previous document is "107) Can I customize the pointer cursor or insert position indicator"
Next document is "109) How can I change the font of text in the Text widget? I want"
108) How can I change colours of text in the Text widget? I want
some of the text in one colour, some in another.
[Last modified: June 95]
Answer: In Motif 1.x, you can't. Text stores an ordinary string, and points
where `highlights' of various types begin and end. These highlights are all
the control you have over components of the text.
However, in Motif 2.0, XmStrings may be different colors in the same widget.
Ken Lee, http://www.rahul.net/kenton/, for the update.
Parent document is top of "Motif FAQ (Part 4 of 9)"
Previous document is "107) Can I customize the pointer cursor or insert position indicator"
Next document is "109) How can I change the font of text in the Text widget? I want"