Gtk.StyleContext.prototype.push_animatable_region

function push_animatable_region(region_id:gpointer):void {
    // Gjs wrapper for gtk_style_context_push_animatable_region()
}

Pushes an animatable region, so all further gtk_render_*() calls between this call and the following Gtk.StyleContext.prototype.pop_animatable_region will potentially show transition animations for this region if Gtk.StyleContext.prototype.notify_state_change is called for a given state, and the current theme/style defines transition animations for state changes.

The region_id used must be unique in context so the theming engine can uniquely identify rendered elements subject to a state transition.

Since 3.0

region_id

unique identifier for the animatable region