Parent document is top of "Motif FAQ (Part 5 of 9)"
Previous document is "120) Can I get a bitmap to show in a list item like I can in a"
Next document is "122) How can I line up columns in a list?"
121) Can I have items with different colors in a list?
[Last modified: Sep 97]
Answer: Andrew Lister (lister@bain.oz.au) writes: The XbaeMatrix widget can
have a different foreground and background in each cell, row or column. (The
XbaeMatrix can be made to look and behave like a list widget. The widget is
compatible with Motif 1.2 and Motif 2.0.) You can get the latest version of
XbaeMatrix from the directory:
ftp://ftp.x.org/contrib/widgets/motif/
Ken Lee wrote: Not in Motif 1.x. The list contains XmStrings, and these only
allow text in various character sets.
However, in Motif 2.0 you _can_ have multiple colors in the same list since
colored XmStrings are supported.
Thanks to Ken Lee, http://www.rahul.net/kenton/, for the update.
If you're using Motif 1.2, another possibility is to use SCO Premier Motif
(1.2) library has this extension built into the List widget, along with a few
others. See http://www.premier.sco.com/
Thanks to richardo@x.co.uk (Nhi Vanye)
Parent document is top of "Motif FAQ (Part 5 of 9)"
Previous document is "120) Can I get a bitmap to show in a list item like I can in a"
Next document is "122) How can I line up columns in a list?"