home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / motif / 8882 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  865 b 

  1. Path: sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!rphroy!kocrsv01!c23sn
  2. From: c23sn@kocrsv01.delcoelect.com (Siva Nadarajah)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: XmStringCreate and charset
  5. Message-ID: <1993Jan27.191730.4348@kocrsv01.delcoelect.com>
  6. Date: 27 Jan 93 19:17:30 GMT
  7. Sender: news@kocrsv01.delcoelect.com (Usenet News Account)
  8. Organization: Delco Electronics Corp.
  9. Lines: 17
  10. Originator: c23sn@kocrsw08
  11.  
  12.  
  13. I am using Motif 1.1 on Sparc II running SunOS 4.1.2.
  14.  
  15. This question may be elementary, I am trying to create
  16. a XmString with a specific font. 
  17.  
  18. For example I tried XmStringCreate("Hello World", "courr12"),
  19. but it always uses the default font instead.
  20.  
  21. What am I doing wrong?
  22.  
  23. The big picture is that I am trying to place items in a 
  24. XmScrolledList with two different fonts.
  25.  
  26. Any help is appreciated.
  27.  
  28. Siva.
  29.