Re: [gtk-list] GtkText widget





On Sun, 25 Oct 1998, Robin Ericsson wrote:

:
:  Hi,
:
:  I am the author of AMCL, a mud client I've written in GTK. One thing that
:I've found is that GtkText widget is rather slow when I encounter ansi with a
:lot of color changes, i.e, I print 1 char a lot of times..

I am working on something equal ...

:
:  One way to do would probably be to use gtk_text_freeze/gtk_text_thaw, but is
:there any other options? Or maybe is the GtkText widget going to be rewritten
:soon in the future?

What I do, is freeze the widget, insert all the data obtained (also in color)
and then unfreeze it.
This goes much faster the inserting one char after another, while now, the
display only needs one update.

Gert



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]