Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!cse!texas!netkeeper!sparkle!achan From: achan@sparkle.tdd.sj.nec.com (Amy Chan) Newsgroups: comp.windows.x.motif Subject: Re: How do you underline text in a label widget? Message-ID: <1991May23.171022.18206@sj.nec.com> Date: 23 May 91 17:10:22 GMT References: <1024@sl10c.concurrent.co.uk> Sender: news@sj.nec.com Organization: NEC-AM TDD, San Jose, California Lines: 19 Nntp-Posting-Host: 131.241.1.222 In article <1024@sl10c.concurrent.co.uk> ph@concurrent.co.uk (Paul Hamilton) writes: >If you have a string of text in a label widget, it there a way of getting >it underlined? Figure 20 (A typical set of check buttons) in the Motif >style guide shows an example of underlined text, but I can't seem to >find any mention of how to do it in the Motif documentation. > What about using a XmDrawingArea or XmDrawnButton widget and call XmStringDrawUnderline() to underline a string? Hope this helps. --- Amy Chan -- Amy Chan | E-Mail: NEC America | INET: achan@tdd.sj.nec.com 110 Rio Robles | UUCP: ...{decwrl,oliveb}!necsun!achan San Jose, CA 95134 |