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