Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I change colours of text in the Text widget?

Colours text widget
0
Posted

How can I change colours of text in the Text widget?

0

some of the text in one colour, some in another. [Last modified: Feb 98] 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. In the Motif 2.0 CSText widget, XmStrings may be different colors in the same widget. Note, however, that the CSText widget was dropped from Motif 2.1.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123