Re: GtkTextView scroll preservation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux