Re: Freezing GtkTextView
- From: Havoc Pennington <hp redhat com>
- To: "Dongho Shin" <electman acadcorp com>
- Cc: <gtk-list gnome org>
- Subject: Re: Freezing GtkTextView
- Date: 20 Jul 2002 12:20:05 -0400
"Dongho Shin" <electman acadcorp com> writes:
>
> Is there any method to freeze and thaw a GtkTextView like
> gtk_text_free() for GtkText? It needs too much time for GtkTextView
> to load a large file (over 1 minutes for about 80000 lines), and, I
> suppose, it spends most of time to do event handling (for example,
> scrolling). If the textview is freezed during loading a file, I
> think the time would be reduced dramatically.
>
Two hints:
- remove the buffer from the TextView as you fill it
- fill the buffer in large chunks, not a character
at a time or short strings at a time
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]