delay scrolling until we try to draw the window.

Wed Feb 20 16:44:05 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): delay
	scrolling until we try to draw the window.

	* gtk/gtktreeview.c (validate_visible_area): Implement
	scroll_to_cell.
This commit is contained in:
Jonathan Blandford
2002-02-23 21:53:04 +00:00
committed by Jonathan Blandford
parent e59e91bf93
commit b2539ba480
10 changed files with 241 additions and 76 deletions

View File

@ -169,7 +169,7 @@ struct _GtkTreeViewPrivate
gint press_start_y;
/* Scroll-to functionality when unrealized */
GtkTreePath *scroll_to_path;
GtkTreeRowReference *scroll_to_path;
GtkTreeViewColumn *scroll_to_column;
gfloat scroll_to_row_align;
gfloat scroll_to_col_align;