Add gtk_style_context_scroll_animations()

This function will be needed in widgets like GtkTreeView,
since gdk_window_scroll() doesn't trigger the usual
mechanisms to update the invalidation area, this function
is needed together with it.
This commit is contained in:
Carlos Garnacho
2011-01-10 20:45:23 +01:00
parent 162380fca5
commit de36dda925
4 changed files with 76 additions and 0 deletions

View File

@ -524,6 +524,10 @@ void gtk_style_context_notify_state_change (GtkStyleContext *context,
gboolean state_value);
void gtk_style_context_cancel_animations (GtkStyleContext *context,
gpointer region_id);
void gtk_style_context_scroll_animations (GtkStyleContext *context,
GdkWindow *window,
gint dx,
gint dy);
void gtk_style_context_push_animatable_region (GtkStyleContext *context,
gpointer region_id);