Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!cernvax!chx400!ethz!ethz-inf!qiu From: qiu@inf.ethz.ch (Yonggang Qiu) Newsgroups: comp.windows.x Subject: Help! Get texts from several Xaw text widgets Keywords: Xaw,asciiStringWidgetClass Message-ID: <7297@ethz-inf.UUCP> Date: 15 Dec 89 14:56:34 GMT Organization: Departement Informatik, ETH Zuerich Lines: 21 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~