Re: About gtk text view
- From: Eduardo M KALINOWSKI <ekalin bol com br>
- To: gtk-app-devel-list gnome org
- Subject: Re: About gtk text view
- Date: Tue, 28 Mar 2006 08:20:56 -0300
Jose Hevia wrote:
Hello,
I'm making a program that displays a text view, and I cant find the
right keywords to find the solution on the archives:
I need to know when the gtk_text_view "window" changes size(the user
force that with the mouse), so I can redraw the screen. But seems the
configure_event is deactivated for child windows(those that are not
the main one), so I use the expose event that is far from perfect.
gtk_text_view is very SLOW, I know why, I'm receiving expose event for
each line I write in the text buffer. I know by default all widgets
are double buffered, so I need to disconnect screen updating while
writing, when I have finished use something like gtk_widget_show.
The problem, I don't know how: :-)
In my application, I connected a signal to a GtkTextView's size-allocate
signal and I get events when it is resized.
--
Love your neighbour, yet don't pull down your hedge.
-- Benjamin Franklin
Eduardo M KALINOWSKI
ekalin bol com br
http://move.to/hpkb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]