Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: swick@athena.mit.EDU (Ralph Swick) Newsgroups: comp.windows.x Subject: Re: Help needed with Xt and Text widgets Message-ID: <9101031549.AA04656@lyre.MIT.EDU> Date: 3 Jan 91 15:49:07 GMT References: <1991Jan3.004123.24960@mel.dit.csiro.au> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 17 The format consists of many lines of text, each line consists of two independant strings which both may be of arbitrary length. ... I have tried hacking around with the Athena Text widget but it does not provide the sort of formatting control I reuquire. You might take a look at the interfaces for TextSource (TextSrc) and TextSink. If you want to maintain the pairs of strings as independently addressable entities, a specialized TextSource should be able to do what you want. If you want special display formatting, a specialized TextSink might do the trick. There's an example of a *very* specialized alternative text source in clients/xmh/tsource*. Unfortunately, there's not a lot of written documentation on these interfaces; use the R4 Xaw manual and the code. No guarantees that any of this is easier than writing your own editing widget from scratch. :-)