Re: Autoscrolling GtkText down when inserting text ?



Hi Markus,

On Mon, 9 Apr 2001, Markus Fischer wrote:
> made with glade). When I now insert data to the textbox, its
> scrollbar doesn't scroll down but stays at the top instead so the
> newly inserted text is not visible if you don't scroll down
> manually.
> 	How can I make the scrollbar automatically scroll down
> when text is inserted ?

	If you find out the length of the text and perform a
gtk_editable_set_position to the last character, it should move the
window of text so that the bottom part is now visible.

Ray







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