SelectionData.getPixbuf

Gets the contents of the selection data as a #GdkPixbuf.

Returns

if the selection data

contained a recognized image type and it could be converted to a #GdkPixbuf, a newly allocated pixbuf is returned, otherwise null. If the result is non-null it must be freed with [gobject.object.ObjectWrap.unref].