StyleContext.cancelAnimations

Warning gtk_style_context_cancel_animations has been deprecated since version 3.6 and should not be used in newly-written code. This function does nothing. 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.

class StyleContext
void
cancelAnimations
(
void* regionId
)

Parameters

regionId void*

animatable region to stop, or NULL. See gtk_style_context_push_animatable_region(). [allow-none] Since 3.0

Meta