[comp.windows.x] Help! Get texts from several Xaw text widgets

qiu@inf.ethz.ch (Yonggang Qiu) (12/15/89)

 	I want to get users' inputs from several Xaw string text widgets.
So I try to make  XtGetValues call on the XtNstring and the XtNselection. 
I don't know why I can't get correct texts. Making  XtGetValues call on the 
XtNstring can only obtain text from last active one of text widgets. 
Making  XtGetValues call on the XtNselection can't read texts at all.
Moreover, it changes text in  text widgets ( for example, "asd gfddgfdg" 
-->" asd g^@dg@d ") sometimes.  

	Can anyone tell me how to obtain texts from several string text 
widgets?

	Thanks in advance! Wish you Merry Christamas and Happy New Year!

---- Yonggang
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Yonggang Qiu                           
 Institute for Information-system  |    e-mail: qiu@inf.ethz.ch
 ETH-Zentrum                       |    phone:  (41-1) 254 7223
 CH-8092 Zurich,Switzerland        |    fax:    (41-1) 262 3973
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~