Scroll to the end of a TextView

Hi everyone,

Here's the deal: the program receives a string and show it on a TextView , that's OK, but I have to scroll the view to end of the text, I tried using gtk_text_buffer_get_end_iter and gtk_text_view_scroll_to_iter, but it only scrolls to beginning of the text I've just inserted, so if it has more than one line, it doesn't scrolls to the end.

Does anyone knows how to scroll to the end of the text?



Felipe Weckx

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