[gtkmm] "Autoscrolling" TextView
- From: Christer Palm <palm nogui se>
- To: gtkmm-list gnome org, gtk-list gnome org
- Subject: [gtkmm] "Autoscrolling" TextView
- Date: Tue, 18 Nov 2003 02:52:59 +0100
Hi!
Does anyone have a smart way to make a scrolled TextView scroll along as
text is inserted - if, and only if the TextView is showing the bottom
part of the buffer?
I can't find an elegant way to determine whether the TextView is "at the
bottom" of the buffer, and to handle the situation when resizing an
autowrap TextView causes the last line to split, which in turn causes it
to drop out of the bottom position.
--
Christer Palm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]