[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
Top Document: Motif FAQ (Part 4 of 9)
Previous Document: 100) How can I change colours of text in the Text widget? I want
Next Document: 102) Is there an emacs binding for the text widget?
-
Search the FAQ Archives
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
Top Document: Motif FAQ (Part 4 of 9)
Previous Document: 100) How can I change colours of text in the Text widget? I want
Next Document: 102) Is there an emacs binding for the text widget?
101) 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: Feb 98] 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 CSText widgets, which solves this particular problem. Note, however, that the CSText widget was dropped from Motif 2.1. Ken Lee
Top Document: Motif FAQ (Part 4 of 9)
Previous Document: 100) How can I change colours of text in the Text widget? I want
Next Document: 102) Is there an emacs binding for the text widget?
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
kenton@rahul.net (Ken Lee)
Last Update July 24 2008 @ 00:14 AM