Parent document is top of "Motif FAQ (Part 4 of 9)"
Previous document is "108) How can I change colours of text in the Text widget? I want"
Next document is "110) Is there an emacs binding for the text widget?"

109) How can I change the font of text in the Text widget? I want

some of the text in one font, some in another.

[Last modified: Sept 94]

Answer:  You can't in Text (see the previous question).  If you wanted
readonly text, you could do it by using a label instead.  Label uses
XmStrings, which can contain multiple character sets in the one string.

If you are using Motif 2.0, however, XmStrings are now permitted in XmText
widgets, which solves this particular problem.

Parent document is top of "Motif FAQ (Part 4 of 9)"
Previous document is "108) How can I change colours of text in the Text widget? I want"
Next document is "110) Is there an emacs binding for the text widget?"