Getting text widget to scroll down as text is inserted
- From: Matthew Miller <namille2 vt edu>
- To: gtk-list gnome org
- Subject: Getting text widget to scroll down as text is inserted
- Date: Wed, 14 Jun 2000 13:47:26 -0400
Hi, I'm writting a small app that is closely patterned after the Text
example in the gtk+ tutorial. There is a Text widget and a VScrollbar widget
attached to the Text's vadj member.
Well, the problem I'm having is that when I insert text into the Text widget
I want it to scroll down so that I can see the newly inserted text. I have
tried several things: connecting to the value-changed signal and calling
gtk_adjustment_clamp_page(), or gtk_adjustment_set_value(). I just think I'm
going about this the wrong way. How would this be done?
Thanks for any help.
Matthew
--
"The liberty of others extends mine to infinity."
Graffito written during the
French Student Revolt - May 1968
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]