Re: [gtk-list] Finding tree selection coordinates in scrolled window
- From: Damon Chaplin <damon karuna freeserve co uk>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Finding tree selection coordinates in scrolled window
- Date: Sat, 17 Apr 1999 13:18:28 +0100
James Bailie wrote:
> Also, I notice the text widget in 1.2.x now takes significantly longer to load
> long strings with gtk_text_insert(). In 1.0.x, I used to be able to pass large
> strings (Usenet messages with complete encoded attachments: 100-200k) to this
> function, and the widget loaded immediately. It takes many seconds to do so
> now. Again, I wonder if there is a workaround, or a more efficient function I
> haven't stumbled across yet.
I have a simple text editor which loads a 150K file in < 1 second with 1.2.x.
Try calling
gtk_text_freeze (GTK_TEXT (text));
< insert text >
gtk_text_thaw (GTK_TEXT (text));
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]