man XmText shows that

XmTextInsert(w, XmTextGetLastPosition(w), "new stuff");

should work.

On 15-May-01 at 04:55, [EMAIL PROTECTED]
([EMAIL PROTECTED]) wrote: > Hello everyone,
> 
> In fact this is a Motif question, if you know of a mailing list that
> covers this topic better than this one, please tell me. I was unable to
> find anything.
> 
> I need to create a buffer with XmText and easily append to it. I got it
> working by first getting the value with XtGetValues, appending the new
> text to it and then setting it back with XtSetValues but this feels very
> uncomfortable. There must be a better way to do it.
> 
> I'm working on Solaris 2.6 with the bundled Motif library; Motif 2.0
> widgets don't work.
> 
> Mikko Lipasti
> 
> 

Reply via email to