Method

Gdk.Paintable.get_current_image

Declaration [src]

GdkPaintable*
gdk_paintable_get_current_image (
  GdkPaintable* paintable
)

Description [src]

Gets an immutable paintable for the current contents displayed by paintable.

This is useful when you want to retain the current state of an animation, for example to take a screenshot of a running animation.

If the paintable is already immutable, it will return itself.

Return value

Returns: GdkPaintable

An immutable paintable for the current contents of paintable.

Ownership of the data is transferred to the caller