Method

GtkStyleContextpush_animatable_region

deprecated: 3.6 since: 3.0

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

Type: gpointer

Unique identifier for the animatable region.

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