RE: Deleting text from a GtkExText



On Fri, 3 Nov 2000, Dugas, Alan wrote:
Thanks for your responses Chris and Detlef.  I keep trying to use this
widget as a gtktext. Have either of you run into problems with cpu
usage

no ;)

when using gtkextext to insert text?  After replacing gtktext with
gtkextext, the update rate of the gtkextext is so slow my system locks
up!
In other words this widget appears to have an extremely large amount of
overhead.

to me it seems not very slow. but i must say, that i use it in muli only
for quit small text chunks, aprox 1k. but at this size it is possible to
switch the page more then 10 times / second on a PII 350, 198 megs of
ram(not tested with a stopwatch :).

  Unless... I have something in my code that's messing with
the
gtkextext.  Any ideas?

if you insert your text linewise, that can be realy time consumptiv.

beside of this, is it possible that you not only changed to gtkextext, but
also to pixmap themes? or in other words try it with the default theme.
pixmap themes are absolut time suckin pigs

and at least, if you are short of memory, it can give a problem with
gtkextext, cause it leaks memory. not the most, but if you change the
contents very often...

if that all not helps, can you send a snippet of code, that shows the
behaviour? (direct, not over the list, if its bigger)

detlef
-- 
|  Multipliciter Lingua  |
|  muli.sourceforge.net  |





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