scottr@Atherton.COM (Scott Rasmussen) (08/03/90)
I am looking for ideas on how to underline items in the list widget. Each item will have 2 XmString segments and I only need to underline the second segment. Any ideas? Scott Rasmussen Atherton Technology scottr@atherton.com sun!athertn!scottr
nazgul@alphalpha.com (Kee Hinckley) (08/04/90)
> I am looking for ideas on how to underline items in the list widget. > Each item will have 2 XmString segments and I only need to underline > the second segment. Any ideas? If the segments are never the same, then you can just use XmStringDrawUnderline. If they are the same you might try making them in to different CharacterSets (both with the same font) and setting the underline argument to XmStringDrawUnderline to be in the second character set. In theory then it ought to only underline the second segment, since it is the correct character set. Whether that works or not I do not know. -kee Alphalpha Software, Inc. | motif-request@alphalpha.com nazgul@alphalpha.com |----------------------------------- 617/646-7703 (voice/fax) | Proline BBS: 617/641-3722 I'm not sure which upsets me more; that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's. -------