Method

GtkStyleContextpush_animatable_region

Declaration [src]

void
gtk_style_context_push_animatable_region (
  GtkStyleContext* context,
  gpointer region_id
)

Description [src]

Pushes an animatable region, so all further gtk_render_*() calls between this call and the following gtk_style_context_pop_animatable_region() will potentially show transition animations for this region if gtk_style_context_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 themes can uniquely identify rendered elements subject to a state transition.

Available since:3.0
Deprecated since:3.6

This function does nothing.

Parameters

region_id gpointer
 

Unique identifier for the animatable region.