Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!snorkelwacker.mit.edu!bloom-beacon!lfcs.edinburgh.ac.UK!mar From: mar@lfcs.edinburgh.ac.UK (Adam Raff) Newsgroups: comp.windows.x Subject: (none) Message-ID: <975.9012191338@subnode.lfcs.ed.ac.uk> Date: 19 Dec 90 13:38:47 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 24 I have some questions concerning the use of the AsciiTextWidget. 1. If The AsciiSrc is set to XtNtype, XawAsciiFile: How do you get at the data in the file ? - GetValues XtNstring will return the filename, how do I get the string ? If The AsciiSrc is set to XtNtype, XawAsciiString: How do you load a file into the String ? - you can SaveAsFile but you can't LoadAsFile. 2. How do I obtain the position of the InsertPoint in terms of pixels ? - It is is easy to set the InsertPoint using pixel values, but I can't see how you can obtain that information back. Thanks In Advance, Adam Raff.