Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!palo-alto!vixie From: vixie@palo-alto.DEC.COM (Paul Vixie) Newsgroups: comp.windows.x Subject: Re: Athena text widgets Message-ID: <3440@palo-alto.DEC.COM> Date: 15 Jul 88 03:18:34 GMT References: <6190@bloom-beacon.MIT.EDU> Organization: DEC Western Research Lab Lines: 21 In article <6190@bloom-beacon.MIT.EDU> dschmidt@athena.mit.edu (Dan Schmidt) writes: # I'm using the Athena widgets in an X application, and I'm having some trouble # with the text widget. I would like to display some text in the widget, and # subsequently change the text from time to time. It doesn't like it when # I try to change XtNstring, and if I directly change the string that # XtNstring refers to, nothing happens. Does anyone know the right thing # to do? I've done it, but I don't remember the incantation. However, you will be well-served to look at the source to the text widget (lib/Xaw/Text.c, I think) and make a note of all the utility routines you find near the bottom. XtTextRedisplay may be one of them, but no promises. These utility routines are very nec'y for any real work with Text widgets, but since they aren't documented I suggest that you schedule time for hair-pulling when R3 comes out. :-). Paul Vixie -- Paul Vixie Digital Equipment Corporation Work: vixie@dec.com Play: paul@vixie.UUCP Western Research Laboratory uunet!decwrl!vixie uunet!vixie!paul Palo Alto, California, USA +1 415 853 6600 +1 415 864 7013