Hi,

to answer my own question (i had a look at the maemopad editor source 
code to get my answer):

Never use "gtk_scrolled_window_add_with_viewport" to put the textview into
the scrolled window. Instead use "gtk_container_add" as the textview can
be placed directly in the scrolled window. And in fact it _must_ be placed 
directly to make the scrollbars work as expected.

Till

Am Montag 19 Mai 2008 schrieb Till Harbaum / Lists:
> Hi,
> 
> i have simple problem but hakf an hour of googling didn't give me an answer:
> 
> How do i make an editable gtktextview inside a scrolledwindow to automatically
> scroll to the cursor position? 
> 
> This must be a very basic issue and i am sure it is answered in various simple
> examples. But i just don't find one ...
> 
> Till
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> 


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to