Re: How to make gtktextview automatically scroll to cursor?
- From: jcupitt gmail com
- To: "Till Harbaum / Lists" <lists harbaum org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to make gtktextview automatically scroll to cursor?
- Date: Mon, 19 May 2008 13:55:26 +0100
2008/5/19 Till Harbaum / Lists <lists harbaum org>:
How do i make an editable gtktextview inside a scrolledwindow to automatically
scroll to the cursor position?
Something like (untested):
gtk_text_view_scroll_to_mark( text_view,
gtk_text_buffer_get_insert( text_buffer ),
0.0, TRUE, 0.5, 1 );
J
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]