On Thu, 20 Jan 2005 10:27:14 +0100, Benoît Touron <b.touron@xxxxxxxxxxxxx> wrote:
The app is a trace client, which displays scrolling text in a window. What is the fastest way (at runtime) to do this ? Should I use a TextView or something else ?
TextView and TextBuffer are only loosley coupled: you can update TextBuffer very quickly, and the associated TextView will redraw the screen when your program is idle.
So it will probably be able to keep up with your trace text, the question will be how many frames-per-second it will be able to repaint the screen at.
John
Thanks for your answer.
If I could update the TextBuffer each time an event occurs, and actually display the TextView, say every second, it would be fine for me.
How can I update a TextBuffer without updating the TextView ?
Ben
_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list