Re: Autoscrolling GtkText down when inserting text ?
- From: Raymond Wan <rwan cs mu oz au>
- To: Markus Fischer <mfischer josefine ben tuwien ac at>
- Cc: gtk-list gnome org
- Subject: Re: Autoscrolling GtkText down when inserting text ?
- Date: Mon, 9 Apr 2001 12:13:33 +1000 (EST)
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]