to_paintable


Description:

public Paintable? to_paintable (Size? size)

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

After calling this function, it is no longer possible to add more nodes to this. The only function that should be called after this is [method@GObject.Object.unref].

Parameters:

this

a `GtkSnapshot`

size

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

Returns:

a new `GdkPaintable`