Submitted by Anonymous on Mon, 07/09/2001 - 08:57. Developers
Hi, there...
I just started to make X/Motif... I don`t know
it well.. 8-(
Anyway...
I got some programs which contained "printf(...)",
write(*,*) `...`- FORTRAN PROGRAM...
So, I hope to display these message in the "log window."
I tried to make it using XmText and XmTextSetString following the programming text book examples. But It didn`t act as I wish.
I guess I need some techniques or functions which
I don`t know.
Can anybody explain how to make it in detail?
Thanks
Mon, 07/02/2012 - 16:58
#1
How can I make a "message log window"?
There is a widget that you might want to look at -- the XmCommand, which is for this sort of multiple-message history.
Other folks do use the XmText, with newlines and the new message appended -- I think the trick is to use XmTextReplace so as to add to the text rather than replacing it in total.