Snapshot.toPaintable

Returns a paintable encapsulating the render node that was constructed by snapshot.

After calling this function, it is no longer possible to add more nodes to snapshot. The only function that should be called after this is gobject.object.ObjectG.unref.

class Snapshot
toPaintable

Parameters

size graphene.size.Size

The size of the resulting paintable or null to use the bounds of the snapshot

Return Value

Type: gdk.paintable.Paintable