Path: utzoo!attcan!telly!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!olivea!mintaka!bloom-beacon!dont-send-mail-to-path-lines From: gildea@expo.lcs.mit.EDU (Stephen Gildea) Newsgroups: comp.windows.x Subject: Re: Writing text to a widget Message-ID: <9102060240.AA06662@excalibur.lcs.mit.edu> Date: 6 Feb 91 02:40:43 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: MIT X Consortium Lines: 19 From: brp@dino.berkeley.edu (Bruce Raoul Parnas) i would like to output information to the user (much as one would do with printf statements) and have it displayed in a widget, any widget. the Athena text widget is much more than i need. Perhaps the Label widget is what you want. You can use XtSetValues to update the text displayed. And as of R4, you can display multiple lines of text. However, think carefully about whether the Text widget isn't what you really want. If you use Label, your users won't be able to cut text out of your window. If you're going to keep the information on the screen for very long, that is not very social... < Stephen MIT X Consortium