Hi,
I have a working gtktreeview in a scrolledwindow and i can scroll by
mouse and even the iteration trough the list works, but i can't scroll
automatically with this code snippet:
path = gtk_tree_model_get_path (GTK_TREE_MODEL (store), &itern);
gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW (tree), path,
gtk_tree_view_get_column (GTK_TREE_VIEW (tree), 0), TRUE, 0.5, 0.0);
gtk_tree_view_set_cursor (GTK_TREE_VIEW (tree), path,
gtk_tree_view_get_column (GTK_TREE_VIEW (tree), 0), FALSE);
gtk_tree_path_free (path);
What did I miss?
Any ideas?
Alexander
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list