Scrolling with Gtk::TextView
- From: "Søren Hauberg" <hauberg gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Scrolling with Gtk::TextView
- Date: Sun, 29 Jun 2008 17:18:19 +0200
Hi,
I want to present some text in a Gtk::TextView, and then I want to
scroll to the end of the text in the view. I have tried the following
Gtk::TextIter end = output_buffer->end ();
Glib::RefPtr<Gtk::TextMark> end_mark = output_buffer->create_mark (end);
output_view.scroll_to (end_mark);
output_buffer->delete_mark (end_mark);
but nothing happens. Am I missing something? Or rather, what am I missing?
Cheers,
Søren
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]