Re: Control what happens when GtkTextView is resized: keep the bottom part visible

2009-11-14 Thread Eduardo M KALINOWSKI
Todor Todorov wrote: > Well, since resizing the widget by itself does not do any scrolling, > whichever value you get from the adjustment _is_ the current scroll > value. In the same way you have the function *_get_upper(), you have > *_get_lower() and *_get_value()... Just change the computatio

how to browse values from a GtkListStore ?

2009-11-14 Thread for . ad
Hello, Is possible to browse them with an index ? I tried to access them bypass the member "sort_list->data" but without sucess. regards, F.D. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gt

Re: Control what happens when GtkTextView is resized: keep the bottom part visible

2009-11-14 Thread Todor Todorov
I don't believe there is a way to get the size before the change. I do not believe that there is much requirement for that. If you are looking for a more elegant solution, you would have to reimplement GtkViewport or GtkScrolledWindow to keep track of the visible view now and before. Regards,