StyleContext.cancelAnimations

void cancelAnimations(void * regionId = null)

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.Widget.getStyleContext], 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.

Parameters

regionIdanimatable region to stop, or null. See [gtk.style_context.StyleContext.pushAnimatableRegion]

Deprecated

This function does nothing.