[comp.windows.x] writing text to an XUI window widget

seifel@cairns.cs.umass.EDU (Scott Seifel) (10/29/90)

To Those Who Can Help Me,

	I am writing again in quest for help concerning how I can write
multiple lines of text to a window widget.  I am using the DEC's XUI widgets
and want to display text, via the use of a file pointer, to the XUI window
widget.  I have found little in the manuals on this topic, and being a
novice at using toolkit widgets lack experience.  From what I have read I
do not think the TextWidget or LabelWidget would fulfill my needs. 

	I will take any suggestions on how I would be able to display text
and/or where I may find literature on this subject.

 Scott Seifel
 University of Mass. @ Amherst
 seifel@cs.umass.edu  or seifel%elab@cs.umass.edu

klee@wsl.dec.com (Ken Lee) (10/30/90)

In article <9010282003.AA03172@cairns.cs.umass.edu>, seifel@cairns.cs.umass.EDU (Scott Seifel) writes:
|> To Those Who Can Help Me,
|> 
|> 	I am writing again in quest for help concerning how I can write
|> multiple lines of text to a window widget. 

The XUI window widget just provides a blank X window on which you can
perform any Xlib functions.  Some possibilities are XDrawText and
XDrawImageText.  Both of these just draw text at the coordinates you
specify, with no wrapping or scrolling.  If you want higher level
functionality, you should look at the XUI text widget or consider
writing your own widget.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee