Method

GtkStyleContextcancel_animations

deprecated: 3.6 since: 3.0

Declaration [src]

void
gtk_style_context_cancel_animations (
  GtkStyleContext* context,
  gpointer region_id
)

Description [src]

Stops all running animations for region_id and all animatable regions underneath.

A NULL region_id will stop all ongoing animations in context, when dealing with a GtkStyleContext obtained through gtk_widget_get_style_context(), this is normally done for you in all circumstances you would expect all widget to be stopped, so this should be only used in complex widgets with different animatable regions.

Available since: 3.0

Deprecated since: 3.6

This function does nothing.

Parameters

region_id

Type: gpointer

Animatable region to stop, or NULL. See gtk_style_context_push_animatable_region()

The argument can be NULL.
The data is owned by the caller of the method.