Dennis Bjorklund <[EMAIL PROTECTED]> writes:
> I add lines at the end of the textview and would like it to scroll down to 
> the bottom so I can see the new lines. But I can't get it to work. I 
> tried:
> 
>   gtk_text_buffer_get_end_iter (buf, &iter);
> 
>   gtk_text_view_scroll_to_iter (view, &iter, 0.0,
>                               FALSE, 0.0, 0.0);
> 
> but the does not scroll all the way, it can leave 5-6 lines that are not 
> visible after scroll. Next attempt is to have a mark in the very end of 
> the buffer and doing
> 
>   gtk_text_view_scroll_mark_onscreen (view, mark);
> 
> but this have similar problems as the first try.

It's supposed to work, can you write out a small test program that
fails, and file the bug on bugzilla.gnome.org? I will investigate.

Havoc
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to