TreeView Scrolling errors
- From: "Erik Simonsen" <erik pinksheets com>
- To: <gtk-list gnome org>
- Subject: TreeView Scrolling errors
- Date: Wed, 25 Sep 2002 14:04:27 -0400
When I populate a treeview widget and then use gtk_tree_view_set_cursor()
and gtk_tree_view_scroll_to_cell() to try to scroll to a particular row in
that widget, the scroll_to() call almost never works correctly. The
set_cursor function selects the correct row, but the scroll_to_cell only
works if the cell to scroll to is in the first couple pages of the treeview.
If the cell I want to scroll to is several pages down, the tree view will
only scroll halfway to cell. The correct cell is still selected, so I know
I'm not trying to go to the wrong path.
Filling the gtk-demo treeview with a lot of junk rows and then trying to
scroll to one of them gives the same results.
Is this a known bug in GtkTreeViews? I haven't seen mention of it anywhere.
btw, I am using gtk 2.0.6 on redhat 7.3
Thanks a lot!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]