|
Top Document: Motif FAQ (Part 5 of 9) Previous Document: 110) How do I best put a new set of items into a list? Next Document: 112) Can I get a bitmap to show in a list item like I can in a See reader questions & answers on this topic! - Help others by sharing your knowledge [Last modified: Sept 95] Answer: Yes. The strings are XmStrings. Each one can be created using a different character set using a different font. However, arjav@caip.rutgers.edu (ARJAV PARIKH) wrote: If a string is added to the listbox, the font in the listbox overrides the font set using XmCreateString. The Command widget label retains the font set using XmCreateString. I read in the MOTIF FAQ that it is possible to add strings with multiple fonts to the listbox. I learned from one of the tech support persons that internal code of the listbox overrides the font. Madhusudan Poolu (madhu@corp.sgi.com) replied: You need to create a fontlist for your font and add it to your listbox widget using XtVaSetValues ( wList, XmNfontList, yourFontList, NULL). This technique can also be used to display multi-font strings in a list box. User Contributions:Top Document: Motif FAQ (Part 5 of 9) Previous Document: 110) How do I best put a new set of items into a list? Next Document: 112) Can I get a bitmap to show in a list item like I can in a Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: kenton@rahul.net (Ken Lee)
Last Update March 27 2014 @ 02:11 PM
|

Comment about this article, ask questions, or add new information about this topic: