Xref: utzoo comp.windows.x:26146 comp.windows.x.motif:567 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!sun-barr!newstop!sun!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x,comp.windows.x.motif Subject: Re: Deleting Text From a Read-Only Text Widget Message-ID: <141327@sun.Eng.Sun.COM> Date: 25 Aug 90 01:56:04 GMT References: <8301@ucrmath.ucr.edu> Sender: news@sun.Eng.Sun.COM Followup-To: comp.windows.x.motif Organization: O'Reilly && Associates Lines: 17 In article <8301@ucrmath.ucr.edu> yakker@ucrmath.ucr.edu (matt robinson) writes: > Right now, I don't know of any widget to just get rid of the > source in the file (other than maybe XtTextReplace, but that > doesn't allow for a file specification; rather, a char *.) You should be posting this stuff to comp.windows.x.motif. Anwyay, you can delete the text in a widget using: XmTextSetString(text_widget, ""); If you want to replace the entire widget text completely, then use some other string besides "". -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.