Re: GtkTextView scroll preservation
- From: David Nečas <yeti physics muni cz>
- To: Dov Grobgeld <dov grobgeld gmail com>
- Cc: Gnome List <gtk-list gnome org>
- Subject: Re: GtkTextView scroll preservation
- Date: Sat, 16 Jan 2010 19:45:16 +0100
On Sat, Jan 16, 2010 at 07:40:15PM +0200, Dov Grobgeld wrote:
> - There should be a more direct way of requesting that a certain line be
> displayed in the textview after insertion other than playing recursive
> tricks with the adjustment callbacks!
There is, you can create an iter corresponding to the specified line and
scroll to it. However, in your insert_text() callback it is too early
to do this (the text has not been measured yet probably).
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]