By using this line of code:

   textview->scroll_to(textview->get_buffer()->get_insert(), 0);

... the ScrolledWindow scrolls to show the cursor on the screen. My problem is that if the ScrolledWindow contains an HBox that contains a TextView, the above code does not work. The vertical scrollbar flickers down for a fraction of a second, but returns immediately to the top of the buffer. Any ideas?
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to