home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / openloo / 3667 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.4 KB

  1. Xref: sparky comp.windows.open-look:3667 alt.toolkits.xview:807
  2. Newsgroups: comp.windows.open-look,alt.toolkits.xview
  3. Path: sparky!uunet!uunet.ca!wildcan!sq!lee
  4. From: lee@sq.sq.com (Liam R. E. Quin)
  5. Subject: XView 3: PANEL_FONT for a scrolling list
  6. Message-ID: <1992Sep1.022032.25886@sq.sq.com>
  7. Organization: SoftQuad Inc., Toronto, Canada
  8. X-Feet: bare
  9. Date: Tue, 1 Sep 92 02:20:32 GMT
  10. Lines: 22
  11.  
  12. OK, how do I set the font for an entire scrolling list in XView 3, not
  13. just an item at a time?  I can set the font of the parent panel, and this
  14. affects the list.  I've even tried setting the set_font element in the 
  15. (private) Panel_list_info struct, but this doesn't work.
  16.  
  17. I can do an xv_set(panel, PANEL_FONT, f, NULL)  and that affects the font
  18. of items, but if I _ever_ set the font back again, the items are not
  19. affected.  How do I get the panel items to stay in some other font?
  20.  
  21. Are we going to end up with our own version of p_list.c again?
  22.  
  23. This is all because we need to have a list with several aliagned columns of
  24. data.  The user can only select an entire row, but we need the data to
  25. align.  So we want to use a fixed-width font.
  26.  
  27. Lee
  28.  
  29. -- 
  30. Liam Quin, lee@sq.com, SoftQuad, Toronto, 416 239-4801; the barefoot programmer
  31.   lq-text (Unix text retrieval package) mailing list: lq-text-request@sq.com
  32.   latest released version: 1.10; ftp: ftp.cs.toronto.edu in directory: pub
  33.   If Adultery is for Adults, is Juvenal for Juveniles?
  34.