[comp.windows.x.motif] is it possible to create a string with *parts* of it colored

wws@rruxc.uucp (Still Searching) (05/30/91)

I want to create a list of strings that users can browse and select from,
and I want the first couple of characters to be RED or YELLOW so that the most
important items stand out.  For example:

 *C	Thu May 30 08:26:30 EDT 1991	THIS IS A CRITICAL MESSAGE!
^^^	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RED	Black letters on a white background
BG &
White
Letters


I really need to have a list of these.  I'm currently doing something with
separate push-buttons, different foreground and background colors, and
shadowThickness = 0.  It does not meet all my needs.  Is there some way I can
do this in a List widget?
All suggestions are welcome.

Thank you,
Wayne Scott
----------------------------------------------
	wws@bcr.cc.bellcore.com
I'm just a soul whose intentions are good,
Oh Lord, please don't let me be misunderstood.

wws@rruxc.uucp (Still Searching) (06/04/91)

In article <9106040425.AA01317@pandonia.canberra.edu.au>, jan@PANDONIA.CANBERRA.EDU.AU (Jan Newmarch) writes:
> W. Scott Meeks writes

Don't blame it on him.  I posted that one; my name is Wayne Scott.

> > Okay, let's see if I can explain this completely one more time.  To
> > whomever is maintaining the FAQ for motif, this is probably something that
> > should go into it.
> > 
> 
> It is already there and has been for a while (complete with answer based
> on what was said before - I think by you) ... Don't tell me you don't
> read the FAQ either :-)

I started to read them a while ago, then put them down, they got buried,
and I forgot all about them!  I'll resume.

Wayne Scott
----------------------------------------------
	wws@bcr.cc.bellcore.com
I'm just a soul whose intentions are good,
Oh Lord, please don't let me be misunderstood.