Paintable.getCurrentImage

gdk.paintable.Paintable getCurrentImage()

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.

Returns

An immutable paintable for the current

contents of paintable