Re: GtkTreeView Scrolling.



Havoc Pennington <hp redhat com> writes:

Burra <burra colorado edu> writes:
What is the best way to scroll to the bottom of the TreeView when you add
an entry into the TreeView?

I want to do this...

gtk_list_store_append (...)
gtk_list_store_set (...)

...call some here function, so that next time the TreeView redraws it will
scroll to the last row in the treeview...


Anyone know?


Have you tried the promisingly-named functions
gtk_tree_view_scroll_to_cell() and gtk_tree_view_scroll_to_point()?

Bug #60272.  Those are the correct functions to use, but they are
currently broken.  They'll work by GTK 2.0 -- I promise!

-Jonathan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]